The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Apr 10 15:27:51 2023 UTC (22 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +1 -1 lines
Reduce excessive settle delay.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Apr 10 15:26:56 2023 UTC (22 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +37 -13 lines
Better descriptor parsing.
Add sanity check if no default format is found.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jul 1 01:06:51 2022 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +19 -17 lines
uvideo(4): Make alloc logic match free logic.

Reported-by: syzbot+57cdc1be653327f78b6f@syzkaller.appspotmail.com

PR kern/53734

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jul 1 01:06:31 2022 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -2 lines
uvideo(4): Assert number of units can't overflow.

Not sure if this is true, but at least we'll trap instead of silently
undercount this way.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat May 14 15:29:08 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +7 -7 lines
uvideo(4): Fix missing line breaks in debug messages.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat May 14 15:28:50 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +12 -2 lines
uvideo(4): Avoid exposing streams with invalid descriptors.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Apr 24 09:55:48 2022 UTC (2 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -2 lines
Add missing argument to debug printf.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:17:30 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +70 -22 lines
uvideo(4): Parse descriptors more robustly.

Validate lengths and types before barging ahead.

Not sure exactly which missing validation syzbot tripped on here, but
I'm pretty sure I caught all the cases.

Reported-by: syzbot+60f0a25c077b67547f57@syzkaller.appspotmail.com

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:17:19 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -8 lines
uvideo(4): Convert conditional to KASSERT in uvideo_attach.

usb_desc_iter_next_interface no longer returns truncated interface
descriptors, so we no longer have to check for that here.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:17:06 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -4 lines
uvideo(4): Convert conditional to KASSERT in uvideo_unit_alloc.

The one caller guarantees the condition already.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:16:11 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -7 lines
uvideo(4): Use sizeof(*p), not sizeof(T), for kmem_alloc/free.

No functional change intended.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:15:48 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +88 -45 lines
uvideo(4): KNF comment style.

No functional change intended.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:15:05 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +108 -2 lines
uvideo(4): Avoid printing off the end of truncated descriptors.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Apr 6 22:01:45 2022 UTC (2 years, 10 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +13 -13 lines
revert accidental last commit (except ukbd.c)

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Apr 6 21:51:29 2022 UTC (2 years, 10 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +15 -15 lines
remove debug printf

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Mar 12 16:51:10 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -5 lines
uvideo(4): Use kmem_zalloc, not kmem_alloc and memset.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:23:25 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
video(9): Make softc argument mandatory for video_attach_mi.

No separate video_attach_mi_softc function any more.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:22:53 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +53 -66 lines
uvideo(4): Attach one video(4) per independent stream.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:22:40 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -4 lines
uvideo(4): Fix zero initialization of uvideo_stream.

Just use kmem_zalloc; don't memset it to zero, especially not after
we just inserted it into the list, with the side effect of deleting
the rest of the list!

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:22:03 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +27 -2 lines
uvideo(4): Sprinkle debug messages.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:21:50 2022 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4 lines
uvideo(4): Use __nothing for empty DPRINTF, not actually empty.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jan 9 18:27:23 2022 UTC (3 years, 1 month ago) by riastradh
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -14 lines
uvideo(4): Fix USB interface numbering.

Don't try to be clever and count -- just use bInterfaceNumber.

The previous logic to count interface descriptors failed to consider
interfaces with alternate settings, which led it to pass an invalid
interface number to usbd_device2interface_handle.

It is simpler to just use the recorded bInterfaceNumber, which is
guaranteed by the USB spec to be zero-indexed and below
bNumInterfaces as we need.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:32:07 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4 lines
revert bPreferedVersion rename. It's named like the by spec (from jmcneill).

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Nov 13 21:13:41 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4 lines
s/bPreferedVersion/bPreferredVersion/ in struct property definition.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Sep 3 21:55:00 2021 UTC (3 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:31 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +10 -6 lines
Sync w/ HEAD.

Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:19 2021 UTC (3 years, 8 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +10 -6 lines
sync with head

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 16 09:17:23 2021 UTC (3 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -6 lines
close pipe before freeing frame length array.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Aug 10 19:27:27 2020 UTC (4 years, 6 months ago) by rjs
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -5 lines
Add some extra V4L ioctl() requests to latest V4L userland to work.

Import sys/videoio.h from OpenBSD, this is just the Linux headers
concatenated together.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun May 24 17:28:20 2020 UTC (4 years, 8 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -2 lines
uvideo(4): clamp (micro)frames-per-xfer to at most 80

Previously, on a 30fps YUV422 640x480 webcam, we were putting over 250
USB (micro)frames per video frame in the host controller queue.

xhci(4) is currently limited to 256-1 TRBs per xHC Transfer Ring, and as
such, trying to place 3 xfers each of 250+ microframes in the queue fails.

As there is no UVC requirement that whole video frames be in one logical
chunk of isoc transactions, and there doesn't seem to be compelling reason
to keep the xfer completion rate slower than 1 in 10ms, we can limit each
of the 3 uvideo xfers to 80 (micro)frames of bus time, and solve the
Transfer Ring constraint for upcoming xhci(4) Isochronous pipe support.
This works out to using only 240 TRBs on the 255-usable-TRB Transfer Ring.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri May 22 11:25:06 2020 UTC (4 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +51 -2 lines
Support get_framerate and provide a stub for set_framerate

Revision 1.46.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:51 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.46.4.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.4.2: +25 -12 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:14 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.46.4.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.4.1: +15 -75 lines
Merge changes from current as of 20200406

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Mar 14 02:35:34 2020 UTC (4 years, 11 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +50 -50 lines
revert the 0x% -> %# change for fixed width formats pointed out by uwe.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Mar 13 18:17:41 2020 UTC (4 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +52 -52 lines
PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:17 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -63 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Feb 8 07:38:17 2020 UTC (5 years ago) by maxv
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -63 lines
Move uvideo's parsers into usbdi.c, to make them global. Rename
usb_desc_iter_peek_next -> usb_desc_iter_peek for consistency.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 29 11:13:48 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +5 -2 lines
Pull up following revision(s) (requested by mlelstv in ticket #590):

	sys/dev/usb/uvideo.c: revision 1.50
	sys/dev/usb/uvideo.c: revision 1.51
	sys/dev/usb/uvideo.c: revision 1.52

Avoid kmem_alloc(0,..), which hits an assertion.

PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection
Check if size is zero, too.

PR kern/53734
we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).

Should be the right version this time!

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Dec 1 08:27:54 2019 UTC (5 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +12 -12 lines
localify

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 23 01:30:54 2019 UTC (5 years, 3 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).

Should be the right version this time!

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 23 01:03:36 2019 UTC (5 years, 3 months ago) by maya
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
Check if size is zero, too.

PR kern/53734

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Oct 23 00:52:39 2019 UTC (5 years, 3 months ago) by maya
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -2 lines
Avoid kmem_alloc(0,..), which hits an assertion.

PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:08 2019 UTC (5 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -13 lines
in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Sep 15 09:21:36 2019 UTC (5 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +22 -3 lines
Add missing length checks on descriptors, to prevent buffer overflows.
Found via KASAN+vHCI. Some remain however, but it looks like the code
needs to be re-thought along the way, so it will be fixed later.

Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:35 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun May 5 03:17:54 2019 UTC (5 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h

Revision 1.40.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 19 19:33:06 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.40.4.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.4.1: +3 -3 lines
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.44.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 31 18:01:54 2018 UTC (7 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +3 -3 lines
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.46: download - view: text, markup, annotated - select for diffs
Sun Jan 21 13:57:12 2018 UTC (7 years ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
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.37.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:36 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.37.6.2: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.6.2: +68 -105 lines
update from HEAD

Revision 1.41.2.13: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:30 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.12: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.12: +4 -28 lines
Sync with HEAD

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jun 22 15:22:16 2017 UTC (7 years, 7 months ago) by khorben
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
Typos in comments

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:12 2017 UTC (7 years, 8 months ago) by chs
Branches: MAIN
CVS tags: netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -26 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 5 19:54:21 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +68 -81 lines
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.40.8.1: download - view: text, markup, annotated - select for diffs
Tue Sep 6 20:33:09 2016 UTC (8 years, 5 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +68 -81 lines
First pass at netbsd-7 updated with USB code from HEAD

Revision 1.41.2.12: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:17 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.11: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.11: +4 -6 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:42 2016 UTC (8 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -6 lines
KNF. Remove extra spaces. No functional change.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Apr 23 10:15:32 2016 UTC (8 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +65 -76 lines
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.41.2.11: download - view: text, markup, annotated - select for diffs
Sun Mar 20 08:42:19 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.10: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.10: +7 -7 lines
Whitespace

Revision 1.41.2.10: download - view: text, markup, annotated - select for diffs
Mon Dec 28 09:26:33 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.9: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.9: +11 -6 lines
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.41.2.9: download - view: text, markup, annotated - select for diffs
Tue Oct 6 21:32:15 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.8: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.8: +25 -40 lines
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.41.2.8: download - view: text, markup, annotated - select for diffs
Sat Mar 21 11:33:37 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.7: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.7: +10 -10 lines
Add prefixes to attach_arg structure member names. No functional change.

Revision 1.41.2.7: download - view: text, markup, annotated - select for diffs
Thu Mar 19 17:26:43 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.6: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.6: +13 -13 lines
Do the same as OpenBSD and get rid of the *_handle typedefs and use
plain structures insteads

Revision 1.41.2.6: download - view: text, markup, annotated - select for diffs
Tue Dec 23 11:24:32 2014 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.5: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.5: +5 -5 lines
KNF. No brackets around return value.

Revision 1.41.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 6 08:27:23 2014 UTC (10 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.4: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.4: +8 -8 lines
KNF. Remove argument name from function declarations.

No functional change.

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 3 22:33:56 2014 UTC (10 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.3: +2 -3 lines
Remove #include <sys/malloc.h> where it's not (no longer) needed

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 3 12:52:07 2014 UTC (10 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +3 -3 lines
The grand renaming of structure members.

No functional change.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 2 09:00:34 2014 UTC (10 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +4 -4 lines
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.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 1 13:03:05 2014 UTC (10 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Remove the lbl argument from usbd_{bulk,intr}_transfer.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Sep 12 16:40:38 2014 UTC (10 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
Improve USB debugging with USBHIST based on KERNHIST.

Convert some DPRINTFs to USBHIST_LOG and allow usbdebug, ehcidebug and
umassdebug to be changed via sysctl.

Remove the #define mess in usb.h.

This was started by mrg@ and updated by reinoud@

Revision 1.37.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:51 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.37.6.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.6.1: +4 -11 lines
Rebase to HEAD as of a few days ago.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:37 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +4 -11 lines
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.38.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:48 2014 UTC (10 years, 9 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +4 -11 lines
sync with head

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jan 28 13:43:33 2014 UTC (11 years ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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: netbsd-7-nhusb, netbsd-7
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3 lines
Initialize a variable earlier, so it is not used unitialized in an
error path.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 17 21:07:37 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -10 lines
- remove unused variables
- move ifdef variables inside ifdef sections

Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:43 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +55 -55 lines
resync with head

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:16 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +55 -55 lines
sync with head

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jan 5 01:30:18 2013 UTC (12 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +55 -55 lines
- need opt_usb.h if depending on USB_DEBUG
- remove trailing whitespace
- add missing KERNEL_RCSID

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:13 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -2 lines
merge to -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Dec 23 00:51:49 2011 UTC (13 years, 1 month ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +51 -51 lines
Revert previous due to active usbmp branch(es).

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Dec 22 20:07:03 2011 UTC (13 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +51 -51 lines
Adjust-away inconsistent and trailing whitespace.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:45 2011 UTC (13 years, 8 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +8 -5 lines
Sync with HEAD.

Revision 1.30.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:56 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.30.4.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.4.2: +6 -3 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 24 16:40:21 2011 UTC (13 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Use proper format string

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 16 10:53:19 2011 UTC (13 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -4 lines
fix detach() to avoid use-after-free problems:
-stop transfers before freeing data structures
 (and comment out a useless delay)
-free devinfo later
Hot-unplugging an USB cam while in use doesn't crash my box anymore now.

Revision 1.30.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:18 2011 UTC (13 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.30.4.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.4.1: +33 -15 lines
sync with head

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 24 20:54:28 2010 UTC (14 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +17 -2 lines
VIDIOC_QUERYCAP changes:
 - use driver name instead of device instance name in 'driver' field
 - add 'get_businfo' callback to fill in 'bus_info' field instead of
   hard-coding "USB"
 - use the kernel version for the 'version' field instead of 1
 - adapt pseye and uvideo drivers to changes in struct video_hw_if

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:42 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +18 -15 lines
Sync with HEAD.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 3 22:34:24 2010 UTC (14 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +18 -15 lines
Stop using the compatibility macros USB_ATTACH(), USB_DETACH(),
USB_MATCH(), et cetera.  These files produce the same assembly
(according to objdump -d) before and after the change

Revision 1.29.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:17 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.2.3: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.3: +4 -4 lines
sync with head.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:45 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
sync with head

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:54 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Apr 22 08:45:55 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
fix compilation with -Wmissing-field-initializers.
smoke _KERNEL_OPT where appropriate.

Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:09 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.2: +6 -13 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Nov 12 20:01:15 2009 UTC (15 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -13 lines
Simplify activation hooks.  (sc_dying must die!)

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:35 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +8 -5 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:22 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +3065 -0 lines
sync with head.

Revision 1.21.8.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:39 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.21.8.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.8.2: +2 -3 lines
Sync with HEAD.

Revision 1.29.2.1
Mon Mar 9 15:59:33 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.29: +0 -3065 lines
file uvideo.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:22 +0000

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Mar 9 15:59:33 2009 UTC (15 years, 11 months ago) by uebayasi
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -3 lines
These don't need <sys/tty.h>.

Revision 1.21.8.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:53 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.21.8.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.8.1: +9 -6 lines
Sync with HEAD.

Revision 1.21.10.5: download - view: text, markup, annotated - select for diffs
Thu Feb 19 20:18:56 2009 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.21.10.4: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.10.4: +8 -4 lines
Pull up following revision(s) (requested by jmorse in ticket #440):
	sys/dev/usb/uvideo.c: revision 1.27 via patch
Fix uvideo_stream_init uninitialized variable / bad argument, leading to
panic when opening video stream.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Feb 18 00:27:21 2009 UTC (15 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
Revision 1.25 was unintentionally reverted in the previous commit, bring
it back.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Feb 9 23:28:50 2009 UTC (16 years ago) by jmorse
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -4 lines
Fix uvideo_stream_init uninitialized variable / bad argument, leading to panic when opening video stream.

Revision 1.21.10.4: download - view: text, markup, annotated - select for diffs
Mon Feb 2 20:39:46 2009 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC2
Diff to: previous 1.21.10.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.10.3: +3 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #382):
	sys/dev/usb/uvideo.c: revision 1.26
When setting up isochronous transfers, fix a typo in an out-of-memory test.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jan 30 12:55:46 2009 UTC (16 years ago) by jmcneill
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
When setting up isochronous transfers, fix a typo in an out-of-memory test.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 20 20:15:15 2009 UTC (16 years ago) by drochner
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -3 lines
kill unused variable

Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:09 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -7 lines
Sync with HEAD.

Revision 1.21.4.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:10 2009 UTC (16 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.21.4.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.4.2: +13 -5 lines
Sync with HEAD.

Revision 1.21.10.3: download - view: text, markup, annotated - select for diffs
Sat Dec 27 03:47:55 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC1
Diff to: previous 1.21.10.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.10.2: +3 -3 lines
Pull up following revision(s) (requested by jmorse in ticket #204):
	sys/dev/video.c: revision 1.18
	sys/dev/usb/uvideo.c: revision 1.24
Fix UVC webcam output by:
- Storing updated video format after user changes format
- Round up number of xfers queued to multiple of 8, due to ehci inefficiencies
- Remove random debugging line I slipped in earlier

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Dec 23 03:22:29 2008 UTC (16 years, 1 month ago) by jmorse
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Fix UVC webcam output by:
- Storing updated video format after user changes format
- Round up number of xfers queued to multiple of 8, due to ehci inefficiencies
- Remove random debugging line I slipped in earlier

Revision 1.21.6.3: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:53 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.21.6.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.6.2: +15 -7 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.21.10.2: download - view: text, markup, annotated - select for diffs
Sat Nov 29 20:57:44 2008 UTC (16 years, 2 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.21.10.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.10.1: +3 -0 lines
Pull up following revision(s) (requested by jmcneill in ticket #144):
	sys/dev/usb/uvideo.c: revision 1.23
Don't select an endpoint with a larger packet size than the maximum for
the current video stream.

Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 29 20:48:18 2008 UTC (16 years, 2 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -9 lines
Pull up following revision(s) (requested by jmorse in ticket #139):
	sys/dev/usb/uvideo.c: revision 1.22
Modified uvideo_stream_init_desc to correctly calculate max packet size
for high speed endpoints.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Nov 28 23:31:11 2008 UTC (16 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -2 lines
Don't select an endpoint with a larger packet size than the maximum for
the current video stream.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Nov 28 17:20:02 2008 UTC (16 years, 2 months ago) by jmorse
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -9 lines
Modified uvideo_stream_init_desc to correctly calculate max packet size for high speed endpoints.

Revision 1.21.6.2: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:10 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.21.6.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.6.1: +3055 -0 lines
Sync with HEAD.

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:33:11 2008 UTC (16 years, 4 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.2: +264 -102 lines
Sync with HEAD.

Revision 1.21.4.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:35 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.21.4.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.4.1: +3055 -0 lines
Sync with HEAD.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:56 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +2893 -0 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.21.6.1
Sun Sep 21 19:26:36 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
FILE REMOVED
Changes since revision 1.21: +0 -3055 lines
file uvideo.c was added on branch haad-dm on 2008-10-19 22:17:10 +0000

Revision 1.21.4.1
Sun Sep 21 19:26:36 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.21: +0 -3055 lines
file uvideo.c was added on branch mjf-devfs2 on 2008-09-28 10:40:34 +0000

Revision 1.21.2.1
Sun Sep 21 19:26:36 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
FILE REMOVED
Changes since revision 1.21: +0 -3055 lines
file uvideo.c was added on branch wrstuden-revivesa on 2008-09-24 16:38:56 +0000

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:26:36 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: wrstuden-revivesa, nick-hppapmap, netbsd-5, mjf-devfs2, haad-dm
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -2 lines
Register with pmf

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:22:21 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Guard against short bHeaderLength when processing video payload

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Sep 21 18:20:03 2008 UTC (16 years, 4 months ago) by freza
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
Make it compile with DPRINTFs disabled.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Sep 21 17:58:05 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -9 lines
Discard frames with header lengths larger than we expect them to be.
Use USBD_NO_COPY and no timeout with the bulk transfer. uvideo(4)
works on EeePC now.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 21 14:13:24 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +177 -35 lines
UVC bulk endpoint support, from myself, mjf, and a bottle of vodka. Mostly
works, doesn't handle stream errors properly yet.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Sep 20 21:05:58 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3 lines
Fix reversed test in uvideo_init_control, from Patrick Mahoney

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 20 18:17:56 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Add UYVY support.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 20 15:55:38 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -3 lines
Use probe/GET_MAX to determine wCompQuality value during negotiation

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 20 14:01:27 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +51 -46 lines
Print uDWord types with %u instead of %d

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 19 12:14:53 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +34 -33 lines
uvideo_set_format: perform a probe/SET, probe/GET before commit/SET instead
of relying on the information in probe/GET to be already valid.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 19 00:05:02 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +65 -31 lines
Add pixel format selection support.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 18 23:20:52 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +90 -26 lines
Add support for video mode selection, and protect isoc xfer shutdown
with splusb

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Sep 18 21:52:41 2008 UTC (16 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +22 -8 lines
Fix kmod support.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 18 17:47:09 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -9 lines
Properly calculate nframes for isoc xfers, and skip uvc payloads with
a length of 0, from Matthias Drochner.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Sep 18 16:40:37 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
defflag UVIDEO_DEBUG

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 18 13:34:56 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -3 lines
For now, select default format in uvideo_open. Makes ekiga happy.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:06 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +48 -54 lines
* Use determined default format based on descriptors rather than relying on
  GET_DEF, as this is probably not what is wanted.
* Don't select an alternate interface with max packet size > 1024

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 18 02:57:07 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -4 lines
Uncomment code accidentally commented out in the last commit.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 02:49:00 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +101 -46 lines
Allow for multiple simultaneous isoc xfers to be in progress at a time,
to reduce the chance of data loss.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 9 05:44:08 2008 UTC (16 years, 5 months ago) by cegger
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -4 lines
make this build w/o UVIDEO_DEBUG

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 9 01:13:42 2008 UTC (16 years, 5 months ago) by jmcneill
Branches: MAIN
USB Video Class capture device driver, part of Patrick Mahoney's Google
Summer of Code 2008 project.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>