virtio: Move interrupt handler into transport specific code
authorsf <sf@openbsd.org>
Thu, 14 Jul 2016 12:42:00 +0000 (12:42 +0000)
committersf <sf@openbsd.org>
Thu, 14 Jul 2016 12:42:00 +0000 (12:42 +0000)
commit39aa4e94ed78e1d767cda4e241b0fe761b395246
tree4abdf64c747dcbd3571e0a25312e4d5927d6a8c5
parent1eacd88933d1d200f8cda199641ece0107aa3c81
virtio: Move interrupt handler into transport specific code

For MSI-X (and also possibly for other transports), the interrupt
handler must do different things.  Move it out of virtio.c and into
virtio_pci.

ARM part tested by patrick@
sys/arch/armv7/vexpress/virtio_mmio.c
sys/dev/pci/if_vio.c
sys/dev/pci/vioblk.c
sys/dev/pci/viomb.c
sys/dev/pci/viornd.c
sys/dev/pci/vioscsi.c
sys/dev/pci/virtio.c
sys/dev/pci/virtio_pci.c
sys/dev/pci/virtiovar.h