]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
r8169: fix invalid register dump
authorPeter Wu <lekensteyn@gmail.com>
Wed, 21 Aug 2013 21:17:11 +0000 (23:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 21:25:58 +0000 (14:25 -0700)
commit15edae91cb2d91131ab3b0c6eebf1fbfc12d643e
tree9d052047f84bc47fc173582fbdaa8994f6314ed1
parentcb79abc7eca831071c224782151ff6c7a718054d
r8169: fix invalid register dump

For some reason, my PCIe RTL8111E onboard NIC on a GA-Z68X-UD3H-B3
motherboard reads as FFs when reading from MMIO with a block size
larger than 7. Therefore change to reading blocks of four bytes.

Ben Hutchings noted that the buffer is large enough to hold all
registers, so now all registers are read.

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c