Giudici, Marina schrieb:

Hello, I installed rtnet 0.6.1 and the problems I had with rtifconfig are solved,

That's great - but still a bit obscure.


now I can use it. I have a question about my driver module, 3c59x-rt: it is
loaded with a warning that sais "symbol for parameter compaq_ioaddr not
found", end I have the following dmesg output:


Well, as the 3c59x-rt is not officially supported, this bug obviously remained undiscovered. Please try the attached fix and tell me if it works (go to the rtnet source directory and run "patch -p0 < 3c59x.patch") . I'm not sure if this is the reason for the crash, but it will fix the warning (I guess you'd rather like it the other way around ;) ).


Jan
Index: driver/3c59x-rt.c
===================================================================
RCS file: /cvsroot/rtnet/rtnet/driver/3c59x-rt.c,v
retrieving revision 1.17
diff -u -r1.17 3c59x-rt.c
--- driver/3c59x-rt.c   14 Feb 2004 19:23:25 -0000      1.17
+++ driver/3c59x-rt.c   25 Feb 2004 13:27:35 -0000
@@ -315,12 +315,12 @@
 MODULE_PARM(rx_copybreak, "i");
  *** RTnet ***/
 MODULE_PARM(max_interrupt_work, "i");
+/*** RTnet ***
 MODULE_PARM(compaq_ioaddr, "i");
 MODULE_PARM(compaq_irq, "i");
 MODULE_PARM(compaq_device_id, "i");
-// *** RTnet ***
-//MODULE_PARM(watchdog, "i");
-// *** RTnet ***
+MODULE_PARM(watchdog, "i");
+ *** RTnet ***/
 MODULE_PARM_DESC(debug, "3c59x debug level (0-6)");
 MODULE_PARM_DESC(options, "3c59x: Bits 0-3: media type, bit 4: bus mastering, bit 9: 
full duplex");
 MODULE_PARM_DESC(full_duplex, "3c59x full duplex setting(s) (1)");
@@ -331,10 +331,12 @@
 MODULE_PARM_DESC(rx_copybreak, "3c59x copy breakpoint for copy-only-tiny-frames");
  *** RTnet ***/
 MODULE_PARM_DESC(max_interrupt_work, "3c59x maximum events handled per interrupt");
+/*** RTnet ***
 MODULE_PARM_DESC(compaq_ioaddr, "3c59x PCI I/O base address (Compaq BIOS problem 
workaround)");
 MODULE_PARM_DESC(compaq_irq, "3c59x PCI IRQ number (Compaq BIOS problem workaround)");
 MODULE_PARM_DESC(compaq_device_id, "3c59x PCI device ID (Compaq BIOS problem 
workaround)");
 MODULE_PARM_DESC(watchdog, "3c59x transmit timeout in milliseconds");
+ *** RTnet ***/
 
 /* Operational parameter that usually are not changed. */
 

Reply via email to