Changeset 4bfcf22 in mainline for uspace/drv/bus/usb/ohci
- Timestamp:
- 2014-01-18T22:01:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9f6cb910
- Parents:
- a5361fb
- Location:
- uspace/drv/bus/usb/ohci
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
ra5361fb r4bfcf22 327 327 * @param[in] status Value of the status register at the time of interrupt. 328 328 */ 329 void hc_interrupt(hc_t *instance, uint32_t status) 330 { 329 void hc_interrupt(hcd_t *hcd, uint32_t status) 330 { 331 assert(hcd); 332 hc_t *instance = hcd->driver.data; 331 333 status = OHCI_RD(status); 332 334 assert(instance); -
uspace/drv/bus/usb/ohci/hc.h
ra5361fb r4bfcf22 88 88 int hc_status(hcd_t *hcd, uint32_t *status); 89 89 90 void hc_interrupt(hc _t *instance, uint32_t status);90 void hc_interrupt(hcd_t *hcd, uint32_t status); 91 91 #endif 92 92 /** -
uspace/drv/bus/usb/ohci/main.c
ra5361fb r4bfcf22 46 46 47 47 #define NAME "ohci" 48 // TODO: This should be merged to hc_interrupt49 static void ohci_interrupt(hcd_t *hcd, uint32_t status)50 {51 assert(hcd);52 if (hcd->driver.data)53 hc_interrupt(hcd->driver.data, status);54 }55 48 56 49 static int ohci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq) … … 66 59 if (ret == EOK) 67 60 hcd_set_implementation(hcd, instance, hc_schedule, 68 ohci_endpoint_init, ohci_endpoint_fini, ohci_interrupt,61 ohci_endpoint_init, ohci_endpoint_fini, hc_interrupt, 69 62 hc_status); 70 63 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.
