xref: /onnv-gate/usr/src/uts/common/io/warlock/usbser_keyspan.wlcmd (revision 3138:7bbdcbfa4cd5)
1*3138Sfrits#
2*3138Sfrits# CDDL HEADER START
3*3138Sfrits#
4*3138Sfrits# The contents of this file are subject to the terms of the
5*3138Sfrits# Common Development and Distribution License (the "License").
6*3138Sfrits# You may not use this file except in compliance with the License.
7*3138Sfrits#
8*3138Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3138Sfrits# or http://www.opensolaris.org/os/licensing.
10*3138Sfrits# See the License for the specific language governing permissions
11*3138Sfrits# and limitations under the License.
12*3138Sfrits#
13*3138Sfrits# When distributing Covered Code, include this CDDL HEADER in each
14*3138Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3138Sfrits# If applicable, add the following below this CDDL HEADER, with the
16*3138Sfrits# fields enclosed by brackets "[]" replaced with your own identifying
17*3138Sfrits# information: Portions Copyright [yyyy] [name of copyright owner]
18*3138Sfrits#
19*3138Sfrits# CDDL HEADER END
20*3138Sfrits#
21*3138Sfrits#
22*3138Sfrits#
23*3138Sfrits# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*3138Sfrits# Use is subject to license terms.
25*3138Sfrits#
26*3138Sfrits
27*3138Sfrits#ident	"%Z%%M%	%I%	%E% SMI"
28*3138Sfrits
29*3138Sfritsone usbser_state
30*3138Sfritsone keyspan_state
31*3138Sfritsone keyspan_pipe
32*3138Sfritsone keyspan_port
33*3138Sfrits
34*3138Sfrits### specify the root functions
35*3138Sfrits
36*3138Sfritsroot usbser_first_device
37*3138Sfritsroot usbser_putchar
38*3138Sfritsroot usbser_getchar
39*3138Sfritsroot usbser_ischar
40*3138Sfritsroot usbser_polledio_enter
41*3138Sfritsroot usbser_polledio_exit
42*3138Sfritsroot usbser_soft_state_size
43*3138Sfritsroot usbser_keyspan_open
44*3138Sfritsroot usbser_close
45*3138Sfritsroot usbser_wput
46*3138Sfritsroot usbser_wsrv
47*3138Sfritsroot usbser_rsrv
48*3138Sfritsroot usbser_tx_cb
49*3138Sfritsroot usbser_rx_cb
50*3138Sfritsroot usbser_status_cb
51*3138Sfritsroot usbser_wq_thread
52*3138Sfritsroot usbser_rq_thread
53*3138Sfritsroot usbser_disconnect_cb
54*3138Sfritsroot usbser_reconnect_cb
55*3138Sfritsroot usbser_cpr_suspend
56*3138Sfritsroot usbser_cpr_resume
57*3138Sfrits
58*3138Sfritsroot keyspan_bulkin_cb
59*3138Sfritsroot keyspan_bulkout_cb
60*3138Sfritsroot keyspan_status_cb
61*3138Sfrits
62*3138Sfritsroot keyspan_bulkin_cb_usa49wg
63*3138Sfritsroot keyspan_introut_cb_usa49wg
64*3138Sfritsroot keyspan_intr_cb_usa49wg
65*3138Sfritsroot keyspan_intr_ex_cb_usa49wg
66*3138Sfrits
67*3138Sfrits### specify keyspan function pointers
68*3138Sfrits
69*3138Sfritsadd        ds_ops::ds_attach targets keyspan_attach
70*3138Sfritsadd        ds_ops::ds_detach targets keyspan_detach
71*3138Sfritsadd        ds_ops::ds_register_cb targets keyspan_register_cb
72*3138Sfritsadd        ds_ops::ds_unregister_cb targets keyspan_unregister_cb
73*3138Sfritsadd        ds_ops::ds_open_port targets keyspan_open_port
74*3138Sfritsadd        ds_ops::ds_close_port targets keyspan_close_port
75*3138Sfritsadd        ds_ops::ds_usb_power targets keyspan_usb_power
76*3138Sfritsadd        ds_ops::ds_suspend targets keyspan_suspend
77*3138Sfritsadd        ds_ops::ds_resume targets keyspan_resume
78*3138Sfritsadd        ds_ops::ds_disconnect targets keyspan_disconnect
79*3138Sfritsadd        ds_ops::ds_reconnect targets keyspan_reconnect
80*3138Sfritsadd        ds_ops::ds_set_port_params targets keyspan_set_port_params
81*3138Sfritsadd        ds_ops::ds_set_modem_ctl targets keyspan_set_modem_ctl
82*3138Sfritsadd        ds_ops::ds_get_modem_ctl targets keyspan_get_modem_ctl
83*3138Sfritsadd        ds_ops::ds_break_ctl targets keyspan_break_ctl
84*3138Sfritsadd        ds_ops::ds_loopback targets keyspan_loopback
85*3138Sfritsadd        ds_ops::ds_tx targets keyspan_tx
86*3138Sfritsadd        ds_ops::ds_rx targets keyspan_rx
87*3138Sfritsadd        ds_ops::ds_stop targets keyspan_stop
88*3138Sfritsadd        ds_ops::ds_start targets keyspan_start
89*3138Sfritsadd        ds_ops::ds_fifo_flush targets keyspan_fifo_flush
90*3138Sfritsadd        ds_ops::ds_fifo_drain targets keyspan_fifo_drain
91*3138Sfritsadd        ds_ops::ds_out_pipe targets warlock_dummy
92*3138Sfritsadd        ds_ops::ds_in_pipe targets warlock_dummy
93*3138Sfrits
94*3138Sfritsadd        keyspan_port::kp_cb.cb_tx targets usbser_tx_cb
95*3138Sfritsadd        keyspan_port::kp_cb.cb_rx targets usbser_rx_cb
96*3138Sfritsadd        keyspan_port::kp_cb.cb_status targets usbser_status_cb
97*3138Sfrits
98*3138Sfritsadd        bus_ops::bus_add_eventcall targets warlock_dummy
99*3138Sfritsadd        bus_ops::bus_get_eventcookie targets warlock_dummy
100*3138Sfritsadd        bus_ops::bus_post_event targets warlock_dummy
101*3138Sfritsadd        bus_ops::bus_remove_eventcall targets warlock_dummy
102*3138Sfritsadd        bus_ops::bus_intr_ctl targets warlock_dummy
103*3138Sfritsadd        bus_ops::bus_config targets warlock_dummy
104*3138Sfritsadd        bus_ops::bus_unconfig targets warlock_dummy
105