iPXE - Open Source Boot Firmware

[pci] Correct invalid base-class/sub-class/prog-if order in PCIR
authorPetr Borsodi <petr.borsodi@gmail.com>
Tue, 15 Jan 2019 13:06:19 +0000 (13:06 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Jan 2019 13:08:44 +0000 (13:08 +0000)
commitba0d5aa993df4bad28b2a6a36c10b43c7e5c33f2
tree8900aba5da38bfbcbd2aa1c31acb426cf580fa47
parent133f4c47baef6002b2ccb4904a035cda2303c6e5
[pci] Correct invalid base-class/sub-class/prog-if order in PCIR

PCI Configuration Space contains fields prog-if at the offset 0x09,
sub-class at the offset 0x0a and base-class at the offset 0x0b (it
respects little endian).  PCIR structure uses these fields in the same
order.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/prefix/mromprefix.S
src/arch/x86/prefix/romprefix.S
src/util/Option/ROM.pm
src/util/efirom.c