The previous patch did not compile cleanly on all architectures so here's a fixed one. 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 Signed-off-by: Domen Puncer --- kj-domen/drivers/scsi/sata_vsc.c | 1 + 1 files changed, 1 insertion(+) diff -puN drivers/scsi/sata_vsc.c~dma_mask-drivers_scsi_sata_vsc drivers/scsi/sata_vsc.c --- kj/drivers/scsi/sata_vsc.c~dma_mask-drivers_scsi_sata_vsc 2005-04-05 12:57:50.000000000 +0200 +++ kj-domen/drivers/scsi/sata_vsc.c 2005-04-05 12:57:50.000000000 +0200 @@ -21,6 +21,7 @@ #include #include #include +#include #include "scsi.h" #include #include _