Changeset 41b70d30 in mainline for uspace/drv/usbhub/usbhub.c
- Timestamp:
- 2011-02-20T23:26:09Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b317b0b, dbe25f1
- Parents:
- d37b235 (diff), 0f21c0c (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/usbhub/usbhub.c
rd37b235 r41b70d30 40 40 #include <usb_iface.h> 41 41 #include <usb/ddfiface.h> 42 #include <usb/usbdrv.h>43 42 #include <usb/descriptor.h> 44 43 #include <usb/recognise.h> 45 #include <usb/devreq.h>46 44 #include <usb/request.h> 47 45 #include <usb/classes/hub.h> … … 230 228 // 231 229 //********************************************* 232 233 /**234 * Convenience function for releasing default address and writing debug info235 * (these few lines are used too often to be written again and again).236 * @param hc237 * @return238 */239 inline static int usb_hub_release_default_address(int hc){240 int opResult;241 dprintf(USB_LOG_LEVEL_INFO, "releasing default address");242 opResult = usb_drv_release_default_address(hc);243 if (opResult != EOK) {244 dprintf(USB_LOG_LEVEL_WARNING, "failed to release default address");245 }246 return opResult;247 }248 230 249 231 /**
Note:
See TracChangeset
for help on using the changeset viewer.