/usb/controller/xhci.c Sun Oct 3 08:12:17 2010
(r213379)
@@ -0,0 +1,3862 @@
+/*-
+ * Copyright (c) 2010 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
Author: hselasky
Date: Mon Oct 4 21:24:10 2010
New Revision: 213425
URL: http://svn.freebsd.org/changeset/base/213425
Log:
The root mount hold reference was not released on USB controller
attach failures during boot. Fix this.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/us
Author: hselasky
Date: Mon Oct 4 21:30:15 2010
New Revision: 213426
URL: http://svn.freebsd.org/changeset/base/213426
Log:
Add missing DRIVER_MODULE() entry for the musbotg driver.
Add some more comments.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/controller/usb_contr
Author: hselasky
Date: Mon Oct 4 21:38:10 2010
New Revision: 213427
URL: http://svn.freebsd.org/changeset/base/213427
Log:
Add missing USB 3.0 definitions. Correct some wrong ones.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/usb.h
Modified: head/sys/dev/usb/usb.h
==
Author: hselasky
Date: Mon Oct 4 22:04:22 2010
New Revision: 213431
URL: http://svn.freebsd.org/changeset/base/213431
Log:
Correct IOCTL return code.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/usb_dev.c
Modified: head/sys/dev/usb/usb_dev.c
=
Author: hselasky
Date: Mon Oct 4 22:21:30 2010
New Revision: 213432
URL: http://svn.freebsd.org/changeset/base/213432
Log:
Serialise USB re-enumeration with the USB explore thread.
This patch can solve problems when multiple USB devices are
re-enumerated at the same time on the same bus.
Author: hselasky
Date: Mon Oct 4 22:45:17 2010
New Revision: 213433
URL: http://svn.freebsd.org/changeset/base/213433
Log:
Add more strict USB string filtering.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/usb_request.c
Modified: head/sys/dev/usb/usb_request.c
==
Author: hselasky
Date: Mon Oct 4 22:50:08 2010
New Revision: 213434
URL: http://svn.freebsd.org/changeset/base/213434
Log:
Add missing #if's
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/usb_handle_request.c
Modified: head/sys/dev/usb/usb_handle_request.c
ruct usb_device *);
void usbd_enum_unlock(struct usb_device *);
void usbd_sr_lock(struct usb_device *);
Modified: head/sys/dev/usb/usb_hub.c
==========
--- head/sys/dev/usb/usb_hub.c Mon Oct 4 22:50:08 2010(r213
+1,38 @@
+#
+# $FreeBSD$
+#
+# Copyright (c) 2010 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:
+# 1. Redistributions of source code must retain the
Author: hselasky
Date: Mon Oct 4 23:30:44 2010
New Revision: 213439
URL: http://svn.freebsd.org/changeset/base/213439
Log:
Print out correct USB connection speed for USB 3.0 mass storage devices.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/storage/umass.c
Modified: head
On Tuesday 05 October 2010 09:10:56 Niclas Zeising wrote:
> On 2010-10-05 01:22, Hans Petter Selasky wrote:
> > Author: hselasky
> > Date: Mon Oct 4 23:22:03 2010
> > New Revision: 213437
> > URL: http://svn.freebsd.org/changeset/base/213437
> >
> > Log:
On Wednesday 06 October 2010 16:29:00 Gleb Smirnoff wrote:
> +static uint8_t scsi_tct_dummy[4];
Hi,
struct bbb_transfer *sc;
We already have a dummy receive buffer in sc->buffer. Use that instead of
declaring a new one.
--HPS
___
svn-src-all@freebsd.
Author: hselasky
Date: Wed Oct 13 20:37:19 2010
New Revision: 213802
URL: http://svn.freebsd.org/changeset/base/213802
Log:
Correct some root HUB descriptor fields in multiple controller drivers.
Remove an unused structure.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/co
Author: hselasky
Date: Wed Oct 13 20:51:06 2010
New Revision: 213803
URL: http://svn.freebsd.org/changeset/base/213803
Log:
USB network (UHSO):
- Correct network interface flags.
PR: usb/149039
Submitted by: Fredrik Lindberg
Approved by:thompsa (mentor)
Modified:
head/sys/dev
Author: hselasky
Date: Wed Oct 13 20:56:54 2010
New Revision: 213804
URL: http://svn.freebsd.org/changeset/base/213804
Log:
USB WLAN:
- Add new device ID
PR: usb/150989
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/wlan/if_upgt.c
Modified: head/sys/dev/usb/wlan/if_up
@@
+/*-
+ * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
+ * Copyright (c) 2009 Diego Giagio. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1
Author: hselasky
Date: Wed Oct 13 22:04:55 2010
New Revision: 213809
URL: http://svn.freebsd.org/changeset/base/213809
Log:
USB network (NCM driver):
- correct the ethernet payload remainder which
must be post-offseted by -14 bytes instead of
0 bytes. This is not very clearly defined in th
Author: hselasky
Date: Thu Oct 14 20:04:36 2010
New Revision: 213848
URL: http://svn.freebsd.org/changeset/base/213848
Log:
LibUSB (new API):
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Approved by:thompsa
Author: hselasky
Date: Thu Oct 14 20:18:39 2010
New Revision: 213849
URL: http://svn.freebsd.org/changeset/base/213849
Log:
- Fix some compile warnings regarding comparing signed to unsigned.
Approved by:thompsa (mentor)
Modified:
head/lib/libusb/libusb10_io.c
Modified: head/lib/lib
Author: hselasky
Date: Thu Oct 14 20:38:18 2010
New Revision: 213852
URL: http://svn.freebsd.org/changeset/base/213852
Log:
- Add support for LibUSB in 32-bit compatibility mode.
Approved by:thompsa (mentor)
Modified:
head/lib/libusb/Makefile
head/lib/libusb/libusb20.c
head/lib/l
Author: hselasky
Date: Thu Oct 14 20:50:33 2010
New Revision: 213853
URL: http://svn.freebsd.org/changeset/base/213853
Log:
- Add missing LibUSB API functions:
* libusb_strerror()
* libusb_get_driver[_np]()
* libusb_detach_kernel_driver[_np]()
- Factor out setting of non-blocking f
Author: hselasky
Date: Thu Oct 14 21:09:37 2010
New Revision: 213856
URL: http://svn.freebsd.org/changeset/base/213856
Log:
- Add more USB devices to usbdevs and rename some previously unknown ones.
- Add more USB mass storage quirks.
Submitted by: Dmitry Luhtionov
PR: usb/149934, usb/1
Author: hselasky
Date: Thu Oct 14 21:14:33 2010
New Revision: 213857
URL: http://svn.freebsd.org/changeset/base/213857
Log:
Correct EHCI port register read.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/controller/ehci.c
Modified: head/sys/dev/usb/controller/ehci.c
===
Author: hselasky
Date: Thu Oct 14 21:18:18 2010
New Revision: 213861
URL: http://svn.freebsd.org/changeset/base/213861
Log:
Correct EHCI root HUB interface descriptor.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/controller/ehci.c
Modified: head/sys/dev/usb/controller/ehc
Author: hselasky
Date: Thu Oct 14 21:26:06 2010
New Revision: 213864
URL: http://svn.freebsd.org/changeset/base/213864
Log:
Avoid using endless retransmission at EHCI hardware level, hence this hide
errors from the applications. Only use endless retransmission while in the
non-addressed stat
Author: hselasky
Date: Thu Oct 14 21:38:06 2010
New Revision: 213869
URL: http://svn.freebsd.org/changeset/base/213869
Log:
Revert most of r197682 (EHCI Hardware BUG workaround). Implement
proper solution which is to not use the TERMINATE pointer, but rather
link to a halted TD. The initial
Author: hselasky
Date: Thu Oct 14 21:41:08 2010
New Revision: 213871
URL: http://svn.freebsd.org/changeset/base/213871
Log:
Remove unused EHCI register definition.
Define reserved EHCI register.
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/controller/ehci_pci.c
head/sy
Author: hselasky
Date: Thu Oct 14 21:45:41 2010
New Revision: 213872
URL: http://svn.freebsd.org/changeset/base/213872
Log:
Fix forwarding of Line Register Status changes to TTY layer.
PR: usb/149675
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/serial/usb_serial.c
Modif
Author: hselasky
Date: Thu Oct 14 21:53:42 2010
New Revision: 213876
URL: http://svn.freebsd.org/changeset/base/213876
Log:
Add more USB device IDs to supported list of devices.
Submitted by: Nick Hibma
PR: usb/149900
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/seri
Author: hselasky
Date: Thu Oct 14 22:06:52 2010
New Revision: 213879
URL: http://svn.freebsd.org/changeset/base/213879
Log:
- Add more USB devices to usbdevs and rename some previously unknown ones.
- Add more USB mass storage quirks.
Submitted by: Dmitry Luhtionov
PR: usb/149934, usb/1
Author: hselasky
Date: Thu Oct 14 22:14:55 2010
New Revision: 213880
URL: http://svn.freebsd.org/changeset/base/213880
Log:
Add new USB device IDs to the list of supported devices.
PR: usb/151043
Approved by:thompsa (mentor)
Modified:
head/sys/dev/usb/wlan/if_rum.c
Modified: hea
On Friday 15 October 2010 00:06:52 Hans Petter Selasky wrote:
> r213879
Correct commit message:
Add more USB device IDs to the supported list of devices.
Fix U3G kernel build breakage since r213856 due to a missing usbdevs entry.
Submitted by: Nick Hibma
PR: usb/149764
Approved
On Saturday 16 October 2010 10:12:37 Kostik Belousov wrote:
> On Thu, Oct 14, 2010 at 08:38:18PM +0000, Hans Petter Selasky wrote:
> > Author: hselasky
> > Date: Thu Oct 14 20:38:18 2010
> > New Revision: 213852
> > URL: http://svn.freebsd.org/changeset/base/21385
On Saturday 16 October 2010 12:00:51 Kostik Belousov wrote:
> > USB has some shared memory structures which are used in both user-land
> > and kernel, which are not part of IOCTLs. Your approach means that
> > there are two sets of IOCTL's of all kinds, one for 32-bit and one for
> > 64-bit?
>
>
Author: hselasky
Date: Sat Oct 16 11:20:53 2010
New Revision: 213920
URL: http://svn.freebsd.org/changeset/base/213920
Log:
- Add support for libusbhid in 32-bit compatibility mode.
- Add missing check for ugd_actlen being too small.
- Add missing inclusion guard to usbvar.h header file.
-
On Saturday 16 October 2010 12:12:43 Hans Petter Selasky wrote:
> On Saturday 16 October 2010 12:00:51 Kostik Belousov wrote:
> > > USB has some shared memory structures which are used in both user-land
> > > and kernel, which are not part of IOCTLs. Your approach means tha
Author: hselasky
Date: Fri Oct 22 20:13:45 2010
New Revision: 214221
URL: http://svn.freebsd.org/changeset/base/214221
Log:
Add possibility to generate devctl notifications regardless of UGEN presence.
Submitted by: Nick Hibma
Approved by:thompsa (mentor)
Modified:
head/sys/dev/us
Author: hselasky
Date: Sun Oct 24 13:48:11 2010
New Revision: 214271
URL: http://svn.freebsd.org/changeset/base/214271
Log:
Remove stray semicolon.
Submitted by: arundel
Modified:
head/usr.sbin/usbconfig/usbconfig.c
Modified: head/usr.sbin/usbconfig/usbconfig.c
=
Author: hselasky
Date: Wed Oct 27 17:38:05 2010
New Revision: 214429
URL: http://svn.freebsd.org/changeset/base/214429
Log:
Add support for setting per-interface PnP information.
Submitted by: Nick Hibma
Approved by: thompsa (mentor)
Modified:
head/sys/dev/usb/usb_device.c
head/sys/
Author: hselasky
Date: Sat Nov 19 10:11:50 2011
New Revision: 227701
URL: http://svn.freebsd.org/changeset/base/227701
Log:
Move the device_delete_all_children() function from usb_util.c
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify
Author: hselasky
Date: Sat Nov 19 11:17:27 2011
New Revision: 227706
URL: http://svn.freebsd.org/changeset/base/227706
Log:
Simplify the usb_pause_mtx() function by factoring out the generic parts
to the kernel's pause() function. The pause() function can now be used
when cold != 0. Also ass
Author: hselasky
Date: Sun Nov 20 08:29:23 2011
New Revision: 227748
URL: http://svn.freebsd.org/changeset/base/227748
Log:
Minor style change:
Simplify the description of pause() and shorten the KASSERT message in pause.
Also add a clamp for the timo argument in the non-KASSERT case.
S
Author: hselasky
Date: Sun Nov 20 08:36:18 2011
New Revision: 227749
URL: http://svn.freebsd.org/changeset/base/227749
Log:
Given that the typical usage of pause() is pause("zzz", hz / N), where N can
be greater than hz in some cases, simply ignore a timeout value of zero.
Suggested by: B
Author: hselasky
Date: Mon Nov 21 07:50:29 2011
New Revision: 227781
URL: http://svn.freebsd.org/changeset/base/227781
Log:
Add new USB IDs to RUN driver.
PR: usb/162712
MFC after:1 week
Modified:
head/sys/dev/usb/usbdevs
head/sys/dev/usb/wlan/if_run.c
Modified: head/s
On Monday 21 November 2011 04:37:02 Bruce Evans wrote:
> pause() grew some additional complications that I don't like. Hans
> noticed that DELAY(n) overflows for large n on arm. So pause() now
> avoids passing large n to DELAY(). Probably no other callers of
> DELAY() do this, and no callers of
Author: hselasky
Date: Tue Nov 22 21:53:19 2011
New Revision: 227847
URL: http://svn.freebsd.org/changeset/base/227847
Log:
Style change.
Suggested by: jhb @ and marius @
MFC after:1 week
Modified:
head/sys/kern/subr_bus.c
Modified: head/sys/kern/subr_bus.c
===
Author: hselasky
Date: Tue Nov 22 21:56:55 2011
New Revision: 227849
URL: http://svn.freebsd.org/changeset/base/227849
Log:
Rename device_delete_all_children() into device_delete_children().
Suggested by: jhb @ and marius @
MFC after:1 week
Modified:
head/sys/arm/econa/ehci_ebus.c
Author: hselasky
Date: Mon Nov 28 09:54:41 2011
New Revision: 228056
URL: http://svn.freebsd.org/changeset/base/228056
Log:
This commit marks the beginning of a new internal USB
transfer statemachine. This work is about using a single
state variable instead of multiple state bits as input
Author: hselasky
Date: Sat Dec 3 13:54:54 2011
New Revision: 228223
URL: http://svn.freebsd.org/changeset/base/228223
Log:
MFC r227404:
Add USB 3.0 descriptor support.
Modified:
stable/8/lib/libusb/Makefile
stable/8/lib/libusb/libusb.3
stable/8/lib/libusb/libusb.h
stable/8/lib/libusb
Author: hselasky
Date: Sat Dec 3 14:02:25 2011
New Revision: 228224
URL: http://svn.freebsd.org/changeset/base/228224
Log:
MFC r227610 and r227781:
Add new USB IDs.
PR: usb/162712
Modified:
stable/8/sys/dev/usb/quirk/usb_quirk.c
stable/8/sys/dev/usb/usbdevs
stable/8/sys/
Author: hselasky
Date: Sat Dec 3 14:11:47 2011
New Revision: 228226
URL: http://svn.freebsd.org/changeset/base/228226
Log:
MFC r227108, r227383 and r227463:
Add support for modem control lines and GPIO pins to USLCOM driver.
PR: usb/162307
Modified:
stable/8/sys/dev/usb/seri
Author: hselasky
Date: Sat Dec 3 14:29:14 2011
New Revision: 228227
URL: http://svn.freebsd.org/changeset/base/228227
Log:
MFC r227541, r227654, r226803, r227396 and r227401:
Fix for XHCI attach failure and some USB 3.0 descriptor corrections.
Modified:
stable/8/sys/dev/usb/controller/xhci
Author: hselasky
Date: Sat Dec 3 14:32:10 2011
New Revision: 228228
URL: http://svn.freebsd.org/changeset/base/228228
Log:
MFC r228195:
Fix checks for error return from urtw_alloc_rx_data_list() and
urtw_alloc_tx_data_list().
Modified:
stable/8/sys/dev/usb/wlan/if_urtw.c
Directory Proper
Author: hselasky
Date: Sat Dec 3 14:38:54 2011
New Revision: 228229
URL: http://svn.freebsd.org/changeset/base/228229
Log:
MFC r227461:
Style change.
- Make it easier to port the USB code to other platforms by only using
one set of memory functions for clearing and copying memory. None of
Author: hselasky
Date: Sat Dec 3 14:40:56 2011
New Revision: 228230
URL: http://svn.freebsd.org/changeset/base/228230
Log:
MFC r215254:
Fix compiler warnings.
Modified:
stable/8/sys/dev/usb/input/uhid.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xe
Author: hselasky
Date: Sat Dec 3 14:44:34 2011
New Revision: 228231
URL: http://svn.freebsd.org/changeset/base/228231
Log:
MFC 226479:
Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.
Modified:
stable/8/sys/dev/usb/net/if_aue.c
stable/8/sys/dev/usb/net/if_axe.c
stabl
Author: hselasky
Date: Sat Dec 3 14:54:44 2011
New Revision: 228232
URL: http://svn.freebsd.org/changeset/base/228232
Log:
Fix a compile warning with clang.
Reported by: arundel @
MFC after:3 days
Modified:
head/sys/dev/usb/usb_msctest.c
Modified: head/sys/dev/usb/usb_msctest.c
Author: hselasky
Date: Sat Dec 3 15:51:15 2011
New Revision: 228234
URL: http://svn.freebsd.org/changeset/base/228234
Log:
Make sure the description of pause() is
equivalent to its implementation.
No code change.
Suggested by: Bruce Evans
MFC after:3 days
Modified:
head/sys/ke
Author: hselasky
Date: Sat Dec 3 16:19:07 2011
New Revision: 228235
URL: http://svn.freebsd.org/changeset/base/228235
Log:
libusb_open() sets the given device handle to NULL if it
fails, so there is no need to do it again after returning.
Submitted by: Christoph Mallon
MFC after:3
Author: hselasky
Date: Sat Dec 3 16:30:47 2011
New Revision: 228236
URL: http://svn.freebsd.org/changeset/base/228236
Log:
Simplify libusb_open_device_with_vid_pid(): Only set
pdev to non-NULL on success instead of unconditonally
setting it and maybe resetting it later.
Submitted by: C
Hi,
I see regressions when building kernel modules from /usr/ports:
On Monday 05 December 2011 14:39:56 Robert Huff wrote:
> Hello:
> When trying to update I get:
>
> ===> Building for cuse4bsd-kmod-0.1.21_2
> make -f
> /data/port-work/usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod
Author: hselasky
Date: Tue Dec 6 07:55:25 2011
New Revision: 228303
URL: http://svn.freebsd.org/changeset/base/228303
Log:
Fix compile warning when using clang to compile the code.
Submitted by: arundel @
MFC after:3 days
Modified:
head/sys/dev/usb/wlan/if_zyd.c
Modified: head/sy
Author: hselasky
Date: Tue Dec 6 08:08:52 2011
New Revision: 228304
URL: http://svn.freebsd.org/changeset/base/228304
Log:
Correct some bInterval USB template descriptor values.
MFC after:3 days
Modified:
head/sys/dev/usb/template/usb_template.c
head/sys/dev/usb/template/usb_templ
Author: hselasky
Date: Wed Dec 14 00:28:54 2011
New Revision: 228483
URL: http://svn.freebsd.org/changeset/base/228483
Log:
Implement better support for USB controller suspend and resume.
This patch should remove the need for kldunload of USB
controller drivers at suspend and kldload of U
Author: hselasky
Date: Wed Dec 14 00:48:20 2011
New Revision: 228484
URL: http://svn.freebsd.org/changeset/base/228484
Log:
Stop USB audio transfers early so that any audio applications
will time out and close opened /dev/dspX.Y device(s), if
any. This is a workaround because we cannot unreg
Author: hselasky
Date: Wed Dec 14 01:03:07 2011
New Revision: 228485
URL: http://svn.freebsd.org/changeset/base/228485
Log:
Use usbd_transfer_unsetup() instead of usbd_transfer_stop() so that
we don't have to worry about locking.
MFC after:1 weeks
Modified:
head/sys/dev/sound/usb/u
Author: hselasky
Date: Wed Dec 14 08:44:16 2011
New Revision: 228493
URL: http://svn.freebsd.org/changeset/base/228493
Log:
Fix definition of XHCI port power bit.
Reported by: Kohji Okuno
MFC after:3 days
Modified:
head/sys/dev/usb/controller/xhcireg.h
Modified: head/sys/dev/usb/
Author: hselasky
Date: Wed Dec 14 08:52:27 2011
New Revision: 228494
URL: http://svn.freebsd.org/changeset/base/228494
Log:
Fix for random USB transfer time out.
Submitted by: PseudoCylon
MFC after:3 days
Modified:
head/sys/dev/usb/wlan/if_run.c
Modified: head/sys/dev/usb/wlan/if_
Author: hselasky
Date: Wed Dec 14 22:14:05 2011
New Revision: 228508
URL: http://svn.freebsd.org/changeset/base/228508
Log:
Improve fix for random USB transfer time out.
Suggested by: YougHyeon
MFC after:3 days
Modified:
head/sys/dev/usb/wlan/if_run.c
Modified: head/sys/dev/usb/wl
Author: hselasky
Date: Mon Dec 19 14:53:42 2011
New Revision: 228709
URL: http://svn.freebsd.org/changeset/base/228709
Log:
Add missing unlock of USB controller's lock, when
doing shutdown, suspend and resume.
Suggested by: avg @
MFC after:3 days
Modified:
head/sys/dev/usb/contro
Author: hselasky
Date: Mon Dec 19 15:35:05 2011
New Revision: 228711
URL: http://svn.freebsd.org/changeset/base/228711
Log:
Add code to wait for USB shutdown to be executed at system shutdown.
Add sysctl which can be used to skip this waiting.
MFC after:3 days
Modified:
head/sys/de
Author: hselasky
Date: Mon Dec 19 23:39:08 2011
New Revision: 228723
URL: http://svn.freebsd.org/changeset/base/228723
Log:
Make the recently added "no_shutdown_wait" sysctl writeable.
Suggested by: avg @
MFC after:3 days
Modified:
head/sys/dev/usb/controller/usb_controller.c
Modi
On Monday 19 December 2011 18:33:29 Andriy Gapon wrote:
> on 19/12/2011 17:35 Hans Petter Selasky said the following:
> > Author: hselasky
> > Date: Mon Dec 19 15:35:05 2011
> > New Revision: 228711
> > URL: http://svn.freebsd.org/changeset/base/228711
> >
> &
Author: hselasky
Date: Wed Dec 21 08:46:08 2011
New Revision: 228758
URL: http://svn.freebsd.org/changeset/base/228758
Log:
Fix for race against user-space applications trying to change the
configuration on USB HUBs.
PR: kern/163091
MFC after:1 week
Modified:
head/sys/d
Author: hselasky
Date: Sat Dec 31 13:07:09 2011
New Revision: 229080
URL: http://svn.freebsd.org/changeset/base/229080
Log:
MFC r227461:
Style change.
Use memxxx() functions instead of bxxx() functions.
Modified:
stable/9/sys/dev/usb/controller/at91dci.c
stable/9/sys/dev/usb/controller/
Author: hselasky
Date: Sat Dec 31 13:12:29 2011
New Revision: 229082
URL: http://svn.freebsd.org/changeset/base/229082
Log:
MFC r227463, r227383 and r227108:
Add support for modem control lines.
Add support for GPIO pins.
PR: usb/162307
Submitted by: JD Louw
Modified:
stable/9/sy
Author: hselasky
Date: Sat Dec 31 13:23:04 2011
New Revision: 229084
URL: http://svn.freebsd.org/changeset/base/229084
Log:
MFC r227396, r227401, r227541, r227654 and r228493:
Relax XHCI timeouts which should fix enumeration issues.
Fix definition of XHCI port power bit.
Correct size of so
Author: hselasky
Date: Sat Dec 31 13:34:42 2011
New Revision: 229086
URL: http://svn.freebsd.org/changeset/base/229086
Log:
Add missing change to XHCI driver similar to changes in r228483.
MFC after:0 days
Modified:
head/sys/dev/usb/controller/xhci.c
head/sys/dev/usb/controller/xhc
Author: hselasky
Date: Sat Dec 31 14:12:12 2011
New Revision: 229093
URL: http://svn.freebsd.org/changeset/base/229093
Log:
MFC r226173, r227843, r227848 and r227908:
Use DEVMETHOD_END to mark end of device methods.
Remove superfluous device methods.
Add some missing __FBSBID() macros.
Mo
Author: hselasky
Date: Sat Dec 31 14:22:02 2011
New Revision: 229096
URL: http://svn.freebsd.org/changeset/base/229096
Log:
MFC r229086, r228483 and r228640:
Implement better support for USB controller suspend and resume.
Fix some build issues in avr32dci.c
Added:
stable/9/sys/modules/usb
Author: hselasky
Date: Sat Dec 31 14:24:22 2011
New Revision: 229097
URL: http://svn.freebsd.org/changeset/base/229097
Log:
MFC r228758:
Fix for race against user-space applications trying to change the
configuration on USB HUBs.
PR: kern/163091
Modified:
stable/9/sys/dev/u
Author: hselasky
Date: Sat Dec 31 14:29:01 2011
New Revision: 229099
URL: http://svn.freebsd.org/changeset/base/229099
Log:
MFC r227285:
Add support for new USB modem protocol.
PR: usb/159919
Modified:
stable/9/sys/dev/usb/serial/umodem.c
Directory Properties:
stable/9/sy
Author: hselasky
Date: Sat Dec 31 14:33:15 2011
New Revision: 229100
URL: http://svn.freebsd.org/changeset/base/229100
Log:
MFC r228709, r228711 and r228723:
- Add missing unlock of USB controller's lock, when
doing shutdown, suspend and resume.
- Add code to wait for USB shutdown to be ex
Author: hselasky
Date: Sat Dec 31 14:37:51 2011
New Revision: 229103
URL: http://svn.freebsd.org/changeset/base/229103
Log:
MFC 228304:
Correct some bInterval USB template descriptor values.
Modified:
stable/9/sys/dev/usb/template/usb_template.c
stable/9/sys/dev/usb/template/usb_template_
Author: hselasky
Date: Sat Dec 31 14:45:43 2011
New Revision: 229105
URL: http://svn.freebsd.org/changeset/base/229105
Log:
MFC r226709:
Allow USB ethernet drivers to define a driver specific
attach handler so that a USB ethernet driver can
announce interface capabilities and do its own MI
Author: hselasky
Date: Sat Dec 31 14:47:35 2011
New Revision: 229106
URL: http://svn.freebsd.org/changeset/base/229106
Log:
MFC r226743:
Implement TX/RX checksum offloading support for ASIX AX88772B
controller.
Modified:
stable/9/sys/dev/usb/net/if_axe.c
stable/9/sys/dev/usb/net/if_axer
Author: hselasky
Date: Sat Dec 31 14:50:38 2011
New Revision: 229107
URL: http://svn.freebsd.org/changeset/base/229107
Log:
MFC r227462:
Enable power save mode for the USB storage device driver.
Modified:
stable/9/sys/dev/usb/storage/ustorage_fs.c
Directory Properties:
stable/9/sys/ (pr
Author: hselasky
Date: Sat Dec 31 14:54:30 2011
New Revision: 229108
URL: http://svn.freebsd.org/changeset/base/229108
Log:
MFC r228494, r228508:
Fix for random USB transfer time out.
Modified:
stable/9/sys/dev/usb/wlan/if_run.c
Directory Properties:
stable/9/sys/ (props changed)
stab
Author: hselasky
Date: Sat Dec 31 14:57:52 2011
New Revision: 229111
URL: http://svn.freebsd.org/changeset/base/229111
Log:
MFC r226465 and r226467:
Fix an issue with 11g beacon frames which looks to be a limitation
on the largest multi-write size.
Modified:
stable/9/sys/dev/usb/wlan/if_r
Author: hselasky
Date: Sat Dec 31 15:14:07 2011
New Revision: 229115
URL: http://svn.freebsd.org/changeset/base/229115
Log:
MFC r227781:
Add new USB IDs.
PR: usb/162712, usb/163732
Modified:
stable/9/sys/dev/usb/usbdevs
stable/9/sys/dev/usb/wlan/if_run.c
Directory Properties:
s
Author: hselasky
Date: Sat Dec 31 15:15:30 2011
New Revision: 229116
URL: http://svn.freebsd.org/changeset/base/229116
Log:
MFC r228637:
Add new USB ID.
Modified:
stable/9/sys/dev/usb/net/if_axe.c
stable/9/sys/dev/usb/usbdevs
Directory Properties:
stable/9/sys/ (props changed)
stabl
Author: hselasky
Date: Sat Dec 31 15:18:51 2011
New Revision: 229117
URL: http://svn.freebsd.org/changeset/base/229117
Log:
MFC r227610 and r228243:
Add more quirks for USB mass storage devices.
Modified:
stable/9/sys/dev/usb/quirk/usb_quirk.c
stable/9/sys/dev/usb/usbdevs
Directory Proper
Author: hselasky
Date: Sat Dec 31 15:31:34 2011
New Revision: 229118
URL: http://svn.freebsd.org/changeset/base/229118
Log:
MFC r227701, r227847 and r227849:
Move the device_delete_all_children() function from usb_util.c
to kern/subr_bus.c. Simplify this function so that it no longer
depen
Author: hselasky
Date: Sat Dec 31 15:37:31 2011
New Revision: 229119
URL: http://svn.freebsd.org/changeset/base/229119
Log:
MFC r227706, r227748, r227749 and r228234:
Simplify the usb_pause_mtx() function by factoring out the generic parts
to the kernel's pause() function. The pause() functi
Author: hselasky
Date: Sat Dec 31 15:42:05 2011
New Revision: 229120
URL: http://svn.freebsd.org/changeset/base/229120
Log:
MFC r228232 and r228303:
Fix clang compile warnings.
Modified:
stable/9/sys/dev/usb/usb_msctest.c
stable/9/sys/dev/usb/wlan/if_zyd.c
Directory Properties:
stable/9
Author: hselasky
Date: Sat Dec 31 15:43:55 2011
New Revision: 229121
URL: http://svn.freebsd.org/changeset/base/229121
Log:
MFC r228195:
Fix checks for error return from urtw_alloc_rx_data_list() and
urtw_alloc_tx_data_list().
Modified:
stable/9/sys/dev/usb/wlan/if_urtw.c
Directory Proper
Author: hselasky
Date: Sat Dec 31 15:46:36 2011
New Revision: 229122
URL: http://svn.freebsd.org/changeset/base/229122
Log:
MFC r227404:
Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0.
Some header file parts of this patch were taken from a patch submitted
by Maya E
Author: hselasky
Date: Sat Dec 31 15:49:07 2011
New Revision: 229124
URL: http://svn.freebsd.org/changeset/base/229124
Log:
MFC r228235 and r228236:
Minor code simplification.
No functional change.
Modified:
stable/9/lib/libusb/libusb10.c
Directory Properties:
stable/9/lib/libusb/ (pr
Author: hselasky
Date: Mon Jan 2 20:28:33 2012
New Revision: 229317
URL: http://svn.freebsd.org/changeset/base/229317
Log:
Make sure we probe and attach the root HUB after
resume else no devices will appear again.
MFC after:1 day
Modified:
head/sys/dev/usb/controller/usb_controlle
1 - 100 of 5591 matches
Mail list logo