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

From: Frank Davis (fdavis@si.rr.com)
Date: Sun Jun 23 2002 - 21:36:32 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:27 EST