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