usbser_keyspan_with_usba.wlcmd revision 3138:7bbdcbfa4cd5
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 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#ident	"%Z%%M%	%I%	%E% SMI"
28
29one ohci_state
30one ehci_state
31one uhci_state
32one usbser_state
33one keyspan_state
34one keyspan_pipe
35one keyspan_port
36
37### specify the root functions
38
39root	usbser_first_device
40root	usbser_putchar
41root	usbser_getchar
42root	usbser_ischar
43root	usbser_polledio_enter
44root	usbser_polledio_exit
45root	usb_console_output_fini
46root	usb_console_input_enter
47root	usb_console_input_exit
48root	usb_console_input_fini
49root	usb_console_input_init
50root	usb_console_read
51root	usb_get_dev_descr
52root	usb_get_if_number
53root	usb_parse_CV_cfg_descr
54root	usb_parse_CV_ep_descr
55root	usb_parse_CV_if_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
102
103root    usb_ugen_attach
104root    usb_ugen_close
105root    usb_ugen_detach
106root    usb_ugen_disconnect_ev_cb
107root    usb_ugen_get_hdl
108root    usb_ugen_open
109root    usb_ugen_poll
110root    usb_ugen_power
111root    usb_ugen_read
112root    usb_ugen_reconnect_ev_cb
113root    usb_ugen_write
114
115root	hcdi_autoclearing
116root	hcdi_cb_thread
117root    hcdi_shared_cb_thread
118
119
120root	hubd_restore_state_cb
121root    hubd_disconnect_event_cb
122root    hubd_post_resume_event_cb
123root    hubd_pre_suspend_event_cb
124root    hubd_reconnect_event_cb
125root	hubd_hotplug_thread
126root	hubd_cpr_post_user_callb
127root    hubd_root_hub_cleanup_thread
128root	hubd_bus_power
129
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
148
149### specify the keyspan root functions
150root usbser_soft_state_size
151root usbser_keyspan_open
152root usbser_close
153root usbser_wput
154root usbser_wsrv
155root usbser_rsrv
156root usbser_tx_cb
157root usbser_rx_cb
158root usbser_status_cb
159root usbser_wq_thread
160root usbser_rq_thread
161root usbser_disconnect_cb
162root usbser_reconnect_cb
163root usbser_cpr_suspend
164root usbser_cpr_resume
165
166root keyspan_bulkin_cb
167root keyspan_bulkout_cb
168root keyspan_status_cb
169
170root keyspan_bulkin_cb_usa49wg
171root keyspan_introut_cb_usa49wg
172root keyspan_intr_cb_usa49wg
173root keyspan_intr_ex_cb_usa49wg
174
175### specify keyspan function pointers
176
177add        ds_ops::ds_attach targets keyspan_attach
178add        ds_ops::ds_detach targets keyspan_detach
179add        ds_ops::ds_register_cb targets keyspan_register_cb
180add        ds_ops::ds_unregister_cb targets keyspan_unregister_cb
181add        ds_ops::ds_open_port targets keyspan_open_port
182add        ds_ops::ds_close_port targets keyspan_close_port
183add        ds_ops::ds_usb_power targets keyspan_usb_power
184add        ds_ops::ds_suspend targets keyspan_suspend
185add        ds_ops::ds_resume targets keyspan_resume
186add        ds_ops::ds_disconnect targets keyspan_disconnect
187add        ds_ops::ds_reconnect targets keyspan_reconnect
188add        ds_ops::ds_set_port_params targets keyspan_set_port_params
189add        ds_ops::ds_set_modem_ctl targets keyspan_set_modem_ctl
190add        ds_ops::ds_get_modem_ctl targets keyspan_get_modem_ctl
191add        ds_ops::ds_break_ctl targets keyspan_break_ctl
192add        ds_ops::ds_loopback targets keyspan_loopback
193add        ds_ops::ds_tx targets keyspan_tx
194add        ds_ops::ds_rx targets keyspan_rx
195add        ds_ops::ds_stop targets keyspan_stop
196add        ds_ops::ds_start targets keyspan_start
197add        ds_ops::ds_fifo_flush targets keyspan_fifo_flush
198add        ds_ops::ds_fifo_drain targets keyspan_fifo_drain
199add        ds_ops::ds_out_pipe targets warlock_dummy
200add        ds_ops::ds_in_pipe targets warlock_dummy
201
202add        keyspan_port::kp_cb.cb_tx targets usbser_tx_cb
203add        keyspan_port::kp_cb.cb_rx targets usbser_rx_cb
204add        keyspan_port::kp_cb.cb_status targets usbser_status_cb
205
206add usb_ctrl_req::ctrl_cb	targets warlock_dummy
207add usb_ctrl_req::ctrl_exc_cb	targets warlock_dummy
208add usb_bulk_req::bulk_cb	targets keyspan_bulkin_cb
209add usb_bulk_req::bulk_exc_cb	targets keyspan_bulkin_cb
210add usb_bulk_req::bulk_cb	targets keyspan_bulkout_cb
211add usb_bulk_req::bulk_exc_cb	targets keyspan_bulkout_cb
212add usb_bulk_req::bulk_cb	targets keyspan_status_cb
213add usb_bulk_req::bulk_exc_cb	targets keyspan_status_cb
214add usb_bulk_req::bulk_cb       targets keyspan_bulkin_cb_usa49wg
215add usb_bulk_req::bulk_exc_cb   targets keyspan_bulkin_cb_usa49wg
216add usb_intr_req::intr_cb       targets keyspan_introut_cb_usa49wg
217add usb_intr_req::intr_exc_cb   targets keyspan_introut_cb_usa49wg
218add usb_intr_req::intr_cb       targets keyspan_intr_cb_usa49wg
219add usb_intr_req::intr_exc_cb   targets keyspan_intr_ex_cb_usa49wg
220
221add usb_isoc_req::isoc_cb	targets warlock_dummy
222add usb_isoc_req::isoc_exc_cb	targets warlock_dummy
223add usba_pipe_async_req::callback	targets warlock_dummy
224add usba_pipe_async_req::sync_func	targets warlock_dummy
225add usba_pm_req::cb			targets warlock_dummy
226
227add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td
228add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td
229add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td
230add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td
231
232add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd
233add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd
234add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd
235