From owner-cvs-src-old@FreeBSD.ORG Sat May 7 22:20:19 2011 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 4D33E1065743 for ; Sat, 7 May 2011 22:20:19 +0000 (UTC) (envelope-from n_hibma@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 33D658FC18 for ; Sat, 7 May 2011 22:20:19 +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 p47MKJU0077840 for ; Sat, 7 May 2011 22:20:19 GMT (envelope-from n_hibma@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p47MKJeV077839 for cvs-src-old@freebsd.org; Sat, 7 May 2011 22:20:19 GMT (envelope-from n_hibma@repoman.freebsd.org) Message-Id: <201105072220.p47MKJeV077839@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to n_hibma@repoman.freebsd.org using -f From: Nick Hibma Date: Sat, 7 May 2011 22:20:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/usb usb_device.c usb_hub.c usbdi.h src/sys/dev/usb/net uhso.c src/sys/dev/usb/serial u3g.c uark.c ubsa.c ubser.c uchcom.c ucycom.c ufoma.c uftdi.c ugensa.c uipaq.c umct.c umodem.c umoscom.c uplcom.c usb_serial.c usb_serial.h ... 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: Sat, 07 May 2011 22:20:19 -0000 n_hibma 2011-05-07 22:20:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/usb usb_device.c usb_hub.c usbdi.h sys/dev/usb/net uhso.c sys/dev/usb/serial u3g.c uark.c ubsa.c ubser.c uchcom.c ucycom.c ufoma.c uftdi.c ugensa.c uipaq.c umct.c umodem.c umoscom.c uplcom.c usb_serial.c usb_serial.h uslcom.c uvisor.c uvscom.c Log: SVN rev 221612 on 2011-05-07 22:20:01Z by n_hibma MFC overview: - Fix busg in events provided to devd from the USB stack. - Provide more info on the u3g devices that attached. - Make the ucom device numbering more sane. MFC r214429 Add support for setting per-interface PnP information. MFC r214761 - Simplify the way unit/subunit allocation is done in ucom. - hw.usb.ucom.cons_unit is now split into hw.usb.ucom.cons_unit/...cons_subunit. Note: The tunable/sysctl hw.usb.ucom.cons_unit needs to be reviewed if a) a console was defined a USB serial devices, and a USB device with more than 1 subunit is present, and this device is attached before the device functioning as a console or b) a console was defined on a USB device with more than 1 subunit MFC r214809 Don't terminate the notification with \n. This is done in usb_device.c:devctl_notify_f(). MFC r214830 Bugfix: Move the 'at =') and hence prevent 'port=X' (and 'bus=<"on" string>) from making it into the environment for the devd action. MFC r214831 - Remove an unused entry from the softc (only used in a debugging printf). - Fix the loop count on detach (causing a panic on detaching a serial dongle). - Increase a buffer in case some driver want extra long tty device names (postfixing the purpose of the tty for example, e.g. u3g.ppp). MFC r214843 Implement ucom_set_pnpinfo_usb() providing ttyname and port number information through devd. My E220 now produces the notification (1 line): +u3g0 at bus=1 hubaddr=1 port=0 devaddr=2 interface=0 \ vendor=0x12d1 product=0x1003 devclass=0x00 devsubclass=0x00 \ sernum="" release=0x0000 intclass=0xff intsubclass=0xff \ ttyname=U0 ttyports=2 on uhub0 Note: serial/ufoma and net/uhso still provide port number and tty name (uhso only) information through sysctls, which should now be removed. MFC r214919 Bugfix: Set the bit that marks a device number in use. This would cause a panic when disconnecting the second serial device. Revision Changes Path 1.3.2.8 +15 -14 src/sys/dev/usb/net/uhso.c 1.19.2.28 +10 -8 src/sys/dev/usb/serial/u3g.c 1.9.2.6 +3 -1 src/sys/dev/usb/serial/uark.c 1.10.2.6 +3 -1 src/sys/dev/usb/serial/ubsa.c 1.13.2.8 +2 -1 src/sys/dev/usb/serial/ubser.c 1.11.2.7 +3 -1 src/sys/dev/usb/serial/uchcom.c 1.11.2.6 +4 -2 src/sys/dev/usb/serial/ucycom.c 1.14.2.6 +4 -2 src/sys/dev/usb/serial/ufoma.c 1.12.2.19 +3 -1 src/sys/dev/usb/serial/uftdi.c 1.11.2.7 +3 -1 src/sys/dev/usb/serial/ugensa.c 1.10.2.9 +3 -1 src/sys/dev/usb/serial/uipaq.c 1.13.2.7 +3 -1 src/sys/dev/usb/serial/umct.c 1.15.2.8 +3 -1 src/sys/dev/usb/serial/umodem.c 1.10.2.6 +3 -1 src/sys/dev/usb/serial/umoscom.c 1.13.2.12 +3 -1 src/sys/dev/usb/serial/uplcom.c 1.11.2.7 +96 -110 src/sys/dev/usb/serial/usb_serial.c 1.6.2.3 +6 -5 src/sys/dev/usb/serial/usb_serial.h 1.11.2.8 +3 -1 src/sys/dev/usb/serial/uslcom.c 1.11.2.10 +3 -1 src/sys/dev/usb/serial/uvisor.c 1.10.2.5 +3 -1 src/sys/dev/usb/serial/uvscom.c 1.44.2.23 +50 -9 src/sys/dev/usb/usb_device.c 1.28.2.17 +4 -2 src/sys/dev/usb/usb_hub.c 1.71.2.9 +3 -0 src/sys/dev/usb/usbdi.h