aboutsummaryrefslogtreecommitdiff
path: root/hw/net/mipsnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/mipsnet.c')
-rw-r--r--hw/net/mipsnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c
index 908085073a..61578edcf0 100644
--- a/hw/net/mipsnet.c
+++ b/hw/net/mipsnet.c
@@ -264,6 +264,7 @@ static void mipsnet_class_init(ObjectClass *klass, void *data)
SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
k->init = mipsnet_sysbus_init;
+ set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
dc->desc = "MIPS Simulator network device";
dc->reset = mipsnet_sysbus_reset;
dc->vmsd = &vmstate_mipsnet;