diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-28 02:17:28 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-03-09 19:59:10 -0500 |
commit | 4547eb904992b12771f040a8c1abc84892a64f98 (patch) | |
tree | 559607191f559f01ec025b174902c49992520fc6 /src/usb-hub.c | |
parent | 8ebcac023dad947a5229dce39e5864bbceeb18f3 (diff) | |
download | seabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.zip seabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.tar.gz seabios-hppa-4547eb904992b12771f040a8c1abc84892a64f98.tar.bz2 |
Replace USB encoded 'u32 endp' scheme with explicit struct fields.
Expand 'struct usb_pipe' with all the fields that are needed from the
encoded 'u32 endp' field.
Diffstat (limited to 'src/usb-hub.c')
-rw-r--r-- | src/usb-hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usb-hub.c b/src/usb-hub.c index da7d9f8..ce40099 100644 --- a/src/usb-hub.c +++ b/src/usb-hub.c @@ -168,7 +168,7 @@ usb_hub_init(struct usb_pipe *pipe) struct usbhub_s hub; memset(&hub, 0, sizeof(hub)); hub.pipe = pipe; - hub.cntl = endp2cntl(pipe->endp); + hub.cntl = pipe->cntl; hub.powerwait = desc.bPwrOn2PwrGood * 2; // Launch a thread for every port. |