patch-1.3.38 linux/drivers/scsi/aic7xxx.c

Next file: linux/drivers/scsi/eata_dma.c
Previous file: linux/drivers/scsi/aha152x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/scsi/aic7xxx.c linux/drivers/scsi/aic7xxx.c
@@ -64,7 +64,9 @@
 #include "scsi.h"
 #include "hosts.h"
 #include "aic7xxx.h"
-#include<linux/stat.h>
+#include <linux/stat.h>
+
+#include <linux/config.h>	/* for CONFIG_PCI */
 
 struct proc_dir_entry proc_scsi_aic7xxx = {
     PROC_SCSI_AIC7XXX, 7, "aic7xxx",
@@ -3976,10 +3978,10 @@
     while (!done)
     {
       if ((!pcibios_find_device(PCI_VENDOR_ID_ADAPTEC,
-				PCI_DEVICE_ID_ADAPTEC_294x,
+				PCI_DEVICE_ID_ADAPTEC_7870,
 				index, &pci_bus, &pci_device_fn)) ||
 	   (!pcibios_find_device(PCI_VENDOR_ID_ADAPTEC,
-				PCI_DEVICE_ID_ADAPTEC_2940,
+				PCI_DEVICE_ID_ADAPTEC_7871,
 				index, &pci_bus, &pci_device_fn)))
       {
 	type = AIC_7870;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this