xref: /onnv-gate/usr/src/uts/common/io/warlock/usbftdi.wlcmd (revision 10076:ade30ba1abc2)
19354STim.Marsland@Sun.COM# CDDL HEADER START
29354STim.Marsland@Sun.COM#
39354STim.Marsland@Sun.COM# The contents of this file are subject to the terms of the
49354STim.Marsland@Sun.COM# Common Development and Distribution License (the "License").
59354STim.Marsland@Sun.COM# You may not use this file except in compliance with the License.
69354STim.Marsland@Sun.COM#
79354STim.Marsland@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
89354STim.Marsland@Sun.COM# or http://www.opensolaris.org/os/licensing.
99354STim.Marsland@Sun.COM# See the License for the specific language governing permissions
109354STim.Marsland@Sun.COM# and limitations under the License.
119354STim.Marsland@Sun.COM#
129354STim.Marsland@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
139354STim.Marsland@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
149354STim.Marsland@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
159354STim.Marsland@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
169354STim.Marsland@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
179354STim.Marsland@Sun.COM#
189354STim.Marsland@Sun.COM# CDDL HEADER END
199354STim.Marsland@Sun.COM
209354STim.Marsland@Sun.COM#
219354STim.Marsland@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
229354STim.Marsland@Sun.COM# Use is subject to license terms.
239354STim.Marsland@Sun.COM#
249354STim.Marsland@Sun.COM
259354STim.Marsland@Sun.COMone usbser_state
269354STim.Marsland@Sun.COMone uftdi_state
279354STim.Marsland@Sun.COM
289354STim.Marsland@Sun.COM### specify the root functions
299354STim.Marsland@Sun.COM
309354STim.Marsland@Sun.COMroot usbser_first_device
319354STim.Marsland@Sun.COMroot usbser_putchar
329354STim.Marsland@Sun.COMroot usbser_getchar
339354STim.Marsland@Sun.COMroot usbser_ischar
349354STim.Marsland@Sun.COMroot usbser_polledio_enter
359354STim.Marsland@Sun.COMroot usbser_polledio_exit
369354STim.Marsland@Sun.COMroot usbser_soft_state_size
379354STim.Marsland@Sun.COMroot usbser_uftdi_open
389354STim.Marsland@Sun.COMroot usbser_close
399354STim.Marsland@Sun.COMroot usbser_wput
409354STim.Marsland@Sun.COMroot usbser_wsrv
419354STim.Marsland@Sun.COMroot usbser_rsrv
429354STim.Marsland@Sun.COMroot usbser_tx_cb
439354STim.Marsland@Sun.COMroot usbser_rx_cb
449354STim.Marsland@Sun.COMroot usbser_status_cb
459354STim.Marsland@Sun.COMroot usbser_wq_thread
469354STim.Marsland@Sun.COMroot usbser_rq_thread
479354STim.Marsland@Sun.COMroot usbser_disconnect_cb
489354STim.Marsland@Sun.COMroot usbser_reconnect_cb
499354STim.Marsland@Sun.COMroot usbser_cpr_suspend
509354STim.Marsland@Sun.COMroot usbser_cpr_resume
519354STim.Marsland@Sun.COM
529354STim.Marsland@Sun.COMroot uftdi_bulkin_cb
539354STim.Marsland@Sun.COMroot uftdi_bulkout_cb
549354STim.Marsland@Sun.COM
559354STim.Marsland@Sun.COM### specify uftdi function pointers
569354STim.Marsland@Sun.COM
579354STim.Marsland@Sun.COMadd ds_ops::ds_attach targets uftdi_attach
589354STim.Marsland@Sun.COMadd ds_ops::ds_detach targets uftdi_detach
599354STim.Marsland@Sun.COMadd ds_ops::ds_register_cb targets uftdi_register_cb
609354STim.Marsland@Sun.COMadd ds_ops::ds_unregister_cb targets uftdi_unregister_cb
619354STim.Marsland@Sun.COMadd ds_ops::ds_open_port targets uftdi_open_port
629354STim.Marsland@Sun.COMadd ds_ops::ds_close_port targets uftdi_close_port
639354STim.Marsland@Sun.COMadd ds_ops::ds_usb_power targets uftdi_usb_power
649354STim.Marsland@Sun.COMadd ds_ops::ds_suspend targets uftdi_suspend
659354STim.Marsland@Sun.COMadd ds_ops::ds_resume targets uftdi_resume
669354STim.Marsland@Sun.COMadd ds_ops::ds_disconnect targets uftdi_disconnect
679354STim.Marsland@Sun.COMadd ds_ops::ds_reconnect targets uftdi_reconnect
689354STim.Marsland@Sun.COMadd ds_ops::ds_set_port_params targets uftdi_set_port_params
699354STim.Marsland@Sun.COMadd ds_ops::ds_set_modem_ctl targets uftdi_set_modem_ctl
709354STim.Marsland@Sun.COMadd ds_ops::ds_get_modem_ctl targets uftdi_get_modem_ctl
719354STim.Marsland@Sun.COMadd ds_ops::ds_break_ctl targets uftdi_break_ctl
729354STim.Marsland@Sun.COMadd ds_ops::ds_tx targets uftdi_tx
739354STim.Marsland@Sun.COMadd ds_ops::ds_rx targets uftdi_rx
749354STim.Marsland@Sun.COMadd ds_ops::ds_stop targets uftdi_stop
759354STim.Marsland@Sun.COMadd ds_ops::ds_start targets uftdi_start
769354STim.Marsland@Sun.COMadd ds_ops::ds_fifo_flush targets uftdi_fifo_flush
779354STim.Marsland@Sun.COMadd ds_ops::ds_fifo_drain targets uftdi_fifo_drain
789354STim.Marsland@Sun.COMadd ds_ops::ds_out_pipe targets uftdi_out_pipe
799354STim.Marsland@Sun.COMadd ds_ops::ds_in_pipe targets uftdi_in_pipe
809354STim.Marsland@Sun.COM
819354STim.Marsland@Sun.COMadd uftdi_state::uf_cb.cb_tx targets usbser_tx_cb
829354STim.Marsland@Sun.COMadd uftdi_state::uf_cb.cb_rx targets usbser_rx_cb
83*10076STim.Marsland@Sun.COMadd uftdi_state::uf_cb.cb_status targets usbser_status_cb
849354STim.Marsland@Sun.COM
859354STim.Marsland@Sun.COMadd bus_ops::bus_add_eventcall targets warlock_dummy
869354STim.Marsland@Sun.COMadd bus_ops::bus_get_eventcookie targets warlock_dummy
879354STim.Marsland@Sun.COMadd bus_ops::bus_post_event targets warlock_dummy
889354STim.Marsland@Sun.COMadd bus_ops::bus_remove_eventcall targets warlock_dummy
899354STim.Marsland@Sun.COMadd bus_ops::bus_intr_ctl targets warlock_dummy
909354STim.Marsland@Sun.COMadd bus_ops::bus_config targets warlock_dummy
919354STim.Marsland@Sun.COMadd bus_ops::bus_unconfig targets warlock_dummy
92