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

2012-09-24 Thread Peter Maydell
On 24 September 2012 10:18, Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com wrote: 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

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

2012-09-24 Thread 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, as a single GPIO handler with

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

2012-09-24 Thread Peter Crosthwaite
All changes made. Thanks Peter On Mon, Sep 24, 2012 at 7:53 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 24 September 2012 10:18, Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com wrote: Allow multiple qdev_init_gpio_in() calls for the one device. The first call will define