suggested forcedeth updates....
Subsystems (2)
first let me say that forcedeth is a great project!!! i have been using it since you have released it and it is awesome....
but about the debuging thing having to change 1 to 0 and recompile is not always the easiest thing... so what i did was change the code to look like this:
static int debug = 0;MODULE_PARM(debug,"i");
#if debug
#define dprintk printk
#else
#define dprintk(x...) do { } while (0)
#endif
that way you can modprobe/insmod with debug=1 and debuging works... or you can just load it, or load it with debug=0 and no debuging info is printed.
just thought it might be a nice addition.
-o)
/\\ Message void if penguin violated
_\_V Don't mess with the penguin
_________________________________________________________________
Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games
Quoted 4 lines · Alexander Zapatka
that way you can modprobe/insmod with debug=1 and debuging works... or you can just load it, or load it with debug=0 and no debuging info is printed.
just thought it might be a nice addition.
Even better would be to use the NETIF_MSG_* flags defined in linux/netdevice.c and to be able to use ethtool to change the setting at runtime.
Signature · 2 lines
Regards, Rask Ingemann Lambertsen
Quoted 11 lines · Rask Ingemann Lambertsen
Quoted 3 lines · Alexander Zapatka
that way you can modprobe/insmod with debug=1 and debuging works... or you can just load it, or load it with debug=0 and no debuging info is printed.
just thought it might be a nice addition.
Even better would be to use the NETIF_MSG_* flags defined in
linux/netdevice.cand to be able to use ethtool to change the setting at runtime.
agreed...