]> err.no Git - linux-2.6/commit
[TG3]: ethtool -d hangs PCIe systems
authorChris Elmquist <chrise@sgi.com>
Tue, 20 Dec 2005 21:25:19 +0000 (13:25 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 28 Dec 2005 21:04:52 +0000 (13:04 -0800)
commit091465d7514893a55dcf63e420698b21159c39a7
treecbfaedb45164d21d0d2f4af5efad2fc78dd37f92
parent67dbb4ea33731415fe09c62149a34f472719ac1d
[TG3]: ethtool -d hangs PCIe systems

Resubmitting after recommendation to use GET_REG32_1() instead of
GET_REG32_LOOP(..., 1).  Retested.  Problem remains fixed.

Prevent tg3_get_regs() from reading reserved and undocumented registers
at RX_CPU_BASE and TX_CPU_BASE offsets which caused hostile behavior
on PCIe platforms.

Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h