Changeset f37f811 in mainline for uspace/drv/vhc/hub.h
- Timestamp:
- 2010-12-15T22:25:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cea3fca
- Parents:
- ea5dbaf (diff), e63a4e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hub.h
rea5dbaf rf37f811 40 40 41 41 #include "devices.h" 42 #include "hub/hub.h" 43 #include "hub/virthub.h" 42 44 43 #define HUB_PORT_COUNT 2 45 extern usbvirt_device_t virtual_hub_device; 44 46 45 #define BITS2BYTES(bits) \ 46 (bits ? ((((bits)-1)>>3)+1) : 0) 47 48 extern usbvirt_device_t virthub_dev; 49 50 void hub_init(device_t *); 51 size_t hub_add_device(virtdev_connection_t *); 52 void hub_remove_device(virtdev_connection_t *); 53 bool hub_can_device_signal(virtdev_connection_t *); 54 void hub_get_port_statuses(char *result, size_t len); 47 void virtual_hub_device_init(device_t *); 55 48 56 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.