Re: [PATCHv3 03/14] Keep track of ISA ports ISA device is using in qdev.

2010-11-11 Thread Gerd Hoffmann
Hi, register_ioport_write (s-port, 1, 1, gus_writeb, s); register_ioport_write (s-port, 1, 2, gus_writew, s); +isa_init_ioport_range(dev, s-port, 2); register_ioport_read ((s-port + 0x100) 0xf00, 1, 1, gus_readb, s); register_ioport_read ((s-port + 0x100) 0xf00,

[PATCHv3 03/14] Keep track of ISA ports ISA device is using in qdev.

2010-11-10 Thread Gleb Natapov
Store all io ports used by device in ISADevice structure. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/cs4231a.c |1 + hw/fdc.c |3 +++ hw/gus.c |4 hw/ide/isa.c |2 ++ hw/isa-bus.c | 25 + hw/isa.h |4