e1000: no need auto-negotiation if link was down
authorAmos Kong <akong@redhat.com>
Fri, 28 Dec 2012 09:29:10 +0000 (17:29 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 7 Jan 2013 09:43:21 +0000 (10:43 +0100)
commit84dd2120247a7d25ff1bb337de21c0e76816ad2d
treec58803c34d662e1c5ef0393a05ca1656669ed112
parentf30dbae63a46f23116715dff8d130c7d01ff02be
e1000: no need auto-negotiation if link was down

Commit b9d03e352cb6b31a66545763f6a1e20c9abf0c2c added link
auto-negotiation emulation, it would always set link up by
callback function. Problem exists if original link status
was down, link status should not be changed in auto-negotiation.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/e1000.c