diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-26 09:28:37 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-26 09:42:43 -0400 |
commit | 1d1bbee61e4ecdaad450e9bf4d9983876ed53a43 (patch) | |
tree | fd371a0e515fbadb3d0d01ca409718aa6fca15a9 /drivers/scsi/aic94xx | |
parent | fd3adb2ae8e16a02dfd5ed68f50fcf76fcdaff0b (diff) |
[SCSI] libsas: Remove PCI dependencies
Eliminate unnecessary PCI dependencies in libsas. It should use generic
DMA and struct device like other subsystems.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index ab00aecc5466..63bcde246447 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c | |||
@@ -586,7 +586,7 @@ static int __devinit asd_pci_probe(struct pci_dev *dev, | |||
586 | goto Err; | 586 | goto Err; |
587 | } | 587 | } |
588 | asd_ha->pcidev = dev; | 588 | asd_ha->pcidev = dev; |
589 | asd_ha->sas_ha.pcidev = asd_ha->pcidev; | 589 | asd_ha->sas_ha.dev = &asd_ha->pcidev->dev; |
590 | asd_ha->sas_ha.lldd_ha = asd_ha; | 590 | asd_ha->sas_ha.lldd_ha = asd_ha; |
591 | 591 | ||
592 | asd_ha->name = asd_dev->name; | 592 | asd_ha->name = asd_dev->name; |
@@ -605,8 +605,6 @@ static int __devinit asd_pci_probe(struct pci_dev *dev, | |||
605 | goto Err_free; | 605 | goto Err_free; |
606 | } | 606 | } |
607 | 607 | ||
608 | |||
609 | |||
610 | err = asd_dev->setup(asd_ha); | 608 | err = asd_dev->setup(asd_ha); |
611 | if (err) | 609 | if (err) |
612 | goto Err_free; | 610 | goto Err_free; |