Changeset 49f2f29 in mainline for uspace/drv/bus/usb/uhci/uhci_rh.c
- Timestamp:
- 2013-02-08T20:47:19Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 86a01cc
- Parents:
- c5f4e6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_rh.c
rc5f4e6a r49f2f29 30 30 #include <macros.h> 31 31 #include <usb/debug.h> 32 #include <usb/classes/hub.h> 32 33 #include <ddi.h> 33 34 … … 36 37 enum { 37 38 UHCI_RH_PORT_COUNT = 2, 38 /* 1 byte for hub status bit and 2 port status bits */ 39 UHCI_PORT_BYTES = (1 + UHCI_RH_PORT_COUNT + 7) / 8, 39 UHCI_PORT_BYTES = STATUS_BYTES(UHCI_RH_PORT_COUNT), 40 40 }; 41 41 … … 78 78 instance->reset_changed[1] = false; 79 79 return virthub_base_init(&instance->base, name, &ops, instance, 80 NULL, &hub_descriptor.header, HUB_STATUS_CHANGE_PIPE , 2);80 NULL, &hub_descriptor.header, HUB_STATUS_CHANGE_PIPE); 81 81 } 82 82
Note:
See TracChangeset
for help on using the changeset viewer.