[coreboot] [PATCH] USB: set EP0 type to CONTROL
Daniel Mack
daniel at caiaq.de
Mon Oct 5 04:44:45 CEST 2009
This is needed by the OHCI stack.
Signed-off-by: Daniel Mack <daniel at caiaq.de>
---
drivers/usb/usb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/usb.c b/drivers/usb/usb.c
index 4a0dbad..c08de54 100644
--- a/drivers/usb/usb.c
+++ b/drivers/usb/usb.c
@@ -247,6 +247,7 @@ set_address (hci_t *controller, int lowspeed)
dev->endpoints[0].maxpacketsize = 8;
dev->endpoints[0].toggle = 0;
dev->endpoints[0].direction = SETUP;
+ dev->endpoints[0].type = CONTROL;
mdelay (50);
if (dev->controller->control (&dev->endpoints[0], OUT, sizeof (dr), &dr, 0, 0)) {
printf ("set_address failed\n");
--
1.6.0.4
More information about the coreboot
mailing list