diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-01-01 12:51:04 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-01-07 10:13:46 -0500 |
commit | 1bd976b7befb7d65cbfa778ba2eb03e30cb76068 (patch) | |
tree | 38d023f77fc51c966c017530defad428d6130799 /src/hw/usb.c | |
parent | 7f66e7b22bcd0c85a3dfce303dbf047c1a03aa4f (diff) | |
download | seabios-1bd976b7befb7d65cbfa778ba2eb03e30cb76068.zip seabios-1bd976b7befb7d65cbfa778ba2eb03e30cb76068.tar.gz seabios-1bd976b7befb7d65cbfa778ba2eb03e30cb76068.tar.bz2 |
ehci: Simplify fillTDbuffer() and rename
Simplify the calculation of the maximum transfer size per qtd,
simplify the fillTDbuffer() function so that it only fills the buffer
pointers, and rename fillTDbuffer() to ehci_fill_tdbuf().
Also, don't modify 'data' or 'datasize' so that usb_xfer_time() can
use 'datasize' at the end of the function.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb.c')
0 files changed, 0 insertions, 0 deletions