Changeset 6626bba9 in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2011-10-12T19:04:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 205f0766
- Parents:
- 196fbb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r196fbb0 r6626bba9 50 50 /** Information for fibril for device discovery. */ 51 51 struct add_device_phase1 { 52 usb_hub_ info_t *hub;52 usb_hub_dev_t *hub; 53 53 usb_hub_port_t *port; 54 54 usb_speed_t speed; … … 56 56 57 57 static void usb_hub_port_removed_device(usb_hub_port_t *port, 58 usb_hub_ info_t *hub);58 usb_hub_dev_t *hub); 59 59 static void usb_hub_port_reset_completed(usb_hub_port_t *port, 60 60 usb_port_status_t status); … … 62 62 static int enable_port_callback(int port_no, void *arg); 63 63 static int add_device_phase1_worker_fibril(void *arg); 64 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_ info_t *hub,64 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub, 65 65 usb_speed_t speed); 66 66 … … 130 130 * @param port port number, starting from 1 131 131 */ 132 void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_ info_t *hub)132 void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_dev_t *hub) 133 133 { 134 134 assert(port); … … 249 249 */ 250 250 static void usb_hub_port_removed_device(usb_hub_port_t *port, 251 usb_hub_ info_t *hub)251 usb_hub_dev_t *hub) 252 252 { 253 253 assert(port); … … 375 375 * 376 376 * @param port_no Port number (starting at 1). 377 * @param arg Custom argument, points to @c usb_hub_ info_t.377 * @param arg Custom argument, points to @c usb_hub_dev_t. 378 378 * @return Error code. 379 379 */ … … 463 463 * @return Error code. 464 464 */ 465 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_ info_t *hub,465 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub, 466 466 usb_speed_t speed) 467 467 {
Note:
See TracChangeset
for help on using the changeset viewer.