xref: /titanic_50/usr/src/uts/common/io/warlock/usbsacm.wlcmd (revision 356f72340a69936724c69f2f87fffa6f5887f885)
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 usbser_state
26one usbsacm_state
27
28### specify the root functions
29
30root usbser_first_device
31root usbser_putchar
32root usbser_getchar
33root usbser_ischar
34root usbser_polledio_enter
35root usbser_polledio_exit
36root usbser_soft_state_size
37root usbsacm_open
38root usbser_close
39root usbser_wput
40root usbser_wsrv
41root usbser_rsrv
42root usbser_tx_cb
43root usbser_rx_cb
44root usbser_status_cb
45root usbser_wq_thread
46root usbser_rq_thread
47root usbser_disconnect_cb
48root usbser_reconnect_cb
49root usbser_cpr_suspend
50root usbser_cpr_resume
51
52root usbsacm_bulkin_cb
53root usbsacm_bulkout_cb
54root usbsacm_intr_cb
55root usbsacm_intr_ex_cb
56
57### specify usbsacm function pointers
58
59add ds_ops::ds_attach targets usbsacm_ds_attach
60add ds_ops::ds_detach targets usbsacm_ds_detach
61add ds_ops::ds_register_cb targets usbsacm_ds_register_cb
62add ds_ops::ds_unregister_cb targets usbsacm_ds_unregister_cb
63add ds_ops::ds_open_port targets usbsacm_ds_open_port
64add ds_ops::ds_close_port targets usbsacm_ds_close_port
65add ds_ops::ds_usb_power targets usbsacm_ds_usb_power
66add ds_ops::ds_suspend targets usbsacm_ds_suspend
67add ds_ops::ds_resume targets usbsacm_ds_resume
68add ds_ops::ds_disconnect targets usbsacm_ds_disconnect
69add ds_ops::ds_reconnect targets usbsacm_ds_reconnect
70add ds_ops::ds_set_port_params targets usbsacm_ds_set_port_params
71add ds_ops::ds_set_modem_ctl targets usbsacm_ds_set_modem_ctl
72add ds_ops::ds_get_modem_ctl targets usbsacm_ds_get_modem_ctl
73add ds_ops::ds_break_ctl targets usbsacm_ds_break_ctl
74add ds_ops::ds_tx targets usbsacm_ds_tx
75add ds_ops::ds_rx targets usbsacm_ds_rx
76add ds_ops::ds_stop targets usbsacm_ds_stop
77add ds_ops::ds_start targets usbsacm_ds_start
78add ds_ops::ds_fifo_flush targets usbsacm_ds_fifo_flush
79add ds_ops::ds_fifo_drain targets usbsacm_ds_fifo_drain
80add ds_ops::ds_in_pipe targets warlock_dummy
81add ds_ops::ds_out_pipe targets warlock_dummy
82
83add usbsacm_port::acm_cb.cb_tx targets usbser_tx_cb
84add usbsacm_port::acm_cb.cb_rx targets usbser_rx_cb
85
86add bus_ops::bus_add_eventcall targets warlock_dummy
87add bus_ops::bus_get_eventcookie targets warlock_dummy
88add bus_ops::bus_post_event targets warlock_dummy
89add bus_ops::bus_remove_eventcall targets warlock_dummy
90add bus_ops::bus_intr_ctl targets warlock_dummy
91add bus_ops::bus_config targets warlock_dummy
92add bus_ops::bus_unconfig targets warlock_dummy
93