diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-06-27 14:43:10 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-06-27 14:43:10 +0100 |
commit | 9580f9d5cd41b972354a7dfbf69538e07d971cc6 (patch) | |
tree | 065eb1c2930620b96b56ae38ce47c2a0dfcaf47d /src/include | |
parent | 15ce2fb851067eb64543859737e2d42f8a271ed6 (diff) | |
download | ipxe-9580f9d5cd41b972354a7dfbf69538e07d971cc6.tar.gz |
[pxe] Improve pxe_undi debug messages
The PXE debugging messages have remained pretty much unaltered since
Etherboot 5.4, and are now difficult to read in comparison to most of
the rest of gPXE.
Bring the pxe_undi debug messages up to normal gPXE standards.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gpxe/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h index 1789c62c..cb20c7db 100644 --- a/src/include/gpxe/pci.h +++ b/src/include/gpxe/pci.h @@ -321,6 +321,7 @@ struct pci_driver { #define PCI_DEVFN( slot, func ) ( ( (slot) << 3 ) | (func) ) #define PCI_SLOT( devfn ) ( ( (devfn) >> 3 ) & 0x1f ) #define PCI_FUNC( devfn ) ( (devfn) & 0x07 ) +#define PCI_BUS( busdevfn ) ( (busdevfn) >> 8 ) #define PCI_BUSDEVFN( bus, devfn ) ( ( (bus) << 8 ) | (devfn) ) #define PCI_BASE_CLASS( class ) ( (class) >> 16 ) |