aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_pci.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-28 10:50:40 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-07-11 13:47:47 -0400
commit2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 (patch)
treecda0577cc5348df8e4662b9615af7941852be3a3 /drivers/scsi/aic7xxx/aic7xxx_pci.c
parentdfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a (diff)
[SCSI] aic7xxx: remove ahc_tailq
now that we do normal PCI probing there's no need to keep a list of all HBAs. Rejections fixed up and Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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