add driver for BWCT console management serials
This commit is contained in:
parent
740d9ba692
commit
7de8778318
@ -275,6 +275,7 @@ MAN= aac.4 \
|
|||||||
uart.4 \
|
uart.4 \
|
||||||
uaudio.4 \
|
uaudio.4 \
|
||||||
ubsa.4 \
|
ubsa.4 \
|
||||||
|
ubser.4 \
|
||||||
ubsec.4 \
|
ubsec.4 \
|
||||||
ubtbcmfw.4 \
|
ubtbcmfw.4 \
|
||||||
ucom.4 \
|
ucom.4 \
|
||||||
|
55
share/man/man4/ubser.4
Normal file
55
share/man/man4/ubser.4
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
.\" Copyright (c) 2004 Bernd Walter <ticso@freebsd.org>
|
||||||
|
.\"
|
||||||
|
.\" $URL: https://devel.bwct.de/svn/projects/ubser/ubser.4 $
|
||||||
|
.\" $Date: 2004-02-29 21:54:17 +0100 (Sun, 29 Feb 2004) $
|
||||||
|
.\" $Author: ticso $
|
||||||
|
.\" $Rev: 1130 $
|
||||||
|
.\"
|
||||||
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
|
.\" modification, are permitted provided that the following conditions
|
||||||
|
.\" are met:
|
||||||
|
.\" 1. Redistributions of source code must retain the above copyright
|
||||||
|
.\" notice, this list of conditions and the following disclaimer.
|
||||||
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
.\" notice, this list of conditions and the following disclaimer in the
|
||||||
|
.\" documentation and/or other materials provided with the distribution.
|
||||||
|
.\"
|
||||||
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
.\" SUCH DAMAGE.
|
||||||
|
.\"
|
||||||
|
.\" $FreeBSD$
|
||||||
|
.\"
|
||||||
|
.Dd February 29, 2004
|
||||||
|
.Dt UBSER 4
|
||||||
|
.Os
|
||||||
|
.Sh NAME
|
||||||
|
.Nm ubser
|
||||||
|
.Nd USB support for BWCT console serial adapters
|
||||||
|
.Sh SYNOPSIS
|
||||||
|
.Cd "device ubser"
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
driver provides support the BWCT console management serial adapters.
|
||||||
|
.Sh FILES
|
||||||
|
.Bl -tag -width /dev/ubser?.? -compact
|
||||||
|
.It /dev/ubser?.?
|
||||||
|
.El
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr tty 4 ,
|
||||||
|
.Xr usb 4
|
||||||
|
.Sh HISTORY
|
||||||
|
The
|
||||||
|
.Nm
|
||||||
|
driver
|
||||||
|
appeared in
|
||||||
|
.Fx 5.2 .
|
@ -2167,6 +2167,8 @@ device ubsa
|
|||||||
device uvscom
|
device uvscom
|
||||||
# USB Visor and Palm devices
|
# USB Visor and Palm devices
|
||||||
device uvisor
|
device uvisor
|
||||||
|
# USB support for BWCT console serial adapters
|
||||||
|
device ubser
|
||||||
|
|
||||||
# USB Fm Radio
|
# USB Fm Radio
|
||||||
device ufm
|
device ufm
|
||||||
|
@ -822,6 +822,7 @@ dev/usb/ehci_pci.c optional ehci pci
|
|||||||
dev/usb/ohci.c optional ohci
|
dev/usb/ohci.c optional ohci
|
||||||
dev/usb/ohci_pci.c optional ohci pci
|
dev/usb/ohci_pci.c optional ohci pci
|
||||||
dev/usb/ubsa.c optional ubsa ucom
|
dev/usb/ubsa.c optional ubsa ucom
|
||||||
|
dev/usb/ubser.c optional ubser
|
||||||
dev/usb/ucom.c optional ucom
|
dev/usb/ucom.c optional ucom
|
||||||
dev/usb/udbp.c optional udbp
|
dev/usb/udbp.c optional udbp
|
||||||
dev/usb/ufm.c optional ufm
|
dev/usb/ufm.c optional ufm
|
||||||
|
1057
sys/dev/usb/ubser.c
Normal file
1057
sys/dev/usb/ubser.c
Normal file
File diff suppressed because it is too large
Load Diff
41
sys/dev/usb/ubser.h
Normal file
41
sys/dev/usb/ubser.h
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2003 Bernd Walter <ticso@freebsd.org>
|
||||||
|
*
|
||||||
|
* $URL: https://devel.bwct.de/svn/projects/ubser/ubser.h $
|
||||||
|
* $Date: 2004-02-29 01:53:10 +0100 (Sun, 29 Feb 2004) $
|
||||||
|
* $Author: ticso $
|
||||||
|
* $Rev: 1127 $
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* $FreeBSD$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef UBSER_H
|
||||||
|
#define UBSER_H
|
||||||
|
|
||||||
|
/* Vendor Interface Requests */
|
||||||
|
#define VENDOR_GET_NUMSER 0x01
|
||||||
|
#define VENDOR_SET_BREAK 0x02
|
||||||
|
#define VENDOR_CLEAR_BREAK 0x03
|
||||||
|
|
||||||
|
#endif /* UBSER_H */
|
@ -205,6 +205,7 @@ SUBDIR= ${_3dfx} \
|
|||||||
uart \
|
uart \
|
||||||
ubsa \
|
ubsa \
|
||||||
ubsec \
|
ubsec \
|
||||||
|
ubser \
|
||||||
ucom \
|
ucom \
|
||||||
udav \
|
udav \
|
||||||
udbp \
|
udbp \
|
||||||
|
9
sys/modules/ubser/Makefile
Normal file
9
sys/modules/ubser/Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
S= ${.CURDIR}/../..
|
||||||
|
.PATH: $S/dev/usb
|
||||||
|
|
||||||
|
KMOD= ubser
|
||||||
|
SRCS= ubser.c ubser.h opt_usb.h device_if.h bus_if.h vnode_if.h
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user