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# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 21# Use is subject to license terms. 22# 23 24one ohci_state 25one ehci_state 26one uhci_state 27one usbser_state 28one pl2303_state 29 30### specify the root functions 31 32root usbser_first_device 33root usbser_putchar 34root usbser_getchar 35root usbser_ischar 36root usbser_polledio_enter 37root usbser_polledio_exit 38root usb_console_output_fini 39root usb_console_input_enter 40root usb_console_input_exit 41root usb_console_input_fini 42root usb_console_input_init 43root usb_console_read 44root usb_get_dev_descr 45root usb_get_if_number 46root usb_parse_CV_cfg_descr 47root usb_parse_CV_ep_descr 48root usb_parse_CV_if_descr 49root usb_parse_comp_ep_descr 50root usb_pipe_get_private 51root usb_get_current_frame_number 52root usb_get_max_isoc_pkts 53root usb_pipe_set_private 54root usba_ready_interface_node 55root usba_free_hcdi_ops 56root usba_async_req_raise_power 57root usba_async_req_lower_power 58root usb_req_raise_power 59root usb_req_lower_power 60root usb_set_device_pwrlvl0 61root usb_set_device_pwrlvl1 62root usb_set_device_pwrlvl2 63root usb_set_device_pwrlvl3 64root usb_is_pm_enabled 65root usb_async_req 66root usb_pipe_bulk_transfer_size 67root usb_get_ep_data 68root usba_pipe_get_policy 69root usb_pipe_ctrl_xfer_wait 70root usb_pipe_drain_reqs 71root usb_try_serialize_access 72root usb_fini_serialization 73root usb_init_serialization 74root usb_release_access 75root usb_serialize_access 76root usb_clr_feature 77root usb_clear_feature 78root usb_get_alt_if 79root usb_get_ep_descr 80root usb_get_if_descr 81root usb_log 82root usb_pipe_isoc_xfer 83root usb_pipe_stop_isoc_polling 84root usb_set_alt_if 85root usb_set_cfg 86root usb_get_cfg 87root usb_ep_num 88root usb_get_status 89root usb_pipe_reset 90root usb_log_descr_tree 91root usb_print_descr_tree 92root usb_rval2errno 93root usb_register_hotplug_cbs 94root usb_get_current_cfgidx 95root usb_register_client 96root usb_reset_device 97root usb_register_dev_driver 98root usb_unregister_dev_driver 99 100root usb_ugen_attach 101root usb_ugen_close 102root usb_ugen_detach 103root usb_ugen_disconnect_ev_cb 104root usb_ugen_get_hdl 105root usb_ugen_open 106root usb_ugen_poll 107root usb_ugen_power 108root usb_ugen_read 109root usb_ugen_reconnect_ev_cb 110root usb_ugen_write 111 112root hcdi_autoclearing 113root hcdi_cb_thread 114root hcdi_shared_cb_thread 115 116root hubd_restore_state_cb 117root hubd_disconnect_event_cb 118root hubd_post_resume_event_cb 119root hubd_pre_suspend_event_cb 120root hubd_reconnect_event_cb 121root hubd_hotplug_thread 122root hubd_reset_thread 123root hubd_cpr_post_user_callb 124root hubd_root_hub_cleanup_thread 125root hubd_bus_power 126 127root usba_common_power 128root usba_common_register_events 129root usba_ready_interface_association_node 130root usba_pipe_do_async_func_thread 131root usba_pipe_sync_reset 132root usba_get_hc_dma_attr 133root usba_hcdi_get_req_private 134root usba_hcdi_set_req_private 135root usba_dbuf_tail 136root usba_hubdi_power 137root usba_hubdi_root_hub_power 138root usba_get_hotplug_stats 139root usba_reset_hotplug_stats 140root usba_ascii_string_descr 141root usba_move_list 142root usba_taskq_destroy 143root usba_mk_mctl 144root usb_fail_checkpoint 145 146root ohci_intr 147root ehci_intr 148root ohci_quiesce 149root uhci_quiesce 150root ehci_quiesce 151 152### specify the pl2303 root functions 153 154root usbser_soft_state_size 155root usbser_pl2303_open 156root usbser_close 157root usbser_wput 158root usbser_wsrv 159root usbser_rsrv 160root usbser_tx_cb 161root usbser_rx_cb 162root usbser_status_cb 163root usbser_wq_thread 164root usbser_rq_thread 165root usbser_disconnect_cb 166root usbser_reconnect_cb 167root usbser_cpr_suspend 168root usbser_cpr_resume 169 170root pl2303_bulkin_cb 171root pl2303_bulkout_cb 172 173### specify pl2303 function pointers 174 175add ds_ops::ds_attach targets pl2303_attach 176add ds_ops::ds_detach targets pl2303_detach 177add ds_ops::ds_register_cb targets pl2303_register_cb 178add ds_ops::ds_unregister_cb targets pl2303_unregister_cb 179add ds_ops::ds_open_port targets pl2303_open_port 180add ds_ops::ds_close_port targets pl2303_close_port 181add ds_ops::ds_usb_power targets pl2303_usb_power 182add ds_ops::ds_suspend targets pl2303_suspend 183add ds_ops::ds_resume targets pl2303_resume 184add ds_ops::ds_disconnect targets pl2303_disconnect 185add ds_ops::ds_reconnect targets pl2303_reconnect 186add ds_ops::ds_set_port_params targets pl2303_set_port_params 187add ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl 188add ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl 189add ds_ops::ds_break_ctl targets pl2303_break_ctl 190add ds_ops::ds_tx targets pl2303_tx 191add ds_ops::ds_rx targets pl2303_rx 192add ds_ops::ds_stop targets pl2303_stop 193add ds_ops::ds_start targets pl2303_start 194add ds_ops::ds_fifo_flush targets pl2303_fifo_flush 195add ds_ops::ds_fifo_drain targets pl2303_fifo_drain 196add ds_ops::ds_out_pipe targets pl2303_out_pipe 197add ds_ops::ds_in_pipe targets pl2303_in_pipe 198 199add pl2303_state::pl_cb.cb_tx targets usbser_tx_cb 200add pl2303_state::pl_cb.cb_rx targets usbser_rx_cb 201 202add hubd::h_cleanup_child targets warlock_dummy 203add usb_ctrl_req::ctrl_cb targets warlock_dummy 204add usb_ctrl_req::ctrl_exc_cb targets warlock_dummy 205add usb_bulk_req::bulk_cb targets pl2303_bulkin_cb 206add usb_bulk_req::bulk_exc_cb targets pl2303_bulkin_cb 207add usb_bulk_req::bulk_cb targets pl2303_bulkout_cb 208add usb_bulk_req::bulk_exc_cb targets pl2303_bulkout_cb 209 210add usb_isoc_req::isoc_cb targets warlock_dummy 211add usb_isoc_req::isoc_exc_cb targets warlock_dummy 212add usba_pipe_async_req::callback targets warlock_dummy 213add usba_pipe_async_req::sync_func targets warlock_dummy 214add usba_pm_req::cb targets warlock_dummy 215 216add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td 217add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td 218add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td 219add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td 220 221add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd 222add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd 223add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd 224