usbser_keyspan.wlcmd revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
one usbser_state
one keyspan_state
one keyspan_pipe
one keyspan_port
### specify the root functions
root usbser_first_device
root usbser_putchar
root usbser_getchar
root usbser_ischar
root usbser_polledio_enter
root usbser_polledio_exit
root usbser_soft_state_size
root usbser_keyspan_open
root usbser_close
root usbser_wput
root usbser_wsrv
root usbser_rsrv
root usbser_tx_cb
root usbser_rx_cb
root usbser_status_cb
root usbser_wq_thread
root usbser_rq_thread
root usbser_disconnect_cb
root usbser_reconnect_cb
root usbser_cpr_suspend
root usbser_cpr_resume
root keyspan_bulkin_cb
root keyspan_bulkout_cb
root keyspan_status_cb
root keyspan_bulkin_cb_usa49wg
root keyspan_introut_cb_usa49wg
root keyspan_intr_cb_usa49wg
root keyspan_intr_ex_cb_usa49wg
### specify keyspan function pointers
add ds_ops::ds_attach targets keyspan_attach
add ds_ops::ds_detach targets keyspan_detach
add ds_ops::ds_register_cb targets keyspan_register_cb
add ds_ops::ds_unregister_cb targets keyspan_unregister_cb
add ds_ops::ds_open_port targets keyspan_open_port
add ds_ops::ds_close_port targets keyspan_close_port
add ds_ops::ds_usb_power targets keyspan_usb_power
add ds_ops::ds_suspend targets keyspan_suspend
add ds_ops::ds_resume targets keyspan_resume
add ds_ops::ds_disconnect targets keyspan_disconnect
add ds_ops::ds_reconnect targets keyspan_reconnect
add ds_ops::ds_set_port_params targets keyspan_set_port_params
add ds_ops::ds_set_modem_ctl targets keyspan_set_modem_ctl
add ds_ops::ds_get_modem_ctl targets keyspan_get_modem_ctl
add ds_ops::ds_break_ctl targets keyspan_break_ctl
add ds_ops::ds_loopback targets keyspan_loopback
add ds_ops::ds_tx targets keyspan_tx
add ds_ops::ds_rx targets keyspan_rx
add ds_ops::ds_stop targets keyspan_stop
add ds_ops::ds_start targets keyspan_start
add ds_ops::ds_fifo_flush targets keyspan_fifo_flush
add ds_ops::ds_fifo_drain targets keyspan_fifo_drain
add ds_ops::ds_out_pipe targets warlock_dummy
add ds_ops::ds_in_pipe targets warlock_dummy
add keyspan_port::kp_cb.cb_tx targets usbser_tx_cb
add keyspan_port::kp_cb.cb_rx targets usbser_rx_cb
add keyspan_port::kp_cb.cb_status targets usbser_status_cb
add bus_ops::bus_add_eventcall targets warlock_dummy
add bus_ops::bus_get_eventcookie targets warlock_dummy
add bus_ops::bus_post_event targets warlock_dummy
add bus_ops::bus_remove_eventcall targets warlock_dummy
add bus_ops::bus_intr_ctl targets warlock_dummy
add bus_ops::bus_config targets warlock_dummy
add bus_ops::bus_unconfig targets warlock_dummy