diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-09-10 10:18:02 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-09-10 13:33:52 -0400 |
commit | c001ed8fd7db4be3df9e811e80854bdb93465828 (patch) | |
tree | f3bd6dfc156717e8844cd6ac0c4c7cbad9654c94 /src/hw/usb.h | |
parent | 5ac31b82a5e66f2f3e5c0b9e770635d090330853 (diff) | |
download | seabios-hppa-c001ed8fd7db4be3df9e811e80854bdb93465828.zip seabios-hppa-c001ed8fd7db4be3df9e811e80854bdb93465828.tar.gz seabios-hppa-c001ed8fd7db4be3df9e811e80854bdb93465828.tar.bz2 |
usb-hub: Enable power to all ports prior to calling usb_enumerate().
Don't perform port power up in the detect code. Instead do it prior
to calling usb_enumerate(). This makes the code more similar to the
usb root hub drivers. It can also reduce the total boot time when
threads are disabled.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb.h')
-rw-r--r-- | src/hw/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hw/usb.h b/src/hw/usb.h index 3a663ce..223e4d6 100644 --- a/src/hw/usb.h +++ b/src/hw/usb.h @@ -46,7 +46,6 @@ struct usbhub_s { struct usbdevice_s *usbdev; struct usb_s *cntl; struct mutex_s lock; - u32 powerwait; u32 port; u32 threads; u32 portcount; |