Changeset d083126 in mainline for uspace/drv/bus/usb/usbhub/port.h
- Timestamp:
- 2011-10-13T13:20:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a5506a
- Parents:
- cff3fb6 (diff), 22a2b763 (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/port.h
rcff3fb6 rd083126 40 40 #include <usb/classes/hub.h> 41 41 42 typedef struct usb_hub_ info_t usb_hub_info_t;42 typedef struct usb_hub_dev usb_hub_dev_t; 43 43 44 44 /** Information about single port on a hub. */ … … 58 58 59 59 /** Information about attached device. */ 60 usb_h c_attached_device_t attached_device;60 usb_hub_attached_device_t attached_device; 61 61 } usb_hub_port_t; 62 62 … … 70 70 assert(port); 71 71 port->attached_device.address = -1; 72 port->attached_device. handle = 0;72 port->attached_device.fun = NULL; 73 73 port->port_number = port_number; 74 74 port->control_pipe = control_pipe; … … 76 76 fibril_condvar_initialize(&port->reset_cv); 77 77 } 78 79 void usb_hub_port_reset_fail(usb_hub_port_t *port); 80 void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_info_t *hub); 78 int usb_hub_port_fini(usb_hub_port_t *port, usb_hub_dev_t *hub); 81 79 int usb_hub_port_clear_feature( 82 80 usb_hub_port_t *port, usb_hub_class_feature_t feature); 83 81 int usb_hub_port_set_feature( 84 82 usb_hub_port_t *port, usb_hub_class_feature_t feature); 83 void usb_hub_port_reset_fail(usb_hub_port_t *port); 84 void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_dev_t *hub); 85 85 86 86 #endif
Note:
See TracChangeset
for help on using the changeset viewer.