]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pcnet-pci.c
pcnet: Move BCR defines to header
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 26 Sep 2011 17:01:44 +0000 (19:01 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 21:52:09 +0000 (16:52 -0500)
commit488a1a5dfe9a9ba57fa6c6b6b98136ea494e0296
tree79bd4238a023e3e01aee7758d259d0077db16a6a
parent816f89256ef36c8fd20e70ac393110cf2322e223
pcnet: Move BCR defines to header

This moves BCR defines to the common header and immediately makes use of
them to add BCR_APROMWE, replacing the open-coded write check in
pcnet_aprom_writeb.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pcnet-pci.c
hw/pcnet.c
hw/pcnet.h