xref: /titanic_52/usr/src/uts/common/io/warlock/usbftdi.wlcmd (revision 4634c44f9aff3ceaf027e46cee4258d7ab23b40f)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19
20#
21# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24
25one usbser_state
26one uftdi_state
27
28### specify the root functions
29
30root usbser_first_device
31root usbser_putchar
32root usbser_getchar
33root usbser_ischar
34root usbser_polledio_enter
35root usbser_polledio_exit
36root usbser_soft_state_size
37root usbser_uftdi_open
38root usbser_close
39root usbser_wput
40root usbser_wsrv
41root usbser_rsrv
42root usbser_tx_cb
43root usbser_rx_cb
44root usbser_status_cb
45root usbser_wq_thread
46root usbser_rq_thread
47root usbser_disconnect_cb
48root usbser_reconnect_cb
49root usbser_cpr_suspend
50root usbser_cpr_resume
51
52root uftdi_bulkin_cb
53root uftdi_bulkout_cb
54
55### specify uftdi function pointers
56
57add ds_ops::ds_attach targets uftdi_attach
58add ds_ops::ds_detach targets uftdi_detach
59add ds_ops::ds_register_cb targets uftdi_register_cb
60add ds_ops::ds_unregister_cb targets uftdi_unregister_cb
61add ds_ops::ds_open_port targets uftdi_open_port
62add ds_ops::ds_close_port targets uftdi_close_port
63add ds_ops::ds_usb_power targets uftdi_usb_power
64add ds_ops::ds_suspend targets uftdi_suspend
65add ds_ops::ds_resume targets uftdi_resume
66add ds_ops::ds_disconnect targets uftdi_disconnect
67add ds_ops::ds_reconnect targets uftdi_reconnect
68add ds_ops::ds_set_port_params targets uftdi_set_port_params
69add ds_ops::ds_set_modem_ctl targets uftdi_set_modem_ctl
70add ds_ops::ds_get_modem_ctl targets uftdi_get_modem_ctl
71add ds_ops::ds_break_ctl targets uftdi_break_ctl
72add ds_ops::ds_tx targets uftdi_tx
73add ds_ops::ds_rx targets uftdi_rx
74add ds_ops::ds_stop targets uftdi_stop
75add ds_ops::ds_start targets uftdi_start
76add ds_ops::ds_fifo_flush targets uftdi_fifo_flush
77add ds_ops::ds_fifo_drain targets uftdi_fifo_drain
78add ds_ops::ds_out_pipe targets uftdi_out_pipe
79add ds_ops::ds_in_pipe targets uftdi_in_pipe
80
81add uftdi_state::uf_cb.cb_tx targets usbser_tx_cb
82add uftdi_state::uf_cb.cb_rx targets usbser_rx_cb
83add uftdi_state::uf_cb.cb_status targets usbser_status_cb
84
85add bus_ops::bus_add_eventcall targets warlock_dummy
86add bus_ops::bus_get_eventcookie targets warlock_dummy
87add bus_ops::bus_post_event targets warlock_dummy
88add bus_ops::bus_remove_eventcall targets warlock_dummy
89add bus_ops::bus_intr_ctl targets warlock_dummy
90add bus_ops::bus_config targets warlock_dummy
91add bus_ops::bus_unconfig targets warlock_dummy
92