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

2014-08-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 13 07:11:37 2014 New Revision: 269919 URL: http://svnweb.freebsd.org/changeset/base/269919 Log: MFC r269566: Fix for deadlock in USB device side mode. Modified: stable/8/sys/dev/usb/usb_device.c Directory Properties: stable/8/sys/ (props changed)

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

2014-08-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 13 07:13:42 2014 New Revision: 269920 URL: http://svnweb.freebsd.org/changeset/base/269920 Log: MFC r269565: Rename driver name a bit to avoid unit number confusion in dmesg. Modified: stable/10/sys/dev/usb/controller/usb_controller.c

svn commit: r269921 - stable/10/sys/boot/usb

2014-08-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 13 08:18:49 2014 New Revision: 269921 URL: http://svnweb.freebsd.org/changeset/base/269921 Log: MFC r266396 and r267183: Build fixes. Add support for fast interrupts. Modified: stable/10/sys/boot/usb/bsd_kernel.c stable/10/sys/boot/usb/bsd_kernel.h

svn commit: r269922 - in stable/10/sys: boot/usb conf dev/usb dev/usb/template modules/usb/template

2014-08-13 Thread Hans Petter Selasky
/usb/template/usb_template_phone.c) @@ -0,0 +1,419 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 2014 Hans Petter Selasky. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

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

2014-08-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 13 08:24:48 2014 New Revision: 269923 URL: http://svnweb.freebsd.org/changeset/base/269923 Log: MFC r269565: Rename driver name a bit to avoid unit number confusion in dmesg. Modified: stable/9/sys/dev/usb/controller/usb_controller.c

svn commit: r270083 - head/lib/libcuse

2014-08-17 Thread Hans Petter Selasky
Author: hselasky Date: Sun Aug 17 06:28:57 2014 New Revision: 270083 URL: http://svnweb.freebsd.org/changeset/base/270083 Log: Add missing DPADD to Makefile. PR: 192733 Modified: head/lib/libcuse/Makefile Modified: head/lib/libcuse/Makefile

svn commit: r270133 - head/lib/libusb

2014-08-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 18 14:23:07 2014 New Revision: 270133 URL: http://svnweb.freebsd.org/changeset/base/270133 Log: Add more USB class codes. Obtained from:libusb project at SourceForge MFC after:1 week Modified: head/lib/libusb/libusb.h Modified:

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

2014-08-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 18 14:30:43 2014 New Revision: 270134 URL: http://svnweb.freebsd.org/changeset/base/270134 Log: Use the bSubslotSize and bSubFrameSize fields to obtain the actual sample size. According to the USB audio frame format specification from USB.org, the value in the

svn commit: r270166 - stable/10/sys/ofed/include/linux

2014-08-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 19 11:04:24 2014 New Revision: 270166 URL: http://svnweb.freebsd.org/changeset/base/270166 Log: MFC r269859: Fix for memory leak. Sponsored by: Mellanox Technologies Modified: stable/10/sys/ofed/include/linux/linux_radix.c Directory Properties:

svn commit: r270167 - stable/9/sys/ofed/include/linux

2014-08-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 19 11:06:21 2014 New Revision: 270167 URL: http://svnweb.freebsd.org/changeset/base/270167 Log: MFC r269859: Fix for memory leak. Sponsored by: Mellanox Technologies Modified: stable/9/sys/ofed/include/linux/linux_radix.c Directory Properties:

svn commit: r270171 - head/tools/build/options

2014-08-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 19 15:40:26 2014 New Revision: 270171 URL: http://svnweb.freebsd.org/changeset/base/270171 Log: Add missing WITHOUT_CUSE file. Added: head/tools/build/options/WITHOUT_CUSE (contents, props changed) Added: head/tools/build/options/WITHOUT_CUSE

Re: svn commit: r267440 - in head: lib share/mk sys/modules sys/sys

2014-08-19 Thread Hans Petter Selasky
Hi, You forgot to define a tools/build/options/WITHOUT_CUSE so it is added to src.conf(5). ~/svn/base/tools/build/options # ./makeman ../../../share/man/man5/src.conf.5 no description found for WITHOUT_CUSE, skipping See: http://svnweb.freebsd.org/changeset/base/270171 Thank you! --HPS

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

2014-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 23 05:50:55 2014 New Revision: 264800 URL: http://svnweb.freebsd.org/changeset/base/264800 Log: - Get transmit loop more in line with the other serial drivers. - Add a comment about FTDI and ZLPs. - Correctly check odditiy of baud rate divisor. - Correct

svn commit: r264913 - in stable/10/sys/dev/usb: . quirk

2014-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 25 09:53:15 2014 New Revision: 264913 URL: http://svnweb.freebsd.org/changeset/base/264913 Log: MFC r264653: Add new USB quirk. Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs Directory Properties: stable/10/ (props

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

2014-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 25 09:54:42 2014 New Revision: 264914 URL: http://svnweb.freebsd.org/changeset/base/264914 Log: MFC r264653: Add new USB quirk. Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs Directory Properties: stable/9/sys/ (props

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

2014-04-27 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 27 15:41:44 2014 New Revision: 265015 URL: http://svnweb.freebsd.org/changeset/base/265015 Log: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. MFC after:2 days Tested by:

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

2014-04-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 29 05:45:17 2014 New Revision: 265078 URL: http://svnweb.freebsd.org/changeset/base/265078 Log: MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. Modified:

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

2014-04-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 29 05:47:13 2014 New Revision: 265079 URL: http://svnweb.freebsd.org/changeset/base/265079 Log: MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. Modified:

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

2014-04-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 29 05:48:50 2014 New Revision: 265080 URL: http://svnweb.freebsd.org/changeset/base/265080 Log: MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. Modified:

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

2014-05-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 5 11:50:52 2014 New Revision: 265358 URL: http://svnweb.freebsd.org/changeset/base/265358 Log: Improve DWC OTG USB host side support for isochronous FULL and HIGH speed data traffic going directly to a USB device or through a so-called USB transaction

svn commit: r265359 - head/sys/modules/sound/sound

2014-05-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL: http://svnweb.freebsd.org/changeset/base/265359 Log: Build the kernel sound module without ISA DMA support for ARM and MIPS platforms, because these platforms do not implement the ISA DMA API. Else the sound modules

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

2014-05-06 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 6 09:12:32 2014 New Revision: 265427 URL: http://svnweb.freebsd.org/changeset/base/265427 Log: Reduce the number of interrupts in USB host mode for the DWC OTG controller driver by piggybacking the SOF interrupt when issuing new and checking old transfers.

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-06 Thread Hans Petter Selasky
On 05/05/14 22:39, Warner Losh wrote: On May 5, 2014, at 8:31 AM, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL: http://svnweb.freebsd.org/changeset/base/265359 Log: Build the kernel sound module without ISA DMA

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

2014-05-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 9 14:23:06 2014 New Revision: 265777 URL: http://svnweb.freebsd.org/changeset/base/265777 Log: Multiple DWC OTG host mode related fixes and improvements: - Rework how we allocate and free USB host channels, so that we only allocate a channel if there is a

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

2014-05-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 9 14:28:11 2014 New Revision: 265779 URL: http://svnweb.freebsd.org/changeset/base/265779 Log: Fix for NULL pointer. MFC after:1 week Modified: head/sys/dev/usb/usb_pf.c Modified: head/sys/dev/usb/usb_pf.c

svn commit: r265780 - head/sys/modules/sound/sound

2014-05-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 9 14:35:07 2014 New Revision: 265780 URL: http://svnweb.freebsd.org/changeset/base/265780 Log: Invert platform check. Suggested by: imp @ MFC after:2 weeks Modified: head/sys/modules/sound/sound/Makefile Modified:

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

2014-05-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 9 16:40:41 2014 New Revision: 265783 URL: http://svnweb.freebsd.org/changeset/base/265783 Log: Fix a regression issue: - ACK can be received before data arrives in RX FIFO. Handle this. - Remove obsolete comment. - Some minor code styling. MFC after:

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

2014-05-10 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 10 07:37:32 2014 New Revision: 265806 URL: http://svnweb.freebsd.org/changeset/base/265806 Log: Optimise host channel disabling: - For non-periodic traffic we only need to wait two SOFs before disabling the channel. - Make sure we release the TX FIFO

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

2014-05-11 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 11 08:17:46 2014 New Revision: 265872 URL: http://svnweb.freebsd.org/changeset/base/265872 Log: Optimise host mode data roundtrip time. When BULK data is submitted to the main processing queue, clear the NAK counter for any associated BULK or CONTROL transfers

svn commit: r265908 - in head/sys: dev/usb/controller modules/usb/saf1761

2014-05-12 Thread Hans Petter Selasky
is newly added) +++ head/sys/dev/usb/controller/saf1761_dci.c Mon May 12 09:05:07 2014 (r265908) @@ -0,0 +1,33 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 2014 Hans Petter Selasky + * All rights reserved. + * + * This software was developed by SRI International and the University

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

2014-05-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 13 13:46:38 2014 New Revision: 265949 URL: http://svnweb.freebsd.org/changeset/base/265949 Log: - Isochronous transfers should use the alternate next transfer descriptor upon receiving a short packet, in host and device mode. - Correct some comments.

svn commit: r266006 - head/sys/modules/sound/driver/uaudio

2014-05-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 14 07:33:06 2014 New Revision: 266006 URL: http://svnweb.freebsd.org/changeset/base/266006 Log: Change the USB audio kernel module linking order, so that the USB audio device driver is detached first and not its children. This fixes a panic in some cases when

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

2014-05-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 14 11:25:59 2014 New Revision: 266011 URL: http://svnweb.freebsd.org/changeset/base/266011 Log: Make sure the USB audio driver is loaded last. This is important when built as part of a kernel module to prevent panics when the USB audio driver kernel module is

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

2014-05-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 14 11:32:15 2014 New Revision: 266012 URL: http://svnweb.freebsd.org/changeset/base/266012 Log: Disable configuration of the host frame interval register until further, hence it breaks USB support on some non-RPI platforms. Modified:

Re: svn commit: r265358 - head/sys/dev/usb/controller

2014-05-14 Thread Hans Petter Selasky
Hi, See: http://svnweb.freebsd.org/changeset/base/266012 Sorry, I cannot test all platforms currently because some configuration is specific to each hardware platform. --HPS ___ svn-src-all@freebsd.org mailing list

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

2014-05-14 Thread Hans Petter Selasky
Selasky + * Copyright (c) 2014 Hans Petter Selasky hsela...@freebsd.org * All rights reserved. * * This software was developed by SRI International and the University of @@ -29,5 +29,1958 @@ * SUCH DAMAGE. */ +/* + * This file contains the driver for the SAF1761 series USB OTG

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 10:30:30 2014 New Revision: 266214 URL: http://svnweb.freebsd.org/changeset/base/266214 Log: - Correct some programming details for the SAF1761 driver. - Add some more register details. Sponsored by: DARPA, AFRL Modified:

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 10:35:21 2014 New Revision: 266215 URL: http://svnweb.freebsd.org/changeset/base/266215 Log: - Add flattended device tree probe-, attach- and detach code for the SAF1761 driver, compatible to existing Linux based FDT tables for the same hardware.

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 10:37:25 2014 New Revision: 266216 URL: http://svnweb.freebsd.org/changeset/base/266216 Log: - Allow the SAF1761 driver to attach to the root HUB USB driver. Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/usb_controller.c Modified:

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 15:41:55 2014 New Revision: 266241 URL: http://svnweb.freebsd.org/changeset/base/266241 Log: Implement basic support for the USB host controller found in the SAF1761 chip, supporting BULK and CONTROL endpoints. This code is not yet tested. Sponsored

svn commit: r266244 - in head/sys: dev/usb/controller modules/usb/saf1761

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 15:50:21 2014 New Revision: 266244 URL: http://svnweb.freebsd.org/changeset/base/266244 Log: Rename saf1761_dci_xxx into saf1761_otg_xxx to reflect that this driver supports both host and device side mode. Sponsored by: DARPA, AFRL Added:

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 15:53:14 2014 New Revision: 266246 URL: http://svnweb.freebsd.org/changeset/base/266246 Log: Fix a compile warning about unused variable. Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/saf1761_otg.c Modified:

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 15:53:47 2014 New Revision: 266249 URL: http://svnweb.freebsd.org/changeset/base/266249 Log: Remove old files. Sponsored by: DARPA, AFRL Deleted: head/sys/dev/usb/controller/saf1761_dci.c head/sys/dev/usb/controller/saf1761_dci.h

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 16:11:14 2014 New Revision: 266257 URL: http://svnweb.freebsd.org/changeset/base/266257 Log: MFC r265779: Fix for NULL pointer. Modified: stable/10/sys/dev/usb/usb_pf.c Directory Properties: stable/10/ (props changed) Modified:

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 16:14:37 2014 New Revision: 266258 URL: http://svnweb.freebsd.org/changeset/base/266258 Log: MFC r265779: Fix for NULL pointer. Modified: stable/9/sys/dev/usb/usb_pf.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 16:17:06 2014 New Revision: 266259 URL: http://svnweb.freebsd.org/changeset/base/266259 Log: MFC r265779: Fix for NULL pointer. Modified: stable/8/sys/dev/usb/usb_pf.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/dev/ (props

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

2014-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 16 16:36:07 2014 New Revision: 266262 URL: http://svnweb.freebsd.org/changeset/base/266262 Log: Enable host controller interrupts. Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/saf1761_otg.c head/sys/dev/usb/controller/saf1761_otg_reg.h

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

2014-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 18 09:13:29 2014 New Revision: 266394 URL: http://svnweb.freebsd.org/changeset/base/266394 Log: - Add softc pointer argument to FIFO functions as an optimisation. - Implement support for interrupt filters in the DWC OTG driver, to reduce the amount of CPU task

svn commit: r266395 - in head/sys: dev/usb/controller modules/usb/dwc_otg

2014-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 18 09:19:13 2014 New Revision: 266395 URL: http://svnweb.freebsd.org/changeset/base/266395 Log: - Remove no longer used file. FDT is used to attach device drivers. Deleted: head/sys/dev/usb/controller/dwc_otg_atmelarm.c Modified:

svn commit: r266396 - head/sys/boot/usb

2014-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 18 09:29:00 2014 New Revision: 266396 URL: http://svnweb.freebsd.org/changeset/base/266396 Log: Fix build after recent DWC OTG changes. Modified: head/sys/boot/usb/bsd_kernel.c head/sys/boot/usb/bsd_kernel.h Modified: head/sys/boot/usb/bsd_kernel.c

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

2014-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 20 12:22:53 2014 New Revision: 266466 URL: http://svnweb.freebsd.org/changeset/base/266466 Log: Make sure detach code is executed in all cases. This fixes a panic when debugging is enabled. Reported by: Idwer Vollering vid...@gmail.com MFC after:3

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

2014-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 20 14:15:03 2014 New Revision: 266467 URL: http://svnweb.freebsd.org/changeset/base/266467 Log: Correct some programming details. The layout of the PDTs were different from what was initially thought. Fix re-programming of hardware mode register after reset.

svn commit: r266470 - head/sys/arm/broadcom/bcm2835

2014-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 20 15:03:23 2014 New Revision: 266470 URL: http://svnweb.freebsd.org/changeset/base/266470 Log: Optimise reading of pending interrupt registers. If there are no pending interrupt bits, skip the bit iteration loop. Reviewed by: ian @ Modified:

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

2014-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 20 15:47:37 2014 New Revision: 266471 URL: http://svnweb.freebsd.org/changeset/base/266471 Log: - The DELAY() should not be used in USB drivers. - The usb_pause_mtx() function takes ticks and not milliseconds as last argument. MFC after:3 days

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

2014-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 20 15:53:17 2014 New Revision: 266472 URL: http://svnweb.freebsd.org/changeset/base/266472 Log: - The DELAY() should not be used in USB drivers. - The usb_pause_mtx() function takes ticks and not milliseconds as last argument. MFC after:3 days

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

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 06:23:52 2014 New Revision: 266484 URL: http://svnweb.freebsd.org/changeset/base/266484 Log: Avoid starting a USB transfer inside the callback function, right after its been submitted. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_rsu.c

svn commit: r266485 - in stable/10/sys: dev/sound/usb modules/sound/driver/uaudio

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 06:29:52 2014 New Revision: 266485 URL: http://svnweb.freebsd.org/changeset/base/266485 Log: MFC r266006 and r266011: Fix unload of USB audio kernel module. Modified: stable/10/sys/dev/sound/usb/uaudio.c stable/10/sys/modules/sound/driver/uaudio/Makefile

svn commit: r266486 - in stable/9/sys: dev/sound/usb modules/sound/driver/uaudio

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 06:31:44 2014 New Revision: 266486 URL: http://svnweb.freebsd.org/changeset/base/266486 Log: MFC r266006 and r266011: Fix unload of USB audio kernel module. Modified: stable/9/sys/dev/sound/usb/uaudio.c stable/9/sys/modules/sound/driver/uaudio/Makefile

svn commit: r266487 - in stable/8/sys: dev/sound/usb modules/sound/driver/uaudio

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 06:33:21 2014 New Revision: 266487 URL: http://svnweb.freebsd.org/changeset/base/266487 Log: MFC r266006 and r266011: Fix unload of USB audio kernel module. Modified: stable/8/sys/dev/sound/usb/uaudio.c stable/8/sys/modules/sound/driver/uaudio/Makefile

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

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 09:26:02 2014 New Revision: 266493 URL: http://svnweb.freebsd.org/changeset/base/266493 Log: - Replace some constants with macros. - Need to set the pre-fetch memory address when reading the host memory. - We currently assume that no endianness conversion

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

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 16:52:55 2014 New Revision: 266505 URL: http://svnweb.freebsd.org/changeset/base/266505 Log: - Split transmit queue into one for each type. Apparently there will be a race when using a single active queue for all transmit types. - Last argument of

svn commit: r266507 - stable/9/sys/net80211

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 17:02:21 2014 New Revision: 266507 URL: http://svnweb.freebsd.org/changeset/base/266507 Log: MFC r253639: Add ieee80211_add_{qos,wpa,rsn}() functions since they are needed by an OpenBSD driver that is being ported to FreeBSD. Modified:

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

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 17:22:41 2014 New Revision: 266508 URL: http://svnweb.freebsd.org/changeset/base/266508 Log: Implement interrupt endpoint methods for host mode transfers. Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/saf1761_otg.c

svn commit: r266515 - head/sys/boot/fdt

2014-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 21 18:02:19 2014 New Revision: 266515 URL: http://svnweb.freebsd.org/changeset/base/266515 Log: %p formatting already includes 0x prefix in printout. Modified: head/sys/boot/fdt/fdt_loader_cmd.c Modified: head/sys/boot/fdt/fdt_loader_cmd.c

Re: svn commit: r266083 - in head/sys/arm: arm include

2014-05-21 Thread Hans Petter Selasky
On 05/14/14 21:11, Mark Murray wrote: Author: markm Date: Wed May 14 19:11:15 2014 New Revision: 266083 URL: http://svnweb.freebsd.org/changeset/base/266083 Log: Give suitably-endowed ARMs a register similar to the x86 TSC register. Hi, Regression issue: This commit prevents RPI-B from

Re: svn commit: r265927 - head/sys/dev/vt

2014-05-21 Thread Hans Petter Selasky
On 05/12/14 21:29, Aleksandr Rybalko wrote: Author: ray Date: Mon May 12 19:29:38 2014 New Revision: 265927 URL: http://svnweb.freebsd.org/changeset/base/265927 Log: Update terminal sizes in any case when new vt(4) driver arrive. (Plus remove one unused newline) Sponsored by:

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

2014-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 22 06:28:09 2014 New Revision: 266535 URL: http://svnweb.freebsd.org/changeset/base/266535 Log: - Stop transfers when RSU init fails. - Make sure TX/RX lists don't leak and are only allocated once. - Fix off-by one transfer index computation. - Give firmware

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

2014-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 22 11:58:15 2014 New Revision: 266541 URL: http://svnweb.freebsd.org/changeset/base/266541 Log: - Fix a bug where the TLBPC value was forced to being odd for IN direction isochronous transfers. - Remove setting of fields which does not belong to the respective

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

2014-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 22 12:01:43 2014 New Revision: 266542 URL: http://svnweb.freebsd.org/changeset/base/266542 Log: - Give firmware loading more time. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c

Re: svn commit: r265927 - head/sys/dev/vt

2014-05-22 Thread Hans Petter Selasky
On 05/21/14 22:20, Hans Petter Selasky wrote: On 05/12/14 21:29, Aleksandr Rybalko wrote: Author: ray Date: Mon May 12 19:29:38 2014 New Revision: 265927 URL: http://svnweb.freebsd.org/changeset/base/265927 Log: Update terminal sizes in any case when new vt(4) driver arrive. (Plus remove

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

2014-05-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 23 06:20:25 2014 New Revision: 266575 URL: http://svnweb.freebsd.org/changeset/base/266575 Log: MFC r265358, r265427, r265777, r265783, r265806, r265872, r266012 and r266394: - Multiple DWC OTG host mode related fixes, improvements and optimisations. -

svn commit: r266576 - stable/10/sys/modules/sound/sound

2014-05-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 23 06:28:31 2014 New Revision: 266576 URL: http://svnweb.freebsd.org/changeset/base/266576 Log: MFC r265359 and r265780: Remove ISA load dependency for the kernel sound driver module for ARM and MIPS. Modified: stable/10/sys/modules/sound/sound/Makefile

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

2014-05-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 23 06:35:45 2014 New Revision: 266577 URL: http://svnweb.freebsd.org/changeset/base/266577 Log: MFC r266466, r266471, r266484, r266505, r266535 and r266542: Fix multiple issues in the RSU driver. Modified: stable/10/sys/dev/usb/wlan/if_rsu.c

svn commit: r266578 - in stable/10: share/man/man4 sys/conf sys/contrib/dev/urtwn sys/dev/usb sys/dev/usb/wlan sys/modules/usb/urtwnfw sys/modules/usb/urtwnfw/urtwnrtl8188eu

2014-05-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 23 06:47:47 2014 New Revision: 266578 URL: http://svnweb.freebsd.org/changeset/base/266578 Log: MFC r257543, r264912, r264972, r264982 and r266472: - Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. - Add device ID for 'Sanoxy

svn commit: r266581 - in head: etc/mtree include lib/libcuse sys/conf sys/fs/cuse sys/modules/cuse

2014-05-23 Thread Hans Petter Selasky
to the default world and kernel builds in a follow-up commit. The CUSE module was written by Hans Petter Selasky, somewhat inspired by similar functionality found in FUSE. The CUSE library can be used for many purposes. Currently CUSE is used when running Linux kernel drivers in user

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

2013-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 13 22:39:56 2013 New Revision: 253332 URL: http://svnweb.freebsd.org/changeset/base/253332 Log: Allow regular off-the-shelf keyboards to be overclocked like so-called Gamers Keyboards by adding a tunable, hw.usb.ukbd.pollrate, which can fix the polling rate of

svn commit: r253338 - head/sys/compat/linux

2013-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 14 10:13:01 2013 New Revision: 253338 URL: http://svnweb.freebsd.org/changeset/base/253338 Log: Add some missing LIBUSB IOCTL conversion codes. Modified: head/sys/compat/linux/linux_ioctl.c head/sys/compat/linux/linux_ioctl.h Modified:

svn commit: r253339 - head/lib/libusb

2013-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 14 10:22:00 2013 New Revision: 253339 URL: http://svnweb.freebsd.org/changeset/base/253339 Log: Add some missing definitions to build a working FreeBSD's libusb under Linux. Modified: head/lib/libusb/Makefile head/lib/libusb/libusb20.c

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

2013-07-21 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 21 20:45:23 2013 New Revision: 253532 URL: http://svnweb.freebsd.org/changeset/base/253532 Log: Fix an XHCI regression: The Block Event Interrupts, BEI, feature does not work like expected with the Renesas XHCI chipsets. Revert feature. While at it

svn commit: r253544 - in head/sys: dev/usb/gadget modules/usb modules/usb/g_audio modules/usb/g_keyboard modules/usb/g_modem modules/usb/g_mouse

2013-07-22 Thread Hans Petter Selasky
:00 1970 (empty, because file is newly added) +++ head/sys/dev/usb/gadget/g_audio.c Mon Jul 22 13:39:33 2013 (r253544) @@ -0,0 +1,613 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. + * + * Redistribution and use in source and binary forms

Re: svn commit: r253546 - head/share/mk

2013-07-22 Thread Hans Petter Selasky
On 07/22/13 16:23, Gleb Smirnoff wrote: Author: glebius Date: Mon Jul 22 14:23:46 2013 New Revision: 253546 URL: http://svnweb.freebsd.org/changeset/base/253546 Log: Fix build. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk

Re: svn commit: r253636 - head/sys/vm

2013-07-25 Thread Hans Petter Selasky
On 07/25/13 09:26, Bruce Evans wrote: On Thu, 25 Jul 2013, Tim Kientzle wrote: Log: Clear entire map structure including locks so that the locks don't accidentally appear to have been already initialized. In particular, this fixes a consistent kernel crash on armv6 with: panic: lock

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

2013-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 26 06:24:33 2013 New Revision: 253665 URL: http://svnweb.freebsd.org/changeset/base/253665 Log: MFC r253532: Fix an XHCI regression: The Block Event Interrupts, BEI, feature does not work like expected with the Renesas XHCI chipsets. Revert feature.

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

2013-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 26 06:28:41 2013 New Revision: 253666 URL: http://svnweb.freebsd.org/changeset/base/253666 Log: MFC r253532: Fix an XHCI regression: The Block Event Interrupts, BEI, feature does not work like expected with the Renesas XHCI chipsets. Revert feature.

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

2013-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 26 09:58:56 2013 New Revision: 253670 URL: http://svnweb.freebsd.org/changeset/base/253670 Log: Assume that all Apple products using interface class 255, subclass 253 and protocol 1 are USB ethernet adapters. This avoids keeping and updating the product list

svn commit: r253672 - head/etc/devd

2013-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 26 10:25:18 2013 New Revision: 253672 URL: http://svnweb.freebsd.org/changeset/base/253672 Log: Regenerate usb.conf MFC after:1 week Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

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

2013-07-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 29 05:54:13 2013 New Revision: 253757 URL: http://svnweb.freebsd.org/changeset/base/253757 Log: Fix alignment of USB WLAN radiotap headers. This makes USB WLAN adapters work on ARM, MIPS and similar platforms, where alignment matters. MFC after:1 week

svn commit: r254159 - head/tools/tools/usbtest

2013-08-09 Thread Hans Petter Selasky
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/tools/usbtest/Makefile Fri Aug 9 20:08:42 2013 (r254159) @@ -0,0 +1,40 @@ +# +# $FreeBSD$ +# +# Copyright (c) 2013 Hans Petter Selasky. All rights reserved. +# +# Redistribution and use

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

2013-08-12 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 12 06:09:28 2013 New Revision: 254238 URL: http://svnweb.freebsd.org/changeset/base/254238 Log: Correct an EHCI register write. MFC after:1 week Reported by: aseem.jo...@gmail.com Modified: head/sys/dev/usb/controller/ehci.c Modified:

svn commit: r254241 - head/tools/tools/usbtest

2013-08-12 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 12 09:15:33 2013 New Revision: 254241 URL: http://svnweb.freebsd.org/changeset/base/254241 Log: Fix some signed comparison compile warnings. Modified: head/tools/tools/usbtest/usb_control_ep_test.c head/tools/tools/usbtest/usb_modem_test.c

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

2013-08-12 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 12 09:17:48 2013 New Revision: 254243 URL: http://svnweb.freebsd.org/changeset/base/254243 Log: - Try to fix build of 32-bit compatibility USB support for FreeBSD and Linux targets without breaking the existing IOCTL API. - Remove some not-needed header

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

2013-08-17 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 17 06:29:45 2013 New Revision: 254438 URL: http://svnweb.freebsd.org/changeset/base/254438 Log: Fix some USB controller names according to pciconf output. MFC after:1 week Submitted by: Dmitry Luhtionov dmitryluhtio...@gmail.com Modified:

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

2013-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 20 07:13:01 2013 New Revision: 254551 URL: http://svnweb.freebsd.org/changeset/base/254551 Log: MFC r254238: Correct an EHCI register write. Reported by:aseem.jo...@gmail.com Modified: stable/9/sys/dev/usb/controller/ehci.c Directory Properties:

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

2013-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 20 07:15:16 2013 New Revision: 254552 URL: http://svnweb.freebsd.org/changeset/base/254552 Log: MFC r254238: Correct an EHCI register write. Reported by:aseem.jo...@gmail.com Modified: stable/8/sys/dev/usb/controller/ehci.c Directory Properties:

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

2013-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 20 07:28:24 2013 New Revision: 254555 URL: http://svnweb.freebsd.org/changeset/base/254555 Log: MFC r254243: - Try to fix build of 32-bit compatibility USB support for FreeBSD and Linux targets without breaking the existing IOCTL API. - Remove some

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

2013-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 20 07:40:40 2013 New Revision: 254556 URL: http://svnweb.freebsd.org/changeset/base/254556 Log: MFC r254243: - Try to fix build of 32-bit compatibility USB support for FreeBSD and Linux targets without breaking the existing IOCTL API. - Remove some

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

2013-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 20 16:21:05 2013 New Revision: 254572 URL: http://svnweb.freebsd.org/changeset/base/254572 Log: Force keyboards which don't have the required HID fields to use the USB BOOT protocol for now. PR: usb/181425 Submitted by: Andrey Zholos

svn commit: r266628 - head/etc/mtree

2014-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 24 20:31:55 2014 New Revision: 266628 URL: http://svnweb.freebsd.org/changeset/base/266628 Log: Untabify. Found by: jmmv @ Modified: head/etc/mtree/BSD.include.dist Modified: head/etc/mtree/BSD.include.dist

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

2014-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 25 06:42:43 2014 New Revision: 266644 URL: http://svnweb.freebsd.org/changeset/base/266644 Log: Make SAF1761 driver endian safe. Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/saf1761_otg.h Modified:

svn commit: r266664 - head/lib/libusb

2014-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun May 25 18:06:32 2014 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204 MFC after:1 week Modified:

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