1*3138Sfrits# CDDL HEADER START 2*3138Sfrits# 3*3138Sfrits# The contents of this file are subject to the terms of the 4*3138Sfrits# Common Development and Distribution License (the "License"). 5*3138Sfrits# You may not use this file except in compliance with the License. 6*3138Sfrits# 7*3138Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8*3138Sfrits# or http://www.opensolaris.org/os/licensing. 9*3138Sfrits# See the License for the specific language governing permissions 10*3138Sfrits# and limitations under the License. 11*3138Sfrits# 12*3138Sfrits# When distributing Covered Code, include this CDDL HEADER in each 13*3138Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14*3138Sfrits# If applicable, add the following below this CDDL HEADER, with the 15*3138Sfrits# fields enclosed by brackets "[]" replaced with your own identifying 16*3138Sfrits# information: Portions Copyright [yyyy] [name of copyright owner] 17*3138Sfrits# 18*3138Sfrits# CDDL HEADER END 19*3138Sfrits# 20*3138Sfrits# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 21*3138Sfrits# Use is subject to license terms. 22*3138Sfrits# 23*3138Sfrits#ident "%Z%%M% %I% %E% SMI" 24*3138Sfrits 25*3138Sfritsone usbser_state 26*3138Sfritsone pl2303_state 27*3138Sfrits 28*3138Sfrits### specify the root functions 29*3138Sfrits 30*3138Sfritsroot usbser_first_device 31*3138Sfritsroot usbser_putchar 32*3138Sfritsroot usbser_getchar 33*3138Sfritsroot usbser_ischar 34*3138Sfritsroot usbser_polledio_enter 35*3138Sfritsroot usbser_polledio_exit 36*3138Sfritsroot usbser_soft_state_size 37*3138Sfritsroot usbser_pl2303_open 38*3138Sfritsroot usbser_close 39*3138Sfritsroot usbser_wput 40*3138Sfritsroot usbser_wsrv 41*3138Sfritsroot usbser_rsrv 42*3138Sfritsroot usbser_tx_cb 43*3138Sfritsroot usbser_rx_cb 44*3138Sfritsroot usbser_status_cb 45*3138Sfritsroot usbser_wq_thread 46*3138Sfritsroot usbser_rq_thread 47*3138Sfritsroot usbser_disconnect_cb 48*3138Sfritsroot usbser_reconnect_cb 49*3138Sfritsroot usbser_cpr_suspend 50*3138Sfritsroot usbser_cpr_resume 51*3138Sfrits 52*3138Sfritsroot pl2303_bulkin_cb 53*3138Sfritsroot pl2303_bulkout_cb 54*3138Sfrits 55*3138Sfrits### specify pl2303 function pointers 56*3138Sfrits 57*3138Sfritsadd ds_ops::ds_attach targets pl2303_attach 58*3138Sfritsadd ds_ops::ds_detach targets pl2303_detach 59*3138Sfritsadd ds_ops::ds_register_cb targets pl2303_register_cb 60*3138Sfritsadd ds_ops::ds_unregister_cb targets pl2303_unregister_cb 61*3138Sfritsadd ds_ops::ds_open_port targets pl2303_open_port 62*3138Sfritsadd ds_ops::ds_close_port targets pl2303_close_port 63*3138Sfritsadd ds_ops::ds_usb_power targets pl2303_usb_power 64*3138Sfritsadd ds_ops::ds_suspend targets pl2303_suspend 65*3138Sfritsadd ds_ops::ds_resume targets pl2303_resume 66*3138Sfritsadd ds_ops::ds_disconnect targets pl2303_disconnect 67*3138Sfritsadd ds_ops::ds_reconnect targets pl2303_reconnect 68*3138Sfritsadd ds_ops::ds_set_port_params targets pl2303_set_port_params 69*3138Sfritsadd ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl 70*3138Sfritsadd ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl 71*3138Sfritsadd ds_ops::ds_break_ctl targets pl2303_break_ctl 72*3138Sfritsadd ds_ops::ds_tx targets pl2303_tx 73*3138Sfritsadd ds_ops::ds_rx targets pl2303_rx 74*3138Sfritsadd ds_ops::ds_stop targets pl2303_stop 75*3138Sfritsadd ds_ops::ds_start targets pl2303_start 76*3138Sfritsadd ds_ops::ds_fifo_flush targets pl2303_fifo_flush 77*3138Sfritsadd ds_ops::ds_fifo_drain targets pl2303_fifo_drain 78*3138Sfritsadd ds_ops::ds_out_pipe targets pl2303_out_pipe 79*3138Sfritsadd ds_ops::ds_in_pipe targets pl2303_in_pipe 80*3138Sfrits 81*3138Sfritsadd pl2303_state::pl_cb.cb_tx targets usbser_tx_cb 82*3138Sfritsadd pl2303_state::pl_cb.cb_rx targets usbser_rx_cb 83*3138Sfrits 84*3138Sfritsadd bus_ops::bus_add_eventcall targets warlock_dummy 85*3138Sfritsadd bus_ops::bus_get_eventcookie targets warlock_dummy 86*3138Sfritsadd bus_ops::bus_post_event targets warlock_dummy 87*3138Sfritsadd bus_ops::bus_remove_eventcall targets warlock_dummy 88*3138Sfritsadd bus_ops::bus_intr_ctl targets warlock_dummy 89*3138Sfritsadd bus_ops::bus_config targets warlock_dummy 90*3138Sfritsadd bus_ops::bus_unconfig targets warlock_dummy 91