2002-06-24 02:45:18

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.24 : drivers/net/rrunner.c

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