patch-2.4.7 linux/drivers/scsi/sym53c8xx_comm.h
Next file: linux/drivers/scsi/sym53c8xx_defs.h
Previous file: linux/drivers/scsi/sym53c8xx.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Jul 5 11:28:16 2001
- Orig file:
v2.4.6/linux/drivers/scsi/sym53c8xx_comm.h
- Orig date:
Tue Mar 6 19:34:25 2001
diff -u --recursive --new-file v2.4.6/linux/drivers/scsi/sym53c8xx_comm.h linux/drivers/scsi/sym53c8xx_comm.h
@@ -403,6 +403,9 @@
#if LINUX_VERSION_CODE < LinuxVersionCode(2,4,0)
#define pci_enable_device(pdev) (0)
#endif
+#if LINUX_VERSION_CODE < LinuxVersionCode(2,4,4)
+#define scsi_set_pci_device(inst, pdev) (0)
+#endif
/*==========================================================
**
@@ -1311,7 +1314,7 @@
/* save current state of GPCNTL and GPREG */
old_gpreg = INB (nc_gpreg);
old_gpcntl = INB (nc_gpcntl);
- gpcntl = old_gpcntl & 0xfc;
+ gpcntl = old_gpcntl & 0x1c;
/* set up GPREG & GPCNTL to set GPIO0 and GPIO1 in to known state */
OUTB (nc_gpreg, old_gpreg);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)