netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alexander Zapatka" <alexzapatka@hotmail.com>
To: netdev@oss.sgi.com
Subject: suggested forcedeth updates....
Date: Mon, 17 Nov 2003 23:07:15 -0500	[thread overview]
Message-ID: <BAY2-F101QTmReozTIA0001027c@hotmail.com> (raw)

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

             reply	other threads:[~2003-11-18  4:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18  4:07 Alexander Zapatka [this message]
2003-11-19 11:48 ` suggested forcedeth updates Rask Ingemann Lambertsen
2003-11-19 14:06   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2003-11-19 15:06 Alexander Zapatka
2003-11-20 17:04 ` Rask Ingemann Lambertsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY2-F101QTmReozTIA0001027c@hotmail.com \
    --to=alexzapatka@hotmail.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).