pci: replace the magic, 256, for the maximum of devfn
commit90a20dbb2837f5ff05a9b19659ba1aa218cbd2de
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 27 Jan 2011 06:56:35 +0000 (27 15:56 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2011 16:34:22 +0000 (28 18:34 +0200)
tree35fafbfb2cfa89d26c54b3c0ca9c26cbc96005e9
parentf64622c401d4975a56b8559e16286231a1d2cfb8
pci: replace the magic, 256, for the maximum of devfn

Introduce symbol PCI_SLOT_MAX for the # of slots,
and replace the magic, 256.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.h
hw/pci_internals.h