[PATCH] 2.5.24 : drivers/net/rrunner.c

Frank Davis (fdavis@si.rr.com)
Sun, 23 Jun 2002 22:36:32 -0400 (EDT)


Hello all,
This patch provides the 32-bit DMA check for the rrunner driver. Please
review.
Regards,
Frank

--- drivers/net/rrunner.c.old Sun May 26 14:37:33 2002
+++ drivers/net/rrunner.c Sun Jun 23 22:21:54 2002
@@ -159,6 +159,11 @@
if (pdev == opdev)
return 0;

+ if(pci_set_dma_mask(pdev, 0xffffffff))
+ {
+ printk(KERN_WARNING "rrunner : No suitable DMA available.\n");
+ }
+
/*
* So we found our HIPPI ... time to tell the system.
*/

-
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/