| To: | Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: TG3 fix for slow switches (Was: TG3 driver failure on HP 16-way) |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Thu, 6 Jan 2005 15:19:10 -0800 |
| Cc: | peterc@xxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <16839.30796.413939.333935@wombat.chubb.wattle.id.au> |
| References: | <16839.27239.264551.415058@berry.gelato.unsw.EDU.AU> <20041220161552.2b88aa3d.davem@davemloft.net> <16839.30796.413939.333935@wombat.chubb.wattle.id.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Peter, let me know if this patch solves your PHY link up problem
too.
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/06 14:53:55-08:00 davem@xxxxxxxxxxxxxxxxxx
# [TG3]: Return 0 when PHY read times out, not all-ones.
#
# Noticed by Peter Chubb.
#
# Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
#
# drivers/net/tg3.c
# 2005/01/06 14:53:07-08:00 davem@xxxxxxxxxxxxxxxxxx +1 -1
# [TG3]: Return 0 when PHY read times out, not all-ones.
#
diff -Nru a/drivers/net/tg3.c b/drivers/net/tg3.c
--- a/drivers/net/tg3.c 2005-01-06 14:54:21 -08:00
+++ b/drivers/net/tg3.c 2005-01-06 14:54:21 -08:00
@@ -485,7 +485,7 @@
udelay(80);
}
- *val = 0xffffffff;
+ *val = 0x0;
frame_val = ((PHY_ADDR << MI_COM_PHY_ADDR_SHIFT) &
MI_COM_PHY_ADDR_MASK);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch 03/10] pcnet32: 79c976 with fiber optic fix, Don Fry |
|---|---|
| Next by Date: | [patch] net: get rid of redundant access_ok() call in checksum calculation., Jesper Juhl |
| Previous by Thread: | Re: Steps for netdev-2.6 inclusion?, James Ketrenos |
| Next by Thread: | Re: TG3 fix for slow switches (Was: TG3 driver failure on HP 16-way), Darren Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |