Ok. I will take a look at ipxe.org/dev/driver to see how to run those tests.
Update the result later.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
The driver enabled both memory and I/O access even if they were
not usable, e.g. BAR not mapped by BIOS. This commit fixes it by
enabling only the BAR types actually used. The device is also
reverted to the original state (in terms of the command PCI
register) on removal.
Signed-off-by: Ladi
adjust_pci_device unconditionally enables both memory and I/O space
access, which may not be necessary. There was also no way to revert
the device back to the original state.
This commit adds two new functions. enable_pci_device gives drivers
finer control over how the PCI device is initialized
3 matches
Mail list logo