DORMANTno replies

[PATCH 1/9][ATM]: [lanai] use the DMA_{64,32}BIT_MASK constants from dma-mapping.h

From: chas williams - CONTRACTOR <hidden>
Date: 2005-03-07 22:03:44

please apply to 2.6 -- thanks!

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/03/07 14:02:03-05:00 chas@relax.cmf.nrl.navy.mil 
#   [ATM]: [lanai] use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
#   
#   Signed-off-by: Tobias Klauser [off-list ref]
#   Signed-off-by: Domen Puncer [off-list ref]
#   Signed-off-by: Chas Williams [off-list ref]
# 
# drivers/atm/lanai.c
#   2005/03/07 14:01:44-05:00 chas@relax.cmf.nrl.navy.mil +1 -1
#   [ATM]: [lanai] use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
#   
#   Signed-off-by: Tobias Klauser [off-list ref]
#   Signed-off-by: Domen Puncer [off-list ref]
#   Signed-off-by: Chas Williams [off-list ref]
# 
diff -Nru a/drivers/atm/lanai.c b/drivers/atm/lanai.c
--- a/drivers/atm/lanai.c	2005-03-07 15:32:25 -05:00
+++ b/drivers/atm/lanai.c	2005-03-07 15:32:26 -05:00
@@ -1964,7 +1964,7 @@
 		return -ENXIO;
 	}
 	pci_set_master(pci);
-	if (pci_set_dma_mask(pci, 0xFFFFFFFF) != 0) {
+	if (pci_set_dma_mask(pci, DMA_32BIT_MASK) != 0) {
 		printk(KERN_WARNING DEV_LABEL
 		    "(itf %d): No suitable DMA available.\n", lanai->number);
 		return -EBUSY;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help