]> git.proxmox.com Git - mirror_qemu.git/commit
m68k: QOMify the MCF Fast Ethernet Controller device
authorThomas Huth <huth@tuxfamily.org>
Sun, 8 Jan 2017 11:51:55 +0000 (12:51 +0100)
committerJason Wang <jasowang@redhat.com>
Fri, 20 Jan 2017 02:36:38 +0000 (10:36 +0800)
commit6ac38ed42b3468e37f9ce681b65c796a3be4e387
tree77be0d9a0f9129cb704e19fdeff7333925cc5dda
parentd5aa3e6e0cd6259003790769c448d4fbb5b5c810
m68k: QOMify the MCF Fast Ethernet Controller device

When running qemu-system-m68k with the "-net" parameter (for example
simply "-net nic -net user"), there is currently a confusing warning
message saying:

 Warning: requested NIC (anonymous, model mcf_fec) was not created
 (not supported by this machine?)

This seems to happen because the MCF NIC has never been adapted to
the currently expected QEMU device behavior. Thus let's QOMify the
NIC now to get rid of the warning message.

Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/m68k/mcf5208.c
hw/net/mcf_fec.c
include/hw/m68k/mcf.h
include/hw/m68k/mcf_fec.h [new file with mode: 0644]