| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | suggested forcedeth updates.... |
| From: | "Alexander Zapatka" <alexzapatka@xxxxxxxxxxx> |
| Date: | Mon, 17 Nov 2003 23:07:15 -0500 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
|
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)
#endifthat 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: forcedeth: version 0.17 available, Carl-Daniel Hailfinger |
|---|---|
| Next by Date: | Re: forcedeth: version 0.17 available, Brad House |
| Previous by Thread: | [ANNOUNCE] Porting MPLS-Linux to 2.6 (2.6.0-test9-bk22) comments welcome., Ramon Casellas |
| Next by Thread: | Re: suggested forcedeth updates...., Rask Ingemann Lambertsen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |