xref: /onnv-gate/usr/src/uts/common/io/warlock/usbsacm.wlcmd (revision 3227:9602d8b74112)
1*3227Syq193411# CDDL HEADER START
2*3227Syq193411#
3*3227Syq193411# The contents of this file are subject to the terms of the
4*3227Syq193411# Common Development and Distribution License (the "License").
5*3227Syq193411# You may not use this file except in compliance with the License.
6*3227Syq193411#
7*3227Syq193411# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8*3227Syq193411# or http://www.opensolaris.org/os/licensing.
9*3227Syq193411# See the License for the specific language governing permissions
10*3227Syq193411# and limitations under the License.
11*3227Syq193411#
12*3227Syq193411# When distributing Covered Code, include this CDDL HEADER in each
13*3227Syq193411# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14*3227Syq193411# If applicable, add the following below this CDDL HEADER, with the
15*3227Syq193411# fields enclosed by brackets "[]" replaced with your own identifying
16*3227Syq193411# information: Portions Copyright [yyyy] [name of copyright owner]
17*3227Syq193411#
18*3227Syq193411# CDDL HEADER END
19*3227Syq193411#
20*3227Syq193411# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
21*3227Syq193411# Use is subject to license terms.
22*3227Syq193411#
23*3227Syq193411# ident	"%Z%%M%	%I%	%E% SMI"
24*3227Syq193411
25*3227Syq193411one usbser_state
26*3227Syq193411one usbsacm_state
27*3227Syq193411
28*3227Syq193411### specify the root functions
29*3227Syq193411
30*3227Syq193411root usbser_first_device
31*3227Syq193411root usbser_putchar
32*3227Syq193411root usbser_getchar
33*3227Syq193411root usbser_ischar
34*3227Syq193411root usbser_polledio_enter
35*3227Syq193411root usbser_polledio_exit
36*3227Syq193411root usbser_soft_state_size
37*3227Syq193411root usbsacm_open
38*3227Syq193411root usbser_close
39*3227Syq193411root usbser_wput
40*3227Syq193411root usbser_wsrv
41*3227Syq193411root usbser_rsrv
42*3227Syq193411root usbser_tx_cb
43*3227Syq193411root usbser_rx_cb
44*3227Syq193411root usbser_status_cb
45*3227Syq193411root usbser_wq_thread
46*3227Syq193411root usbser_rq_thread
47*3227Syq193411root usbser_disconnect_cb
48*3227Syq193411root usbser_reconnect_cb
49*3227Syq193411root usbser_cpr_suspend
50*3227Syq193411root usbser_cpr_resume
51*3227Syq193411
52*3227Syq193411root usbsacm_bulkin_cb
53*3227Syq193411root usbsacm_bulkout_cb
54*3227Syq193411root usbsacm_intr_cb
55*3227Syq193411root usbsacm_intr_ex_cb
56*3227Syq193411
57*3227Syq193411### specify usbsacm function pointers
58*3227Syq193411
59*3227Syq193411add ds_ops::ds_attach targets usbsacm_ds_attach
60*3227Syq193411add ds_ops::ds_detach targets usbsacm_ds_detach
61*3227Syq193411add ds_ops::ds_register_cb targets usbsacm_ds_register_cb
62*3227Syq193411add ds_ops::ds_unregister_cb targets usbsacm_ds_unregister_cb
63*3227Syq193411add ds_ops::ds_open_port targets usbsacm_ds_open_port
64*3227Syq193411add ds_ops::ds_close_port targets usbsacm_ds_close_port
65*3227Syq193411add ds_ops::ds_usb_power targets usbsacm_ds_usb_power
66*3227Syq193411add ds_ops::ds_suspend targets usbsacm_ds_suspend
67*3227Syq193411add ds_ops::ds_resume targets usbsacm_ds_resume
68*3227Syq193411add ds_ops::ds_disconnect targets usbsacm_ds_disconnect
69*3227Syq193411add ds_ops::ds_reconnect targets usbsacm_ds_reconnect
70*3227Syq193411add ds_ops::ds_set_port_params targets usbsacm_ds_set_port_params
71*3227Syq193411add ds_ops::ds_set_modem_ctl targets usbsacm_ds_set_modem_ctl
72*3227Syq193411add ds_ops::ds_get_modem_ctl targets usbsacm_ds_get_modem_ctl
73*3227Syq193411add ds_ops::ds_break_ctl targets usbsacm_ds_break_ctl
74*3227Syq193411add ds_ops::ds_tx targets usbsacm_ds_tx
75*3227Syq193411add ds_ops::ds_rx targets usbsacm_ds_rx
76*3227Syq193411add ds_ops::ds_stop targets usbsacm_ds_stop
77*3227Syq193411add ds_ops::ds_start targets usbsacm_ds_start
78*3227Syq193411add ds_ops::ds_fifo_flush targets usbsacm_ds_fifo_flush
79*3227Syq193411add ds_ops::ds_fifo_drain targets usbsacm_ds_fifo_drain
80*3227Syq193411add ds_ops::ds_in_pipe targets warlock_dummy
81*3227Syq193411add ds_ops::ds_out_pipe targets warlock_dummy
82*3227Syq193411
83*3227Syq193411add usbsacm_port::acm_cb.cb_tx targets usbser_tx_cb
84*3227Syq193411add usbsacm_port::acm_cb.cb_rx targets usbser_rx_cb
85*3227Syq193411
86*3227Syq193411add bus_ops::bus_add_eventcall targets warlock_dummy
87*3227Syq193411add bus_ops::bus_get_eventcookie targets warlock_dummy
88*3227Syq193411add bus_ops::bus_post_event targets warlock_dummy
89*3227Syq193411add bus_ops::bus_remove_eventcall targets warlock_dummy
90*3227Syq193411add bus_ops::bus_intr_ctl targets warlock_dummy
91*3227Syq193411add bus_ops::bus_config targets warlock_dummy
92*3227Syq193411add bus_ops::bus_unconfig targets warlock_dummy
93