diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-05-16 02:08:16 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-05-16 02:14:03 +0200 |
commit | 3b1fd90ed13ce9674de80cc1d1e1d7241d0f0796 (patch) | |
tree | a90e87d059327ed813045241839951f08a369e4a /hw/axis_dev88.c | |
parent | 84ceea5736998fbd24095b1f216e15ff031a7381 (diff) |
ETRAX-TIMER: qdevify.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/axis_dev88.c')
-rw-r--r-- | hw/axis_dev88.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c index 5a913ec238..74bc133985 100644 --- a/hw/axis_dev88.c +++ b/hw/axis_dev88.c @@ -316,12 +316,12 @@ void axisdev88_init (ram_addr_t ram_size, } /* 2 timers. */ - etraxfs_timer_init(env, irq + 0x1b, nmi + 1, 0x3001e000); - etraxfs_timer_init(env, irq + 0x1b, nmi + 1, 0x3005e000); + sysbus_create_varargs("etraxfs,timer", 0x3001e000, irq[0x1b], nmi[1], NULL); + sysbus_create_varargs("etraxfs,timer", 0x3005e000, irq[0x1b], nmi[1], NULL); for (i = 0; i < 4; i++) { sysbus_create_simple("etraxfs,serial", 0x30026000 + i * 0x2000, - irq[0x14 + i]); + irq[0x14 + i]); } if (kernel_filename) { |