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