e1000: PHY loopback mode support
commit93e37d769074bebfd04c6704b7a7ae92736876e3
authorJason Wang <jasowang@redhat.com>
Thu, 22 Mar 2012 10:01:59 +0000 (22 18:01 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2012 07:53:48 +0000 (25 10:53 +0300)
tree740a9468943fc9fc559b59525ba3399ce5fa29f6
parent17fbbb0b3d0b09f07d288991248c81f441bf6941
e1000: PHY loopback mode support

The missing of loopback mode prevent the running of self diagnosis
program in guest. This patch adds this support.

After this patch, loopback test of ethtool were passed in guest.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/e1000.c