scsi: aic7xxx: fix EISA support
Instead of relying on the now removed NULL argument to pci_alloc_consistent, switch to the generic DMA API, and store the struct device so that we can pass it. Fixes: 4167b2ad ("PCI: Remove NULL device handling from PCI DMA API") Reported-by:Matthew Whitehead <tedheadster@gmail.com> Signed-off-by:
Christoph Hellwig <hch@lst.de> Tested-by:
Matthew Whitehead <tedheadster@gmail.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/aic7xxx/aic7770_osm.c 1 addition, 0 deletionsdrivers/scsi/aic7xxx/aic7770_osm.c
- drivers/scsi/aic7xxx/aic7xxx.h 1 addition, 0 deletionsdrivers/scsi/aic7xxx/aic7xxx.h
- drivers/scsi/aic7xxx/aic7xxx_osm.c 4 additions, 6 deletionsdrivers/scsi/aic7xxx/aic7xxx_osm.c
- drivers/scsi/aic7xxx/aic7xxx_osm_pci.c 1 addition, 0 deletionsdrivers/scsi/aic7xxx/aic7xxx_osm_pci.c
Loading
Please register or sign in to comment