]> www.infradead.org Git - users/jedix/linux-maple.git/commit
8139cp: properly config rx mode after resuming
authorJason Wang <jasowang@redhat.com>
Fri, 30 Dec 2011 23:44:42 +0000 (23:44 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:59:12 +0000 (09:59 +0800)
commit8560cba3fd4d2316fbe1659c346655be37e08ed0
tree4f7e8b2da947a79e9dd476f31e5165a533457125
parent323b1a121838b527d954cdc583cd2bac055eea39
8139cp: properly config rx mode after resuming

Rx mode should be reset after resming, so unconditionally updating rx
mode rather than conditionally updating based on the value we
remembered, otherwise unexpected value may be used by the nic after
resuming.

btw. I find and test this when debugging guest hibernation in qemu, as
I did not have a 8139cp card in hand, this patch is untested in a
physical 8139cp card, plase review it carefully.

(cherry picked from commit f872b237c1750221932e715da2552225afe4a95c)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/8139cp.c