usbsprl_with_usba.wlcmd revision 3138:7bbdcbfa4cd5
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 2006 Sun Microsystems, Inc.  All rights reserved.
21# Use is subject to license terms.
22#
23#ident	"%Z%%M%	%I%	%E% SMI"
24
25one ohci_state
26one ehci_state
27one uhci_state
28one usbser_state
29one pl2303_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_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
96
97root usb_ugen_attach
98root usb_ugen_close
99root usb_ugen_detach
100root usb_ugen_disconnect_ev_cb
101root usb_ugen_get_hdl
102root usb_ugen_open
103root usb_ugen_poll
104root usb_ugen_power
105root usb_ugen_read
106root usb_ugen_reconnect_ev_cb
107root usb_ugen_write
108
109root hcdi_autoclearing
110root hcdi_cb_thread
111root hcdi_shared_cb_thread
112
113root hubd_restore_state_cb
114root hubd_disconnect_event_cb
115root hubd_post_resume_event_cb
116root hubd_pre_suspend_event_cb
117root hubd_reconnect_event_cb
118root hubd_hotplug_thread
119root hubd_cpr_post_user_callb
120root hubd_root_hub_cleanup_thread
121root hubd_bus_power
122
123root usba_pipe_do_async_func_thread
124root usba_pipe_sync_reset
125root usba_get_hc_dma_attr
126root usba_hcdi_get_req_private
127root usba_hcdi_set_req_private
128root usba_dbuf_tail
129root usba_hubdi_power
130root usba_hubdi_root_hub_power
131root usba_get_hotplug_stats
132root usba_reset_hotplug_stats
133root usba_ascii_string_descr
134root usba_move_list
135root usba_taskq_destroy
136root usba_mk_mctl
137root usb_fail_checkpoint
138
139root ohci_intr
140root ehci_intr
141
142### specify the pl2303 root functions
143
144root usbser_soft_state_size
145root usbser_pl2303_open
146root usbser_close
147root usbser_wput
148root usbser_wsrv
149root usbser_rsrv
150root usbser_tx_cb
151root usbser_rx_cb
152root usbser_status_cb
153root usbser_wq_thread
154root usbser_rq_thread
155root usbser_disconnect_cb
156root usbser_reconnect_cb
157root usbser_cpr_suspend
158root usbser_cpr_resume
159
160root pl2303_bulkin_cb
161root pl2303_bulkout_cb
162
163### specify pl2303 function pointers
164
165add ds_ops::ds_attach targets pl2303_attach
166add ds_ops::ds_detach targets pl2303_detach
167add ds_ops::ds_register_cb targets pl2303_register_cb
168add ds_ops::ds_unregister_cb targets pl2303_unregister_cb
169add ds_ops::ds_open_port targets pl2303_open_port
170add ds_ops::ds_close_port targets pl2303_close_port
171add ds_ops::ds_usb_power targets pl2303_usb_power
172add ds_ops::ds_suspend targets pl2303_suspend
173add ds_ops::ds_resume targets pl2303_resume
174add ds_ops::ds_disconnect targets pl2303_disconnect
175add ds_ops::ds_reconnect targets pl2303_reconnect
176add ds_ops::ds_set_port_params targets pl2303_set_port_params
177add ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl
178add ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl
179add ds_ops::ds_break_ctl targets pl2303_break_ctl
180add ds_ops::ds_tx targets pl2303_tx
181add ds_ops::ds_rx targets pl2303_rx
182add ds_ops::ds_stop targets pl2303_stop
183add ds_ops::ds_start targets pl2303_start
184add ds_ops::ds_fifo_flush targets pl2303_fifo_flush
185add ds_ops::ds_fifo_drain targets pl2303_fifo_drain
186add ds_ops::ds_out_pipe targets pl2303_out_pipe
187add ds_ops::ds_in_pipe targets pl2303_in_pipe
188
189add pl2303_state::pl_cb.cb_tx targets usbser_tx_cb
190add pl2303_state::pl_cb.cb_rx targets usbser_rx_cb
191
192add usb_ctrl_req::ctrl_cb	targets warlock_dummy
193add usb_ctrl_req::ctrl_exc_cb	targets warlock_dummy
194add usb_bulk_req::bulk_cb	targets pl2303_bulkin_cb
195add usb_bulk_req::bulk_exc_cb	targets pl2303_bulkin_cb
196add usb_bulk_req::bulk_cb	targets pl2303_bulkout_cb
197add usb_bulk_req::bulk_exc_cb	targets pl2303_bulkout_cb
198
199add usb_isoc_req::isoc_cb	targets warlock_dummy
200add usb_isoc_req::isoc_exc_cb	targets warlock_dummy
201add usba_pipe_async_req::callback	targets warlock_dummy
202add usba_pipe_async_req::sync_func	targets warlock_dummy
203add usba_pm_req::cb			targets warlock_dummy
204
205add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td
206add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td
207add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td
208add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td
209
210add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd
211add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd
212add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd
213