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:
https://github.com/ipxe/ipxe/pull/52#issuecomment-215482990___
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 Prose
This series is a follow-up to our virtio 1.0 discussion. The
first patch adds two new functions as suggested by Michael and
the second one makes virtio-net call them.
CC'ing Marcel who may be interested in this (keywords: BIOS,
PCI, BAR :)
Thanks!
Ladi
[PATCH 1/2] [pci] Add enable_pci_device and
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 an
4 matches
Mail list logo