Changes in uspace/drv/bus/usb/usbhub/main.c [5203e256:a1cb170] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/main.c
r5203e256 ra1cb170 1 1 /* 2 2 * Copyright (c) 2010 Vojtech Horky 3 * Copyright (c) 2011 Jan Vesely 3 4 * All rights reserved. 4 5 * … … 38 39 #include <usb/dev/driver.h> 39 40 #include <usb/classes/classes.h> 41 #include <usb/debug.h> 40 42 41 43 #include "usbhub.h" 42 #include "usbhub_private.h"43 44 44 45 /** Hub status-change endpoint description. … … 56 57 57 58 /** 58 * usbhub driver operations59 * USB hub driver operations 59 60 * 60 61 * The most important one is add_device, which is set to usb_hub_add_device. … … 64 65 }; 65 66 66 /** 67 * hub endpoints, excluding control endpoint 68 */ 67 /** Hub endpoints, excluding control endpoint. */ 69 68 static usb_endpoint_description_t *usb_hub_endpoints[] = { 70 69 &hub_status_change_endpoint_description, 71 NULL 70 NULL, 72 71 }; 73 74 /** 75 * static usb hub driver information 76 */ 72 /** Static usb hub driver information. */ 77 73 static usb_driver_t usb_hub_driver = { 78 74 .name = NAME, … … 85 81 { 86 82 printf(NAME ": HelenOS USB hub driver.\n"); 87 88 83 usb_log_enable(USB_LOG_LEVEL_DEFAULT, NAME); 89 84 … … 94 89 * @} 95 90 */ 96
Note:
See TracChangeset
for help on using the changeset viewer.