]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fe77f3ab45e4c99148760c535cd086f6511a90a
treecbc59ced67ab151337fcb3f9f23b489769dbdf46
parent081319957067dfed3741cc52c0a1949c524de56d
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