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