# 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 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # one usbser_state one uftdi_state ### 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_uftdi_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 uftdi_bulkin_cb root uftdi_bulkout_cb ### specify uftdi function pointers add ds_ops::ds_attach targets uftdi_attach add ds_ops::ds_detach targets uftdi_detach add ds_ops::ds_register_cb targets uftdi_register_cb add ds_ops::ds_unregister_cb targets uftdi_unregister_cb add ds_ops::ds_open_port targets uftdi_open_port add ds_ops::ds_close_port targets uftdi_close_port add ds_ops::ds_usb_power targets uftdi_usb_power add ds_ops::ds_suspend targets uftdi_suspend add ds_ops::ds_resume targets uftdi_resume add ds_ops::ds_disconnect targets uftdi_disconnect add ds_ops::ds_reconnect targets uftdi_reconnect add ds_ops::ds_set_port_params targets uftdi_set_port_params add ds_ops::ds_set_modem_ctl targets uftdi_set_modem_ctl add ds_ops::ds_get_modem_ctl targets uftdi_get_modem_ctl add ds_ops::ds_break_ctl targets uftdi_break_ctl add ds_ops::ds_tx targets uftdi_tx add ds_ops::ds_rx targets uftdi_rx add ds_ops::ds_stop targets uftdi_stop add ds_ops::ds_start targets uftdi_start add ds_ops::ds_fifo_flush targets uftdi_fifo_flush add ds_ops::ds_fifo_drain targets uftdi_fifo_drain add ds_ops::ds_out_pipe targets uftdi_out_pipe add ds_ops::ds_in_pipe targets uftdi_in_pipe add uftdi_state::uf_cb.cb_tx targets usbser_tx_cb add uftdi_state::uf_cb.cb_rx targets usbser_rx_cb add uftdi_state::uf_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