Revision 64d7e9a4 hw/mips_r4k.c

b/hw/mips_r4k.c
30 30
static const int ide_iobase2[2] = { 0x3f6, 0x376 };
31 31
static const int ide_irq[2] = { 14, 15 };
32 32

  
33
static PITState *pit; /* PIT i8254 */
33
static ISADevice *pit; /* PIT i8254 */
34 34

  
35 35
/* i8254 PIT is attached to the IRQ0 at PIC i8259 */
36 36

  
......
274 274
    isa_mmio_init(0x14000000, 0x00010000);
275 275
    isa_mem_base = 0x10000000;
276 276

  
277
    pit = pit_init(0x40, i8259[0]);
277
    pit = pit_init(0x40, 0);
278 278

  
279 279
    for(i = 0; i < MAX_SERIAL_PORTS; i++) {
280 280
        if (serial_hds[i]) {

Also available in: Unified diff