Changeset 31860b7 in mainline
- Timestamp:
- 2010-11-21T17:30:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8cd1aa5e
- Parents:
- 1fe9bf6 (diff), 0ee648a (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/lib/usb/src/hcdhubd.c
r1fe9bf6 r31860b7 39 39 #include <errno.h> 40 40 41 #define USB_HUB_DEVICE_NAME "usbhub" 42 41 43 /** List of handled host controllers. */ 42 44 static LIST_INITIALIZE(hc_list); … … 65 67 * was connected. 66 68 */ 67 bool is_hc = true; 69 bool is_hc = str_cmp(dev->name, USB_HUB_DEVICE_NAME) != 0; 70 printf("%s: add_device(name=\"%s\")\n", hc_driver->name, dev->name); 68 71 69 72 if (is_hc) { … … 95 98 return EOK; 96 99 } else { 100 printf("%s: hub added, hurrah!\n", hc_driver->name); 97 101 /* 98 102 * We are some (probably deeply nested) hub. … … 230 234 goto failure; 231 235 } 232 hub->name = "usbhub";236 hub->name = USB_HUB_DEVICE_NAME; 233 237 234 238 match_id = create_match_id();
Note:
See TracChangeset
for help on using the changeset viewer.