Re: [ipxe-devel] [ipxe/ipxe] Fixed bug in intel 10M/100M/1G NIC driver. (#52)

2016-04-28 Thread Oliver Nie
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:

[ipxe-devel] [PATCH 2/2] [virtio] Enable and disable PCI device correctly

2016-04-28 Thread Ladi Prosek
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

[ipxe-devel] [PATCH 1/2] [pci] Add enable_pci_device and disable_pci_device

2016-04-28 Thread Ladi Prosek
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