1# CDDL HEADER START 2# 3# The contents of this file are subject to the terms of the 4# Common Development and Distribution License (the "License"). 5# You may not use this file except in compliance with the License. 6# 7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8# or http://www.opensolaris.org/os/licensing. 9# See the License for the specific language governing permissions 10# and limitations under the License. 11# 12# When distributing Covered Code, include this CDDL HEADER in each 13# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14# If applicable, add the following below this CDDL HEADER, with the 15# fields enclosed by brackets "[]" replaced with your own identifying 16# information: Portions Copyright [yyyy] [name of copyright owner] 17# 18# CDDL HEADER END 19 20# 21# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22# Use is subject to license terms. 23# 24 25one ohci_state 26one ehci_state 27one uhci_state 28one usbser_state 29one uftdi_state 30 31### specify the root functions 32 33root usbser_first_device 34root usbser_putchar 35root usbser_getchar 36root usbser_ischar 37root usbser_polledio_enter 38root usbser_polledio_exit 39root usb_console_output_fini 40root usb_console_input_enter 41root usb_console_input_exit 42root usb_console_input_fini 43root usb_console_input_init 44root usb_console_read 45root usb_get_dev_descr 46root usb_get_if_number 47root usb_parse_CV_cfg_descr 48root usb_parse_CV_ep_descr 49root usb_parse_CV_if_descr 50root usb_parse_comp_ep_descr 51root usb_pipe_get_private 52root usb_get_current_frame_number 53root usb_get_max_isoc_pkts 54root usb_pipe_set_private 55root usba_ready_interface_node 56root usba_free_hcdi_ops 57root usba_async_req_raise_power 58root usba_async_req_lower_power 59root usb_req_raise_power 60root usb_req_lower_power 61root usb_set_device_pwrlvl0 62root usb_set_device_pwrlvl1 63root usb_set_device_pwrlvl2 64root usb_set_device_pwrlvl3 65root usb_is_pm_enabled 66root usb_async_req 67root usb_pipe_bulk_transfer_size 68root usb_get_ep_data 69root usba_pipe_get_policy 70root usb_pipe_ctrl_xfer_wait 71root usb_pipe_drain_reqs 72root usb_try_serialize_access 73root usb_fini_serialization 74root usb_init_serialization 75root usb_release_access 76root usb_serialize_access 77root usb_clr_feature 78root usb_clear_feature 79root usb_get_alt_if 80root usb_get_ep_descr 81root usb_get_if_descr 82root usb_log 83root usb_pipe_isoc_xfer 84root usb_pipe_stop_isoc_polling 85root usb_set_alt_if 86root usb_set_cfg 87root usb_get_cfg 88root usb_ep_num 89root usb_get_status 90root usb_pipe_reset 91root usb_log_descr_tree 92root usb_print_descr_tree 93root usb_rval2errno 94root usb_register_hotplug_cbs 95root usb_get_current_cfgidx 96root usb_register_client 97root usb_reset_device 98root usb_register_dev_driver 99root usb_unregister_dev_driver 100 101root usb_ugen_attach 102root usb_ugen_close 103root usb_ugen_detach 104root usb_ugen_disconnect_ev_cb 105root usb_ugen_get_hdl 106root usb_ugen_open 107root usb_ugen_poll 108root usb_ugen_power 109root usb_ugen_read 110root usb_ugen_reconnect_ev_cb 111root usb_ugen_write 112 113root hcdi_autoclearing 114root hcdi_cb_thread 115root hcdi_shared_cb_thread 116 117root hubd_restore_state_cb 118root hubd_disconnect_event_cb 119root hubd_post_resume_event_cb 120root hubd_pre_suspend_event_cb 121root hubd_reconnect_event_cb 122root hubd_hotplug_thread 123root hubd_reset_thread 124root hubd_cpr_post_user_callb 125root hubd_root_hub_cleanup_thread 126root hubd_bus_power 127 128root usba_common_power 129root usba_common_register_events 130root usba_ready_interface_association_node 131root usba_pipe_do_async_func_thread 132root usba_pipe_sync_reset 133root usba_get_hc_dma_attr 134root usba_hcdi_get_req_private 135root usba_hcdi_set_req_private 136root usba_dbuf_tail 137root usba_hubdi_power 138root usba_hubdi_root_hub_power 139root usba_get_hotplug_stats 140root usba_reset_hotplug_stats 141root usba_ascii_string_descr 142root usba_move_list 143root usba_taskq_destroy 144root usba_mk_mctl 145root usb_fail_checkpoint 146 147root ohci_intr 148root ehci_intr 149root ohci_quiesce 150root uhci_quiesce 151root ehci_quiesce 152 153### specify the uftdi root functions 154 155root usbser_soft_state_size 156root usbser_uftdi_open 157root usbser_close 158root usbser_wput 159root usbser_wsrv 160root usbser_rsrv 161root usbser_tx_cb 162root usbser_rx_cb 163root usbser_status_cb 164root usbser_wq_thread 165root usbser_rq_thread 166root usbser_disconnect_cb 167root usbser_reconnect_cb 168root usbser_cpr_suspend 169root usbser_cpr_resume 170 171root uftdi_bulkin_cb 172root uftdi_bulkout_cb 173 174### specify uftdi function pointers 175 176add ds_ops::ds_attach targets uftdi_attach 177add ds_ops::ds_detach targets uftdi_detach 178add ds_ops::ds_register_cb targets uftdi_register_cb 179add ds_ops::ds_unregister_cb targets uftdi_unregister_cb 180add ds_ops::ds_open_port targets uftdi_open_port 181add ds_ops::ds_close_port targets uftdi_close_port 182add ds_ops::ds_usb_power targets uftdi_usb_power 183add ds_ops::ds_suspend targets uftdi_suspend 184add ds_ops::ds_resume targets uftdi_resume 185add ds_ops::ds_disconnect targets uftdi_disconnect 186add ds_ops::ds_reconnect targets uftdi_reconnect 187add ds_ops::ds_set_port_params targets uftdi_set_port_params 188add ds_ops::ds_set_modem_ctl targets uftdi_set_modem_ctl 189add ds_ops::ds_get_modem_ctl targets uftdi_get_modem_ctl 190add ds_ops::ds_break_ctl targets uftdi_break_ctl 191add ds_ops::ds_tx targets uftdi_tx 192add ds_ops::ds_rx targets uftdi_rx 193add ds_ops::ds_stop targets uftdi_stop 194add ds_ops::ds_start targets uftdi_start 195add ds_ops::ds_fifo_flush targets uftdi_fifo_flush 196add ds_ops::ds_fifo_drain targets uftdi_fifo_drain 197add ds_ops::ds_out_pipe targets uftdi_out_pipe 198add ds_ops::ds_in_pipe targets uftdi_in_pipe 199 200add uftdi_state::uf_cb.cb_tx targets usbser_tx_cb 201add uftdi_state::uf_cb.cb_rx targets usbser_rx_cb 202add uftdi_state::uf_cb.cb_status targets usbser_status_cb 203 204add hubd::h_cleanup_child targets warlock_dummy 205add usb_ctrl_req::ctrl_cb targets warlock_dummy 206add usb_ctrl_req::ctrl_exc_cb targets warlock_dummy 207add usb_bulk_req::bulk_cb targets uftdi_bulkin_cb 208add usb_bulk_req::bulk_exc_cb targets uftdi_bulkin_cb 209add usb_bulk_req::bulk_cb targets uftdi_bulkout_cb 210add usb_bulk_req::bulk_exc_cb targets uftdi_bulkout_cb 211 212add usb_isoc_req::isoc_cb targets warlock_dummy 213add usb_isoc_req::isoc_exc_cb targets warlock_dummy 214add usba_pipe_async_req::callback targets warlock_dummy 215add usba_pipe_async_req::sync_func targets warlock_dummy 216add usba_pm_req::cb targets warlock_dummy 217 218add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td 219add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td 220add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td 221add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td 222 223add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd 224add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd 225add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd 226