]> www.infradead.org Git - users/dwmw2/qemu.git/commit
lance: move TYPE_LANCE and SysBusPCNetState from lance.c to lance.h
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 14 Oct 2017 12:22:22 +0000 (13:22 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 31 Oct 2017 17:25:36 +0000 (17:25 +0000)
commit76d28ca7653b69df5e9a4e11b2d15cbe885e5698
tree2f819ecd1e5779e0477d0b1c00e41ebaecffb2ad
parent7f773ff5d0d2172a7fb4a16a283c1fc5965f6fac
lance: move TYPE_LANCE and SysBusPCNetState from lance.c to lance.h

This enables them to be used outside of lance.c. We also update the comment to
refer to the SPARC32 lance device rather than the AMD PCNet-II device (of which
lance is a register-compatible subset).

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
CC: Jason Wang <jasowang@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/net/lance.c
include/hw/net/lance.h [new file with mode: 0644]