Changeset 8c9e71a in mainline for uspace/drv/bus/usb/usbhub/main.c
- Timestamp:
- 2011-09-27T15:55:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1069714
- Parents:
- d3a9ae74 (diff), 747a1e71 (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/bus/usb/usbhub/main.c
rd3a9ae74 r8c9e71a 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.