Changeset 4bfcf22 in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2014-01-18T22:01:10Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9f6cb910
- Parents:
- a5361fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
ra5361fb r4bfcf22 146 146 /** Take action based on the interrupt cause. 147 147 * 148 * @param[in] instance UHCIstructure to use.148 * @param[in] hcd HCD structure to use. 149 149 * @param[in] status Value of the status register at the time of interrupt. 150 150 * … … 154 154 * - resume from suspend state (not implemented) 155 155 */ 156 void hc_interrupt(hc_t *instance, uint16_t status) 157 { 156 void hc_interrupt(hcd_t *hcd, uint32_t status) 157 { 158 assert(hcd); 159 hc_t *instance = hcd->driver.data; 158 160 assert(instance); 159 161 /* Lower 2 bits are transaction error and transaction complete */
Note:
See TracChangeset
for help on using the changeset viewer.