Changeset d1ca752 in mainline
- Timestamp:
- 2012-03-05T20:19:25Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45f4f19
- Parents:
- 38b950f
- Location:
- uspace/drv/bus/usb/ohci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r38b950f rd1ca752 346 346 void hc_interrupt(hc_t *instance, uint32_t status) 347 347 { 348 status = ohci_reg2host(status);348 status = OHCI_RD(status); 349 349 assert(instance); 350 350 if ((status & ~I_SF) == 0) /* ignore sof status */ -
uspace/drv/bus/usb/ohci/ohci_regs.h
r38b950f rd1ca752 36 36 #include <sys/types.h> 37 37 #include <byteorder.h> 38 39 40 /* assume OHCI regs are le */41 #define host2ohci_reg(value) host2uint32_t_le(value)42 #define ohci_reg2host(value) uint32_t_le2host(value)43 38 44 39 #define OHCI_WR(reg, val) reg = host2uint32_t_le(val)
Note:
See TracChangeset
for help on using the changeset viewer.