isa: introduce wrapper isa_connect_gpio_out
commit250263033c5343012b2cd6f01210ffb5b908a159
authorEfimov Vasily <real@ispras.ru>
Wed, 22 Jun 2016 12:24:56 +0000 (22 15:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 12:03:46 +0000 (29 14:03 +0200)
tree3f6b6f916232b5767d3fafa18139a0567300b35a
parentea5d42508c16947e84d020751e739c59262051de
isa: introduce wrapper isa_connect_gpio_out

Currently a direct access to the device structure field is used to connect ISA
device IRQ to the bus. GPIO access should be used instead if possible.

The patch adds wrapper isa_connect_gpio_out. The function connects specified
output GPIO to specified ISA IRQ.

Signed-off-by: Efimov Vasily <real@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/isa/isa-bus.c
include/hw/isa/isa.h