• Jason Wang's avatar
    8139cp: properly config rx mode after resuming · f872b237
    Jason Wang authored
    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.
    Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f872b237
8139cp.c 53.6 KB