Changeset 0ee648a in mainline
- Timestamp:
- 2010-11-21T17:20:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31860b7, be2ad7cf
- Parents:
- 4087a33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hcdhubd.c
r4087a33 r0ee648a 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.