pci: introduce constant PCI_NUM_PINS for the number of interrupt pins, 4.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:20:56 +0000 (21:20 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:04 +0000 (08:43 -0600)
commite369cad7cd574d6d7e680ccd4d3227de7d1a0135
tree45f78e036fa819ceed08554dc66b1238a985b564
parent2e49d64ac7578b707f1dffb825cf355b29514fd9
pci: introduce constant PCI_NUM_PINS for the number of interrupt pins, 4.

introduce constant PCI_NUM_PINS for the number of interrupt pins, 4.
and use it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
hw/pci.h