]> xenbits.xensource.com Git - seabios.git/commit
xhci: Change xhci_update_pipe() to xhci_realloc_pipe() and use for alloc too
authorKevin O'Connor <kevin@koconnor.net>
Thu, 16 Oct 2014 17:23:08 +0000 (13:23 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 16 Oct 2014 20:30:10 +0000 (16:30 -0400)
commitc427deff961c022d06bc3527e37dea654393e5cb
tree0e1f8e2655f907bb34212173ae2a67ee6825c1ad
parent2bfd170cc3c33d575eb61295312e695ac95643ef
xhci: Change xhci_update_pipe() to xhci_realloc_pipe() and use for alloc too

Instead of exporting both xhci_alloc_pipe() and xhci_update_pipe(),
export only xhci_realloc_pipe() and support alloc, update, and free
from it.

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