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

2014-02-05 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 5 08:02:52 2014 New Revision: 261505 URL: http://svnweb.freebsd.org/changeset/base/261505 Log: Fix a regression issue. Contiguous single segment allocations above PAGE_SIZE bytes should only use one USB page structure. Fixes a problem with some external driver

svn commit: r261507 - head/sys/dev/sound/pci/hda

2014-02-05 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 5 08:27:02 2014 New Revision: 261507 URL: http://svnweb.freebsd.org/changeset/base/261507 Log: Add more quirks for making builtin audio speakers work with more MacBookPro's. Only tested with MacBookPro 9,2. Obtained from:Linux MFC after:1 week

svn commit: r261508 - head/sys/dev/sound/pci/hda

2014-02-05 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 5 08:29:24 2014 New Revision: 261508 URL: http://svnweb.freebsd.org/changeset/base/261508 Log: Use system macro instead of own hand-rolled one. Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c

svn commit: r261509 - in stable/10: etc sys/conf sys/dev/usb sys/dev/usb/input sys/modules/usb sys/modules/usb/wsp

2014-02-05 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 5 08:40:02 2014 New Revision: 261509 URL: http://svnweb.freebsd.org/changeset/base/261509 Log: MFC r261260, r261262, r261315 and r261343: Add support for trackpads found in Apple MacBook products. While at it add some missing devd entries. Added: stable/10/

svn commit: r261510 - in stable/9: etc sys/conf sys/dev/usb sys/dev/usb/input sys/modules/usb sys/modules/usb/wsp

2014-02-05 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 5 08:42:59 2014 New Revision: 261510 URL: http://svnweb.freebsd.org/changeset/base/261510 Log: MFC r261260, r261262, r261315 and r261343: Add support for trackpads found in Apple MacBook products. While at it add some missing devd entries. Added: stable/9/s

svn commit: r261541 - in head/sys: conf dev/usb dev/usb/net modules/usb modules/usb/urndis

2014-02-06 Thread Hans Petter Selasky
+ * Copyright (c) 2010 Fabien Romano + * Copyright (c) 2010 Michael Knudsen + * Copyright (c) 2014 Hans Petter Selasky + * All rights reserved. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above

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

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:38:40 2014 New Revision: 261543 URL: http://svnweb.freebsd.org/changeset/base/261543 Log: Fix kernelbuild when full debugging features are enabled. Pointyhat:hselasky @ MFC after:2 weeks Modified: head/sys/dev/usb/net/if_urndis.c head/sys/

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

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:47:47 2014 New Revision: 261544 URL: http://svnweb.freebsd.org/changeset/base/261544 Log: Resolve probe conflict for now. MFC after:2 weeks Modified: head/sys/dev/usb/net/if_urndis.c Modified: head/sys/dev/usb/net/if_urndis.c

svn commit: r261546 - head/etc/devd

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:52:51 2014 New Revision: 261546 URL: http://svnweb.freebsd.org/changeset/base/261546 Log: Regenerate usb.conf MFC after:2 weeks Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

svn commit: r261579 - stable/10/sys/dev/usb

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:18:52 2014 New Revision: 261579 URL: http://svnweb.freebsd.org/changeset/base/261579 Log: MFC r261505: Fix a regression issue. Contiguous single segment allocations above PAGE_SIZE bytes should only use one USB page structure. Fixes a problem with some

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

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:31:54 2014 New Revision: 261580 URL: http://svnweb.freebsd.org/changeset/base/261580 Log: MFC r244535, r245995, r261505 and r258961: - Use a boundary of zero, hence a PAGE_SIZE boundary is implied by all memory allocations. - Fix an external compiler wa

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

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:34:47 2014 New Revision: 261581 URL: http://svnweb.freebsd.org/changeset/base/261581 Log: MFC r244535, r245995, r261505 and r258961: - Use a boundary of zero, hence a PAGE_SIZE boundary is implied by all memory allocations. - Fix an external compiler wa

svn commit: r261597 - head/share/man/man4

2014-02-07 Thread Hans Petter Selasky
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/wsp.4 Fri Feb 7 14:56:34 2014(r261597) @@ -0,0 +1,96 @@ +.\" Copyright (c) 2014 Hans Petter Selasky . +.\" All right

svn commit: r261598 - head/share/man/man4

2014-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 14:58:40 2014 New Revision: 261598 URL: http://svnweb.freebsd.org/changeset/base/261598 Log: Update atp driver manual page. Moused is now started automatically by devd. MFC after:1 week Modified: head/share/man/man4/atp.4 Modified: head/share/man/

svn commit: r261599 - head/share/man/man4

2014-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 15:00:08 2014 New Revision: 261599 URL: http://svnweb.freebsd.org/changeset/base/261599 Log: The atp USB driver is generic and its manual page should be available for all platforms. Add wsp manual page to build. MFC after:1 week Modified: head/shar

svn commit: r250201 - in head: lib/libusb sys/dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 07:44:58 2013 New Revision: 250201 URL: http://svnweb.freebsd.org/changeset/base/250201 Log: Add new USB API to get the port path of a USB device. MFC after:2 weeks Requested by: emaste @ Modified: head/lib/libusb/Makefile head/lib/libusb/libusb2

svn commit: r250202 - in head/sys: conf dev/usb

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 08:19:09 2013 New Revision: 250202 URL: http://svnweb.freebsd.org/changeset/base/250202 Log: Allow the default USB template to be specified at compile time. Modified: head/sys/conf/options head/sys/dev/usb/usb_device.c Modified: head/sys/conf/options =

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

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 09:23:06 2013 New Revision: 250204 URL: http://svnweb.freebsd.org/changeset/base/250204 Log: Add some defines to limit USB memory usage in reduced memory systems. Modified: head/sys/dev/usb/usb_device.c head/sys/dev/usb/usb_device.h head/sys/dev/usb/usb_f

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

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 10:13:29 2013 New Revision: 250205 URL: http://svnweb.freebsd.org/changeset/base/250205 Log: Always put space before the comma before ##__VA_ARGS__ due to subtle compiler differences. Modified: head/sys/dev/usb/usb_debug.h Modified: head/sys/dev/usb/usb_de

svn commit: r250207 - in head/sys/dev/usb: . template

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 11:10:04 2013 New Revision: 250207 URL: http://svnweb.freebsd.org/changeset/base/250207 Log: - Add more defines to limit USB memory usage and number of allocations in reduced memory systems. - Split allocation and freeing of the configuration descriptor i

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

2013-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 13:33:36 2013 New Revision: 250212 URL: http://svnweb.freebsd.org/changeset/base/250212 Log: Fix compile warning. Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c

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

2013-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 12 12:09:08 2013 New Revision: 250559 URL: http://svnweb.freebsd.org/changeset/base/250559 Log: MFC r249725: Add new OHCI controller ID. Modified: stable/9/sys/dev/usb/controller/ohci_pci.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys

svn commit: r250560 - in stable/9/sys/dev/usb: . controller

2013-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 12 12:13:23 2013 New Revision: 250560 URL: http://svnweb.freebsd.org/changeset/base/250560 Log: MFC r249795: Add convenience wrapper functions to run callbacks in the context of the USB explore thread. Modified: stable/9/sys/dev/usb/controller/usb_controller

svn commit: r250561 - stable/9/sys/dev/sound/usb

2013-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 12 12:20:04 2013 New Revision: 250561 URL: http://svnweb.freebsd.org/changeset/base/250561 Log: MFC r249796, r249830, r249844 and r249845: USB audio fixes and improvements. - Fix runtime switching of sample rate - Fix feedback endpoint algorithm Modified:

svn commit: r250562 - in stable/8/sys/dev/usb: . controller

2013-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 12 12:24:29 2013 New Revision: 250562 URL: http://svnweb.freebsd.org/changeset/base/250562 Log: MFC r249795: Add convenience wrapper functions to run callbacks in the context of the USB explore thread. Modified: stable/8/sys/dev/usb/controller/usb_controller

svn commit: r250563 - stable/8/sys/dev/sound/usb

2013-05-12 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 12 12:30:42 2013 New Revision: 250563 URL: http://svnweb.freebsd.org/changeset/base/250563 Log: MFC r249796, r249830, r249844 and r249845: USB audio fixes and improvements. - Fix runtime switching of sample rate - Fix feedback endpoint algorithm Modified:

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

2013-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 18 07:03:06 2013 New Revision: 250763 URL: http://svnweb.freebsd.org/changeset/base/250763 Log: Fix issue with "Logitech Webcam C525": Set a valid alternate interface setting when enumerating USB audio devices else the device mentioned will not work like

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

2013-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 18 07:16:20 2013 New Revision: 250765 URL: http://svnweb.freebsd.org/changeset/base/250765 Log: Don't clear stall at first time use of USB MIDI endpoints. Most likely some non-USB compliant devices will choke on it sooner or later. Clear stall is strictly speak

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

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:01:41 2013 New Revision: 250842 URL: http://svnweb.freebsd.org/changeset/base/250842 Log: MFC r248566: Add new USB ID. PR: usb/177173 Modified: stable/9/sys/dev/usb/wlan/if_rum.c Directory Properties: stable/9/sys/ (props changed) st

svn commit: r250843 - stable/8/sys/dev/usb/wlan

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:03:32 2013 New Revision: 250843 URL: http://svnweb.freebsd.org/changeset/base/250843 Log: Add new USB ID. PR: usb/177173 Modified: stable/8/sys/dev/usb/wlan/if_rum.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/dev/

svn commit: r250844 - in stable/8/sys/dev/usb: . serial

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:06:16 2013 New Revision: 250844 URL: http://svnweb.freebsd.org/changeset/base/250844 Log: MFC r248499: Add new USB ID. PR: usb/177105 Modified: stable/8/sys/dev/usb/serial/u3g.c stable/8/sys/dev/usb/usbdevs Directory Properties: stable

svn commit: r250845 - in stable/9/sys/dev/usb: . serial

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:06:52 2013 New Revision: 250845 URL: http://svnweb.freebsd.org/changeset/base/250845 Log: MFC r248499: Add new USB ID. PR: usb/177105 Modified: stable/9/sys/dev/usb/serial/u3g.c stable/9/sys/dev/usb/usbdevs Directory Properties: stable

svn commit: r250846 - in stable/8/sys/dev/usb: . wlan

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:09:19 2013 New Revision: 250846 URL: http://svnweb.freebsd.org/changeset/base/250846 Log: MFC r248458: Add new USB ID. PR: usb/177013 Modified: stable/8/sys/dev/usb/usbdevs stable/8/sys/dev/usb/wlan/if_run.c Directory Properties: stable/8/sys/

svn commit: r250847 - in stable/9/sys/dev/usb: . wlan

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:10:26 2013 New Revision: 250847 URL: http://svnweb.freebsd.org/changeset/base/250847 Log: MFC r248458: Add new USB ID. PR: usb/177013 Modified: stable/9/sys/dev/usb/usbdevs stable/9/sys/dev/usb/wlan/if_run.c Directory Properties: stable/9/sys/

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

2013-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 21 06:13:38 2013 New Revision: 250848 URL: http://svnweb.freebsd.org/changeset/base/250848 Log: Add new USB quirk. MFC after:1 week PR: usb/178771 Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/de

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

2013-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 25 17:09:58 2013 New Revision: 250986 URL: http://svnweb.freebsd.org/changeset/base/250986 Log: Fix some statical clang analyzer warnings. Modified: head/sys/dev/usb/usb_device.c head/sys/dev/usb/usb_hub.c head/sys/dev/usb/usb_msctest.c Modified: head/sys/d

svn commit: r250987 - stable/9/sys/dev/sound/usb

2013-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 25 17:16:31 2013 New Revision: 250987 URL: http://svnweb.freebsd.org/changeset/base/250987 Log: MFC r250763 and r250765: Fix some USB audio device issues. PR: usb/178722 Modified: stable/9/sys/dev/sound/usb/uaudio.c Directory Properties: stable/9/sys/

svn commit: r250988 - stable/8/sys/dev/sound/usb

2013-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 25 17:19:06 2013 New Revision: 250988 URL: http://svnweb.freebsd.org/changeset/base/250988 Log: MFC r250763 and r250765: Fix some USB audio device issues. PR: usb/178722 Modified: stable/8/sys/dev/sound/usb/uaudio.c Directory Properties: stable/8/sys/

Re: svn commit: r250986 - head/sys/dev/usb

2013-05-25 Thread Hans Petter Selasky
On 05/25/13 20:03, m...@freebsd.org wrote: On Sat, May 25, 2013 at 10:09 AM, Hans Petter Selasky wrote: Author: hselasky Date: Sat May 25 17:09:58 2013 New Revision: 250986 URL: http://svnweb.freebsd.org/changeset/base/250986 Log: Fix some statical clang analyzer warnings. Modified

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

2013-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 27 06:32:07 2013 New Revision: 251023 URL: http://svnweb.freebsd.org/changeset/base/251023 Log: Workaround for for a problem seen with ATI Technologies EHCI controller hardware most likely present on UHCI chipsets aswell. The bug manifests itself when issuing i

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

2013-05-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 28 18:51:30 2013 New Revision: 251065 URL: http://svnweb.freebsd.org/changeset/base/251065 Log: Revert r251023 until a more proper solution is found for ATI based USB controllers. MFC after:1 week Modified: head/sys/dev/usb/controller/ehci.c head/sy

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 10:32:57 2013 New Revision: 251247 URL: http://svnweb.freebsd.org/changeset/base/251247 Log: Correct some XHCI streams mode transfer handling found by code inspection. The existing streams mode support is not working and has not been tested due to lack of ha

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 10:54:47 2013 New Revision: 251249 URL: http://svnweb.freebsd.org/changeset/base/251249 Log: Don't set the start ISOC ASAP bit for non-isochronous TRBs. MFC after:1 week Modified: head/sys/dev/usb/controller/xhci.c Modified: head/sys/dev/usb/control

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 11:58:31 2013 New Revision: 251251 URL: http://svnweb.freebsd.org/changeset/base/251251 Log: Block event interrupts when we don't need it as soon as possible. Typically this feature is used for isochronous transfers. This reduces the amount of XHCI interrupt

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 12:00:16 2013 New Revision: 251252 URL: http://svnweb.freebsd.org/changeset/base/251252 Log: Use the correct constant for 8000 IRQ/s. MFC after:1 week Modified: head/sys/dev/usb/controller/xhcireg.h Modified: head/sys/dev/usb/controller/xhcireg.h ==

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 12:16:58 2013 New Revision: 251253 URL: http://svnweb.freebsd.org/changeset/base/251253 Log: Correct TRB type for multi TRB transfers of non-NORMAL type, like isochronous. Only the first TRB should be markes as special. Subsequent ones should be marked as NO

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

2013-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 2 12:28:29 2013 New Revision: 251254 URL: http://svnweb.freebsd.org/changeset/base/251254 Log: Correct the TD size computation. npkt should reflect the number of packets remaining after the current TRB has been executed. Refer to section 4.11.2.4 of the XHCI s

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

2013-06-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 7 14:30:06 2013 New Revision: 251499 URL: http://svnweb.freebsd.org/changeset/base/251499 Log: Add support for polling the XHCI interrupt handler when the regular interrupt handler is not working properly or in case of MSI interrupts which are not yet supporte

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

2013-06-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 7 22:35:58 2013 New Revision: 251515 URL: http://svnweb.freebsd.org/changeset/base/251515 Log: Fix some recent regression issues: 1) Only multi-TD isochronous transfers should use NORMAL type after specific type as per XHCI specification. 2) BEI bit is

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

2013-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 11 06:18:51 2013 New Revision: 251614 URL: http://svnweb.freebsd.org/changeset/base/251614 Log: MFC r251249, r251251, r251252, r2512, r251254 and r251515: Correct XHCI DMA descriptor programming. Correct maximum IRQ rate. Modified: stable/9/sys/dev/usb/cont

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

2013-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 11 06:22:09 2013 New Revision: 251615 URL: http://svnweb.freebsd.org/changeset/base/251615 Log: MFC r251249, r251251, r251252, r251253, r251254 and r251515: Correct XHCI DMA descriptor programming. Correct maximum IRQ rate. Modified: stable/8/sys/dev/usb/con

Re: svn commit: r251614 - stable/9/sys/dev/usb/controller

2013-06-10 Thread Hans Petter Selasky
On 06/11/13 08:18, Hans Petter Selasky wrote: Author: hselasky Date: Tue Jun 11 06:18:51 2013 New Revision: 251614 URL: http://svnweb.freebsd.org/changeset/base/251614 Log: MFC r251249, r251251, r251252, r2512, r251254 and r251515: ^^53. C&P e

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

2013-11-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 25 10:58:02 2013 New Revision: 258545 URL: http://svnweb.freebsd.org/changeset/base/258545 Log: Comply to the XHCI specification. Certain input context fields should always be zero. MFC after:1 week Modified: head/sys/dev/usb/controller/xhci.c Modifi

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

2013-11-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 26 10:53:12 2013 New Revision: 258641 URL: http://svnweb.freebsd.org/changeset/base/258641 Log: Add missing static keyword. MFC after:2 weeks Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c

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

2013-11-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 26 11:11:24 2013 New Revision: 258643 URL: http://svnweb.freebsd.org/changeset/base/258643 Log: Style changes. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c

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

2013-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 4 12:07:46 2013 New Revision: 258919 URL: http://svnweb.freebsd.org/changeset/base/258919 Log: Fix external compiler warning(s). Avoid pointer dereferencing. Modified: head/sys/dev/usb/wlan/if_rsu.c head/sys/dev/usb/wlan/if_rum.c head/sys/dev/usb/wlan/if_ru

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

2013-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 4 12:30:51 2013 New Revision: 258921 URL: http://svnweb.freebsd.org/changeset/base/258921 Log: Fix what looks like a typo after r258732. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c =

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

2013-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 5 07:18:06 2013 New Revision: 258961 URL: http://svnweb.freebsd.org/changeset/base/258961 Log: Fix external compiler warning about write-only assigned variable. Modified: head/sys/dev/usb/usb_busdma.c Modified: head/sys/dev/usb/usb_busdma.c ===

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

2013-12-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 6 08:42:41 2013 New Revision: 259023 URL: http://svnweb.freebsd.org/changeset/base/259023 Log: Improve the XHCI command timeout recovery handling code. MFC after:1 week Modified: head/sys/dev/usb/controller/usb_controller.c head/sys/dev/usb/controlle

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

2013-12-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 6 22:13:51 2013 New Revision: 259046 URL: http://svnweb.freebsd.org/changeset/base/259046 Log: Fix compilation when the "USB_DEBUG" option is set. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ===

Re: svn commit: r259032 - in head: share/man/man4 sys/dev/usb sys/dev/usb/wlan

2013-12-06 Thread Hans Petter Selasky
On 12/06/13 21:33, Ilya Bakulin wrote: On 06.12.13, 16:26, Kevin Lo wrote: Author: kevlo Date: Fri Dec 6 15:26:39 2013 New Revision: 259032 URL: http://svnweb.freebsd.org/changeset/base/259032 Log: Add support for the MediaTek/Ralink RT5572 chipset. Committed over the TP-LINK TL-WDN3200

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

2013-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Sun Dec 8 06:52:22 2013 New Revision: 259095 URL: http://svnweb.freebsd.org/changeset/base/259095 Log: Fix typos. Found by: remko Modified: head/sys/dev/usb/controller/usb_controller.c Modified: head/sys/dev/usb/controller/usb_controller.c ===

svn commit: r259123 - head/sys/modules/usb

2013-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 9 07:26:55 2013 New Revision: 259123 URL: http://svnweb.freebsd.org/changeset/base/259123 Log: Make it easier to test build the USB code having the debug flags set without having to build the complete kernel. MFC after:2 weeks Modified: head/sys/modu

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

2013-12-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 11 13:20:32 2013 New Revision: 259218 URL: http://svnweb.freebsd.org/changeset/base/259218 Log: USB method structures for USB controllers and USB pipes should be constant and does not need to be modified. This also saves a small amount of RAM. Modified: head

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

2013-12-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 12 08:34:51 2013 New Revision: 259248 URL: http://svnweb.freebsd.org/changeset/base/259248 Log: Set chain bit correctly. This will fix some problems sending and receiving Zero Length Packets, ZLPs. See comment in code for more information. MFC after:1

svn commit: r259453 - in stable/10: share/man/man4 sys/dev/usb sys/dev/usb/wlan

2013-12-16 Thread Hans Petter Selasky
stable/10/sys/dev/usb/wlan/if_run.c Mon Dec 16 08:10:38 2013 (r259453) @@ -2,6 +2,7 @@ * Copyright (c) 2008,2010 Damien Bergamini * ported to FreeBSD by Akinori Furukoshi * USB Consulting, Hans Petter Selasky + * Copyright (c) 2013 Kevin Lo * * Permission to use,

svn commit: r259454 - in stable/9/sys/dev/usb: . storage wlan

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 08:51:58 2013 New Revision: 259454 URL: http://svnweb.freebsd.org/changeset/base/259454 Log: MFC r244503 and r246565: Make sure all USB drivers allocate buffer memory through the USB API and/or busdma. The following assumptions have been made: umas

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 08:54:24 2013 New Revision: 259455 URL: http://svnweb.freebsd.org/changeset/base/259455 Log: MFC r246765: Remove unused variable. Modified: stable/9/sys/dev/usb/wlan/if_upgt.c stable/9/sys/dev/usb/wlan/if_upgtvar.h Directory Properties: stable/9/sys/

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 08:56:45 2013 New Revision: 259456 URL: http://svnweb.freebsd.org/changeset/base/259456 Log: MFC r246614: - Streamline detach logic in wlan drivers, so that freed memory cannot be used during detach. - Remove all panic() calls from the urtw driver becaus

svn commit: r259457 - in stable/9/sys/dev/usb: . wlan

2013-12-16 Thread Hans Petter Selasky
--- stable/9/sys/dev/usb/wlan/if_run.c Mon Dec 16 08:56:45 2013 (r259456) +++ stable/9/sys/dev/usb/wlan/if_run.c Mon Dec 16 09:07:09 2013 (r259457) @@ -2,6 +2,7 @@ * Copyright (c) 2008,2010 Damien Bergamini * ported to

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 09:23:21 2013 New Revision: 259458 URL: http://svnweb.freebsd.org/changeset/base/259458 Log: MFC r258083: Remove a couple of unused macros. Modified: stable/9/sys/dev/usb/wlan/if_runreg.h Directory Properties: stable/9/sys/ (props changed) stable/9/sy

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 09:31:15 2013 New Revision: 259459 URL: http://svnweb.freebsd.org/changeset/base/259459 Log: MFC r256718, r257410 and r257411: - Fix RF registers for RT3070. - Initialize BBP68 to improve RX sensitivity. - Add RT2860_BCN_OFFSET1 and RT2860_MAX_LEN_CFG regi

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 09:34:01 2013 New Revision: 259460 URL: http://svnweb.freebsd.org/changeset/base/259460 Log: MFC r253757: Fix alignment of USB WLAN radiotap headers. This makes USB WLAN adapters work on ARM, MIPS and similar platforms, where alignment matters. Modified:

svn commit: r259461 - stable/10/sys/dev/usb/wlan

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 09:48:08 2013 New Revision: 259461 URL: http://svnweb.freebsd.org/changeset/base/259461 Log: MFC r256718, r257410 and r257411: - Fix RF registers for RT3070. - Initialize BBP68 to improve RX sensitivity. - Add RT2860_BCN_OFFSET1 and RT2860_MAX_LEN_CFG regi

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

2013-12-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 16 10:50:13 2013 New Revision: 259462 URL: http://svnweb.freebsd.org/changeset/base/259462 Log: Fix regression issue after r259248: Some Intel XHCI controlles timeout processing so-called "TRBs" when the final LINK TRB of a so-called "TD" has the CHAIN-BIT s

svn commit: r259600 - in stable/8/sys/dev/usb: . controller

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:09:28 2013 New Revision: 259600 URL: http://svnweb.freebsd.org/changeset/base/259600 Log: MFC r259023 and r259095: Improve the XHCI command timeout recovery handling code. Fix some typos while at it. Modified: stable/8/sys/dev/usb/controller/usb_contro

svn commit: r259602 - in stable/9/sys/dev/usb: . controller

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:12:40 2013 New Revision: 259602 URL: http://svnweb.freebsd.org/changeset/base/259602 Log: MFC r259023 and r259095: Improve the XHCI command timeout recovery handling code. Fix some typos while at it. Modified: stable/9/sys/dev/usb/controller/usb_contro

svn commit: r259603 - in stable/10/sys/dev/usb: . controller

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:13:59 2013 New Revision: 259603 URL: http://svnweb.freebsd.org/changeset/base/259603 Log: MFC r259023 and r259095: Improve the XHCI command timeout recovery handling code. Fix some typos while at it. Modified: stable/10/sys/dev/usb/controller/usb_contr

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

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:17:18 2013 New Revision: 259605 URL: http://svnweb.freebsd.org/changeset/base/259605 Log: MFC r259248 and r259462: Set chain bit correctly. This will fix some problems sending and receiving Zero Length Packets, ZLPs. See comment in code for more informa

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

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:18:31 2013 New Revision: 259606 URL: http://svnweb.freebsd.org/changeset/base/259606 Log: MFC r259248 and r259462: Set chain bit correctly. This will fix some problems sending and receiving Zero Length Packets, ZLPs. See comment in code for more informa

svn commit: r259607 - stable/10/sys/dev/usb/controller

2013-12-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 19 07:20:37 2013 New Revision: 259607 URL: http://svnweb.freebsd.org/changeset/base/259607 Log: MFC r259248 and r259462: Set chain bit correctly. This will fix some problems sending and receiving Zero Length Packets, ZLPs. See comment in code for more informa

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

2013-09-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 19 05:40:49 2013 New Revision: 255693 URL: http://svnweb.freebsd.org/changeset/base/255693 Log: MFC r255488: Don't issue USB resume signalling in USB device mode, if the USB power mode is ON and suspend is detected. This confuses iPads running in USB host mod

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

2013-09-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 19 05:43:23 2013 New Revision: 255694 URL: http://svnweb.freebsd.org/changeset/base/255694 Log: MFC r255488: Don't issue USB resume signalling in USB device mode, if the USB power mode is ON and suspend is detected. This confuses iPads running in USB host mod

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

2013-09-21 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 21 21:40:57 2013 New Revision: 255768 URL: http://svnweb.freebsd.org/changeset/base/255768 Log: Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command timeouts. The XHCI

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

2013-10-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 1 08:38:47 2013 New Revision: 255965 URL: http://svnweb.freebsd.org/changeset/base/255965 Log: MFC r255768: Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command tim

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

2013-10-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 1 08:41:28 2013 New Revision: 255966 URL: http://svnweb.freebsd.org/changeset/base/255966 Log: MFC r255768: Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command tim

svn commit: r256500 - in head/sys/dev/usb: . wlan

2013-10-14 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 06:23:54 2013 New Revision: 256500 URL: http://svnweb.freebsd.org/changeset/base/256500 Log: Add new USB ID. PR: usb/182936 Submitted by: Keith White MFC after:1 week Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb/wlan/if_run.c

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

2013-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 17:11:13 2013 New Revision: 256548 URL: http://svnweb.freebsd.org/changeset/base/256548 Log: Correct programming of XXX_MAXP register. This register is 16-bit wide and not 8-bit. Fix support for isochronous transfers in USB host mode. Fix a whitespace while

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

2013-10-18 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 18 17:38:57 2013 New Revision: 256750 URL: http://svnweb.freebsd.org/changeset/base/256750 Log: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of the XHCI specifi

svn commit: r257040 - in stable/9/sys: dev/usb dev/usb/controller mips/cavium/usb

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:06:17 2013 New Revision: 257040 URL: http://svnweb.freebsd.org/changeset/base/257040 Log: MFC r241082: 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 s

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

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:22:43 2013 New Revision: 257041 URL: http://svnweb.freebsd.org/changeset/base/257041 Log: MFC r252912, r254828 and r256548: Add host mode support to the Mentor Graphics USB OTG controller driver. PR: usb/181987 Modified: stable/9/sys/dev/u

svn commit: r257042 - in stable/9/sys/dev/usb: . wlan

2013-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 06:25:52 2013 New Revision: 257042 URL: http://svnweb.freebsd.org/changeset/base/257042 Log: MFC r256500: Add new USB ID. PR: usb/182936 Modified: stable/9/sys/dev/usb/usbdevs stable/9/sys/dev/usb/wlan/if_run.c Directory Properties: stabl

svn commit: r257043 - stable/10/sys/dev/usb/controller

2013-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 07:38:32 2013 New Revision: 257043 URL: http://svnweb.freebsd.org/changeset/base/257043 Log: MFC r256548: Correct programming of XXX_MAXP register. This register is 16-bit wide and not 8-bit. Fix support for isochronous transfers in USB host mode. Fix a wh

svn commit: r257044 - in stable/10/sys/dev/usb: . wlan

2013-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 24 07:43:35 2013 New Revision: 257044 URL: http://svnweb.freebsd.org/changeset/base/257044 Log: MFC r256500: Add new USB ID. PR: usb/182936 Approved by: re (Xin LI) Obtainedrom: Modified: stable/10/sys/dev/usb/usbdevs stable/10/sys/dev/us

Re: svn commit: r257044 - in stable/10/sys/dev/usb: . wlan

2013-10-24 Thread Hans Petter Selasky
On 10/24/13 09:43, Hans Petter Selasky wrote: Author: hselasky Date: Thu Oct 24 07:43:35 2013 New Revision: 257044 URL: http://svnweb.freebsd.org/changeset/base/257044 Log: MFC r256500: Add new USB ID. PR: usb/182936 Approved by: re (Xin LI) Obtainedrom: ^^^ this line

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

2013-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 25 06:47:01 2013 New Revision: 257106 URL: http://svnweb.freebsd.org/changeset/base/257106 Log: MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of t

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

2013-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 25 06:48:57 2013 New Revision: 257107 URL: http://svnweb.freebsd.org/changeset/base/257107 Log: MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of t

svn commit: r257110 - stable/10/sys/dev/usb/controller

2013-10-25 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 25 10:20:19 2013 New Revision: 257110 URL: http://svnweb.freebsd.org/changeset/base/257110 Log: MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of t

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

2013-10-27 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 27 10:09:53 2013 New Revision: 257206 URL: http://svnweb.freebsd.org/changeset/base/257206 Log: Fix a deadlock when trying to power off a USB device. The deadlock happens because the code in question is trying to modify the parent USB port registers outside the

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

2013-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 30 06:16:11 2013 New Revision: 257372 URL: http://svnweb.freebsd.org/changeset/base/257372 Log: MFC r257206: Fix a deadlock when trying to power off a USB device. The deadlock happens because the code in question is trying to modify the parent USB port regist

<    2   3   4   5   6   7   8   9   10   11   >