MFC uark(4), a driver for Arkmicro Technologies ARK3116 based serial

adapters.
This commit is contained in:
maxim 2006-12-30 17:55:15 +00:00
parent 66eb920dbc
commit b88e884a28
7 changed files with 14 additions and 22 deletions

View File

@ -341,6 +341,7 @@ MAN= aac.4 \
twe.4 \
tx.4 \
txp.4 \
uark.4 \
uart.4 \
ubsa.4 \
ubsec.4 \

View File

@ -16,35 +16,23 @@
.\"
.\" $FreeBSD$
.\"
.Dd November 15, 2006
.Dd November 9, 2006
.Dt UARK 4
.Os
.Sh NAME
.Nm uark
.Nd Arkmicro Technologies ARK3116 based USB serial adapter
.Sh SYNOPSIS
To compile this driver into the kernel,
place the following lines in your
kernel configuration file:
.Bd -ragged -offset indent
.Cd "device uark"
.Cd "device ucom"
.Ed
.Pp
Alternatively, to load the driver as a
module at boot time, place the following line in
.Xr loader.conf 5 :
.Bd -literal -offset indent
uark_load="YES"
.Ed
.Sh DESCRIPTION
The
.Nm
driver supports Arkmicro Technologies ARK3116 based serial adapters.
.Sh HARDWARE
The
.Pp
The following devices should work with the
.Nm
driver supports the following adapters:
driver:
.Pp
.Bl -bullet -compact
.It
@ -66,10 +54,6 @@ The
.Nm
device driver first appeared in
.Ox 4.0 .
The first
.Fx
release to include it was
.Fx 7.0 .
.Sh AUTHORS
.An -nosplit
The

View File

@ -2355,6 +2355,8 @@ device uscanner
#
# USB serial support
device ucom
# USB support for Arkmicro Technologies ARK3116 based serial adapters
device uark
# USB support for Belkin F5U103 and compatible serial adapters
device ubsa
# USB support for BWCT console serial adapters

View File

@ -972,6 +972,7 @@ dev/usb/if_rue.c optional rue
dev/usb/if_udav.c optional udav
dev/usb/ohci.c optional ohci
dev/usb/ohci_pci.c optional ohci pci
dev/usb/uark.c optional uark ucom
dev/usb/ubsa.c optional ubsa ucom
dev/usb/ubser.c optional ubser
dev/usb/ucom.c optional ucom

View File

@ -138,7 +138,6 @@ USB_ATTACH(uark)
devinfo = malloc(1024, M_USBDEV, M_WAITOK);
bzero(ucom, sizeof(struct ucom_softc));
ucom->sc_dev = self;
ucom->sc_udev = dev;
@ -202,7 +201,7 @@ USB_ATTACH(uark)
USB_ATTACH_SUCCESS_RETURN;
bad:
DPRINTF(("uftdi_attach: ATTACH ERROR\n"));
DPRINTF(("uark_attach: ATTACH ERROR\n"));
ucom->sc_dying = 1;
free(devinfo, M_USBDEV);

View File

@ -544,6 +544,7 @@ vendor AVERATEC 0x50c2 Averatec
vendor ONSPEC2 0x55aa OnSpec
vendor ZINWELL 0x5a57 Zinwell
vendor SITECOM 0x6189 Sitecom
vendor ARKMICRO 0x6547 Arkmicro Technologies
vendor INTEL 0x8086 Intel
vendor HP2 0xf003 Hewlett Packard
@ -675,6 +676,9 @@ product APPLE IPOD_08 0x1208 iPod '08'
product APPLE IPODVIDEO 0x1209 iPod Video
product APPLE IPODNANO 0x120a iPod Nano
/* Arkmicro Technologies */
product ARKMICRO ARK3116 0x0232 ARK3116 Serial
/* Asahi Optical products */
product ASAHIOPTICAL OPTIO230 0x0004 Digital camera
product ASAHIOPTICAL OPTIO330 0x0006 Digital camera

View File

@ -245,6 +245,7 @@ SUBDIR= ${_3dfx} \
twe \
tx \
txp \
uark \
${_uart} \
ubsa \
ubsec \