e1000: signal guest on successful link auto-negotiation
commit39bb8ee737595e9b264d075dfcd7d86f4d3f1133
authorGabriel L. Somlo <gsomlo@gmail.com>
Thu, 19 Jun 2014 15:55:36 +0000 (19 11:55 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Jun 2014 14:38:00 +0000 (23 17:38 +0300)
tree6efd2fc27d8c1ffedaa14d9af56be830651b78cb
parent6883b5914029fa8ffc42a43d2a2188493c27fd58
e1000: signal guest on successful link auto-negotiation

Generate a link status change interrupt once link auto-netotiation
is successfully completed. This does not affect Linux and Windows
(XP and 7 tested) in any way, but is needed by the stock OS X driver
(AppleIntel8254XEthernet.kext), which would otherwise fail to notice
the link status change event.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/e1000.c