Changes in / [31860b7:1fe9bf6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hcdhubd.c
r31860b7 r1fe9bf6 39 39 #include <errno.h> 40 40 41 #define USB_HUB_DEVICE_NAME "usbhub"42 43 41 /** List of handled host controllers. */ 44 42 static LIST_INITIALIZE(hc_list); … … 67 65 * was connected. 68 66 */ 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); 67 bool is_hc = true; 71 68 72 69 if (is_hc) { … … 98 95 return EOK; 99 96 } else { 100 printf("%s: hub added, hurrah!\n", hc_driver->name);101 97 /* 102 98 * We are some (probably deeply nested) hub. … … 234 230 goto failure; 235 231 } 236 hub->name = USB_HUB_DEVICE_NAME;232 hub->name = "usbhub"; 237 233 238 234 match_id = create_match_id();
Note:
See TracChangeset
for help on using the changeset viewer.