New port: driver for MosChip MCS7820/MCS7840 USB to COM adapters.

This commit is contained in:
Lev A. Serebryakov 2010-12-10 16:40:22 +00:00
parent 7bae5fb92a
commit 8cdede862c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265989
5 changed files with 62 additions and 0 deletions

View file

@ -145,6 +145,7 @@
SUBDIR += twpsk
SUBDIR += uhso-kmod
SUBDIR += uird
SUBDIR += umcs7840
SUBDIR += unixcw
SUBDIR += uticom
SUBDIR += viewfax

43
comms/umcs7840/Makefile Normal file
View file

@ -0,0 +1,43 @@
# New ports collection makefile for: umcs7840
# Date created: 09 Nov 2010
# Whom: Lev Serebryakov <lev@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= umcs7840
PORTVERSION= ${MAINVERSION}.${VERSIONDATE}
CATEGORIES= comms kld
MASTER_SITES= http://lev.serebryakov.spb.ru/download/umcs7840/
PKGNAMESUFFIX= -kmod
MAINTAINER= lev@FreeBSD.org
COMMENT= MosChip MCS7820 and MCS7840 USB to RS-232/485 gates driver
USE_BZIP2= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
MAINVERSION=1.0
VERSIONDATE=20101210.56
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
MAKE_ENV+= KMODDIR=${KMODDIR}
MANCOMPRESSED= yes
MAN4= ${PORTNAME}.4
.if !exists(/usr/src/sys/Makefile)
IGNORE= requires kernel source files
.eliif ${OSVERSION} <= 800063
IGNORE= requires FreeBSD 8.0 or later, please try driver from vendor site
.endif
post-install:
kldxref ${KMODDIR}
post-deinstall:
kldxref ${KMODDIR}
.include <bsd.port.mk>

2
comms/umcs7840/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (umcs7840-1.0.20101210.56.tar.bz2) = a5a2deed19d9976c8fc0eb99c0c04cf4e3d9d6a20cd89b070241db20c25c1642
SIZE (umcs7840-1.0.20101210.56.tar.bz2) = 14605

12
comms/umcs7840/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
FreeBSD driver for MosChip 7820/7840-based 2- and 4-ports USB serial ports
adapters.
This driver supports all basic operations and all baud speeds for 2- or
4-port devices.
Support for advanced features, such as IrDA or RS-485 modes and fine-tuning
will be added later.
Note that this driver will work with FreeBSD 8.0 (with USB2) or superior only.
WWW: http://lev.serebryakov.spb.ru/download/umcs7840/

4
comms/umcs7840/pkg-plist Normal file
View file

@ -0,0 +1,4 @@
@cwd /
%%KMODDIR%%/umcs7840.ko
@exec kldxref %%KMODDIR%%
@unexec kldxref %%KMODDIR%%