summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-05-16 18:54:12 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-05-20 15:54:37 -0500
commit7dfa0f2673c17334c5de75a449f7bc161c9bd2c0 (patch)
tree0cb95e4fdef14b0a4decc2ebed5a2abee057db6f /drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
parentdedd831081052028f35aaf924ea3d6c55109074f (diff)
downloadlinux-stable-7dfa0f2673c17334c5de75a449f7bc161c9bd2c0.tar.gz
linux-stable-7dfa0f2673c17334c5de75a449f7bc161c9bd2c0.tar.bz2
linux-stable-7dfa0f2673c17334c5de75a449f7bc161c9bd2c0.zip
[SCSI] remove dma_mask hacks
pci_alloc_consistent is under 4G by default. Also simplify the definition of bus_dmamap_t. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm_pci.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
index 886f92f91846..2a0ebce83e7a 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
@@ -221,13 +221,11 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
&& ahc_linux_get_memsize() > 0x80000000
&& pci_set_dma_mask(pdev, mask_39bit) == 0) {
ahc->flags |= AHC_39BIT_ADDRESSING;
- ahc->platform_data->hw_dma_mask = mask_39bit;
} else {
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
printk(KERN_WARNING "aic7xxx: No suitable DMA available.\n");
return (-ENODEV);
}
- ahc->platform_data->hw_dma_mask = DMA_32BIT_MASK;
}
ahc->dev_softc = pci;
error = ahc_pci_config(ahc, entry);