Changeset 32ec5671 in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2011-10-12T20:31:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d103aef
- Parents:
- 013517b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r013517b r32ec5671 60 60 usb_port_status_t status); 61 61 static int get_port_status(usb_hub_port_t *port, usb_port_status_t *status); 62 static int enable_port_callback( int port_no,void *arg);62 static int enable_port_callback(void *arg); 63 63 static int add_device_phase1_worker_fibril(void *arg); 64 64 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub, … … 378 378 * @return Error code. 379 379 */ 380 static int enable_port_callback( int port_no,void *arg)380 static int enable_port_callback(void *arg) 381 381 { 382 382 usb_hub_port_t *port = arg; … … 421 421 422 422 const int rc = usb_hc_new_device_wrapper(data->hub->usb_device->ddf_dev, 423 &data->hub->connection, data->speed, 424 enable_port_callback, (int) data->port->port_number, 423 &data->hub->connection, data->speed, enable_port_callback, 425 424 data->port, &new_address, NULL, NULL, &child_fun); 426 425
Note:
See TracChangeset
for help on using the changeset viewer.