diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-05-08 14:54:12 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-05-08 14:57:12 +0100 |
commit | b88ab14ba38d0eb2123975ed78c8eb04ba13cf72 (patch) | |
tree | 8f11b8d05ccd29484a46263db66a1d493ce5fc10 /src/drivers/usb/usbhub.c | |
parent | 50e703a534e3be4496600562dab5cd4561cd5b71 (diff) | |
download | ipxe-b88ab14ba38d0eb2123975ed78c8eb04ba13cf72.tar.gz |
[pci] Provide PCI_CLASS() to calculate a scalar PCI class value
Rename PCI_CLASS() (which constructs a struct pci_class_id) to
PCI_CLASS_ID(), and provide PCI_CLASS() as a macro which constructs
the 24-bit scalar value of a PCI class code.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb/usbhub.c')
0 files changed, 0 insertions, 0 deletions