* [patch 1/2] drivers/scsi/ahci: Use the DMA_{64,32}BIT_MASK constants
@ 2005-04-08 7:53 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-04-08 7:53 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide, domen, tklauser
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 <tklauser@nuerscht.ch>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/drivers/scsi/ahci.c | 1 +
1 files changed, 1 insertion(+)
diff -puN drivers/scsi/ahci.c~dma_mask-drivers_scsi_ahci drivers/scsi/ahci.c
--- kj/drivers/scsi/ahci.c~dma_mask-drivers_scsi_ahci 2005-04-05 12:57:49.000000000 +0200
+++ kj-domen/drivers/scsi/ahci.c 2005-04-05 12:57:49.000000000 +0200
@@ -32,6 +32,7 @@
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
+#include <linux/dma-mapping.h>
#include "scsi.h"
#include <scsi/scsi_host.h>
#include <linux/libata.h>
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-08 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08 7:53 [patch 1/2] drivers/scsi/ahci: Use the DMA_{64,32}BIT_MASK constants domen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).