Date: Mon, 9 Aug 2010 17:42:05 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb/serial uplcom.c Message-ID: <201008091742.o79HgRxs088101@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gavin 2010-08-09 17:42:05 UTC
FreeBSD src repository
Modified files:
sys/dev/usb/serial uplcom.c
Log:
SVN rev 211111 on 2010-08-09 17:42:05Z by gavin
Attempt to autodetect the cype of chipset, rather than storing this
within the device table. This code uses the same algorithm as used in the
Linux, NetBSD and DragonflyBSD driver.
While investigating this, it became apparent that the Linux driver always
initialises the device, and not just in the PL2303HX case. Change
uplcom(4) to do the same.
This change allows us to synchronize our device ID list with Linux and
NetBSD, without requiring knowledge of the chipset in use.
Reviewed by: hselasky
MFC after: 6 weeks
Revision Changes Path
1.22 +88 -103 src/sys/dev/usb/serial/uplcom.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008091742.o79HgRxs088101>
