MIPS jazz: create isa bus
authorRoy Tam <roytam@gmail.com>
Thu, 15 Oct 2009 14:07:12 +0000 (22:07 +0800)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 15 Oct 2009 17:49:11 +0000 (19:49 +0200)
As i8259 in mips_jazz.c is not correctly connected to the isa bus, the
mc146818rtc isa devices fails to be created.

Signed-off-by: Roy Tam <roytam@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/mips_jazz.c

index 3ff367d5c9bf8227140729e81fa3130475204cea..281713cca5947bb2923763e483c9203887c5cb4c 100644 (file)
@@ -185,6 +185,8 @@ void mips_jazz_init (ram_addr_t ram_size,
 
     /* ISA devices */
     i8259 = i8259_init(env->irq[4]);
+    isa_bus_new(NULL);
+    isa_bus_irqs(i8259);
     DMA_init(0);
     pit = pit_init(0x40, i8259[0]);
     pcspk_init(pit);