patch-2.1.101 linux/drivers/scsi/amiga7xx.c
Next file: linux/drivers/scsi/blz1230.c
Previous file: linux/drivers/scsi/aic7xxx.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Fri May 8 00:22:11 1998
- Orig file:
v2.1.100/linux/drivers/scsi/amiga7xx.c
- Orig date:
Thu Mar 26 15:57:03 1998
diff -u --recursive --new-file v2.1.100/linux/drivers/scsi/amiga7xx.c linux/drivers/scsi/amiga7xx.c
@@ -33,17 +33,14 @@
S_IFDIR | S_IRUGO | S_IXUGO, 2
};
-extern ncr53c7xx_init (Scsi_Host_Template *tpnt, int board, int chip,
- u32 base, int io_port, int irq, int dma,
- long long options, int clock);
-
int amiga7xx_detect(Scsi_Host_Template *tpnt)
{
static unsigned char called = 0;
unsigned int key;
- int num = 0, clock;
+ int num = 0;
+ unsigned long address;
long long options;
- const struct ConfigDev *cd;
+ struct ConfigDev *cd;
if (called || !MACH_IS_AMIGA)
return 0;
@@ -53,7 +50,6 @@
#ifdef CONFIG_WARPENGINE_SCSI
if ((key = zorro_find(ZORRO_PROD_MACROSYSTEMS_WARP_ENGINE_40xx, 0, 0)))
{
- unsigned long address;
cd = zorro_get_board(key);
address = (unsigned long)kernel_map((unsigned long)cd->cd_BoardAddr,
cd->cd_BoardSize, KERNELMAP_NOCACHE_SER, NULL);
@@ -87,9 +83,8 @@
#ifdef CONFIG_A4091_SCSI
while ( (key = zorro_find(ZORRO_PROD_CBM_A4091_1, 0, 0)) ||
- (key = zorro_find(ZORRO_PROD_CBM_A4091_2, 0, 0)) )
+ (key = zorro_find(ZORRO_PROD_CBM_A4091_2, 0, 0)) )
{
- unsigned long address;
cd = zorro_get_board(key);
address = (unsigned long)kernel_map((unsigned long)cd->cd_BoardAddr,
cd->cd_BoardSize, KERNELMAP_NOCACHE_SER, NULL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov