]> xenbits.xensource.com Git - seabios.git/commit
xhci: Convert to new PCI BAR helper functions
authorKevin O'Connor <kevin@koconnor.net>
Wed, 3 Feb 2016 03:33:17 +0000 (22:33 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 3 Feb 2016 04:16:41 +0000 (23:16 -0500)
commitc53953ac568fa4501f1a619240eecd4bd38cbb21
tree68b7ad4e06734935e49789573ec6589797278f63
parenta46fdbfc68520a7da23bc6e87310c4f372f00fd7
xhci: Convert to new PCI BAR helper functions

Use the pci_enable_x() functions.

The xhci controller code will now explicitly set PCI_COMMAND_MEMORY
instead of assuming it has already been enabled.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/usb-xhci.c