diff options
author | domen@coderock.org <domen@coderock.org> | 2005-04-08 03:53:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-27 23:59:16 -0400 |
commit | 87507cfdd2cde397c9da8f6e7ec23b2b47ec53d6 (patch) | |
tree | b1b8e9dee213345c4a4a9523923fbd90dc43e8e0 /drivers/scsi/libata-core.c | |
parent | 7003c05d77593f567e9940e68a944d846228fd7a (diff) |
[PATCH] drivers/scsi/ahci: add #include req'd for the DMA_{64,32}BIT_MASK constants
The previous patch did not compile cleanly on all architectures so
here's a fixed one which #includes <linux/dma-mapping.h>.
Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling
pci_set_dma_mask() or pci_set_consistent_dma_mask()
This patch includes dma-mapping.h explicitly because it caused errors
on some architectures otherwise.
See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Domen Puncer <domen@coderock.org>
diff -puN drivers/scsi/ahci.c~dma_mask-drivers_scsi_ahci drivers/scsi/ahci.c
Diffstat (limited to 'drivers/scsi/libata-core.c')
0 files changed, 0 insertions, 0 deletions