summaryrefslogtreecommitdiffstats
path: root/hw/mcf5208.c
diff options
context:
space:
mode:
authorBenoît Canet2011-11-24 14:31:14 +0100
committerAvi Kivity2011-11-28 14:38:42 +0100
commitc65fc1dff328f0964bf148efa3603c4992a609fc (patch)
tree2d60fda0ea8d2c83600f609fa8c2f9dbd9de1f2a /hw/mcf5208.c
parentmcf_uart: convert to memory API (diff)
downloadqemu-c65fc1dff328f0964bf148efa3603c4992a609fc.tar.gz
qemu-c65fc1dff328f0964bf148efa3603c4992a609fc.tar.xz
qemu-c65fc1dff328f0964bf148efa3603c4992a609fc.zip
mcf_fec: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mcf5208.c')
-rw-r--r--hw/mcf5208.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index 0119430b29..e03d80b563 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -234,7 +234,8 @@ static void mcf5208evb_init(ram_addr_t ram_size,
exit(1);
}
if (nd_table[0].vlan)
- mcf_fec_init(&nd_table[0], 0xfc030000, pic + 36);
+ mcf_fec_init(address_space_mem, &nd_table[0],
+ 0xfc030000, pic + 36);
/* 0xfc000000 SCM. */
/* 0xfc004000 XBS. */