From owner-cvs-src-old@FreeBSD.ORG Mon Aug 9 17:42:27 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FC1D1065689 for ; Mon, 9 Aug 2010 17:42:27 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 539E18FC17 for ; Mon, 9 Aug 2010 17:42:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o79HgRch088102 for ; Mon, 9 Aug 2010 17:42:27 GMT (envelope-from gavin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o79HgRxs088101 for cvs-src-old@freebsd.org; Mon, 9 Aug 2010 17:42:27 GMT (envelope-from gavin@repoman.freebsd.org) Message-Id: <201008091742.o79HgRxs088101@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gavin@repoman.freebsd.org using -f From: Gavin Atkinson Date: Mon, 9 Aug 2010 17:42:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb/serial uplcom.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 17:42:27 -0000 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