Changeset 97e87de in mainline
- Timestamp:
- 2011-02-04T13:30:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 881c47b
- Parents:
- 74d6e90
- Location:
- uspace/drv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/main.c
r74d6e90 r97e87de 134 134 */ 135 135 sleep(5); 136 usb_log_enable(USB_LOG_LEVEL_ INFO, NAME);136 usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME); 137 137 138 138 return driver_main(&uhci_driver); -
uspace/drv/uhci-hcd/uhci.c
r74d6e90 r97e87de 156 156 } 157 157 158 if (transfer_type == USB_TRANSFER_INTERRUPT 159 && size >= 64) { 160 usb_log_warning("Interrupt transfer too big %zu.\n", size); 161 return ENOTSUP; 162 } 163 164 158 165 if (size >= 1024) { 159 166 usb_log_warning("Transfer too big.\n"); … … 211 218 &instance->transfers[i], it ? "SOMETHING" : "EMPTY"); 212 219 213 if (it)214 usb_log_debug("First in queue: %p (%x).\n",215 it, it->status);220 if (it) 221 usb_log_debug("First in queue: %p (%x).\n", 222 it, it->status); 216 223 217 224 while (instance->transfers[i].first && -
uspace/drv/uhci-rhd/port.c
r74d6e90 r97e87de 215 215 port->number, usb_address, port->attached_device); 216 216 217 /* TODO: bind the address here */ 218 ret = usb_drv_bind_address(port->hc_phone, usb_address, port->attached_device); 217 ret = 218 usb_drv_bind_address(port->hc_phone, usb_address, port->attached_device); 219 // TODO: proper error check here 220 assert(ret == EOK); 219 221 220 222 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.