Changeset e26a9d95 in mainline for uspace/drv/bus/usb/ohci/hc.c
- Timestamp:
- 2014-01-18T17:14:42Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e200736
- Parents:
- 19b3cc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r19b3cc6 re26a9d95 273 273 } 274 274 275 int hc_status(hcd_t *hcd, uint32_t *status) 276 { 277 assert(hcd); 278 assert(status); 279 hc_t *instance = hcd->driver.data; 280 assert(instance); 281 282 async_usleep(10000); 283 if (instance->registers){ 284 *status = OHCI_RD(instance->registers->interrupt_status); 285 OHCI_WR(instance->registers->interrupt_status, *status); 286 } 287 return EOK; 288 } 289 275 290 /** Add USB transfer to the schedule. 276 291 *
Note:
See TracChangeset
for help on using the changeset viewer.