mirror of
https://github.com/qemu/qemu.git
synced 2024-12-26 05:34:01 +08:00
6ac38ed42b
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>
14 lines
465 B
C
14 lines
465 B
C
/*
|
|
* Definitions for the ColdFire Fast Ethernet Controller emulation.
|
|
*
|
|
* This code is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#define TYPE_MCF_FEC_NET "mcf-fec"
|
|
#define MCF_FEC_NET(obj) OBJECT_CHECK(mcf_fec_state, (obj), TYPE_MCF_FEC_NET)
|
|
|
|
#define FEC_NUM_IRQ 13
|