Revision 6fa84913 hw/pci.h

b/hw/pci.h
14 14
#define PCI_DEVFN(slot, func)   ((((slot) & 0x1f) << 3) | ((func) & 0x07))
15 15
#define PCI_SLOT(devfn)         (((devfn) >> 3) & 0x1f)
16 16
#define PCI_FUNC(devfn)         ((devfn) & 0x07)
17
#define PCI_FUNC_MAX            8
17 18

  
18 19
/* Class, Vendor and Device IDs from Linux's pci_ids.h */
19 20
#include "pci_ids.h"

Also available in: Unified diff