Changeset 07645906 in mainline
- Timestamp:
- 2014-01-26T04:46:48Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbfbdc3
- Parents:
- 00bbc362
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hc.c
r00bbc362 r07645906 308 308 status = EHCI_RD(status); 309 309 assert(instance); 310 310 311 if (status & USB_STS_PORT_CHANGE_FLAG) { 311 312 ehci_rh_interrupt(&instance->rh); 312 313 } 314 313 315 if (status & USB_STS_IRQ_ASYNC_ADVANCE_FLAG) { 314 316 fibril_mutex_lock(&instance->guard); … … 316 318 fibril_mutex_unlock(&instance->guard); 317 319 } 320 318 321 if (status & (USB_STS_IRQ_FLAG | USB_STS_ERR_IRQ_FLAG)) { 319 322 fibril_mutex_lock(&instance->guard); … … 334 337 } 335 338 339 if (status & USB_STS_HOST_ERROR_FLAG) { 340 usb_log_fatal("HOST CONTROLLER SYSTEM ERROR!\n"); 341 //TODO do something here 342 } 336 343 } 337 344
Note:
See TracChangeset
for help on using the changeset viewer.