| To: | tsbogend@xxxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [patch 2.6.3] pcnet32 another debug fix |
| From: | Don Fry <brazilnut@xxxxxxxxxx> |
| Date: | Tue, 24 Feb 2004 16:57:45 -0800 (PST) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
As requested, another fix for pcnet32_debug to have a bunch of bits in
increasing order of verbosity, not just one bit.
--- linux-2.6.3/drivers/net/almost.pcnet32.c Tue Feb 24 16:40:22 2004
+++ linux-2.6.3/drivers/net/pcnet32.c Tue Feb 24 16:39:18 2004
@@ -2009,7 +2009,7 @@
printk(KERN_INFO "%s", version);
if (debug >= 0 && debug < (sizeof(int) - 1))
- pcnet32_debug = 1 << debug;
+ pcnet32_debug = (1 << debug) - 1;
if ((tx_start_pt >= 0) && (tx_start_pt <= 3))
tx_start = tx_start_pt;
--
Don Fry
brazilnut@xxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [e100 netdev-2.6], Jeff Garzik |
|---|---|
| Next by Date: | [patch 2.6.3] pcnet32 non-mii link state fix, Don Fry |
| Previous by Thread: | Fw: 2.6.3: oops reading /proc/net/rpc/auth.unix.ip/content, Randy.Dunlap |
| Next by Thread: | [patch 2.6.3] pcnet32 non-mii link state fix, Don Fry |
| Indexes: | [Date] [Thread] [Top] [All Lists] |