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# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 21# Use is subject to license terms. 22# 23#ident "%Z%%M% %I% %E% SMI" 24 25one usbser_state 26one pl2303_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_pl2303_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 pl2303_bulkin_cb 53root pl2303_bulkout_cb 54 55### specify pl2303 function pointers 56 57add ds_ops::ds_attach targets pl2303_attach 58add ds_ops::ds_detach targets pl2303_detach 59add ds_ops::ds_register_cb targets pl2303_register_cb 60add ds_ops::ds_unregister_cb targets pl2303_unregister_cb 61add ds_ops::ds_open_port targets pl2303_open_port 62add ds_ops::ds_close_port targets pl2303_close_port 63add ds_ops::ds_usb_power targets pl2303_usb_power 64add ds_ops::ds_suspend targets pl2303_suspend 65add ds_ops::ds_resume targets pl2303_resume 66add ds_ops::ds_disconnect targets pl2303_disconnect 67add ds_ops::ds_reconnect targets pl2303_reconnect 68add ds_ops::ds_set_port_params targets pl2303_set_port_params 69add ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl 70add ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl 71add ds_ops::ds_break_ctl targets pl2303_break_ctl 72add ds_ops::ds_tx targets pl2303_tx 73add ds_ops::ds_rx targets pl2303_rx 74add ds_ops::ds_stop targets pl2303_stop 75add ds_ops::ds_start targets pl2303_start 76add ds_ops::ds_fifo_flush targets pl2303_fifo_flush 77add ds_ops::ds_fifo_drain targets pl2303_fifo_drain 78add ds_ops::ds_out_pipe targets pl2303_out_pipe 79add ds_ops::ds_in_pipe targets pl2303_in_pipe 80 81add pl2303_state::pl_cb.cb_tx targets usbser_tx_cb 82add pl2303_state::pl_cb.cb_rx targets usbser_rx_cb 83 84add bus_ops::bus_add_eventcall targets warlock_dummy 85add bus_ops::bus_get_eventcookie targets warlock_dummy 86add bus_ops::bus_post_event targets warlock_dummy 87add bus_ops::bus_remove_eventcall targets warlock_dummy 88add bus_ops::bus_intr_ctl targets warlock_dummy 89add bus_ops::bus_config targets warlock_dummy 90add bus_ops::bus_unconfig targets warlock_dummy 91