patch-2.4.4 linux/drivers/scsi/aic7xxx/aic7xxx_linux.c

Next file: linux/drivers/scsi/aic7xxx/aic7xxx_osm.h
Previous file: linux/drivers/scsi/advansys.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/scsi/aic7xxx/aic7xxx_linux.c linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
@@ -112,6 +112,7 @@
  *  8: SMP friendliness has been improved
  *
  */
+#include <linux/config.h>
 
 /*
  * The next three defines are user configurable.  These should be the only
@@ -1093,6 +1094,7 @@
 		ahc_set_name(ahc, new_name);
 	}
 	host->unique_id = ahc->unit;
+	scsi_set_pci_device(host, ahc->dev_softc);
 	aic7xxx_initialize_scsi_bus(ahc);
 	ahc_unlock(ahc, &s);
 	return (0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)