aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_pci.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_pci.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_pci.c b/drivers/scsi/aic7xxx/aic7xxx_pci.c
index 7ddcc97fb243..b3b2e2237eb3 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_pci.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_pci.c
@@ -704,7 +704,6 @@ ahc_find_pci_device(ahc_dev_softc_t pci)
704int 704int
705ahc_pci_config(struct ahc_softc *ahc, struct ahc_pci_identity *entry) 705ahc_pci_config(struct ahc_softc *ahc, struct ahc_pci_identity *entry)
706{ 706{
707 u_long l;
708 u_int command; 707 u_int command;
709 u_int our_id; 708 u_int our_id;
710 u_int sxfrctl1; 709 u_int sxfrctl1;
@@ -964,12 +963,7 @@ ahc_pci_config(struct ahc_softc *ahc, struct ahc_pci_identity *entry)
964 if (error != 0) 963 if (error != 0)
965 return (error); 964 return (error);
966 965
967 ahc_list_lock(&l); 966 ahc->init_level++;
968 /*
969 * Link this softc in with all other ahc instances.
970 */
971 ahc_softc_insert(ahc);
972 ahc_list_unlock(&l);
973 return (0); 967 return (0);
974} 968}
975 969