| To: | tsbogend@xxxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [patch 2.4.25 14/15] pcnet32 another debug fix |
| From: | Don Fry <brazilnut@xxxxxxxxxx> |
| Date: | Wed, 25 Feb 2004 12:07:01 -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.4.25/drivers/net/24.pcnet32.c Mon Feb 23 13:56:29 2004
+++ linux-2.4.25/drivers/net/pcnet32.c Wed Feb 25 11:55:57 2004
@@ -1946,7 +1946,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: [PATCH] proportional share accept(), Stephen Hemminger |
|---|---|
| Next by Date: | [patch 2.4.25 15/15] pcnet32 non-mii link state fix, Don Fry |
| Previous by Thread: | [PATCH] proportional share accept(), Vivek Kashyap |
| Next by Thread: | [patch 2.4.25 15/15] pcnet32 non-mii link state fix, Don Fry |
| Indexes: | [Date] [Thread] [Top] [All Lists] |