xref: /titanic_50/usr/src/uts/common/io/warlock/usbsprl.wlcmd (revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997)
1*4ebb14b2Sfrits# CDDL HEADER START
2*4ebb14b2Sfrits#
3*4ebb14b2Sfrits# The contents of this file are subject to the terms of the
4*4ebb14b2Sfrits# Common Development and Distribution License (the "License").
5*4ebb14b2Sfrits# You may not use this file except in compliance with the License.
6*4ebb14b2Sfrits#
7*4ebb14b2Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8*4ebb14b2Sfrits# or http://www.opensolaris.org/os/licensing.
9*4ebb14b2Sfrits# See the License for the specific language governing permissions
10*4ebb14b2Sfrits# and limitations under the License.
11*4ebb14b2Sfrits#
12*4ebb14b2Sfrits# When distributing Covered Code, include this CDDL HEADER in each
13*4ebb14b2Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14*4ebb14b2Sfrits# If applicable, add the following below this CDDL HEADER, with the
15*4ebb14b2Sfrits# fields enclosed by brackets "[]" replaced with your own identifying
16*4ebb14b2Sfrits# information: Portions Copyright [yyyy] [name of copyright owner]
17*4ebb14b2Sfrits#
18*4ebb14b2Sfrits# CDDL HEADER END
19*4ebb14b2Sfrits#
20*4ebb14b2Sfrits# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
21*4ebb14b2Sfrits# Use is subject to license terms.
22*4ebb14b2Sfrits#
23*4ebb14b2Sfrits#ident	"%Z%%M%	%I%	%E% SMI"
24*4ebb14b2Sfrits
25*4ebb14b2Sfritsone usbser_state
26*4ebb14b2Sfritsone pl2303_state
27*4ebb14b2Sfrits
28*4ebb14b2Sfrits### specify the root functions
29*4ebb14b2Sfrits
30*4ebb14b2Sfritsroot usbser_first_device
31*4ebb14b2Sfritsroot usbser_putchar
32*4ebb14b2Sfritsroot usbser_getchar
33*4ebb14b2Sfritsroot usbser_ischar
34*4ebb14b2Sfritsroot usbser_polledio_enter
35*4ebb14b2Sfritsroot usbser_polledio_exit
36*4ebb14b2Sfritsroot usbser_soft_state_size
37*4ebb14b2Sfritsroot usbser_pl2303_open
38*4ebb14b2Sfritsroot usbser_close
39*4ebb14b2Sfritsroot usbser_wput
40*4ebb14b2Sfritsroot usbser_wsrv
41*4ebb14b2Sfritsroot usbser_rsrv
42*4ebb14b2Sfritsroot usbser_tx_cb
43*4ebb14b2Sfritsroot usbser_rx_cb
44*4ebb14b2Sfritsroot usbser_status_cb
45*4ebb14b2Sfritsroot usbser_wq_thread
46*4ebb14b2Sfritsroot usbser_rq_thread
47*4ebb14b2Sfritsroot usbser_disconnect_cb
48*4ebb14b2Sfritsroot usbser_reconnect_cb
49*4ebb14b2Sfritsroot usbser_cpr_suspend
50*4ebb14b2Sfritsroot usbser_cpr_resume
51*4ebb14b2Sfrits
52*4ebb14b2Sfritsroot pl2303_bulkin_cb
53*4ebb14b2Sfritsroot pl2303_bulkout_cb
54*4ebb14b2Sfrits
55*4ebb14b2Sfrits### specify pl2303 function pointers
56*4ebb14b2Sfrits
57*4ebb14b2Sfritsadd ds_ops::ds_attach targets pl2303_attach
58*4ebb14b2Sfritsadd ds_ops::ds_detach targets pl2303_detach
59*4ebb14b2Sfritsadd ds_ops::ds_register_cb targets pl2303_register_cb
60*4ebb14b2Sfritsadd ds_ops::ds_unregister_cb targets pl2303_unregister_cb
61*4ebb14b2Sfritsadd ds_ops::ds_open_port targets pl2303_open_port
62*4ebb14b2Sfritsadd ds_ops::ds_close_port targets pl2303_close_port
63*4ebb14b2Sfritsadd ds_ops::ds_usb_power targets pl2303_usb_power
64*4ebb14b2Sfritsadd ds_ops::ds_suspend targets pl2303_suspend
65*4ebb14b2Sfritsadd ds_ops::ds_resume targets pl2303_resume
66*4ebb14b2Sfritsadd ds_ops::ds_disconnect targets pl2303_disconnect
67*4ebb14b2Sfritsadd ds_ops::ds_reconnect targets pl2303_reconnect
68*4ebb14b2Sfritsadd ds_ops::ds_set_port_params targets pl2303_set_port_params
69*4ebb14b2Sfritsadd ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl
70*4ebb14b2Sfritsadd ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl
71*4ebb14b2Sfritsadd ds_ops::ds_break_ctl targets pl2303_break_ctl
72*4ebb14b2Sfritsadd ds_ops::ds_tx targets pl2303_tx
73*4ebb14b2Sfritsadd ds_ops::ds_rx targets pl2303_rx
74*4ebb14b2Sfritsadd ds_ops::ds_stop targets pl2303_stop
75*4ebb14b2Sfritsadd ds_ops::ds_start targets pl2303_start
76*4ebb14b2Sfritsadd ds_ops::ds_fifo_flush targets pl2303_fifo_flush
77*4ebb14b2Sfritsadd ds_ops::ds_fifo_drain targets pl2303_fifo_drain
78*4ebb14b2Sfritsadd ds_ops::ds_out_pipe targets pl2303_out_pipe
79*4ebb14b2Sfritsadd ds_ops::ds_in_pipe targets pl2303_in_pipe
80*4ebb14b2Sfrits
81*4ebb14b2Sfritsadd pl2303_state::pl_cb.cb_tx targets usbser_tx_cb
82*4ebb14b2Sfritsadd pl2303_state::pl_cb.cb_rx targets usbser_rx_cb
83*4ebb14b2Sfrits
84*4ebb14b2Sfritsadd bus_ops::bus_add_eventcall targets warlock_dummy
85*4ebb14b2Sfritsadd bus_ops::bus_get_eventcookie targets warlock_dummy
86*4ebb14b2Sfritsadd bus_ops::bus_post_event targets warlock_dummy
87*4ebb14b2Sfritsadd bus_ops::bus_remove_eventcall targets warlock_dummy
88*4ebb14b2Sfritsadd bus_ops::bus_intr_ctl targets warlock_dummy
89*4ebb14b2Sfritsadd bus_ops::bus_config targets warlock_dummy
90*4ebb14b2Sfritsadd bus_ops::bus_unconfig targets warlock_dummy
91