Changeset 774afaae in mainline for uspace/drv/vhc/hc.c
- Timestamp:
- 2010-12-15T21:56:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e63a4e1
- Parents:
- 1840e0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hc.c
r1840e0d r774afaae 78 78 list_get_instance(lnk, transaction_t, link) 79 79 80 #define HUB_STATUS_MAX_LEN (HUB_PORT_COUNT + 64) 81 80 82 static inline unsigned int pseudo_random(unsigned int *seed) 81 83 { … … 115 117 } 116 118 117 char ports[HUB_PORT_COUNT + 2]; 118 hub_get_port_statuses(ports, HUB_PORT_COUNT + 1); 119 dprintf(4, "virtual hub: addr=%d ports=%s", 120 virthub_dev.address, ports); 119 char ports[HUB_STATUS_MAX_LEN + 1]; 120 virthub_get_status(&virtual_hub_device, ports, HUB_STATUS_MAX_LEN); 121 121 122 122 link_t *first_transaction_link = transaction_list.next; … … 126 126 127 127 128 dprintf(0, "about to process " TRANSACTION_FORMAT " (vhub:%s)",128 dprintf(0, "about to process " TRANSACTION_FORMAT " [%s]", 129 129 TRANSACTION_PRINTF(*transaction), ports); 130 130
Note:
See TracChangeset
for help on using the changeset viewer.