The NetBSD Project

CVS log for src/sys/dev/usb/if_urtwn.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / usb

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.105 / (download) - annotate - [select for diffs], Sun Jul 31 12:59:26 2022 UTC (6 months ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.104: +4 -3 lines
Diff to previous 1.104 (colored)

Don't report errors as timeout.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Jun 23 13:46:27 2022 UTC (7 months, 1 week ago) by brook
Branch: MAIN
Changes since 1.103: +3 -2 lines
Diff to previous 1.103 (colored)

if_urtwn.c: add the TRENDnet TEW-648UBM

Revision 1.103 / (download) - annotate - [select for diffs], Wed Apr 6 22:01:45 2022 UTC (9 months, 3 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored)

revert accidental last commit (except ukbd.c)

Revision 1.102 / (download) - annotate - [select for diffs], Wed Apr 6 21:51:29 2022 UTC (9 months, 3 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.101: +4 -3 lines
Diff to previous 1.101 (colored)

remove debug printf

Revision 1.71.2.6 / (download) - annotate - [select for diffs], Sat Oct 23 11:21:54 2021 UTC (15 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.71.2.5: +3 -2 lines
Diff to previous 1.71.2.5 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #1364):

	sys/dev/usb/if_urtwn.c: revision 1.101

add Edimax N150 adapter; tested on my PBP

Revision 1.101 / (download) - annotate - [select for diffs], Thu Oct 21 20:18:16 2021 UTC (15 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.100: +3 -2 lines
Diff to previous 1.100 (colored)

add Edimax N150 adapter; tested on my PBP

Revision 1.100 / (download) - annotate - [select for diffs], Fri Sep 17 13:02:52 2021 UTC (16 months, 2 weeks ago) by nat
Branch: MAIN
Changes since 1.99: +6 -2 lines
Diff to previous 1.99 (colored)

Sprinkle a little delay.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Sep 17 13:00:20 2021 UTC (16 months, 2 weeks ago) by nat
Branch: MAIN
Changes since 1.98: +10 -2 lines
Diff to previous 1.98 (colored)

Initialize firmware mailbox counter when firmware is reset.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Sep 17 12:58:31 2021 UTC (16 months, 2 weeks ago) by nat
Branch: MAIN
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored)

Serialize sending of firmware commands to device.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Sep 17 12:55:10 2021 UTC (16 months, 2 weeks ago) by nat
Branch: MAIN
Changes since 1.96: +6 -6 lines
Diff to previous 1.96 (colored)

Use urtwn_delay_ms were possibile.

NFC intended.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:50 2021 UTC (21 months, 4 weeks ago) by thorpej
Branch: thorpej-futex
Changes since 1.88: +41 -17 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

Revision 1.71.2.5 / (download) - annotate - [select for diffs], Mon Mar 22 18:20:38 2021 UTC (22 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE
Changes since 1.71.2.4: +24 -8 lines
Diff to previous 1.71.2.4 (colored) to branchpoint 1.71 (colored)

Pull up following revision(s) (requested by nat in ticket #1234),
all via patch:

	sys/dev/usb/if_urtwn.c: revision 1.93
	sys/dev/usb/if_urtwn.c: revision 1.95
	sys/dev/usb/if_urtwn.c: revision 1.96

if_urtwn.c: Plug a few leaks
Can be a cause of PR/55968

Also free assocated mbufs.

Opps....Remove irrelavent debug code and don't free_m before IFQ_DEQUEUE().
Identified and reported by Patrick Welche and remedy found by Martin Husemann.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Mar 2 22:21:38 2021 UTC (23 months ago) by nat
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.95: +2 -7 lines
Diff to previous 1.95 (colored)

Opps....Remove irrelavent debug code and don't free_m before IFQ_DEQUEUE().

Identified and reported by Patrick Welche and remedy found by Martin Husemann.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Feb 26 01:38:44 2021 UTC (23 months ago) by nat
Branch: MAIN
Changes since 1.94: +11 -3 lines
Diff to previous 1.94 (colored)

Also free assocated mbufs.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Feb 21 23:06:13 2021 UTC (23 months, 1 week ago) by mrg
Branch: MAIN
Changes since 1.93: +11 -9 lines
Diff to previous 1.93 (colored)

replace printf "ERROR<n>" with device_printf() and useful messages.

Revision 1.71.2.4 / (download) - annotate - [select for diffs], Thu Feb 4 19:23:10 2021 UTC (23 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.71.2.3: +5 -3 lines
Diff to previous 1.71.2.3 (colored) to branchpoint 1.71 (colored)

Pull up following revision(s) (requested by nia in ticket #1197):

	sys/dev/usb/if_urtwn.c: revision 1.89,1.90
	sys/dev/usb/usbdevs: revision 1.788,1.789

urtwn(4): add TPLINK WN821N to the list of USB device ids
reported by kfmut on the unitedbsd forums.

add another TPLINK RTL8192EU variant
to avoid confusion use TP-Link's names for these variants, matching
FreeBSD

Revision 1.93 / (download) - annotate - [select for diffs], Tue Feb 2 10:46:17 2021 UTC (23 months, 4 weeks ago) by yamt
Branch: MAIN
Changes since 1.92: +20 -7 lines
Diff to previous 1.92 (colored)

if_urtwn.c: Plug a few leaks

Can be a cause of PR/55968

Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 2 00:27:38 2021 UTC (23 months, 4 weeks ago) by yamt
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

if_urtwn: Add a missing newline to an aprint_error_dev message

Revision 1.91 / (download) - annotate - [select for diffs], Mon Feb 1 06:59:37 2021 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.90: +6 -2 lines
Diff to previous 1.90 (colored)

urtwn(4): Check for allocation failure in urtwn_tx_beacon.

Candidate fix for PR kern/55968.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Feb 1 04:46:33 2021 UTC (2 years ago) by nia
Branch: MAIN
Changes since 1.89: +5 -4 lines
Diff to previous 1.89 (colored)

add another TPLINK RTL8192EU variant

to avoid confusion use TP-Link's names for these variants, matching
FreeBSD

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jan 31 18:05:38 2021 UTC (2 years ago) by nia
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored)

urtwn(4): add TPLINK WN821N to the list of USB device ids

reported by kfmut on the unitedbsd forums.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Jun 27 14:34:45 2020 UTC (2 years, 7 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.87: +17 -17 lines
Diff to previous 1.87 (colored)

mark several init-only functions as noinline to avoid bumping into the
stack limit

Revision 1.87 / (download) - annotate - [select for diffs], Sat May 2 00:50:07 2020 UTC (2 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

don't forget to destroy the new sc_media_mtx mutex.

now re-plugging and re-using the same softc doesn't give mutex
already initialised error.

Revision 1.59.2.18 / (download) - annotate - [select for diffs], Mon Apr 27 07:38:25 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.17: +7 -2 lines
Diff to previous 1.59.2.17 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Software crypto definitions from FreeBSD.

Revision 1.59.2.17 / (download) - annotate - [select for diffs], Mon Apr 27 07:37:01 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.16: +16 -8 lines
Diff to previous 1.59.2.16 (colored) to branchpoint 1.59 (colored)

Fix resource leak in rx/tx free lists.

Revision 1.59.2.16 / (download) - annotate - [select for diffs], Sat Apr 25 14:40:11 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.15: +45 -25 lines
Diff to previous 1.59.2.15 (colored) to branchpoint 1.59 (colored)

Remove configuring 40Mhz channels for now.

Avoid duplicate state transitions in urtwn_newstate.
Avoid changing channel parameters in urtwn_newstate.

Rework of tx desc parameters for all types of packets.

Don't create a percpuq as the stack is not expecting it //XXX not sure

Tested connections to an open 11n network with 8188CUS, 8192CU and 8192EU
usb adaptors.

Revision 1.59.2.15 / (download) - annotate - [select for diffs], Sat Apr 25 09:32:16 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.14: +19 -3 lines
Diff to previous 1.59.2.14 (colored) to branchpoint 1.59 (colored)

Compete some more of 11n support.
htcaps and streams values from FreeBSD.

Revision 1.71.2.3 / (download) - annotate - [select for diffs], Fri Apr 24 17:28:21 2020 UTC (2 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-1-RELEASE
Changes since 1.71.2.2: +3 -2 lines
Diff to previous 1.71.2.2 (colored) to branchpoint 1.71 (colored)

Pull up following revision(s) (requested by maya in ticket #848):

	sys/dev/usb/usbdevs: revision 1.778
	sys/dev/usb/if_urtwn.c: revision 1.85

Add D-Link DWA-121 rev B1 to list of supported devices
From Miguel Landaeta in kern/55140

Revision 1.59.2.14 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:38 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.59.2.13: +2 -2 lines
Diff to previous 1.59.2.13 (colored) to branchpoint 1.59 (colored)

Sync with HEAD

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:08 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.85: +6 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD

Revision 1.59.2.13 / (download) - annotate - [select for diffs], Sun Apr 19 13:57:23 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.12: +18 -9 lines
Diff to previous 1.59.2.12 (colored) to branchpoint 1.59 (colored)

Initial 11n support for urtwn.

Compile tested only... More to come.

Revision 1.59.2.12 / (download) - annotate - [select for diffs], Fri Apr 17 13:44:37 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.59.2.11: +8 -4 lines
Diff to previous 1.59.2.11 (colored) to branchpoint 1.59 (colored)

Make it compilable with URTWN_DEBUG

Revision 1.59.2.11 / (download) - annotate - [select for diffs], Thu Apr 16 17:24:49 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.10: +6 -3 lines
Diff to previous 1.59.2.10 (colored) to branchpoint 1.59 (colored)

Update with 92EU changes from -current.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Apr 16 17:18:27 2020 UTC (2 years, 9 months ago) by nat
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.85: +6 -3 lines
Diff to previous 1.85 (colored)

Correct rx packet count for 8192EU.  Tested OK.

Revision 1.59.2.10 / (download) - annotate - [select for diffs], Thu Apr 16 15:33:07 2020 UTC (2 years, 9 months ago) by nat
Branch: phil-wifi
Changes since 1.59.2.9: +18 -18 lines
Diff to previous 1.59.2.9 (colored) to branchpoint 1.59 (colored)

Use if_stat functions.

Revision 1.59.2.9 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:49 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.59.2.8: +20 -19 lines
Diff to previous 1.59.2.8 (colored) to branchpoint 1.59 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.85 / (download) - annotate - [select for diffs], Sat Apr 4 08:46:01 2020 UTC (2 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored)

Add D-Link DWA-121 rev B1 to list of supported devices

From Miguel Landaeta in kern/55140

Revision 1.84 / (download) - annotate - [select for diffs], Sun Mar 15 23:04:51 2020 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +7 -3 lines
Diff to previous 1.83 (colored)

Define and implement a locking protocol for the ifmedia / mii layers:
- MP-safe drivers provide a mutex to ifmedia that is used to serialize
  access to media-related structures / hardware regsiters.  Converted
  drivers use the new ifmedia_init_with_lock() function for this.  The
  new name is provided to ease the transition.
- Un-converted drivers continue to call ifmedia_init(), which will supply
  a compatibility lock to be used instead.  Several media-related entry
  points must be aware of this compatibility lock, and are able to acquire
  it recursively a limited number of times, if needed.  This is a SPIN
  mutex with priority IPL_NET.
- This same lock is used to serialize access to PHY registers and other
  MII-related data structures.

The PHY drivers are modified to acquire and release the lock, as needed,
and assert the lock is held as a diagnostic aid.

The "usbnet" framework has had an overhaul of its internal locking
protocols to fit in with the media / mii changes, and the drivers adapted.

USB wifi drivers have been changed to provide their own adaptive mutex
to the ifmedia later via a new ieee80211_media_init_with_lock() function.
This is required because the USB drivers need an adaptive mutex.

Besised "usbnet", a few other drivers are converted: vmx, wm, ixgbe / ixv.

mcx also now calls ifmedia_init_with_lock() because it needs to also use
an adaptive mutex.  The mcx driver still needs to be fully converted to
NET_MPSAFE.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Mar 14 02:35:33 2020 UTC (2 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.82: +7 -7 lines
Diff to previous 1.82 (colored)

revert the 0x% -> %# change for fixed width formats pointed out by uwe.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Mar 13 18:17:40 2020 UTC (2 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.81: +11 -11 lines
Diff to previous 1.81 (colored)

PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:16 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.78.2.1: +14 -14 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jan 29 06:39:07 2020 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.80: +14 -14 lines
Diff to previous 1.80 (colored)

Adopt <net/if_stats.h>.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:32 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.78: +9 -5 lines
Diff to previous 1.78 (colored)

Sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jan 15 08:20:13 2020 UTC (3 years ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.79: +8 -4 lines
Diff to previous 1.79 (colored)

Use modern interfaces and kill tsleep/wakeup.  From nick-nhusb branch.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 15 08:13:20 2020 UTC (3 years ago) by skrll
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Trailing whitespace

Revision 1.53.2.6 / (download) - annotate - [select for diffs], Sat Dec 14 12:33:47 2019 UTC (3 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.53.2.5: +4 -2 lines
Diff to previous 1.53.2.5 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #1472):

	sys/dev/usb/if_urtwn.c: revision 1.76

Reset MCU ready status before resetting the MCU.
Fixes PR kern/54728

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Sat Dec 14 12:26:05 2019 UTC (3 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.71.2.1: +4 -4 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #551):

	sys/dev/usb/if_urtwn.c: revision 1.76
	sys/dev/usb/if_urtwn.c: revision 1.77

Reset MCU ready status before resetting the MCU.

Fixes PR kern/54728

Don't deregister twice with pmf.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Dec 13 14:10:32 2019 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.77: +2 -3 lines
Diff to previous 1.77 (colored)

Fix gross use-after-free. Found by a custom query on LGTM.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Dec 1 21:02:09 2019 UTC (3 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.76: +2 -4 lines
Diff to previous 1.76 (colored)

Don't deregister twice with pmf.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Dec 1 21:01:19 2019 UTC (3 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.75: +4 -2 lines
Diff to previous 1.75 (colored)

Reset MCU ready status before resetting the MCU.
Fixes PR kern/54728

Revision 1.75 / (download) - annotate - [select for diffs], Tue Nov 26 10:34:16 2019 UTC (3 years, 2 months ago) by gson
Branch: MAIN
Changes since 1.74: +15 -15 lines
Diff to previous 1.74 (colored)

Change 0x%jx -> %#jx as suggested by christos.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 26 10:24:17 2019 UTC (3 years, 2 months ago) by gson
Branch: MAIN
Changes since 1.73: +198 -201 lines
Diff to previous 1.73 (colored)

Convert debug printfs to usbhist.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 10 23:30:02 2019 UTC (3 years, 3 months ago) by bad
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.72: +4 -6 lines
Diff to previous 1.72 (colored)

use ether_snprintf instead of open coding it.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Sun Sep 1 13:00:36 2019 UTC (3 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RC1
Changes since 1.71: +7 -4 lines
Diff to previous 1.71 (colored)

Pull up following revision(s) (requested by mrg in ticket #135):

	distrib/sets/lists/comp/mi			1.2279
	distrib/sets/lists/modules/mi			1.123
	share/man/man9/Makefile				1.438
	share/man/man9/usbnet.9				1.1-1.9
	sys/dev/ic/rndisreg.h				1.3
	sys/dev/usb/TODO				1.47-1.52
	sys/dev/usb/TODO.usbmp				1.15,1.16
	sys/dev/usb/files.usb				1.157-1.167
	sys/dev/usb/if_aue.c				1.155-1.161
	sys/dev/usb/if_auereg.h				1.30-1.32
	sys/dev/usb/if_axe.c				1.103-1.119
	sys/dev/usb/if_axen.c				1.51-1.53,1.55-1.67
	sys/dev/usb/if_axenreg.h			1.15
	sys/dev/usb/if_cdce.c				1.54-1.67
	sys/dev/usb/if_cue.c				1.85,1.86
	sys/dev/usb/if_cuereg.h				1.23
	sys/dev/usb/if_kue.c				1.97-1.100
	sys/dev/usb/if_kuereg.h				1.23,1.24
	sys/dev/usb/if_mue.c				1.51-1.55
	sys/dev/usb/if_muereg.h				1.6
	sys/dev/usb/if_muevar.h				1.9
	sys/dev/usb/if_smsc.c				1.46-1.61
	sys/dev/usb/if_smscreg.h			1.6
	sys/dev/usb/if_smscvar.h			delete
	sys/dev/usb/if_udav.c				1.60-1.71
	sys/dev/usb/if_udavreg.h			1.14,1.15
	sys/dev/usb/if_upl.c				1.65,1.66
	sys/dev/usb/if_ure.c				1.15-1.31
	sys/dev/usb/if_urevar.h				1.4,1.5
	sys/dev/usb/if_url.c				1.67-1.70
	sys/dev/usb/if_urlreg.h				1.14
	sys/dev/usb/if_urndis.c				1.22-1.33
	sys/dev/usb/if_urtwn.c				1.72
	sys/dev/usb/ohci.c				1.290
	sys/dev/usb/uhub.c				1.143
	sys/dev/usb/usb.c				1.180
	sys/dev/usb/usb.h				1.118
	sys/dev/usb/usb_mem.c				1.71
	sys/dev/usb/usb_subr.c				1.238,1.239
	sys/dev/usb/usbdevs				1.772
	sys/dev/usb/usbdi.c				1.183,1.186
	sys/dev/usb/usbdi.h				1.97
	sys/dev/usb/usbdi_util.c			1.75
	sys/dev/usb/usbhist.h				1.5,1.6
	sys/dev/usb/usbnet.c				1.1-1.24
	sys/dev/usb/usbnet.h				1.1-1.14
	sys/dev/usb/usbroothub.c			1.9
	sys/dev/usb/xhci.c				1.109,1.110
	sys/modules/Makefile				1.223
	sys/modules/usbnet/Makefile			1.1

usbnet(9): Add common framework for USB network devices.
This bring various safety fixes to all updated drivers,
and includes locking clean up, detach safety when being
used or not, separate rx/tx locks to improve performance,
porting to NET_MPSAFE, many edge/error case bugs in
drivers fixed, as well as resovling PRs 54303 and 54308.
These drivers are converted: axe(4), axen(4), aue(4),
cdce(4), cue(4), kue(4), mue(4), smsc(4), udav(4),
upl(4), ure(4), url(4), and urndis(4).

Revision 1.72 / (download) - annotate - [select for diffs], Mon Aug 19 07:20:07 2019 UTC (3 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.71: +7 -4 lines
Diff to previous 1.71 (colored)

move the call to rnd_attach_source() earlier and add a matching
call to rnd_detach_source() into detach.

fixes an attach-detach-reattach issue where the rnd source was
already known.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 25 14:31:35 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

 Avoid undefined behavior. Found by KUBSan.

Revision 1.59.2.8 / (download) - annotate - [select for diffs], Wed Jun 26 16:51:29 2019 UTC (3 years, 7 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.7: +30 -34 lines
Diff to previous 1.59.2.7 (colored) to branchpoint 1.59 (colored)

Remove extra if_register() call.
Move temporary call to vap_create() to end of attach to make sure
attach works when vap_create() will not be called as part of attach.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jun 15 04:00:17 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.69: +10 -2 lines
Diff to previous 1.69 (colored)

 Add rnd(9) support.

Revision 1.59.2.7 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:34 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.59.2.6: +97 -52 lines
Diff to previous 1.59.2.6 (colored) to branchpoint 1.59 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Thu Mar 7 14:55:49 2019 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.68: +17 -2 lines
Diff to previous 1.68 (colored)

add SIOCS80211CHANNEL special handling in monitor mode (from OpenBSD)

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 1 03:20:35 2019 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.67: +31 -2 lines
Diff to previous 1.67 (colored)

Add a software beacon.
XXX: As all the other usb software beacons this is driven at fixed intervals
when usb task fires.

Revision 1.57.2.6 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:01 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.57.2.5: +6 -5 lines
Diff to previous 1.57.2.5 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 20 15:16:07 2018 UTC (4 years, 1 month ago) by tih
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

Add D-Link DWA-131 rev E "Wireless N300 Nano USB Adapter"

OK: jmcneill

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Tue Dec 18 18:32:00 2018 UTC (4 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.53.2.4: +5 -5 lines
Diff to previous 1.53.2.4 (colored) to branchpoint 1.53 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1140):
	share/man/man4/urtwn.4: revision 1.16
	sys/dev/usb/if_urtwn.c: revision 1.66

Add IO-DATA WN-G150UMW.

 -

Make IODATA WN-G150UMW work:

- Increase delay to prevent "could not send firmware command". The value
   is taken from FreeBSD.
-Increase delay to prevent "timeout waiting for firmware readiness". The
   value is taken from Linux.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Dec 15 10:30:58 2018 UTC (4 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.65: +5 -5 lines
Diff to previous 1.65 (colored)

Make IODATA WN-G150UMW work:
- Increase delay to prevent "could not send firmware command". The value
  is taken from FreeBSD.
-Increase delay to prevent "timeout waiting for firmware readiness". The
  vaule is taken from Linux.

Revision 1.57.2.5 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:47 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.4: +6 -3 lines
Diff to previous 1.57.2.4 (colored) to branchpoint 1.57 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.65 / (download) - annotate - [select for diffs], Tue Nov 13 10:35:32 2018 UTC (4 years, 2 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.64: +6 -3 lines
Diff to previous 1.64 (colored)

Fix race in attachment.

Revision 1.57.2.4 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:51 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.3: +3 -3 lines
Diff to previous 1.57.2.3 (colored) to branchpoint 1.57 (colored)

Ssync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Wed Sep 12 21:57:18 2018 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Don't have modules depend on bpf; they will find the dependency dynamically
at runtime. Otherwise builtin modules will complain about non-builtin bpf.

Revision 1.57.2.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:04 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.2: +8 -6 lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.59.2.6 / (download) - annotate - [select for diffs], Wed Aug 15 17:07:02 2018 UTC (4 years, 5 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.5: +53 -46 lines
Diff to previous 1.59.2.5 (colored) to branchpoint 1.59 (colored)

Final changes for 200 hour contract.  Still a lot of work to do.
With these changes, Station mode works with an open AP.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Wed Aug 8 10:28:35 2018 UTC (4 years, 5 months ago) by martin
Branch: netbsd-8
Changes since 1.53.2.3: +6 -5 lines
Diff to previous 1.53.2.3 (colored) to branchpoint 1.53 (colored)

Pull up following revision(s) (requested by riastradh in ticket #963):

	sys/dev/usb/if_cue.c: revision 1.80
	sys/dev/usb/umcs.c: revision 1.11
	sys/dev/usb/umcs.c: revision 1.12
	sys/dev/usb/if_ural.c: revision 1.56
	sys/dev/usb/if_run.c: revision 1.28
	sys/dev/usb/if_ural.c: revision 1.57
	sys/dev/usb/if_run.c: revision 1.29
	sys/dev/usb/uatp.c: revision 1.16
	sys/dev/usb/uatp.c: revision 1.17
	sys/dev/usb/if_axe.c: revision 1.91
	sys/dev/usb/if_axe.c: revision 1.92
	sys/dev/usb/if_zyd.c: revision 1.49
	sys/dev/usb/if_axen.c: revision 1.15
	sys/dev/usb/if_url.c: revision 1.60
	sys/dev/usb/if_udav.c: revision 1.54
	sys/dev/usb/if_axen.c: revision 1.16
	sys/dev/usb/if_udav.c: revision 1.55
	sys/dev/usb/if_athn_usb.c: revision 1.28
	sys/dev/usb/if_athn_usb.c: revision 1.29
	sys/dev/usb/if_urtw.c: revision 1.16
	sys/dev/usb/if_urtw.c: revision 1.17
	sys/dev/usb/if_cue.c: revision 1.79
	sys/dev/usb/if_rum.c: revision 1.62
	sys/dev/usb/if_urtwn.c: revision 1.61
	sys/dev/usb/if_rum.c: revision 1.63
	sys/dev/usb/if_urtwn.c: revision 1.63
	sys/dev/usb/usb.c: revision 1.170
	sys/dev/usb/usb.c: revision 1.171
	sys/dev/usb/if_smsc.c: revision 1.35
	sys/dev/usb/if_smsc.c: revision 1.36
	sys/dev/usb/if_zyd.c: revision 1.50
	sys/dev/usb/if_aue.c: revision 1.144
	sys/dev/usb/if_aue.c: revision 1.145
	sys/dev/usb/usb_subr.c: revision 1.225
	sys/dev/usb/usb_subr.c: revision 1.226
	sys/dev/usb/if_upgt.c: revision 1.21
	sys/dev/usb/usbdi.h: revision 1.93
	sys/dev/usb/if_upgt.c: revision 1.22
	sys/dev/usb/if_url.c: revision 1.59
	sys/dev/usb/usbdi.h: revision 1.95
	sys/dev/usb/if_otus.c: revision 1.34
	sys/dev/usb/if_atu.c: revision 1.62
	sys/dev/usb/if_otus.c: revision 1.35
	sys/dev/usb/if_atu.c: revision 1.63

New function usb_rem_task_wait(dev, task, queue).

If task is scheduled to run, removes it from the queue.  If it may
have already begun to run, waits for it to complete.  Caller must
guarantee it will not switch to another queue.  If caller guarantees
it will not be scheduled again, then usb_rem_task_wait guarantees it
is not running on return.

This will enable us to fix a litany of bugs in detach where we
currently fail to wait for a pending task.

Use usb_rem_task_wait in various drivers.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Wed Aug 8 10:17:11 2018 UTC (4 years, 5 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.34.2.4: +6 -5 lines
Diff to previous 1.34.2.4 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1626):

	sys/dev/usb/if_cue.c: revision 1.80
	sys/dev/usb/umcs.c: revision 1.11
	sys/dev/usb/umcs.c: revision 1.12
	sys/dev/usb/if_ural.c: revision 1.56
	sys/dev/usb/if_run.c: revision 1.28
	sys/dev/usb/if_ural.c: revision 1.57
	sys/dev/usb/if_run.c: revision 1.29
	sys/dev/usb/uatp.c: revision 1.16
	sys/dev/usb/uatp.c: revision 1.17
	sys/dev/usb/if_axe.c: revision 1.91
	sys/dev/usb/if_axe.c: revision 1.92
	sys/dev/usb/if_zyd.c: revision 1.49
	sys/dev/usb/if_axen.c: revision 1.15
	sys/dev/usb/if_url.c: revision 1.60
	sys/dev/usb/if_udav.c: revision 1.54
	sys/dev/usb/if_axen.c: revision 1.16
	sys/dev/usb/if_udav.c: revision 1.55
	sys/dev/usb/if_athn_usb.c: revision 1.28
	sys/dev/usb/if_athn_usb.c: revision 1.29
	sys/dev/usb/if_urtw.c: revision 1.16
	sys/dev/usb/if_urtw.c: revision 1.17
	sys/dev/usb/if_cue.c: revision 1.79
	sys/dev/usb/if_rum.c: revision 1.62
	sys/dev/usb/if_urtwn.c: revision 1.61
	sys/dev/usb/if_rum.c: revision 1.63
	sys/dev/usb/if_urtwn.c: revision 1.63
	sys/dev/usb/usb.c: revision 1.170
	sys/dev/usb/usb.c: revision 1.171
	sys/dev/usb/if_smsc.c: revision 1.35
	sys/dev/usb/if_smsc.c: revision 1.36
	sys/dev/usb/if_zyd.c: revision 1.50
	sys/dev/usb/if_aue.c: revision 1.144
	sys/dev/usb/if_aue.c: revision 1.145
	sys/dev/usb/usb_subr.c: revision 1.225
	sys/dev/usb/usb_subr.c: revision 1.226
	sys/dev/usb/if_upgt.c: revision 1.21
	sys/dev/usb/usbdi.h: revision 1.93
	sys/dev/usb/if_upgt.c: revision 1.22
	sys/dev/usb/if_url.c: revision 1.59
	sys/dev/usb/usbdi.h: revision 1.95
	sys/dev/usb/if_otus.c: revision 1.34
	sys/dev/usb/if_atu.c: revision 1.62
	sys/dev/usb/if_otus.c: revision 1.35
	sys/dev/usb/if_atu.c: revision 1.63

New function usb_rem_task_wait(dev, task, queue).

If task is scheduled to run, removes it from the queue.  If it may
have already begun to run, waits for it to complete.  Caller must
guarantee it will not switch to another queue.  If caller guarantees
it will not be scheduled again, then usb_rem_task_wait guarantees it
is not running on return.

This will enable us to fix a litany of bugs in detach where we
currently fail to wait for a pending task.

Use usb_rem_task_wait in various drivers.

Revision 1.59.2.5 / (download) - annotate - [select for diffs], Fri Aug 3 19:47:25 2018 UTC (4 years, 6 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.4: +137 -55 lines
Diff to previous 1.59.2.4 (colored) to branchpoint 1.59 (colored)

State Save:
   Scanning works, can see the broadcasts and stations.
   Association appears to work.  (open networks only, no encryption yet.)
   IP traffic doesn't flow yet, not sure where the error is.
   Added back more NetBSD ioctls not in the FreeBSD code.  Still have
      more to go.
   Updated my TESTWIFI kernel config.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Aug 2 06:09:04 2018 UTC (4 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-0906, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored)

Fix usb_rem_task_wait API.

- Return whether it removed task from queue or not.
  . True if it was on the queue and we intercepted it before it ran.
  . False if we could not intercept it: either it wasn't queued,
    or it already ran.  (Up to caller to distinguish these cases.)
- Pass an optional interlock like callout_halt.

While here, simplify.

ok mrg@

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 30 00:17:28 2018 UTC (4 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Skip urtwn_chip_stop for 88E family chips as we do for 92EU.

Doing "ifconfig urtwn0 down" with an RTL8188EU on Pinebook causes the
device to disappear from the built-in GL850G USB 2.0 hub. Since this
happens at reboot, an unplug/replug cycle is the only way to make the
device re-appear. Bypassing urtwn_chip_stop works around this issue.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 29 02:07:22 2018 UTC (4 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

Use usb_rem_task_wait in urtwn(4) detach.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:58 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57.2.1: +38 -46 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored)

Sync with HEAD

Revision 1.59.2.4 / (download) - annotate - [select for diffs], Sat Jul 28 00:49:43 2018 UTC (4 years, 6 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.3: +472 -40 lines
Diff to previous 1.59.2.3 (colored) to branchpoint 1.59 (colored)

End of the week state save:
   Got workqueues doing FreeBSD tasks.  (still questions on how correct it is.)
   Incremental changes in many places.
   Still *lots* of debugging code that needs to go away some day.
   "ifconfig urtwn0 up" now does not crash, still needs scan to work properly.

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Fri Jul 20 20:33:05 2018 UTC (4 years, 6 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.2: +108 -26 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored)

State save:
  urtwn: ifp->if_softc points to a vap, not the urtwn softc, fix code for this.
         add missing routines, need to get them filled out correctly.
  80211: Add back some NetBSD ioctls, start working on the sysctl tree.

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Mon Jul 16 20:11:11 2018 UTC (4 years, 6 months ago) by phil
Branch: phil-wifi
Changes since 1.59.2.1: +124 -45 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored)

State save.
urtwn now can attach and shows up in the "ifconfig -a" list.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Thu Jul 12 16:35:33 2018 UTC (4 years, 6 months ago) by phil
Branch: phil-wifi
Changes since 1.59: +102 -57 lines
Diff to previous 1.59 (colored)

State save.  New kernel config for this brach only.  TESTWIFI does
produce a kernel.  It is not working.  athn files not compiling yet
and commented out of the TESTWIFI kernel, which only has urtwn 802.11
driver enabled.  ieee80211_alq.c and ieee80211_ddb.c not compiling yet.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 29 04:02:10 2018 UTC (4 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.59: +34 -42 lines
Diff to previous 1.59 (colored)

- Unify the "rtwn" and "urtwn" register definitions and initialization
  tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
  the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:02 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base
Branch point for: phil-wifi
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored)

 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:02 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.57: +14 -7 lines
Diff to previous 1.57 (colored)

Sync with HEAD

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Thu Jun 7 18:16:43 2018 UTC (4 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.53.2.2: +14 -7 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored)

Pull up following revision(s) (requested by nat in ticket #847):

	sys/dev/usb/if_urtwn.c: revision 1.58

Fix support for 8192eu, notably TPLINK TL-WN823NV2, by using the right
registers when setting receiver gain.

Ok christos@.

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Wed Jun 6 15:41:47 2018 UTC (4 years, 7 months ago) by martin
Branch: netbsd-7
Changes since 1.34.2.3: +3 -2 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored)

Pull up following revision(s) (requested by maya in ticket #1613):

	sys/dev/usb/if_urtwn.c: revision 1.53
	sys/dev/usb/usbdevs: revision 1.733

PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 1 19:19:54 2018 UTC (4 years, 8 months ago) by nat
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.57: +14 -7 lines
Diff to previous 1.57 (colored)

Fix support for 8192eu, notably TPLINK TL-WN823NV2, by using the right
registers when setting receiver gain.

Ok christos@.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Mon Feb 19 19:33:06 2018 UTC (4 years, 11 months ago) by snj
Branch: netbsd-7
Changes since 1.34.2.2: +3 -3 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored)

Pull up following revision(s) (requested by skrll in ticket #1556):
	sys/dev/usb/if_athn_usb.c: 1.25
	sys/dev/usb/if_atu.c: 1.56
	sys/dev/usb/if_aue.c: 1.142
	sys/dev/usb/if_axe.c: 1.84
	sys/dev/usb/if_axen.c: 1.12
	sys/dev/usb/if_cdce.c: 1.45
	sys/dev/usb/if_cue.c: 1.77
	sys/dev/usb/if_kue.c: 1.91
	sys/dev/usb/if_otus.c: 1.32
	sys/dev/usb/if_rum.c: 1.59
	sys/dev/usb/if_run.c: 1.25
	sys/dev/usb/if_smsc.c: 1.33
	sys/dev/usb/if_udav.c: 1.52
	sys/dev/usb/if_upgt.c: 1.18
	sys/dev/usb/if_upl.c: 1.61
	sys/dev/usb/if_ural.c: 1.53
	sys/dev/usb/if_url.c: 1.57
	sys/dev/usb/if_urndis.c: 1.17
	sys/dev/usb/if_urtw.c: 1.14
	sys/dev/usb/if_urtwn.c: 1.56
	sys/dev/usb/if_zyd.c: 1.45
	sys/dev/usb/irmce.c: 1.4
	sys/dev/usb/pseye.c: 1.24
	sys/dev/usb/ubt.c: 1.60
	sys/dev/usb/ucom.c: 1.120
	sys/dev/usb/udsir.c: 1.6
	sys/dev/usb/ugen.c: 1.137
	sys/dev/usb/uhso.c: 1.27
	sys/dev/usb/uirda.c: 1.43
	sys/dev/usb/ulpt.c: 1.99
	sys/dev/usb/umass.c: 1.163
	sys/dev/usb/umidi.c: 1.74
	sys/dev/usb/uscanner.c: 1.82
	sys/dev/usb/usscanner.c: 1.43
	sys/dev/usb/ustir.c: 1.39
	sys/dev/usb/utoppy.c: 1.30
	sys/dev/usb/uvideo.c: 1.46
PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup.  We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs

Revision 1.57 / (download) - annotate - [select for diffs], Thu Feb 8 09:05:20 2018 UTC (4 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Typos.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Wed Jan 31 18:01:54 2018 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.53.2.1: +3 -3 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

Pull up following revision(s) (requested by skrll in ticket #509):
	sys/dev/usb/if_ural.c: revision 1.53
	sys/dev/usb/if_run.c: revision 1.25
	sys/dev/usb/ustir.c: revision 1.39
	sys/dev/usb/irmce.c: revision 1.4
	sys/dev/usb/if_urtwn.c: revision 1.56
	sys/dev/usb/pseye.c: revision 1.24
	sys/dev/usb/if_rum.c: revision 1.59
	sys/dev/usb/if_upl.c: revision 1.61
	sys/dev/usb/ucom.c: revision 1.120
	sys/dev/usb/if_zyd.c: revision 1.45
	sys/dev/usb/if_axen.c: revision 1.12
	sys/dev/usb/umidi.c: revision 1.74
	sys/dev/usb/if_udav.c: revision 1.52
	sys/dev/usb/if_athn_usb.c: revision 1.25
	sys/dev/usb/usscanner.c: revision 1.43
	sys/dev/usb/ualea.c: revision 1.6 - 1.9
	sys/dev/usb/if_upgt.c: revision 1.18
	sys/dev/usb/if_atu.c: revision 1.56
	sys/dev/usb/utoppy.c: revision 1.30
	sys/dev/usb/ubt.c: revision 1.60
	sys/dev/usb/if_urtw.c: revision 1.14
	sys/dev/usb/uirda.c: revision 1.43
	sys/dev/usb/umass.c: revision 1.163
	sys/dev/usb/if_cdce.c: revision 1.45
	sys/dev/usb/if_cue.c: revision 1.77
	sys/dev/usb/if_kue.c: revision 1.91
	sys/dev/usb/uvideo.c: revision 1.46
	sys/dev/usb/uhso.c: revision 1.27
	sys/dev/usb/if_smsc.c: revision 1.33
	sys/dev/usb/ugen.c: revision 1.137
	sys/dev/usb/if_axe.c: revision 1.84
	sys/dev/usb/if_aue.c: revision 1.142
	sys/dev/usb/uscanner.c: revision 1.82
	sys/dev/usb/if_urndis.c: revision 1.17
	sys/dev/usb/udsir.c: revision 1.6
	sys/dev/usb/if_url.c: revision 1.57
	sys/dev/usb/if_otus.c: revision 1.32
	sys/dev/usb/ulpt.c: revision 1.99

PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup.  We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs

ualea: Tidy up a bit.  Fulfil requests completely.
Don't subtract uninitialized pktsize in error path.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 21 13:57:12 2018 UTC (5 years ago) by skrll
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

PR kern/52931 Kernel panics with Atheros usb wireless interface

Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup.  We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Wed Jan 3 20:00:23 2018 UTC (5 years ago) by snj
Branch: netbsd-7
Changes since 1.34.2.1: +20 -14 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

Pull up following revision(s) (requested by skrll in ticket #1528):
	sys/dev/usb/if_urtwn.c: revision 1.55
PR/52702 Malicious USB devices attaching as urtwn(4) can corrupt kernel memory
Patch from PR slighly updated by me

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:34 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.5.4.3: +808 -302 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

update from HEAD

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Thu Nov 23 13:16:21 2017 UTC (5 years, 2 months ago) by martin
Branch: netbsd-8
Changes since 1.53: +20 -14 lines
Diff to previous 1.53 (colored)

Pull up following revision(s) (requested by skrll in ticket #383):
	sys/dev/usb/if_urtwn.c: revision 1.55
PR/52702 Malicious USB devices attaching as urtwn(4) can corrupt kernel memory
Patch from PR slighly updated by me

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 17 13:27:09 2017 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.54: +20 -14 lines
Diff to previous 1.54 (colored)

PR/52702 Malicious USB devices attaching as urtwn(4) can corrupt kernel memory

Patch from PR slighly updated by me

Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 31 00:57:14 2017 UTC (5 years, 3 months ago) by khorben
Branch: MAIN
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

Also attach the RTL8192EU from TP-LINK

Revision 1.34.4.17 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:27 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.16: +3 -2 lines
Diff to previous 1.34.4.16 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.52.6.1 / (download) - annotate - [select for diffs], Thu May 11 02:58:40 2017 UTC (5 years, 8 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed May 3 15:34:05 2017 UTC (5 years, 9 months ago) by jnemeth
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:19 2017 UTC (5 years, 9 months ago) by snj
Branch: netbsd-7
Changes since 1.34: +797 -299 lines
Diff to previous 1.34 (colored)

Pull up following revision(s) (requested by skrll in ticket #1395):
	share/man/man4/axe.4: netbsd-7-nhusb
	share/man/man4/axen.4: netbsd-7-nhusb
	share/man/man4/cdce.4: netbsd-7-nhusb
	share/man/man4/uaudio.4: netbsd-7-nhusb
	share/man/man4/ucom.4: netbsd-7-nhusb
	share/man/man4/uep.4: netbsd-7-nhusb
	share/man/man4/urtw.4: netbsd-7-nhusb
	share/man/man4/usb.4: netbsd-7-nhusb
	share/man/man4/uyap.4: netbsd-7-nhusb
	share/man/man4/xhci.4: netbsd-7-nhusb
	share/man/man9/usbdi.9: netbsd-7-nhusb
	sys/arch/amd64/conf/ALL: netbsd-7-nhusb
	sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
	sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
	sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
	sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
	sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
	sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
	sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
	sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
	sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
	sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
	sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
	sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
	sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
	sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
	sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
	sys/arch/i386/conf/ALL: netbsd-7-nhusb
	sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
	sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
	sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
	sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
	sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
	sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
	sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
	sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
	sys/conf/files: netbsd-7-nhusb
	sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
	sys/dev/ic/sl811hs.c: netbsd-7-nhusb
	sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
	sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
	sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
	sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
	sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
	sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
	sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
	sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
	sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
	sys/dev/usb/TODO: netbsd-7-nhusb
	sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
	sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
	sys/dev/usb/auvitek.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
	sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
	sys/dev/usb/ehci.c: netbsd-7-nhusb
	sys/dev/usb/ehcireg.h: netbsd-7-nhusb
	sys/dev/usb/ehcivar.h: netbsd-7-nhusb
	sys/dev/usb/emdtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
	sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
	sys/dev/usb/ezload.c: netbsd-7-nhusb
	sys/dev/usb/ezload.h: netbsd-7-nhusb
	sys/dev/usb/files.usb: netbsd-7-nhusb
	sys/dev/usb/hid.c: netbsd-7-nhusb
	sys/dev/usb/hid.h: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
	sys/dev/usb/if_atu.c: netbsd-7-nhusb
	sys/dev/usb/if_atureg.h: netbsd-7-nhusb
	sys/dev/usb/if_aue.c: netbsd-7-nhusb
	sys/dev/usb/if_auereg.h: netbsd-7-nhusb
	sys/dev/usb/if_axe.c: netbsd-7-nhusb
	sys/dev/usb/if_axen.c: netbsd-7-nhusb
	sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
	sys/dev/usb/if_axereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cdce.c: netbsd-7-nhusb
	sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cue.c: netbsd-7-nhusb
	sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_kue.c: netbsd-7-nhusb
	sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_otus.c: netbsd-7-nhusb
	sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
	sys/dev/usb/if_rum.c: netbsd-7-nhusb
	sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
	sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
	sys/dev/usb/if_run.c: netbsd-7-nhusb
	sys/dev/usb/if_runvar.h: netbsd-7-nhusb
	sys/dev/usb/if_smsc.c: netbsd-7-nhusb
	sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
	sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
	sys/dev/usb/if_udav.c: netbsd-7-nhusb
	sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
	sys/dev/usb/if_upgt.c: netbsd-7-nhusb
	sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
	sys/dev/usb/if_upl.c: netbsd-7-nhusb
	sys/dev/usb/if_ural.c: netbsd-7-nhusb
	sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
	sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
	sys/dev/usb/if_url.c: netbsd-7-nhusb
	sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urndis.c: netbsd-7-nhusb
	sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtw.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
	sys/dev/usb/if_zyd.c: netbsd-7-nhusb
	sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
	sys/dev/usb/irmce.c: netbsd-7-nhusb
	sys/dev/usb/moscom.c: netbsd-7-nhusb
	sys/dev/usb/motg.c: netbsd-7-nhusb
	sys/dev/usb/motgvar.h: netbsd-7-nhusb
	sys/dev/usb/ohci.c: netbsd-7-nhusb
	sys/dev/usb/ohcireg.h: netbsd-7-nhusb
	sys/dev/usb/ohcivar.h: netbsd-7-nhusb
	sys/dev/usb/pseye.c: netbsd-7-nhusb
	sys/dev/usb/slurm.c: netbsd-7-nhusb
	sys/dev/usb/stuirda.c: netbsd-7-nhusb
	sys/dev/usb/u3g.c: netbsd-7-nhusb
	sys/dev/usb/uark.c: netbsd-7-nhusb
	sys/dev/usb/uatp.c: netbsd-7-nhusb
	sys/dev/usb/uaudio.c: netbsd-7-nhusb
	sys/dev/usb/uberry.c: netbsd-7-nhusb
	sys/dev/usb/ubsa.c: netbsd-7-nhusb
	sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
	sys/dev/usb/ubsavar.h: netbsd-7-nhusb
	sys/dev/usb/ubt.c: netbsd-7-nhusb
	sys/dev/usb/uchcom.c: netbsd-7-nhusb
	sys/dev/usb/ucom.c: netbsd-7-nhusb
	sys/dev/usb/ucomvar.h: netbsd-7-nhusb
	sys/dev/usb/ucycom.c: netbsd-7-nhusb
	sys/dev/usb/udl.c: netbsd-7-nhusb
	sys/dev/usb/udl.h: netbsd-7-nhusb
	sys/dev/usb/udsbr.c: netbsd-7-nhusb
	sys/dev/usb/udsir.c: netbsd-7-nhusb
	sys/dev/usb/uep.c: netbsd-7-nhusb
	sys/dev/usb/uftdi.c: netbsd-7-nhusb
	sys/dev/usb/uftdireg.h: netbsd-7-nhusb
	sys/dev/usb/ugen.c: netbsd-7-nhusb
	sys/dev/usb/ugensa.c: netbsd-7-nhusb
	sys/dev/usb/uhci.c: netbsd-7-nhusb
	sys/dev/usb/uhcireg.h: netbsd-7-nhusb
	sys/dev/usb/uhcivar.h: netbsd-7-nhusb
	sys/dev/usb/uhid.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.h: netbsd-7-nhusb
	sys/dev/usb/uhmodem.c: netbsd-7-nhusb
	sys/dev/usb/uhso.c: netbsd-7-nhusb
	sys/dev/usb/uhub.c: netbsd-7-nhusb
	sys/dev/usb/uipad.c: netbsd-7-nhusb
	sys/dev/usb/uipaq.c: netbsd-7-nhusb
	sys/dev/usb/uirda.c: netbsd-7-nhusb
	sys/dev/usb/uirdavar.h: netbsd-7-nhusb
	sys/dev/usb/ukbd.c: netbsd-7-nhusb
	sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.h: netbsd-7-nhusb
	sys/dev/usb/ulpt.c: netbsd-7-nhusb
	sys/dev/usb/umass.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
	sys/dev/usb/umassvar.h: netbsd-7-nhusb
	sys/dev/usb/umcs.c: netbsd-7-nhusb
	sys/dev/usb/umct.c: netbsd-7-nhusb
	sys/dev/usb/umidi.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umodem.c: netbsd-7-nhusb
	sys/dev/usb/umodem_common.c: netbsd-7-nhusb
	sys/dev/usb/umodemvar.h: netbsd-7-nhusb
	sys/dev/usb/ums.c: netbsd-7-nhusb
	sys/dev/usb/uplcom.c: netbsd-7-nhusb
	sys/dev/usb/urio.c: netbsd-7-nhusb
	sys/dev/usb/urio.h: netbsd-7-nhusb
	sys/dev/usb/usb.c: netbsd-7-nhusb
	sys/dev/usb/usb.h: netbsd-7-nhusb
	sys/dev/usb/usb_mem.c: netbsd-7-nhusb
	sys/dev/usb/usb_mem.h: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
	sys/dev/usb/usb_subr.c: netbsd-7-nhusb
	sys/dev/usb/usbdevices.config: netbsd-7-nhusb
	sys/dev/usb/usbdevs: netbsd-7-nhusb
	sys/dev/usb/usbdevs.h: netbsd-7-nhusb
	sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
	sys/dev/usb/usbdi.c: netbsd-7-nhusb
	sys/dev/usb/usbdi.h: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
	sys/dev/usb/usbdivar.h: netbsd-7-nhusb
	sys/dev/usb/usbhid.h: netbsd-7-nhusb
	sys/dev/usb/usbhist.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub.c: netbsd-7-nhusb
	sys/dev/usb/usbroothub.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub_subr.c: delete
	sys/dev/usb/usbroothub_subr.h: delete
	sys/dev/usb/uscanner.c: netbsd-7-nhusb
	sys/dev/usb/uslsa.c: netbsd-7-nhusb
	sys/dev/usb/usscanner.c: netbsd-7-nhusb
	sys/dev/usb/ustir.c: netbsd-7-nhusb
	sys/dev/usb/uthum.c: netbsd-7-nhusb
	sys/dev/usb/utoppy.c: netbsd-7-nhusb
	sys/dev/usb/uts.c: netbsd-7-nhusb
	sys/dev/usb/uvideo.c: netbsd-7-nhusb
	sys/dev/usb/uvisor.c: netbsd-7-nhusb
	sys/dev/usb/uvscom.c: netbsd-7-nhusb
	sys/dev/usb/uyap.c: netbsd-7-nhusb
	sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
	sys/dev/usb/uyurex.c: netbsd-7-nhusb
	sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
	sys/dev/usb/xhci.c: netbsd-7-nhusb
	sys/dev/usb/xhcireg.h: netbsd-7-nhusb
	sys/dev/usb/xhcivar.h: netbsd-7-nhusb
	sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
	sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
	sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/include/linux/err.h: delete
	sys/external/bsd/drm2/include/linux/workqueue.h: delete
	sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
	sys/external/bsd/drm2/linux/linux_work.c: delete
	sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
	sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
	sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
	sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
	sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
	sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
	sys/sys/mbuf.h: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-nhusb:
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
     - kern/48308
     - uhub status notification improvements
     - umass(4) probe fix (applied to HEAD already)
     - ohci(4) short transfer fix
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
  This gives the callback a chance of running when another softint handler
  at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
  the network stack.
     - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
       softnet_lock held across usb xfr
     - kern/50491 - unkillable wait in usbd_transfer while using usmsc0
       on raspberry pi 2
     - kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)

Revision 1.34.4.16 / (download) - annotate - [select for diffs], Sat Jan 28 12:04:17 2017 UTC (6 years ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.15: +8 -4 lines
Diff to previous 1.34.4.15 (colored) to branchpoint 1.34 (colored)

Remove tsleep(9) and wakeup(9) from urtwn(4)

Revision 1.34.8.2 / (download) - annotate - [select for diffs], Thu Jan 26 21:54:24 2017 UTC (6 years ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.34.8.1: +604 -134 lines
Diff to previous 1.34.8.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD/nhusb

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:41 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.45.2.1: +14 -12 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.34.4.15 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:18 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.14: +604 -134 lines
Diff to previous 1.34.4.14 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sun Dec 4 10:12:35 2016 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.51: +12 -12 lines
Diff to previous 1.51 (colored)

Whitespace

Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 25 12:56:29 2016 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

+#include "opt_usb.h"

Revision 1.50 / (download) - annotate - [select for diffs], Fri Nov 4 20:44:57 2016 UTC (6 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

match RTL8188EU device from vendor ABOCOM.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:15 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.45: +602 -134 lines
Diff to previous 1.45 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 12 03:23:29 2016 UTC (6 years, 3 months ago) by nat
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.48: +444 -131 lines
Diff to previous 1.48 (colored)

Add support for Realtek 8192EU.

OK christos@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 12 02:56:45 2016 UTC (6 years, 3 months ago) by nat
Branch: MAIN
Changes since 1.47: +146 -1 lines
Diff to previous 1.47 (colored)

IQ Calibration for urtwn devices.

Addresses PR/47781.

OK christos@

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 12 02:50:44 2016 UTC (6 years, 3 months ago) by nat
Branch: MAIN
Changes since 1.46: +11 -2 lines
Diff to previous 1.46 (colored)

Stop urtwn devices from usb suspend, allow remote wifi activity wakeup.

Addresses PR/51111.

OK christos@

Revision 1.46 / (download) - annotate - [select for diffs], Tue Oct 4 21:36:38 2016 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

PR/51529: Jake Slazenger: D-Link DWA 125 rev. D1 USB wireless network adapter
support

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:08 2016 UTC (6 years, 4 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.34: +203 -175 lines
Diff to previous 1.34 (colored)

First pass at netbsd-7 updated with USB code from HEAD

Revision 1.34.4.14 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:15 2016 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.13: +3 -3 lines
Diff to previous 1.34.4.13 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:15 2016 UTC (6 years, 7 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.34.4.13 / (download) - annotate - [select for diffs], Sun May 29 08:44:31 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.12: +4 -4 lines
Diff to previous 1.34.4.12 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 26 05:04:46 2016 UTC (6 years, 8 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.

Revision 1.43 / (download) - annotate - [select for diffs], Thu May 26 05:01:12 2016 UTC (6 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Use M_GETCTX

No functional change.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:32 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.41: +177 -166 lines
Diff to previous 1.41 (colored)

Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
    - kern/48308
    - uhub status notification improvements
    - umass(4) probe fix (applied to HEAD already)
    - ohci(4) short transfer fix

Revision 1.34.4.12 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:19 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.11: +3 -3 lines
Diff to previous 1.34.4.11 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 18 02:45:05 2016 UTC (7 years ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Use correct register definition.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 17 22:32:09 2016 UTC (7 years ago) by christos
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

PR/50672: Andriy Voskoboinyk: fix write to the wrong register.

Revision 1.34.4.11 / (download) - annotate - [select for diffs], Mon Dec 28 09:26:33 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.10: +3 -5 lines
Diff to previous 1.34.4.10 (colored) to branchpoint 1.34 (colored)

Strictly follow the sequence abort pipe, destroy xfers, and close pipe as
API now requires.  Plug some memory leaks in some drivers while doing
this.

Also, remove up_refcnt as it was broken and helped leak more memory.

Revision 1.34.4.10 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:59 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.9: +4 -3 lines
Diff to previous 1.34.4.9 (colored) to branchpoint 1.34 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.39 / (download) - annotate - [select for diffs], Thu Dec 10 14:28:04 2015 UTC (7 years, 1 month ago) by leot
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

Add support for Realtek RTL8188CU_3.

Revision 1.34.4.9 / (download) - annotate - [select for diffs], Tue Oct 6 21:32:15 2015 UTC (7 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.8: +97 -83 lines
Diff to previous 1.34.4.8 (colored) to branchpoint 1.34 (colored)

Move from usbd_{alloc,free}_xfer and usbd_{alloc,free}_buffer to
usbd_{create,destroy}_xfer.  The API change will allow future changes
to HCDs to simplify the transfer resource allocation and activation.

Several devices tested including ucom, umass, smsc, uvideo, and uaudio.

Revision 1.34.4.8 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:13 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.7: +21 -5 lines
Diff to previous 1.34.4.7 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.34.4.7 / (download) - annotate - [select for diffs], Sat Mar 21 11:33:37 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.6: +5 -5 lines
Diff to previous 1.34.4.6 (colored) to branchpoint 1.34 (colored)

Add prefixes to attach_arg structure member names. No functional change.

Revision 1.34.4.6 / (download) - annotate - [select for diffs], Thu Mar 19 17:26:43 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.5: +11 -11 lines
Diff to previous 1.34.4.5 (colored) to branchpoint 1.34 (colored)

Do the same as OpenBSD and get rid of the *_handle typedefs and use
plain structures insteads

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 8 14:56:06 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

kill trailing spaces

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 8 02:19:04 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.36: +19 -3 lines
Diff to previous 1.36 (colored)

sync with OpenBSD

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 11 14:19:09 2015 UTC (8 years ago) by jmcneill
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Pass the correct length to firmware_free. The code previously did
len = firmware_get_size(..) and then used len as a counter while loading
firmware. The result was that in the success path, len = 0. This commit
introduces a new "fwlen" (const) to store the firmware size, and passes it
to firmware_free instead of "len".

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 7 07:05:48 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Pass a correct firmware size (instead of 0) to firmware_free

firmware_free now uses kmem_free(9) instead of free(9),
so we need to pass a correct size to it.

Revision 1.34.4.5 / (download) - annotate - [select for diffs], Tue Dec 23 11:24:32 2014 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.4: +3 -3 lines
Diff to previous 1.34.4.4 (colored) to branchpoint 1.34 (colored)

KNF. No brackets around return value.

Revision 1.34.4.4 / (download) - annotate - [select for diffs], Fri Dec 5 09:37:49 2014 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.3: +70 -70 lines
Diff to previous 1.34.4.3 (colored) to branchpoint 1.34 (colored)

KNF. Remove ( ) from return statements.

Revision 1.34.4.3 / (download) - annotate - [select for diffs], Wed Dec 3 22:33:56 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.2: +2 -3 lines
Diff to previous 1.34.4.2 (colored) to branchpoint 1.34 (colored)

Remove #include <sys/malloc.h> where it's not (no longer) needed

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Wed Dec 3 11:24:44 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.4.1: +4 -4 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored)

Trailing whitespace.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:33 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored)

Step #1 of memory allocation re-organisation.

Centralised the buffer allocation routine which now supports DMA
and non-DMA capable host controllers.  Remove the
ubm_{alloc,free}m methods from usbd_bus_methods.

The buffer allocation is only allowed in thread context and,
therefore, negates the usefulness of the reserve dma code which
is removed in this change.

USBD_NO_COPY is also no longer required as usbd_transfer and
usbd_transfer_complete now track buffer usage and handle any
copying.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.5.4.2: +760 -180 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:59 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.29: +707 -168 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Rebase.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 25 15:07:03 2014 UTC (8 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

Added ELECOM WDC-150SU2M support.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 20 14:02:53 2014 UTC (8 years, 6 months ago) by nonaka
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Add ASUSTeK USB-N10 NANO support.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 20 13:25:23 2014 UTC (8 years, 6 months ago) by nonaka
Branch: MAIN
Changes since 1.31: +700 -168 lines
Diff to previous 1.31 (colored)

Added support for the Realtek RTL8188EUS and RTL8188ETV chipsets from FreeBSD.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 2 20:17:30 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

remember to call deregister.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Thu May 22 11:40:36 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.4.4: +161 -83 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.24.4.1: +60 -17 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 8 05:59:09 2014 UTC (8 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored)

add (empty, pretty much like all other usb) pmf support.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 16 16:13:37 2014 UTC (8 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

move default last, add symbolic mask.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 16 16:10:27 2014 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.27: +32 -32 lines
Diff to previous 1.27 (colored)

whitespace police

Revision 1.27 / (download) - annotate - [select for diffs], Sun Feb 16 08:17:43 2014 UTC (8 years, 11 months ago) by nonaka
Branch: MAIN
Changes since 1.26: +6 -3 lines
Diff to previous 1.26 (colored)

Use INFRA not ADHOC when opmode is M_STA.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 14 04:17:41 2014 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.25: +44 -7 lines
Diff to previous 1.25 (colored)

ibss and hostap support from stsp @ openbsd.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:27 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 10 21:15:26 2013 UTC (9 years, 5 months ago) by jnemeth
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

PR/48112 - Kai-Uwe Eckhardt -- add support for Sitecom N300 usb wifi adapter

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:22 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.5.4.1: +71 -60 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

resync from head

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 7 02:53:19 2013 UTC (9 years, 9 months ago) by nonaka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Use rx_data, not tx_data at urtwn_free_rx_list().

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 30 03:17:33 2013 UTC (9 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

replace macro with inline function

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 12 14:19:34 2013 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.21: +70 -59 lines
Diff to previous 1.21 (colored)

more locking and int -> size_t from Anon Ymous

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:36 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.5: +230 -95 lines
Diff to previous 1.5 (colored)

resync with head

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 5 18:17:05 2013 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

don't count an output packet on a stall.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 5 18:15:04 2013 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

cache the pipe before the container is put in the free list (and can change)

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 28 23:46:33 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.18: +30 -8 lines
Diff to previous 1.18 (colored)

ke monitor mode work:
1) Call urtwn_rxfilter_init() after urtwn_mac_init() as the later sets
   R92C_RCR[0:15] and the former sets R92C_RCR[0-31].
2) The FCS is not included in the packets returned by the hardware as
   R92C_RCR[31] is not set.  Set the bpf wr_flags appropriately.
3) Stop if we get a packet of zero length from the hardware.  (This
   was mistakenly removed earlier.)
4) When switching to IEEE80211_S_RUN in IEEE80211_M_MONITOR mode, set
   the rxfilter to pass all frames and the nettype to NOLINK.
5) A few comments.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:12 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1.4.3: +202 -90 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 22 12:40:43 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.17: +3 -9 lines
Diff to previous 1.17 (colored)

- Add a USBD_MPSAFE flag to usbd_open_pipe. If not set, acquire KERNEL_LOCK
  before invoking xfer callbacks on this pipe.
- Add an extra flags parameter to usb_init_task. If USBD_TASKQ_MPSAFE is not
  present, acquire KERNEL_LOCK before invoking the task callback.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 22 12:04:58 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.16: +12 -13 lines
Diff to previous 1.16 (colored)

simplify the locking in urtwn_start

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 21 23:42:45 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.15: +46 -40 lines
Diff to previous 1.15 (colored)

some more urtwn fixes:
 - support manual roaming (used by wpa_supplicant)
 - simplify ioctl handler
 - add our own reset callback
 - acquire KERNEL_LOCK before using net80211 or the network stack
 - clear IFF_OACTIVE even in the event of an endpoint stall

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 21 16:52:56 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

remove trailing lines

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 21 00:02:11 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.13: +5 -6 lines
Diff to previous 1.13 (colored)

ic->ic_bss->ni_chan -> ic->ic_curchan

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 20 23:13:43 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (colored)

use ic_curchan not ic_ibss_chan

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 20 20:21:57 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.11: +169 -57 lines
Diff to previous 1.11 (colored)

more (and less) locking fixes

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 18 13:45:51 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.10: +8 -3 lines
Diff to previous 1.10 (colored)

if doing #ifdef INET, you need opt_inet.h!

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 18 01:41:07 2013 UTC (10 years ago) by jmcneill
Branch: MAIN
Changes since 1.9: +22 -22 lines
Diff to previous 1.9 (colored)

make this work with lockdebug. while here, set urtwn_debug=0 now that
USB_DEBUG implies URTWN_DEBUG

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 5 23:34:18 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.8: +2 -10 lines
Diff to previous 1.8 (colored)

fix debug variables.
- include opt_usb.h in usb.h so that USB_DEBUG gets set properly in it.
- normalize and sort debugging variables

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 5 01:32:50 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

add include "opt_usb.h" where needed.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 5 01:30:16 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

- need opt_usb.h if depending on USB_DEBUG
- remove trailing whitespace
- add missing KERNEL_RCSID

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 27 16:42:32 2012 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

Consistent/Correct error message from failing usbd_set_config.

Use aprint_error_dev.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:06 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.4.2: +28 -6 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Aug 13 23:18:24 2012 UTC (10 years, 5 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.5.2.2: +5 -5 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Pull up following revision(s) (requested by abs in ticket #497):
	external/realtek/urtwn/Makefile: revision 1.1
	external/realtek/Makefile.inc: revision 1.1
	external/realtek/urtwn/dist/rtl8192cfw.bin: revision 1.1
	distrib/sets/lists/base/mi: revision 1.997
	external/README: revision 1.15
	etc/mtree/NetBSD.dist.base: revision 1.101
	external/realtek/urtwn/dist/Realtek-Firmware-License.txt: revision 1.1
	share/man/man4/urtwn.4: revision 1.4
	external/realtek/Makefile: revision 1.1
	external/realtek/urtwn/dist/rtl8192cfwU.bin: revision 1.1
	sys/dev/usb/if_urtwn.c: revision 1.5
	external/Makefile: revision 1.18
Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.
While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.
urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Thu Jun 14 09:48:47 2012 UTC (10 years, 7 months ago) by sborrill
Branch: netbsd-6
Changes since 1.5.2.1: +3890 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Pull up the following revisions(s) (requested by riz in ticket #326):
	distrib/sets/lists/base/mi:		1.989
	distrib/sets/lists/man/mi:		1.1385
	etc/mtree/NetBSD.dist.base:		1.99
	share/man/man4/Makefile:		1.583
	share/man/man4/urtwn.4:			1.1
	share/man/man4/usb.4:			1.97
	sys/arch/amd64/conf/GENERIC:		1.351
	sys/arch/i386/conf/GENERIC:		1.1068
	sys/dev/usb/files.usb:			1.121
	sys/dev/usb/if_urtwn.c:			1.1-1.4
	sys/dev/usb/if_urtwn_data.h:		1.1
	sys/dev/usb/if_urtwnreg.h:		1.1
	sys/dev/usb/if_urtwnvar.h:		1.1
	sys/dev/usb/usbdevices.config:		1.13
	sys/dev/usb/usbdevs:			1.621 via patch
	sys/dev/usb/usbdevs.h:			regen
	sys/dev/usb/usbdevs_data.h:		regen
	sys/modules/if_urtwn/Makefile:		1.1
	sys/modules/if_urtwn/if_urtwn.ioconf:	1.1

Add support for urtwn(4) wireless. Ported from OpenBSD

Revision 1.5.2.1, Thu Jun 14 04:14:36 2012 UTC (10 years, 7 months ago) by sborrill
Branch: netbsd-6
Changes since 1.5: +0 -3890 lines
FILE REMOVED

file if_urtwn.c was added on branch netbsd-6 on 2012-06-14 09:48:47 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 14 04:14:36 2012 UTC (10 years, 7 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys, netbsd-6
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:29 2012 UTC (10 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1.2.2: +23 -1 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync to latest -current.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 1 12:38:25 2012 UTC (10 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Add a dependency on bpf module.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 30 14:54:16 2012 UTC (10 years, 8 months ago) by nonaka
Branch: MAIN
Changes since 1.2: +23 -2 lines
Diff to previous 1.2 (colored)

Add some device IDs from OpenBSD.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 30 11:41:08 2012 UTC (10 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Release the mutex on error in urtwn_alloc_tx_list.

From jmcneill.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:06 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.4.1: +3868 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:33 2012 UTC (10 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1.2.1: +3868 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync to latest -current.

Revision 1.1.4.1, Sun Mar 25 00:11:16 2012 UTC (10 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +0 -3868 lines
FILE REMOVED

file if_urtwn.c was added on branch yamt-pagecache on 2012-04-17 00:08:06 +0000

Revision 1.1.2.1, Sun Mar 25 00:11:16 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.1: +0 -3868 lines
FILE REMOVED

file if_urtwn.c was added on branch jmcneill-usbmp on 2012-04-05 21:33:33 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 25 00:11:16 2012 UTC (10 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Branch point for: yamt-pagecache, jmcneill-usbmp

Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>