patch-2.1.91 linux/drivers/scsi/a2091.c
Next file: linux/drivers/scsi/amiga7xx.c
Previous file: linux/drivers/scsi/NCR53C9x.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat Mar 21 11:09:47 1998
- Orig file:
v2.1.90/linux/drivers/scsi/a2091.c
- Orig date:
Tue May 13 22:41:13 1997
diff -u --recursive --new-file v2.1.90/linux/drivers/scsi/a2091.c linux/drivers/scsi/a2091.c
@@ -196,8 +196,8 @@
static unsigned char called = 0;
struct Scsi_Host *instance;
caddr_t address;
- int key;
- struct ConfigDev *cd;
+ unsigned int key;
+ const struct ConfigDev *cd;
if (!MACH_IS_AMIGA || called)
return 0;
@@ -206,8 +206,8 @@
tpnt->proc_dir = &proc_scsi_a2091;
tpnt->proc_info = &wd33c93_proc_info;
- while ((key = zorro_find(MANUF_COMMODORE, PROD_A2091, 0, 0)) ||
- (key = zorro_find(MANUF_COMMODORE, PROD_A590, 0, 0))) {
+ while ((key = zorro_find(ZORRO_PROD_CBM_A590_A2091_1, 0, 0)) ||
+ (key = zorro_find(ZORRO_PROD_CBM_A590_A2091_2, 0, 0))) {
cd = zorro_get_board(key);
address = cd->cd_BoardAddr;
instance = scsi_register (tpnt, sizeof (struct WD33C93_hostdata));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov