]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/e1000.c
e1000: introduce helpers to manipulate link status
authorJason Wang <jasowang@redhat.com>
Thu, 22 Mar 2012 10:02:07 +0000 (18:02 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2012 07:53:48 +0000 (10:53 +0300)
commit71aadd3cd2b2f8bd3113a08a12d4a06d48b6c39c
tree89cf025d4a811445418a2141920cd10bfab9318b
parent93e37d769074bebfd04c6704b7a7ae92736876e3
e1000: introduce helpers to manipulate link status

This patch introduces helpers to change link status bit for phy/mac
register. This would help to reduce code duplication and would be used
by following patches.

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