Re: [Qemu-devel] [PATCH 04/14] qdev: allow multiple qdev_init_gpio_in() calls

2012-10-05 Thread Peter Maydell
On 5 October 2012 01:08, Peter Crosthwaite wrote: > From: Peter A. G. Crosthwaite > > Allow multiple qdev_init_gpio_in() calls for the one device. The first call > will > define GPIOs 0-N-1, the next GPIOs N- ... . Allows different GPIOs to be > handled > with different handlers. Needed when tw

[Qemu-devel] [PATCH 04/14] qdev: allow multiple qdev_init_gpio_in() calls

2012-10-04 Thread Peter Crosthwaite
From: Peter A. G. Crosthwaite Allow multiple qdev_init_gpio_in() calls for the one device. The first call will define GPIOs 0-N-1, the next GPIOs N- ... . Allows different GPIOs to be handled with different handlers. Needed when two levels of the QOM class heirachy both define GPIO functionality,