222 void usba_hcdi_set_ctrl_req_hcd_private(usb_ctrl_req_t *, usb_opaque_t);
223
224 int usba_set_usb_address(usba_device_t *);
225 void usba_unset_usb_address(usba_device_t *);
226
227 /*
228 * Per Hub Data Structures
229 */
230 typedef struct usba_hubdi {
231 usba_list_entry_t hubdi_list; /* linking in hubdi list */
232
233 dev_info_t *hubdi_dip; /* ptr to devinfo struct */
234
235 int hubdi_flags; /* flag options */
236
237 } usba_hubdi_t;
238
239 /*
240 * usba_get_mfg_prod_sn_str:
241 * Return a string containing mfg, product, serial number strings.
242 * Remove duplicates if some strings are the same.
243 */
244 char *usba_get_mfg_prod_sn_str(dev_info_t *, char *, int);
245
246 /* return value when user doesn't specify configuration index */
247 #define USBA_DEV_CONFIG_INDEX_UNDEFINED -1
248
249 /*
250 * prototypes
251 */
252 void usba_usba_initialization();
253 void usba_usba_destroy();
254
255 void usba_usbai_register_initialization();
256 void usba_usbai_register_destroy();
257
258 void usba_usbai_initialization();
259 void usba_usbai_destroy();
260
261 void usba_hubdi_initialization();
262 void usba_hubdi_destroy();
|
222 void usba_hcdi_set_ctrl_req_hcd_private(usb_ctrl_req_t *, usb_opaque_t);
223
224 int usba_set_usb_address(usba_device_t *);
225 void usba_unset_usb_address(usba_device_t *);
226
227 /*
228 * Per Hub Data Structures
229 */
230 typedef struct usba_hubdi {
231 usba_list_entry_t hubdi_list; /* linking in hubdi list */
232
233 dev_info_t *hubdi_dip; /* ptr to devinfo struct */
234
235 int hubdi_flags; /* flag options */
236
237 } usba_hubdi_t;
238
239 /*
240 * usba_get_mfg_prod_sn_str:
241 * Return a string containing mfg, product, serial number strings.
242 */
243 char *usba_get_mfg_prod_sn_str(dev_info_t *, char *, int);
244
245 /* return value when user doesn't specify configuration index */
246 #define USBA_DEV_CONFIG_INDEX_UNDEFINED -1
247
248 /*
249 * prototypes
250 */
251 void usba_usba_initialization();
252 void usba_usba_destroy();
253
254 void usba_usbai_register_initialization();
255 void usba_usbai_register_destroy();
256
257 void usba_usbai_initialization();
258 void usba_usbai_destroy();
259
260 void usba_hubdi_initialization();
261 void usba_hubdi_destroy();
|