lkml.org 
[lkml]   [2002]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.24 : drivers/net/rcpci45.c
Hello all,
This patch (first patch for Documentation/DMA-mapping.txt compliance)
adds the DMA check for the rcpci45 driver. Please review.
Regards,
Frank

--- drivers/net/rcpci45.c.old Sun May 26 14:37:33 2002
+++ drivers/net/rcpci45.c Sun Jun 23 22:24:17 2002
@@ -174,7 +174,11 @@
* assigned to DPA; and finally, the rest will be assigned to the
* the LAN API layer.
*/
-
+ if(pci_set_dma_mask(pdev, 0xffffffff))
+ {
+ printk(KERN_WARNING "rcpci45 : No suitable DMA available.\n");
+ }
+
dev = init_etherdev (NULL, sizeof (*pDpa));
if (!dev) {
printk (KERN_ERR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.052 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site