Changeset 41b70d30 in mainline for uspace/drv/usbhub
- Timestamp:
- 2011-02-20T23:26:09Z (15 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. - Location:
- uspace/drv/usbhub
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/main.c
rd37b235 r41b70d30 34 34 #include <errno.h> 35 35 #include <async.h> 36 37 #include <usb/usbdrv.h>38 39 36 40 37 #include "usbhub.h" -
uspace/drv/usbhub/port_status.h
rd37b235 r41b70d30 35 35 #include <bool.h> 36 36 #include <sys/types.h> 37 #include <usb/ devreq.h>37 #include <usb/request.h> 38 38 #include "usbhub_private.h" 39 39 -
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 /** -
uspace/drv/usbhub/usbhub.h
rd37b235 r41b70d30 42 42 #define NAME "usbhub" 43 43 44 //#include "usb/hcdhubd.h"45 #include <usb/usbdrv.h>46 44 #include <usb/hub.h> 47 45 -
uspace/drv/usbhub/usbhub_private.h
rd37b235 r41b70d30 47 47 #include <usb/classes/hub.h> 48 48 #include <usb/usb.h> 49 #include <usb/usbdrv.h>50 51 //#include <usb/devreq.h>52 49 #include <usb/debug.h> 50 #include <usb/request.h> 53 51 54 52 //************ -
uspace/drv/usbhub/utils.c
rd37b235 r41b70d30 38 38 39 39 #include <usbhc_iface.h> 40 #include <usb/usbdrv.h>41 40 #include <usb/descriptor.h> 42 #include <usb/devreq.h>43 41 #include <usb/classes/hub.h> 44 42
Note:
See TracChangeset
for help on using the changeset viewer.
