/*
* 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
* 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.
*/
/*
* This driver supports FTDI FT232R USB-to-serial adapters. It is a
* device-specific driver (DSD) working with the USB generic serial
* driver (GSD) usbser.
*
* It implements the USB-to-serial device-specific driver interface (DSDI)
* which is exported by GSD. The DSDI is defined by ds_ops_t structure.
*
* Also may work with the older FTDI 8U232AM devices.
*/
static int
void **result)
{
}
static int
{
}
static int
{
}
static int
{
}
/*
* Several linked data structures to tie it together ..
*/
0, /* module id */
"uftdi", /* module name */
USBSER_MIN_PKTSZ, /* min pkt size */
USBSER_MAX_PKTSZ, /* max pkt size */
USBSER_HIWAT, /* hi watermark */
USBSER_LOWAT /* low watermark */
};
putq,
NULL,
};
NULL,
NULL,
NULL,
};
};
nodev, /* cb_open */
nodev, /* cb_close */
nodev, /* cb_strategy */
nodev, /* cb_print */
nodev, /* cb_dump */
nodev, /* cb_read */
nodev, /* cb_write */
nodev, /* cb_ioctl */
nodev, /* cb_devmap */
nodev, /* cb_mmap */
nodev, /* cb_segmap */
nochpoll, /* cb_chpoll */
ddi_prop_op, /* cb_prop_op */
&uftdi_str_info, /* cb_stream */
};
DEVO_REV, /* devo_rev */
0, /* devo_refcnt */
nulldev, /* devo_identify */
nulldev, /* devo_probe */
nodev, /* devo_reset */
usbser_power, /* devo_power */
};
"FTDI FT232R USB UART driver",
};
};
int
_init(void)
{
int error;
return (error);
usbser_soft_state_size(), 1)) != 0)
(void) mod_remove(&modlinkage);
return (error);
}
int
_fini(void)
{
int error;
return (error);
}
int
{
}