r8169: fix RxMissed register access
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 10 Sep 2008 20:28:56 +0000 (22:28 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:48:54 +0000 (18:48 -0400)
commit523a609496dbc3897e530db2a2f27650d125ea00
treecbc59ced67ab151337fcb3f9f23b489769dbdf46
parente93dcb11dd6468000f2f018bd887e94b074ce931
r8169: fix RxMissed register access

- the register is defined for the 8169 chipset only and there is
  no 8169 beyond RTL_GIGA_MAC_VER_06.
- only the lower 3 bytes of the register are valid

Fixes:
1. http://bugzilla.kernel.org/show_bug.cgi?id=10180
2. http://bugzilla.kernel.org/show_bug.cgi?id=11062 (bits of)

Tested by Hermann Gausterer and Adam Huffman.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r8169.c