diff options
author | Jan Kiszka | 2011-10-07 12:27:25 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-11-01 22:52:09 +0100 |
commit | e1c2008af64487e7d3cec615612b7f467ebe9bc8 (patch) | |
tree | 167fef4694a67733ab984d28f3ad4561768d9e8b /hw/lance.c | |
parent | pcnet-pci: Fix PIO word access to PROM (diff) | |
download | qemu-e1c2008af64487e7d3cec615612b7f467ebe9bc8.tar.gz qemu-e1c2008af64487e7d3cec615612b7f467ebe9bc8.tar.xz qemu-e1c2008af64487e7d3cec615612b7f467ebe9bc8.zip |
pcnet: Add link state support
Update lnkst on link state changes so that guests can obtain this
information via reading back the LED output pin. Works for Linux but
not for guests that depend on the missing PHY.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/lance.c')
-rw-r--r-- | hw/lance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lance.c b/hw/lance.c index d83e7f57a9..93d5fda35b 100644 --- a/hw/lance.c +++ b/hw/lance.c @@ -97,6 +97,7 @@ static NetClientInfo net_lance_info = { .size = sizeof(NICState), .can_receive = pcnet_can_receive, .receive = pcnet_receive, + .link_status_changed = pcnet_set_link_status, .cleanup = lance_cleanup, }; |