aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf5208.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-07-24 16:35:11 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-01 12:56:15 +0100
commita005d0732fb1c8e419e506c94ea2527287fe4204 (patch)
treea4228a0ad021659fbf9a6344e0d1b75eca56e811 /hw/mcf5208.c
parentec8b1f6cc8d0a5921fba93cd180b05328e537170 (diff)
downloadqemu-a005d0732fb1c8e419e506c94ea2527287fe4204.zip
qemu-a005d0732fb1c8e419e506c94ea2527287fe4204.tar.gz
qemu-a005d0732fb1c8e419e506c94ea2527287fe4204.tar.bz2
net: Remove VLANState
VLANState is no longer used and can be removed. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'hw/mcf5208.c')
-rw-r--r--hw/mcf5208.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index d3ebe8d..ee25b1b 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -236,7 +236,7 @@ static void mcf5208evb_init(ram_addr_t ram_size,
fprintf(stderr, "Too many NICs\n");
exit(1);
}
- if (nd_table[0].vlan)
+ if (nd_table[0].used)
mcf_fec_init(address_space_mem, &nd_table[0],
0xfc030000, pic + 36);