svn commit: r245132 - head/sys/dev/usb/controller

2013-01-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 7 16:38:13 2013 New Revision: 245132 URL: http://svnweb.freebsd.org/changeset/base/245132 Log: Optimise the XHCI interrupt handling. This patch will save CPU time when the XHCI interrupt is shared with other devices. Only check event rings when interrupt bit

svn commit: r245175 - head/sys/dev/usb/controller

2013-01-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 8 19:38:57 2013 New Revision: 245175 URL: http://svnweb.freebsd.org/changeset/base/245175 Log: Shave off another register write to save some more microseconds of PCI access time. Tested by:sos @ Submitted by: sos @ MFC after:1 week Modified:

svn commit: r245222 - head/sys/sys

2013-01-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 9 09:09:09 2013 New Revision: 245222 URL: http://svnweb.freebsd.org/changeset/base/245222 Log: Fix compile warning when using GCC: Comparison between signed and unsigned. MFC after:1 week Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h =

svn commit: r245223 - head/sys/sys

2013-01-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 9 09:29:22 2013 New Revision: 245223 URL: http://svnweb.freebsd.org/changeset/base/245223 Log: Change function argument type instead of casting. Suggested by: glebius @ Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h ==

svn commit: r245248 - in head/sys/dev/usb: . input

2013-01-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 10 07:45:46 2013 New Revision: 245248 URL: http://svnweb.freebsd.org/changeset/base/245248 Log: Fix detection of Razer Copperhead as a USB mouse. Factor out USB mouse and keyboard detection logic. Reject USB keyboards which have mouse alike HID items in their

svn commit: r245249 - head/sys/dev/usb/quirk

2013-01-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 10 08:06:12 2013 New Revision: 245249 URL: http://svnweb.freebsd.org/changeset/base/245249 Log: Bugfix: Fix sizeof() argument. Found by: Haakon Loevdal MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c Modified: head/sys/dev/usb/quirk

svn commit: r245427 - in head/sys/dev/usb: . serial

2013-01-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 14 17:41:04 2013 New Revision: 245427 URL: http://svnweb.freebsd.org/changeset/base/245427 Log: Add new u3g device quirk. Submitted by: Lowell Gilbert MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/

svn commit: r241032 - head/sys/dev/usb/controller

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 15:24:14 2012 New Revision: 241032 URL: http://svn.freebsd.org/changeset/base/241032 Log: Correct NYET handling. Remove superfluous transfer complete interrupt mask. Modified: head/sys/dev/usb/controller/dwc_otg.c Modified: head/sys/dev/usb/controller/dwc_ot

svn commit: r241033 - head/sys/dev/usb/net

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 15:33:13 2012 New Revision: 241033 URL: http://svn.freebsd.org/changeset/base/241033 Log: Remove some trailing bytes which are not part of the ethernet packet. Discussed with: bgray @ Modified: head/sys/dev/usb/net/if_smsc.c Modified: head

svn commit: r241034 - head/sys/dev/usb/net

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 16:23:01 2012 New Revision: 241034 URL: http://svn.freebsd.org/changeset/base/241034 Log: Make sure we don't leak a mbuf in a fail case. Modified: head/sys/dev/usb/net/if_smsc.c Modified: head/sys/dev/usb/net/if_smsc.c ===

svn commit: r241078 - head/sys/netgraph/bluetooth/drivers/ubt

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Sun Sep 30 19:31:20 2012 New Revision: 241078 URL: http://svn.freebsd.org/changeset/base/241078 Log: The USB Bluetooth driver should only grab its own interfaces. This allows the USB bluetooth driver to co-exist with other USB device classes and drivers. Reported by

svn commit: r241082 - in head/sys: dev/usb dev/usb/controller mips/cavium/usb

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 05:42:43 2012 New Revision: 241082 URL: http://svn.freebsd.org/changeset/base/241082 Log: Inherit USB mode from RootHUB port where the USB device is connected. Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs. This simplifies some che

svn commit: r241084 - in stable/9: etc usr.sbin/moused

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 05:48:46 2012 New Revision: 241084 URL: http://svn.freebsd.org/changeset/base/241084 Log: MFC r240891: Improve moused when used with USB mouse devices. Modified: stable/9/etc/devd.conf stable/9/usr.sbin/moused/moused.c Directory Properties: stable/9/etc

svn commit: r241085 - in stable/8: etc usr.sbin/moused

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 05:57:48 2012 New Revision: 241085 URL: http://svn.freebsd.org/changeset/base/241085 Log: MFC r233090 and r240891: The UMS module is now loaded by rules in /etc/devd/usb.conf. Improve moused when used with USB mouse devices. Modified: stable/8/etc/devd.co

svn commit: r241086 - stable/8/sys/dev/usb/serial

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 06:00:08 2012 New Revision: 241086 URL: http://svn.freebsd.org/changeset/base/241086 Log: MFC r240856: Correct driver name. Modified: stable/8/sys/dev/usb/serial/uchcom.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/dev/ (props c

svn commit: r241087 - stable/9/sys/dev/usb/serial

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 06:01:20 2012 New Revision: 241087 URL: http://svn.freebsd.org/changeset/base/241087 Log: MFC r240856: Correct driver name. Modified: stable/9/sys/dev/usb/serial/uchcom.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props c

svn commit: r241088 - in stable/9/sys: cddl/contrib/opensolaris/uts/common/dtrace dev/drm dev/drm2 dev/ksyms fs/devfs ofed/include/linux

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 06:42:07 2012 New Revision: 241088 URL: http://svn.freebsd.org/changeset/base/241088 Log: MFC r239303: Streamline use of cdevpriv and correct some corner cases. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c stable/9/sys/dev/dr

svn commit: r241089 - head/etc/devd

2012-09-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 1 06:48:59 2012 New Revision: 241089 URL: http://svn.freebsd.org/changeset/base/241089 Log: Regenerate usb.conf MFC after:1 week Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

svn commit: r241127 - head/sys/dev/usb

2012-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 2 10:05:39 2012 New Revision: 241127 URL: http://svn.freebsd.org/changeset/base/241127 Log: Remove unused field. MFC after:1 week Modified: head/sys/dev/usb/usb_hub.c Modified: head/sys/dev/usb/usb_hub.c ===

svn commit: r241128 - head/sys/dev/usb

2012-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 2 10:09:23 2012 New Revision: 241128 URL: http://svn.freebsd.org/changeset/base/241128 Log: Style. MFC after:1 week Modified: head/sys/dev/usb/usb_hub.c Modified: head/sys/dev/usb/usb_hub.c =

Re: svn commit: r241553 - in head/sys/dev/usb: . quirk

2012-10-14 Thread Hans Petter Selasky
On Sunday 14 October 2012 19:26:45 Eitan Adler wrote: > Author: eadler > Date: Sun Oct 14 17:26:45 2012 > New Revision: 241553 > URL: http://svn.freebsd.org/changeset/base/241553 > > Modified: head/sys/dev/usb/usbdevs > === >

svn commit: r241987 - in head/sys/dev/usb: . controller

2012-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 24 07:23:29 2012 New Revision: 241987 URL: http://svn.freebsd.org/changeset/base/241987 Log: Make several timing parameters of the USB enumeration sequence tuneable. Also update the port reset time from 250ms to 50ms. Some USB devices have a hard limit in hardw

svn commit: r241988 - head/sys/dev/sound/usb

2012-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 24 08:00:01 2012 New Revision: 241988 URL: http://svn.freebsd.org/changeset/base/241988 Log: Fix USB audio specification compliance by filtering which descriptors can appear on which interface. This fixes detection of some USB audio adapters. Also increase the

svn commit: r242126 - in head/sys/dev/usb: . controller input serial storage wlan

2012-10-25 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 26 06:04:47 2012 New Revision: 242126 URL: http://svn.freebsd.org/changeset/base/242126 Log: Add missing CTLFLAG_TUN flag to tunable sysctls in USB stack. Rearrange the tunables and belonging sysctl declarations, so that they are next to eachother. Submitt

svn commit: r242127 - in head/sys/dev/usb: . quirk

2012-10-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 26 11:41:57 2012 New Revision: 242127 URL: http://svn.freebsd.org/changeset/base/242127 Log: Add support for Fast Track Ultra 8R from M-audio. MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/d

svn commit: r242129 - head/sys/dev/sound/usb

2012-10-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 26 12:41:01 2012 New Revision: 242129 URL: http://svn.freebsd.org/changeset/base/242129 Log: Make sure the vendor class quirk only matches the vendor specific class, else multiple pcm devices can appear on certain USB audio devices. MFC after:1 week M

svn commit: r242223 - head/sys/dev/sound/usb

2012-10-28 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 28 14:37:17 2012 New Revision: 242223 URL: http://svn.freebsd.org/changeset/base/242223 Log: Implement support for the so-called USB feedback endpoint for USB audio devices. This endpoint gives clues to the USB host about the actual data rate on asynchronous en

Re: svn commit: r242280 - stable/8/sys/dev/usb/input

2012-10-29 Thread Hans Petter Selasky
On Monday 29 October 2012 04:48:24 Eitan Adler wrote: > Author: eadler > Date: Mon Oct 29 03:48:24 2012 > New Revision: 242280 > URL: http://svn.freebsd.org/changeset/base/242280 > > Log: > MFC r241843: > Make uhid attach to devices that look like keyboards > or mice if the quirk whi

svn commit: r242303 - in stable/8/sys/dev/usb: input quirk

2012-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 08:16:31 2012 New Revision: 242303 URL: http://svn.freebsd.org/changeset/base/242303 Log: MFC r240615: Add UQ_UMS_IGNORE quirk. Wrap two long lines. Some minor spelling correction. This fixes build of 8-stable. PR: usb/171721 Modified: stable/8

Re: svn commit: r242280 - stable/8/sys/dev/usb/input

2012-10-29 Thread Hans Petter Selasky
Hi, I just did the MFC. Hint: It might be worth to diff -ur sys/dev/usb from 8,9 towards 10-current to see what you are missing sometimes. --HPS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscr

svn commit: r242364 - head/sys/dev/usb

2012-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 30 16:56:16 2012 New Revision: 242364 URL: http://svn.freebsd.org/changeset/base/242364 Log: If a USB mass storage device doesn't respond properly to the initial SCSI INQUIRY command, enable all quirks. This fixes detection of some Transcend TS2GUFM devices.

svn commit: r242435 - head/sys/dev/sound/pcm

2012-11-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 1 16:39:01 2012 New Revision: 242435 URL: http://svn.freebsd.org/changeset/base/242435 Log: Add missing inclusion guard. Modified: head/sys/dev/sound/pcm/mixer.h Modified: head/sys/dev/sound/pcm/mixer.h =

svn commit: r242438 - head/sys/dev/sound/usb

2012-11-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 1 16:54:26 2012 New Revision: 242438 URL: http://svn.freebsd.org/changeset/base/242438 Log: Export all mixer nodes into dev.pcm.X.mixer.Y sysctl nodes, hence the PCM API doesn't support showing all the knobs. Make sure all the USB audio mixer nodes are freed a

svn commit: r242453 - head/sys/dev/sound/usb

2012-11-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 1 20:09:48 2012 New Revision: 242453 URL: http://svn.freebsd.org/changeset/base/242453 Log: Fix sysctl free bug in last commit, which eventually leads to a panic. Add software mixer table for FastTrack Ultra. Only set volume controls which are valid at startup

svn commit: r242455 - head/sys/dev/sound/usb

2012-11-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 1 20:43:23 2012 New Revision: 242455 URL: http://svn.freebsd.org/changeset/base/242455 Log: Increase default volume for FastTracker playback channels. MFC after:1 week Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/dev/sound/usb/uaudio.c

svn commit: r242458 - head/sys/dev/sound/usb

2012-11-01 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 1 20:58:55 2012 New Revision: 242458 URL: http://svn.freebsd.org/changeset/base/242458 Log: Correct buffer size printout. MFC after:1 week Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/dev/sound/usb/uaudio.c

svn commit: r242619 - in head/sys: dev/usb/serial sys

2012-11-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 5 17:50:40 2012 New Revision: 242619 URL: http://svnweb.freebsd.org/changeset/base/242619 Log: Add a jitter buffer in the common USB serial driver code which temporarily stores characters if the TTY buffer is full when used a as a console. This can happen when

svn commit: r242695 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 08:13:56 2012 New Revision: 242695 URL: http://svnweb.freebsd.org/changeset/base/242695 Log: Patch to improve USB serial console. MFC after:1 weeks Submitted by: Bruce Evans Modified: head/sys/dev/usb/serial/usb_serial.c Modified: head/sys/dev/usb

svn commit: r242702 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 18:44:05 2012 New Revision: 242702 URL: http://svnweb.freebsd.org/changeset/base/242702 Log: The tty_inwakeup callback appears to be called both locked and unlocked. Handle the required locking automatically for now. MFC after:1 weeks Modified: hea

svn commit: r242703 - head/sys/dev/usb/serial

2012-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 7 18:59:42 2012 New Revision: 242703 URL: http://svnweb.freebsd.org/changeset/base/242703 Log: Add lock asserts instead of "auto-locking". MFC after:1 weeks Suggested by: ed @ Modified: head/sys/dev/usb/serial/usb_serial.c Modified: head/sys/dev/usb

svn commit: r242774 - stable/9/sys/dev/usb/controller

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:04:32 2012 New Revision: 242774 URL: http://svnweb.freebsd.org/changeset/base/242774 Log: MFC r238551 and r239617: Add support for Intel Panther/Lynx Point XHCI port routing. Modified: stable/9/sys/dev/usb/controller/xhci.c stable/9/sys/dev/usb/control

svn commit: r242775 - in stable/9/sys/dev/usb: . controller input serial storage wlan

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:13:51 2012 New Revision: 242775 URL: http://svnweb.freebsd.org/changeset/base/242775 Log: MFC r240750, r241987 and r242126: Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack. Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration

svn commit: r242776 - stable/9/sys/dev/usb/controller

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:17:52 2012 New Revision: 242776 URL: http://svnweb.freebsd.org/changeset/base/242776 Log: MFC r242523: Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. Modified: stable/9/sys/dev/

svn commit: r242777 - head/sys/dev/usb/net

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:31:13 2012 New Revision: 242777 URL: http://svnweb.freebsd.org/changeset/base/242777 Log: Make the USB ethernet methods constant again in if_udav.c, so that both adapter variants can be attached at the same time. MFC after:0 days Modified: hea

svn commit: r242819 - stable/9/sys/dev/usb/net

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 06:58:23 2012 New Revision: 242819 URL: http://svnweb.freebsd.org/changeset/base/242819 Log: MFC r238466 and r242777: Implement non-PHY support in the udav driver. Modified: stable/9/sys/dev/usb/net/if_udav.c stable/9/sys/dev/usb/net/if_udavreg.h Director

svn commit: r242820 - in stable/9/sys/dev: atkbdc isci/scil usb/serial

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:05:28 2012 New Revision: 242820 URL: http://svnweb.freebsd.org/changeset/base/242820 Log: MFC r240743 and r234418: Fix some typos. Modified: stable/9/sys/dev/atkbdc/psm.c stable/9/sys/dev/isci/scil/scic_sds_phy.c stable/9/sys/dev/usb/serial/uftdi_reg

svn commit: r242821 - in stable/9/sys/dev/usb: . quirk storage

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:12:31 2012 New Revision: 242821 URL: http://svnweb.freebsd.org/changeset/base/242821 Log: MFC r241432, r242628 and r242364: Remove ancient mass storage gone checks. Add some more mass storage related quirks. Improve auto-quirk detection for mass storage

svn commit: r242822 - in stable/9/sys/dev: sound/usb usb usb/quirk

2012-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 07:29:11 2012 New Revision: 242822 URL: http://svnweb.freebsd.org/changeset/base/242822 Log: MFC r242127, r240078, r240609, r241988, r242129, r242223, r242438, r242453, r242455 and r242458: Add full support for Fast Track Ultra 8R from M-audio. Imple

svn commit: r242829 - head/sys/dev/usb/controller

2012-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 9 16:28:58 2012 New Revision: 242829 URL: http://svnweb.freebsd.org/changeset/base/242829 Log: Fix LOW and FULL speed USB INTERRUPT endpoint support for the DWC OTG driver. Fix a hang issue when using LOW and FULL speed BULK traffic. Make sure we don't ask for

svn commit: r242906 - in head/sys/dev/usb: . serial

2012-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 12 07:25:51 2012 New Revision: 242906 URL: http://svnweb.freebsd.org/changeset/base/242906 Log: Add new USB IDs. MFC after:1 week PR: usb/173503 Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/s

svn commit: r242983 - in stable/8/sys/dev: sound/usb usb usb/quirk

2012-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 13 16:59:42 2012 New Revision: 242983 URL: http://svnweb.freebsd.org/changeset/base/242983 Log: MFC r242127, r240078, r240609, r241988, r242129, r242223, r242438, r242453, r242455 and r242458: Add full support for Fast Track Ultra 8R from M-audio. Imp

svn commit: r242984 - stable/8/sys/dev/usb/net

2012-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 13 17:01:58 2012 New Revision: 242984 URL: http://svnweb.freebsd.org/changeset/base/242984 Log: MFC r238466 and r242777: Implement non-PHY support in the udav driver. Modified: stable/8/sys/dev/usb/net/if_udav.c stable/8/sys/dev/usb/net/if_udavreg.h Director

svn commit: r242985 - stable/8/sys/dev/usb/controller

2012-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 13 17:04:44 2012 New Revision: 242985 URL: http://svnweb.freebsd.org/changeset/base/242985 Log: MFC r238551 and r239617: Add support for Intel Panther/Lynx Point XHCI port routing. Modified: stable/8/sys/dev/usb/controller/xhci.c stable/8/sys/dev/usb/control

svn commit: r242986 - in stable/8/sys/dev/usb: . controller input serial storage wlan

2012-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 13 17:11:36 2012 New Revision: 242986 URL: http://svnweb.freebsd.org/changeset/base/242986 Log: MFC r240750, r241987 and r242126: Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack. Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration

svn commit: r242987 - stable/8/sys/dev/usb/template

2012-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 13 17:16:03 2012 New Revision: 242987 URL: http://svnweb.freebsd.org/changeset/base/242987 Log: MFC 228304: Correct some bInterval USB template descriptor values. Modified: stable/8/sys/dev/usb/template/usb_template.c stable/8/sys/dev/usb/template/usb_templa

svn commit: r237261 - stable/9/lib/libusb

2012-06-18 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 19 06:46:54 2012 New Revision: 237261 URL: http://svn.freebsd.org/changeset/base/237261 Log: MFC r236944: LibUSB v1.0 API compliance and bugfixes. Modified: stable/9/lib/libusb/Makefile stable/9/lib/libusb/libusb10.c stable/9/lib/libusb/libusb10_io.c Direc

svn commit: r237262 - stable/8/lib/libusb

2012-06-18 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 19 06:52:21 2012 New Revision: 237262 URL: http://svn.freebsd.org/changeset/base/237262 Log: MFC r236944: LibUSB v1.0 API compliance and bugfixes. Modified: stable/8/lib/libusb/Makefile stable/8/lib/libusb/libusb10.c stable/8/lib/libusb/libusb10_io.c Direc

svn commit: r238078 - in head/sys/dev/usb: . quirk

2012-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 3 16:29:41 2012 New Revision: 238078 URL: http://svn.freebsd.org/changeset/base/238078 Log: Add more quirks for USB mass storage adapters. Submitted by: Erich Dollansky MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/

svn commit: r238079 - in head/sys/dev/usb: . serial

2012-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 3 16:32:47 2012 New Revision: 238079 URL: http://svn.freebsd.org/changeset/base/238079 Log: Add new USB device ID. Submitted by: Erich Dollansky MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/d

svn commit: r238493 - in head/sys/dev/usb: . serial

2012-07-15 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 15 18:12:09 2012 New Revision: 238493 URL: http://svn.freebsd.org/changeset/base/238493 Log: Add new USB device ID. PR: usb/169789 MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/us

svn commit: r238526 - in head/sys/dev/usb: . serial

2012-07-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 16 09:35:47 2012 New Revision: 238526 URL: http://svn.freebsd.org/changeset/base/238526 Log: Add new USB device ID. PR: usb/169789 MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/us

svn commit: r238529 - in head/sys/dev/usb: . serial

2012-07-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 16 10:12:07 2012 New Revision: 238529 URL: http://svn.freebsd.org/changeset/base/238529 Log: Add new USB device ID. PR: usb/169789 Submitted by: Ruslan Bukin MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbde

svn commit: r238616 - stable/8/sys/conf

2012-07-19 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 19 10:28:29 2012 New Revision: 238616 URL: http://svn.freebsd.org/changeset/base/238616 Log: MFC r213705: Add the XHCI USB controller to NOTES. Suggested by: dougb @ Modified: stable/8/sys/conf/NOTES Directory Properties: stable/8/sys/ (props changed)

Re: svn commit: r238850 - head/sys/arm/conf

2012-07-27 Thread Hans Petter Selasky
On Friday 27 July 2012 19:32:01 Warner Losh wrote: > Author: imp > Date: Fri Jul 27 17:32:01 2012 > New Revision: 238850 > URL: http://svn.freebsd.org/changeset/base/238850 > > Log: > Add gadget devices. Not yet added to the child lists, but here to > keep things from bit-rotting. > > Modifi

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Hans Petter Selasky
On Thursday 02 August 2012 15:57:50 Gleb Smirnoff wrote: > + IF_AFDATA_WLOCK_ASSERT(lle->lle_tbl->llt_ifp); I'm seeing a compile error that IF_AFDATA_WLOCK_ASSERT() is not defined ... --HPS ___ svn-src-all@freebsd.org mailing list http://lists.fre

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Hans Petter Selasky
On Thursday 02 August 2012 18:51:13 Andrey Zonov wrote: > On 8/2/12 8:40 PM, Hans Petter Selasky wrote: > > On Thursday 02 August 2012 15:57:50 Gleb Smirnoff wrote: > >> + IF_AFDATA_WLOCK_ASSERT(lle->lle_tbl->llt_ifp); > > > > I'm seeing a compile e

svn commit: r239050 - head/sys/dev/usb/serial

2012-08-05 Thread Hans Petter Selasky
Author: hselasky Date: Sun Aug 5 08:56:29 2012 New Revision: 239050 URL: http://svn.freebsd.org/changeset/base/239050 Log: Minor style nit: Use the interface number from the USB interface descriptor like in the other USB serial drivers. These numbers are not supposed to be different, thou

Re: svn commit: r239037 - in head: share/man/man4 sys/dev/usb/serial

2012-08-05 Thread Hans Petter Selasky
On Saturday 04 August 2012 17:11:37 Gavin Atkinson wrote: > MFC after:2 weeks Hi Gavin, When you MFC this, could you also include this patch: http://svn.freebsd.org/changeset/base/239050 --HPS ___ svn-src-all@freebsd.org mailing list http://lists.

svn commit: r239055 - in head/sys/dev/usb: . serial

2012-08-05 Thread Hans Petter Selasky
Author: hselasky Date: Sun Aug 5 11:50:56 2012 New Revision: 239055 URL: http://svn.freebsd.org/changeset/base/239055 Log: Update the list of devices supported by the FTDI driver. It might be that the wrong UART reference clock will be used for a few of the IDs. It is currently not possible

svn commit: r239056 - head/etc/devd

2012-08-05 Thread Hans Petter Selasky
Author: hselasky Date: Sun Aug 5 11:53:16 2012 New Revision: 239056 URL: http://svn.freebsd.org/changeset/base/239056 Log: Regenerate usb.conf MFC after:2 weeks Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf ===

svn commit: r239176 - head/sys/dev/usb

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 14:44:04 2012 New Revision: 239176 URL: http://svn.freebsd.org/changeset/base/239176 Log: Fix spelling. MFC after:2 weeks Modified: head/sys/dev/usb/usb_device.h Modified: head/sys/dev/usb/usb_device.h ===

svn commit: r239177 - head/sys/dev/usb

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 14:51:41 2012 New Revision: 239177 URL: http://svn.freebsd.org/changeset/base/239177 Log: Style. MFC after:2 weeks Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c ==

svn commit: r239178 - in head/sys: kern sys

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 15:02:49 2012 New Revision: 239178 URL: http://svn.freebsd.org/changeset/base/239178 Log: Add new device method to free the automatically allocated softc structure which is returned by device_get_softc(). This method can be used to easily implement softc r

svn commit: r239179 - in head/sys: dev/usb/serial sys

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 15:21:12 2012 New Revision: 239179 URL: http://svn.freebsd.org/changeset/base/239179 Log: Switch unit management in UCOM to unrhdr. Extend the callback table of UCOM to include a "ucom_free" function pointer which is called when all refs on a UCOM super

svn commit: r239180 - in head/sys/dev/usb: net serial

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 15:29:41 2012 New Revision: 239180 URL: http://svn.freebsd.org/changeset/base/239180 Log: Take advantage of new UCOM and bus functionality so that the device_detach() function doesn't block on UCOM device drivers until the TTY handle is closed by the userspa

svn commit: r239181 - head/sys/dev/usb/serial

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 17:42:14 2012 New Revision: 239181 URL: http://svn.freebsd.org/changeset/base/239181 Log: Remove unused structure field. MFC after:2 weeks Modified: head/sys/dev/usb/serial/ubser.c head/sys/dev/usb/serial/ucycom.c head/sys/dev/usb/serial/ufoma.c

svn commit: r239182 - head/sys/dev/usb/serial

2012-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 10 17:43:20 2012 New Revision: 239182 URL: http://svn.freebsd.org/changeset/base/239182 Log: Style. MFC after:2 weeks Modified: head/sys/dev/usb/serial/u3g.c Modified: head/sys/dev/usb/serial/u3g.c ==

svn commit: r235451 - head/sys/dev/usb/input

2012-05-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 14 17:00:32 2012 New Revision: 235451 URL: http://svn.freebsd.org/changeset/base/235451 Log: Move reset of USB mouse parameters from the USB mouse attach to the USB mouse device open. Protect against multi character device open. Some other nits. MFC after:

svn commit: r235724 - stable/9/sys/dev/usb/input

2012-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 21 14:47:34 2012 New Revision: 235724 URL: http://svn.freebsd.org/changeset/base/235724 Log: MFC r235451: Move reset of USB mouse parameters from the USB mouse attach to the USB mouse device open. Protect against multi character device open. Some other nits.

svn commit: r235725 - head/etc/devd

2012-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 21 15:01:35 2012 New Revision: 235725 URL: http://svn.freebsd.org/changeset/base/235725 Log: Regenerate usb.conf MFC after:3 days Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

svn commit: r236242 - head/sys/dev/ahci

2012-05-29 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 29 15:56:30 2012 New Revision: 236242 URL: http://svn.freebsd.org/changeset/base/236242 Log: Add quirk for Marvell based AHCI controller. MFC after:3 days Suggested by: mav @ Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c =

svn commit: r236389 - stable/9/etc/devd

2012-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 1 07:06:00 2012 New Revision: 236389 URL: http://svn.freebsd.org/changeset/base/236389 Log: MFC r235725: Update usb.conf. Modified: stable/9/etc/devd/usb.conf Directory Properties: stable/9/etc/ (props changed) Modified: stable/9/etc/devd/usb.conf ==

svn commit: r236390 - stable/9/sys/dev/ahci

2012-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 1 07:07:36 2012 New Revision: 236390 URL: http://svn.freebsd.org/changeset/base/236390 Log: MFC r236242: Add AHCI quirk. Modified: stable/9/sys/dev/ahci/ahci.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modi

svn commit: r236407 - head/sys/dev/usb

2012-06-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 1 16:30:54 2012 New Revision: 236407 URL: http://svn.freebsd.org/changeset/base/236407 Log: Improve support for detaching kernel drivers on a per interface basis. MFC after:1 week Modified: head/sys/dev/usb/usb_device.c head/sys/dev/usb/usb_generic.c

svn commit: r236439 - head/sys/dev/usb/wlan

2012-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 2 09:10:51 2012 New Revision: 236439 URL: http://svn.freebsd.org/changeset/base/236439 Log: Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode. MFC after:1 w

Re: svn commit: r236439 - head/sys/dev/usb/wlan

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 06:39:49 Adrian Chadd wrote: > On 2 June 2012 02:10, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sat Jun 2 09:10:51 2012 > > New Revision: 236439 > > URL: http://svn.freebsd.org/changeset/base/236439 > > > > Log: >

svn commit: r236895 - stable/9/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:18:31 2012 New Revision: 236895 URL: http://svn.freebsd.org/changeset/base/236895 Log: MFC r236407: Improve support for detaching kernel drivers on a per interface basis. Modified: stable/9/sys/dev/usb/usb_device.c stable/9/sys/dev/usb/usb_generic.c Di

svn commit: r236896 - stable/8/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:22:27 2012 New Revision: 236896 URL: http://svn.freebsd.org/changeset/base/236896 Log: MFC r236407: Improve support for detaching kernel drivers on a per interface basis. Modified: stable/8/sys/dev/usb/usb_device.c stable/8/sys/dev/usb/usb_generic.c Di

svn commit: r236897 - stable/9/sys/dev/usb/wlan

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:23:24 2012 New Revision: 236897 URL: http://svn.freebsd.org/changeset/base/236897 Log: MFC r236439: Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode. Modifi

svn commit: r236898 - stable/9/sys/dev/usb

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 17:27:53 2012 New Revision: 236898 URL: http://svn.freebsd.org/changeset/base/236898 Log: MFC r233771: Add definitions and structures for USB 2.0 Link Power Management, LPM. Modified: stable/9/sys/dev/usb/usb.h stable/9/sys/dev/usb/usb_request.c stable/

svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 19:20:59 2012 New Revision: 236909 URL: http://svn.freebsd.org/changeset/base/236909 Log: Use the correct clock source when computing timeouts. MFC after:1 week Modified: head/sbin/hastd/synch.h Modified: head/sbin/hastd/synch.h

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > On Mon, Jun 11, 2012 at 07:21:00PM +0000, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Mon Jun 11 19:20:59 2012 > > New Revision: 236909 > > URL: http://svn.freebsd.org/changeset/base/236909

svn commit: r236919 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 11 20:27:52 2012 New Revision: 236919 URL: http://svn.freebsd.org/changeset/base/236919 Log: Revert: r236909 Pointyhat: me Modified: head/sbin/hastd/synch.h Modified: head/sbin/hastd/synch.h =

Re: svn commit: r236909 - head/sbin/hastd

2012-06-11 Thread Hans Petter Selasky
On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: > On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > > On Mon, Jun 11, 2012 at 07:21:00PM +0000, Hans Petter Selasky wrote: > > > Author: hselasky > > > Date: Mon Jun 11 19:20:59 2012 > > >

svn commit: r236944 - head/lib/libusb

2012-06-12 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 12 07:28:25 2012 New Revision: 236944 URL: http://svn.freebsd.org/changeset/base/236944 Log: LibUSB v1.0 API compiliance and bugfixes. - Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC does not wrap into negative in near future. This f

Re: svn commit: r236909 - head/sbin/hastd

2012-06-12 Thread Hans Petter Selasky
On Tuesday 12 June 2012 05:49:33 Bruce Evans wrote: > On Mon, 11 Jun 2012, Hans Petter Selasky wrote: > > On Monday 11 June 2012 22:21:51 Hans Petter Selasky wrote: > >> On Monday 11 June 2012 22:05:07 Pawel Jakub Dawidek wrote: > >>> On Mon, Jun 11, 2012 at 07:21:0

svn commit: r237079 - in head/sys/dev/usb: . quirk

2012-06-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 14 16:20:19 2012 New Revision: 237079 URL: http://svn.freebsd.org/changeset/base/237079 Log: Add more quirks for USB MIDI adapters. Obtained from:Clemens Ladisch MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/

svn commit: r233559 - stable/9/usr.sbin/moused

2012-03-27 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 27 15:27:36 2012 New Revision: 233559 URL: http://svn.freebsd.org/changeset/base/233559 Log: MFC r233090: The UMS module is now loaded by rules in /etc/devd/usb.conf which are executed by devd. Remove duplicate kldload. Modified: stable/9/usr.sbin/moused/mou

svn commit: r233560 - stable/9/sbin/kldload

2012-03-27 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 27 15:29:51 2012 New Revision: 233560 URL: http://svn.freebsd.org/changeset/base/233560 Log: MFC r233109: Add option to ignore error codes if the module specified is already loaded. Modified: stable/9/sbin/kldload/kldload.8 stable/9/sbin/kldload/kldload.c Di

svn commit: r233561 - stable/9/tools/tools/bus_autoconf

2012-03-27 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 27 15:32:09 2012 New Revision: 233561 URL: http://svn.freebsd.org/changeset/base/233561 Log: MFC r233110: Use new -n option when executing kldload, to not warn about already loaded module(s). Modified: stable/9/tools/tools/bus_autoconf/bus_usb.c Directory Pr

<    4   5   6   7   8   9   10   11   12   13   >