usbser_keyspan_with_usba.wlcmd revision 9797:4b03a6b797a8
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
103
104root    usb_ugen_attach
105root    usb_ugen_close
106root    usb_ugen_detach
107root    usb_ugen_disconnect_ev_cb
108root    usb_ugen_get_hdl
109root    usb_ugen_open
110root    usb_ugen_poll
111root    usb_ugen_power
112root    usb_ugen_read
113root    usb_ugen_reconnect_ev_cb
114root    usb_ugen_write
115
116root	hcdi_autoclearing
117root	hcdi_cb_thread
118root    hcdi_shared_cb_thread
119
120
121root	hubd_restore_state_cb
122root    hubd_disconnect_event_cb
123root    hubd_post_resume_event_cb
124root    hubd_pre_suspend_event_cb
125root    hubd_reconnect_event_cb
126root	hubd_hotplug_thread
127root	hubd_reset_thread
128root	hubd_cpr_post_user_callb
129root    hubd_root_hub_cleanup_thread
130root	hubd_bus_power
131
132root	usba_common_power
133root	usba_common_register_events
134root	usba_ready_interface_association_node
135root	usba_pipe_do_async_func_thread
136root	usba_pipe_sync_reset
137root    usba_get_hc_dma_attr
138root    usba_hcdi_get_req_private
139root    usba_hcdi_set_req_private
140root    usba_dbuf_tail
141root	usba_hubdi_power
142root	usba_hubdi_root_hub_power
143root	usba_get_hotplug_stats
144root	usba_reset_hotplug_stats
145root	usba_ascii_string_descr
146root	usba_move_list
147root    usba_taskq_destroy
148root	usba_mk_mctl
149root	usb_fail_checkpoint
150
151root	ohci_intr
152root	ehci_intr
153root    ohci_quiesce
154root    uhci_quiesce
155root    ehci_quiesce
156
157### specify the keyspan root functions
158root usbser_soft_state_size
159root usbser_keyspan_open
160root usbser_close
161root usbser_wput
162root usbser_wsrv
163root usbser_rsrv
164root usbser_tx_cb
165root usbser_rx_cb
166root usbser_status_cb
167root usbser_wq_thread
168root usbser_rq_thread
169root usbser_disconnect_cb
170root usbser_reconnect_cb
171root usbser_cpr_suspend
172root usbser_cpr_resume
173
174root keyspan_bulkin_cb
175root keyspan_bulkout_cb
176root keyspan_status_cb
177
178root keyspan_bulkin_cb_usa49wg
179root keyspan_introut_cb_usa49wg
180root keyspan_intr_cb_usa49wg
181root keyspan_intr_ex_cb_usa49wg
182
183### specify keyspan function pointers
184
185add        ds_ops::ds_attach targets keyspan_attach
186add        ds_ops::ds_detach targets keyspan_detach
187add        ds_ops::ds_register_cb targets keyspan_register_cb
188add        ds_ops::ds_unregister_cb targets keyspan_unregister_cb
189add        ds_ops::ds_open_port targets keyspan_open_port
190add        ds_ops::ds_close_port targets keyspan_close_port
191add        ds_ops::ds_usb_power targets keyspan_usb_power
192add        ds_ops::ds_suspend targets keyspan_suspend
193add        ds_ops::ds_resume targets keyspan_resume
194add        ds_ops::ds_disconnect targets keyspan_disconnect
195add        ds_ops::ds_reconnect targets keyspan_reconnect
196add        ds_ops::ds_set_port_params targets keyspan_set_port_params
197add        ds_ops::ds_set_modem_ctl targets keyspan_set_modem_ctl
198add        ds_ops::ds_get_modem_ctl targets keyspan_get_modem_ctl
199add        ds_ops::ds_break_ctl targets keyspan_break_ctl
200add        ds_ops::ds_loopback targets keyspan_loopback
201add        ds_ops::ds_tx targets keyspan_tx
202add        ds_ops::ds_rx targets keyspan_rx
203add        ds_ops::ds_stop targets keyspan_stop
204add        ds_ops::ds_start targets keyspan_start
205add        ds_ops::ds_fifo_flush targets keyspan_fifo_flush
206add        ds_ops::ds_fifo_drain targets keyspan_fifo_drain
207add        ds_ops::ds_out_pipe targets warlock_dummy
208add        ds_ops::ds_in_pipe targets warlock_dummy
209
210add        keyspan_port::kp_cb.cb_tx targets usbser_tx_cb
211add        keyspan_port::kp_cb.cb_rx targets usbser_rx_cb
212add        keyspan_port::kp_cb.cb_status targets usbser_status_cb
213
214add hubd::h_cleanup_child	targets warlock_dummy
215add usb_ctrl_req::ctrl_cb	targets warlock_dummy
216add usb_ctrl_req::ctrl_exc_cb	targets warlock_dummy
217add usb_bulk_req::bulk_cb	targets keyspan_bulkin_cb
218add usb_bulk_req::bulk_exc_cb	targets keyspan_bulkin_cb
219add usb_bulk_req::bulk_cb	targets keyspan_bulkout_cb
220add usb_bulk_req::bulk_exc_cb	targets keyspan_bulkout_cb
221add usb_bulk_req::bulk_cb	targets keyspan_status_cb
222add usb_bulk_req::bulk_exc_cb	targets keyspan_status_cb
223add usb_bulk_req::bulk_cb       targets keyspan_bulkin_cb_usa49wg
224add usb_bulk_req::bulk_exc_cb   targets keyspan_bulkin_cb_usa49wg
225add usb_intr_req::intr_cb       targets keyspan_introut_cb_usa49wg
226add usb_intr_req::intr_exc_cb   targets keyspan_introut_cb_usa49wg
227add usb_intr_req::intr_cb       targets keyspan_intr_cb_usa49wg
228add usb_intr_req::intr_exc_cb   targets keyspan_intr_ex_cb_usa49wg
229
230add usb_isoc_req::isoc_cb	targets warlock_dummy
231add usb_isoc_req::isoc_exc_cb	targets warlock_dummy
232add usba_pipe_async_req::callback	targets warlock_dummy
233add usba_pipe_async_req::sync_func	targets warlock_dummy
234add usba_pm_req::cb			targets warlock_dummy
235
236add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td
237add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td
238add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td
239add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td
240
241add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd
242add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd
243add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd
244