Fix USB EHCI detection that was broken in hlist conversion of PCIDevices.
commit2a9aeabdfb34374ecac25e7a8d21c9e368618cd4
authorKevin O'Connor <kevin@koconnor.net>
Sun, 14 Jul 2013 17:55:52 +0000 (14 13:55 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 14 Jul 2013 17:55:52 +0000 (14 13:55 -0400)
tree807884b6de91965c9b872b9150bfca7bd49f6727
parentc02c219cd79299a0a153ecf862f0e301a057f2cb
Fix USB EHCI detection that was broken in hlist conversion of PCIDevices.

Make sure the PCI device list is ordered in bus order.

Don't iterate past the end of the list when detecting EHCI devices.

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