The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:35 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +10 -8 lines
Sync with HEAD

Revision 1.75.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 24 14:34:40 2026 UTC (3 weeks, 1 day ago) by martin
Branches: netbsd-10
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +8 -3 lines
Pull up following revision(s) (requested by riastradh in ticket #1391):

	sys/dev/usb/if_urtw.c: revision 1.28
	sys/dev/usb/if_rum.c: revision 1.72
	sys/dev/usb/if_run.c: revision 1.43
	sys/dev/usb/if_zyd.c: revision 1.62
	sys/dev/usb/if_upgt.c: revision 1.34
	sys/dev/usb/if_otus.c: revision 1.46
	sys/dev/usb/if_atu.c: revision 1.79
	sys/dev/usb/if_ural.c: revision 1.68

run: don't expose us to userland until things are fully initialized.

Fixes crash seen when hot-plugging run(4) with a running wpa_supplicant.

PR kern/60665: run: hot-plugging USB wifi crashes due to use of if_attach
don't expose us to userland until things are fully initialized.

Same class of bugs that run(4) had in other USB drivers.

PR kern/60665: run: hot-plugging USB wifi crashes due to use of if_attach

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 24 14:33:34 2026 UTC (3 weeks, 1 day ago) by martin
Branches: netbsd-11
CVS tags: netbsd-11-1-RELEASE
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +8 -3 lines
Pull up following revision(s) (requested by riastradh in ticket #546):

	sys/dev/usb/if_urtw.c: revision 1.28
	sys/dev/usb/if_rum.c: revision 1.72
	sys/dev/usb/if_run.c: revision 1.43
	sys/dev/usb/if_zyd.c: revision 1.62
	sys/dev/usb/if_upgt.c: revision 1.34
	sys/dev/usb/if_otus.c: revision 1.46
	sys/dev/usb/if_atu.c: revision 1.79
	sys/dev/usb/if_ural.c: revision 1.68

run: don't expose us to userland until things are fully initialized.

Fixes crash seen when hot-plugging run(4) with a running wpa_supplicant.

PR kern/60665: run: hot-plugging USB wifi crashes due to use of if_attach
don't expose us to userland until things are fully initialized.

Same class of bugs that run(4) had in other USB drivers.

PR kern/60665: run: hot-plugging USB wifi crashes due to use of if_attach

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Sep 3 02:12:14 2026 UTC (2 months, 1 week ago) by gutteridge
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Fix typo (s/untill/until/) in various comments.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Aug 29 01:59:50 2026 UTC (2 months, 2 weeks ago) by maya
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -3 lines
don't expose us to userland until things are fully initialized.

Same class of bugs that run(4) had in other USB drivers.

PR kern/60665: run: hot-plugging USB wifi crashes due to use of if_attach

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Nov 26 16:40:50 2025 UTC (11 months, 2 weeks ago) by nia
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -6 lines
Thanks Daan Vreeken for agreeing to drop his advertising clause.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:05 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -10 lines
Sync with HEAD

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:52 2024 UTC (2 years, 4 months ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801, netbsd-11-base, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1
Branch point for: netbsd-11
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -10 lines
sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue May 14 19:00:44 2024 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
fix recently committed typos by msaitoh in few more places, as well as few more.
mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:06:52 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-2-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -13 lines
usb: usbd_close_pipe never fails.  Make it return void.

Prune dead branches as a result of this change.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:05:38 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -12 lines
usb: usbd_abort_pipe never fails.  Make it return void.

Prune dead branches as a result of this change.

Revision 1.55.8.4: download - view: text, markup, annotated - select for diffs
Fri Aug 28 19:44:22 2020 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.55.8.3: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.8.3: +6 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1599):

	sys/dev/usb/if_atu.c: revision 1.73
	sys/dev/usb/if_axe.c: apply patch
	sys/dev/usb/if_axen.c: apply patch

atu(4): Reject packets larger than MCLBYTES.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 28 19:36:34 2020 UTC (6 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +6 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1067):

	sys/dev/usb/usbnet.c: revision 1.39
	sys/dev/usb/if_atu.c: revision 1.73

usbnet: Reject buflen>MCLBYTES in usbnet_newbuf.
atu(4): Reject packets larger than MCLBYTES.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Aug 28 19:02:19 2020 UTC (6 years, 2 months ago) by riastradh
Branches: 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-futex, 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
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -2 lines
atu(4): Reject packets larger than MCLBYTES.

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:13 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +91 -97 lines
Merge changes from current as of 20200406

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Mar 15 23:04:50 2020 UTC (6 years, 8 months ago) by thorpej
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.71: preferred, colored
Changes since revision 1.71: +6 -3 lines
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.71: download - view: text, markup, annotated - select for diffs
Fri Mar 13 18:17:40 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4 lines
PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:16 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +8 -8 lines
Sync with head.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jan 29 06:24:10 2020 UTC (6 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +8 -8 lines
Adopt <net/if_stats.h>.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 27 09:41:51 2019 UTC (6 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
s/transfered/transferred/

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Dec 5 03:11:41 2019 UTC (6 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -8 lines
 Remove SIOC[GS]IFMEDIA because ieee80211_ioctl() does the same thing.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 1 12:47:10 2019 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -7 lines
minor adjustments, to avoid warnings on debug builds

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Nov 28 17:09:10 2019 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +78 -78 lines
localify

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

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

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Apr 26 06:33:34 2019 UTC (7 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +33 -36 lines
No functional change:
- u_int_{8,16,32}_t -> uint_{8,16,32}_t
- KNF.
- Tabify.
- Remove extra space.

Revision 1.56.2.4: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:04 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.56.2.3: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.3: +3 -3 lines
Sync with HEAD

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

Revision 1.55.8.3: download - view: text, markup, annotated - select for diffs
Wed Aug 8 10:28:35 2018 UTC (8 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.55.8.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.8.2: +3 -3 lines
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.49.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 8 10:17:11 2018 UTC (8 years, 3 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.49.10.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.10.2: +3 -3 lines
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.63: download - view: text, markup, annotated - select for diffs
Thu Aug 2 06:09:04 2018 UTC (8 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 29 02:00:07 2018 UTC (8 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Use usb_rem_task_wait in atu(4).

Revision 1.56.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:57 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.56.2.2: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.2: +4 -4 lines
Sync with HEAD

Revision 1.55.8.2: download - view: text, markup, annotated - select for diffs
Thu Jul 26 23:55:30 2018 UTC (8 years, 3 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.55.8.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.8.1: +2 -4 lines
Pull up following revision(s) (requested by msaitoh in ticket #938):
	sys/arch/acorn32/podulebus/if_ie.c: revision 1.41
	sys/arch/amiga/dev/if_es.c: revision 1.58
	sys/arch/amiga/dev/if_qn.c: revision 1.45
	sys/arch/arm/at91/at91emac.c: revision 1.20
	sys/arch/arm/ep93xx/epe.c: revision 1.37
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.14
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.15
	sys/arch/mac68k/dev/if_mc.c: revision 1.46
	sys/arch/macppc/dev/am79c950.c: revision 1.39
	sys/arch/newsmips/apbus/if_sn.c: revision 1.40
	sys/arch/next68k/dev/mb8795.c: revision 1.59
	sys/arch/playstation2/dev/if_smap.c: revision 1.25
	sys/arch/playstation2/dev/if_smap.c: revision 1.26
	sys/arch/sun2/dev/if_ec.c: revision 1.28
	sys/arch/sun3/dev/if_ie.c: revision 1.63
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.19
	sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63
	sys/dev/bi/if_ni.c: revision 1.45
	sys/dev/cadence/if_cemac.c: revision 1.12
	sys/dev/ic/am7990.c: revision 1.78
	sys/dev/ic/am79900.c: revision 1.27
	sys/dev/ic/an.c: revision 1.67
	sys/dev/ic/cs89x0.c: revision 1.40
	sys/dev/ic/dm9000.c: revision 1.13
	sys/dev/ic/dm9000.c: revision 1.14
	sys/dev/ic/dp8390.c: revision 1.88
	sys/dev/ic/elink3.c: revision 1.141
	sys/dev/ic/elinkxl.c: revision 1.122
	sys/dev/ic/hme.c: revision 1.98
	sys/dev/ic/i82586.c: revision 1.77
	sys/dev/ic/lance.c: revision 1.53
	sys/dev/ic/mb86950.c: revision 1.27
	sys/dev/ic/mb86960.c: revision 1.86
	sys/dev/ic/mtd803.c: revision 1.34
	sys/dev/ic/pdq_ifsubr.c: revision 1.59
	sys/dev/ic/rrunner.c: revision 1.86
	sys/dev/ic/seeq8005.c: revision 1.58
	sys/dev/ic/sgec.c: revision 1.47
	sys/dev/ic/smc90cx6.c: revision 1.72
	sys/dev/ic/smc91cxx.c: revision 1.96
	sys/dev/ic/tropic.c: revision 1.49
	sys/dev/ic/wi.c: revision 1.245
	sys/dev/isa/if_eg.c: revision 1.93
	sys/dev/isa/if_el.c: revision 1.95
	sys/dev/isa/if_iy.c: revision 1.101
	sys/dev/ofw/ofnet.c: revision 1.58
	sys/dev/pci/if_alc.c: revision 1.27
	sys/dev/pci/if_de.c: revision 1.152
	sys/dev/pci/if_fpa.c: revision 1.61
	sys/dev/pci/if_jme.c: revision 1.34
	sys/dev/pci/if_tl.c: revision 1.108
	sys/dev/pci/if_vte.c: revision 1.19
	sys/dev/pci/ixgbe/ixgbe.h: revision 1.50
	sys/dev/pcmcia/if_cnw.c: revision 1.62
	sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17
	sys/dev/pcmcia/if_ray.c: revision 1.89
	sys/dev/pcmcia/if_xi.c: revision 1.81
	sys/dev/pcmcia/mhzc.c: revision 1.51
	sys/dev/pcmcia/xirc.c: revision 1.34
	sys/dev/qbus/if_de.c: revision 1.33
	sys/dev/qbus/if_qe.c: revision 1.78
	sys/dev/qbus/if_qt.c: revision 1.22
	sys/dev/sbus/be.c: revision 1.87
	sys/dev/sbus/qe.c: revision 1.68
	sys/dev/scsipi/if_se.c: revision 1.96
	sys/dev/usb/if_atu.c: revision 1.59
	sys/net/if_l2tp.c: revision 1.28 via patch
	sys/net/if_ppp.c: revision 1.160
It's not required to include net/bpfdesc.h. Remove it.
--
Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.
--
Remove duplicated inclusion of net/bpf.h.
--
Remove duplicated inclusion of net/bpf.h.
--
Simplify bpf_mtap() call. No functional change.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:02 2018 UTC (8 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728
Branch point for: phil-wifi
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4 lines
 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.56.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:02 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.1: +6 -8 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jun 23 06:57:24 2018 UTC (8 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
constify

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jun 22 04:17:42 2018 UTC (8 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -4 lines
 It's not required to include net/bpfdesc.h. Remove it.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Jun 3 10:59:35 2018 UTC (8 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -5 lines
Constify atu_devs[] so that it lands in .rodata (600 bytes).

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:11 2018 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -7 lines
Synch with HEAD

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue May 1 16:18:13 2018 UTC (8 years, 6 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-0521, pgoyette-compat-0502
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -7 lines
GC private 802.11 rateset declarations, use the standard ones.

Build tested only.

Revision 1.49.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 19 19:33:06 2018 UTC (8 years, 8 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.49.10.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.10.1: +4 -4 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.55.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 31 18:01:54 2018 UTC (8 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 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.56: download - view: text, markup, annotated - select for diffs
Sun Jan 21 13:57:11 2018 UTC (8 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 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.43.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:33 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.43.6.3: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.6.3: +142 -133 lines
update from HEAD

Revision 1.49.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 5 19:54:19 2017 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +143 -134 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.49.14.2: download - view: text, markup, annotated - select for diffs
Thu Jan 26 21:54:24 2017 UTC (9 years, 9 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.49.14.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.14.1: +6 -2 lines
Sync with HEAD/nhusb

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:41 2017 UTC (9 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +6 -2 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.50.2.14: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:18 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.13: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.13: +6 -2 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Nov 25 12:56:29 2016 UTC (9 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -2 lines
+#include "opt_usb.h"

Revision 1.49.14.1: download - view: text, markup, annotated - select for diffs
Tue Sep 6 20:33:08 2016 UTC (10 years, 2 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +139 -134 lines
First pass at netbsd-7 updated with USB code from HEAD

Revision 1.50.2.13: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:15 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.12: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.12: +3 -3 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:15 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
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.50.2.12: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:31 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.11: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.11: +4 -4 lines
Sync with HEAD

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu May 26 05:04:46 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 26 05:01:12 2016 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Use M_GETCTX

No functional change.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Apr 23 10:15:31 2016 UTC (10 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +135 -130 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.50.2.11: download - view: text, markup, annotated - select for diffs
Mon Dec 28 09:26:33 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.10: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.10: +19 -12 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.50.2.10: download - view: text, markup, annotated - select for diffs
Sat Dec 19 10:11:13 2015 UTC (10 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.9: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.9: +3 -3 lines
Use NULL instead of 0 for (function) pointer

Revision 1.50.2.9: download - view: text, markup, annotated - select for diffs
Tue Oct 6 21:32:15 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.8: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.8: +36 -37 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.50.2.8: download - view: text, markup, annotated - select for diffs
Sat Mar 21 11:33:37 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.7: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.7: +7 -7 lines
Add prefixes to attach_arg structure member names. No functional change.

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

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

No functional change.

Revision 1.50.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 5 09:37:49 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.4: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.4: +13 -13 lines
KNF. Remove ( ) from return statements.

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

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

No functional change.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 2 09:00:33 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +5 -5 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.50.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 30 12:18:58 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +51 -51 lines
Use C99 types. u_int{8,16,32,64}_t to uint{8,16,32,64}_t.

No functional change.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:28 2014 UTC (12 years, 1 month ago) by snj
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.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:36 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.2: +4 -4 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.43.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:22 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.43.6.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.6.2: +4 -4 lines
resync from head

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Mar 30 03:15:52 2013 UTC (13 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900
Branch point for: netbsd-7-nhusb, netbsd-7
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
remove trailing whitespace

Revision 1.43.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:33 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.43.6.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.6.1: +5 -9 lines
resync with head

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:11 2013 UTC (13 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +5 -9 lines
sync with head

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Jan 22 12:40:42 2013 UTC (13 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
- 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.47: download - view: text, markup, annotated - select for diffs
Sat Jan 5 23:34:16 2013 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -10 lines
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.46: download - view: text, markup, annotated - select for diffs
Sat Jan 5 01:30:15 2013 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -2 lines
- need opt_usb.h if depending on USB_DEBUG
- remove trailing whitespace
- add missing KERNEL_RCSID

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Dec 27 16:42:32 2012 UTC (13 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3 lines
Consistent/Correct error message from failing usbd_set_config.

Use aprint_error_dev.

Revision 1.43.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:33 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +88 -17 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:04 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +88 -17 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Sep 23 01:08:17 2012 UTC (14 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +88 -17 lines
add a bunch of devices.  from openbsd.

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:04 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
merge to -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Dec 23 00:51:43 2011 UTC (14 years, 10 months ago) by jakllsch
Branches: MAIN
CVS tags: 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.42: preferred, colored
Changes since revision 1.42: +4 -4 lines
Revert previous due to active usbmp branch(es).

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Dec 22 20:06:59 2011 UTC (14 years, 10 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
Adjust-away inconsistent and trailing whitespace.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Oct 17 16:35:21 2011 UTC (15 years, 1 month ago) by mbalmer
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
There is no doubt whether whether should have a 'h' after the 'w'.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:10 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.37.2.1: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +114 -114 lines
sync with head

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:35 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.2: +113 -113 lines
Sync with HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Nov 3 22:28:31 2010 UTC (16 years ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base4, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +113 -113 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, except for
if_cue.c where two adjacent instructions inexplicably change order.

Revision 1.28.20.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:26 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.20.4: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.20.4: +3 -3 lines
sync with head

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:42 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +1 -1 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Aug 14 21:01:26 2010 UTC (16 years, 3 months ago) by jym
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Only print the debug message about failed remapping when ATU_QUIRK_NO_REMAP
is not set in the atu_quirk flags.

'!' takes precedence over bitwise operation '&', so use parenthesis.

Revision 1.28.20.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:13 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.20.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.20.3: +4 -8 lines
sync with head.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:44 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -6 lines
sync with head

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

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:21:48 2010 UTC (16 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -6 lines
Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Mar 15 00:17:55 2010 UTC (16 years, 8 months ago) by jakllsch
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -4 lines
Remove duplicate USB_PRODUCT_LINKSYS3_WUSB11V28 entry.
Pointed out by <db@db.net> in #NetBSD-code.

Revision 1.28.20.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:04 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.20.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.20.2: +10 -18 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Feb 28 15:52:16 2010 UTC (16 years, 8 months ago) by snj
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Fight the ever-increasing size of src checkouts by spelling "useful"
without an extra l.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:07:43 2010 UTC (16 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -11 lines
Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Dec 6 20:20:12 2009 UTC (16 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -7 lines
Simplify several device-activation hooks.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Sep 23 19:07:19 2009 UTC (17 years, 1 month ago) by plunky
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3 lines
fix up USB drivers printing of autoconf information

1. expand the USB_ATTACH_SETUP macro (requested by jmcneill)

2. reorder the attach function so that the first thing it does is print
   newlines.

3. after this, we can call usbd_devinfo_alloc(), which polls the device
   allowing a context switch, and aprint_normal() the device information.

this avoids problems where autoconf messages are getting mixed up.

Revision 1.28.20.2: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:57 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28.20.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.20.1: +31 -20 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Sep 4 18:10:08 2009 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +12 -12 lines
Change spaces to tabs and remove some unnecessary parentheses.  No
functional change intended.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 4 17:53:58 2009 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +31 -20 lines
Expand <dev/usb/usb_port.h> definitions, and lightly unifdef(1).

Revision 1.29.12.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:34 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with HEAD.

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

Revision 1.28.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:20 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +21 -23 lines
sync with head.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:39 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:20 2009 UTC (17 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: 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-base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
bzero -> memset

Revision 1.28.22.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:36 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +20 -22 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.28.18.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:19 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +20 -22 lines
sync with head

Revision 1.28.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:53 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +20 -22 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat May 24 16:40:58 2008 UTC (18 years, 5 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, 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-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, 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, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +20 -22 lines
Split device_t and softc for all USB device drivers, and related cosmetic
changes.

Matthias Drochner kindly reviewed this patch, and tested ums, ubt, uaudio
and ral.  I tested umass myself.

Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:30:31 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
sync with HEAD

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:34:31 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.3: +3 -3 lines
sync with head.

Revision 1.27.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:47:48 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.27.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:49 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
Sync with HEAD.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:50 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.25.2.2: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.2: +3 -3 lines
Sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:01:21 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:39:01 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +13 -19 lines
sync with head.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:52 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25.2.1: preferred, colored
Changes since revision 1.25.2.1: +11 -12 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jul 16 15:55:38 2007 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -12 lines
Use printf("%zx", arg) instead of printf("%lx", (unsigned long)arg).
Use __arraycount().

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:29 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +2 -7 lines
Sync with head.

Revision 1.24.6.4: download - view: text, markup, annotated - select for diffs
Mon Jun 18 13:38:14 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.24.6.3: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.6.3: +6 -2 lines
Pullup 1.26 (attach driver per interface) with #ifdef USB_USE_IFATTACH.

Revision 1.24.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 00:49:10 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.24.6.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.6.2: +4 -4 lines
Pullup 1.25 in a different way.

Revision 1.24.6.2: download - view: text, markup, annotated - select for diffs
Wed Jun 13 04:12:59 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.24.6.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.6.1: +120 -193 lines
- Convert to use usbd_map_buffer_mbuf() and eliminate mbuf-memory copy.
- Use common code in usb_ethersubr.[ch] and reduce duplicated code.
- XXX Use m_copyback() to extend mbuf chain. XXX Is this the right way?

XXX Untested, missing hardware.

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Tue May 22 14:57:36 2007 UTC (19 years, 6 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -5 lines
Overhaul of USB stack, mostly DMA related

This applies to NetBSD 4.99.13 (March 1, 2007)

usbdi(9) interface is based on FreeBSD version, excluding
 - removal of portability code

Patch most NetBSD changes, excluding
 - DMA memory "reserve", since we don't need contiguous buffers any longer
 - volatiles in DMA structure, since it should not be needed
   with proper bus_dmamap_sync(9)s

DMA/non-DMA memory management overhaul
 - Move all DMA related code to usb_mem.[ch]
   (add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.).
   XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ?
 - Add corresponding non-DMA code to usb_mem_nodma.[ch] .
   Currently just use malloc(9).
 - Above files are conditionally used by config framework (added
   attributes to conf/files and dev/usb/files.usb).
 - Add diagnostic panics when resource allocation is requested
   on interrupt context.
 - Change memory allocations (that require context) from NOWAIT to WAITOK.

Allocate DMA/non-DMA buffer per host interface, not globally.
 advantage:	Buffers can be freed on detaching host interface.
		Activity of a host interface does not affect others.
 disadvantages:	It possibly consumes more memory.

API changes
 - usbd_alloc_xfer() is changed:
    old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev);
    new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev,
		usbd_pipe_handle pipe);
 - pipe argument of usbd_setup_*xfer() are now unused
   XXX the pipe argument should be removed?
 - add mapping APIs
 - async request will be processed as a task (kernel thread context),
   and delayed to some extent
 - usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer"
   (mapped/allocated/refered buffer for HCI driver)
 - usb_port.h: change usb_proc_ptr from  struct ptoc *  to struct lwp *
 - usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *)
 - usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0

changes to USB device drivers
 - atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url,
   uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio,
   uscanner, ustir, utoppy:
    * catch up API change of usbd_alloc_xfer()
 - umass, usscanner:
    * catch up API change of usbd_alloc_xfer()
    * eliminate memory copy for large transfer

ohci
 - free resources on detach
 - add lots of bus_dmamap_sync() operations
 - simplify the code of loading std chain
 - rewrite code of looking up TD/ITD from DMA addr by using allocation chunk
 - add workaround for CMD Tech 670 and 673 chipsets
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

slhci
 - allocate xfer and slhci_xfer at once, and simplify relevant code
 - add slhci_detach()
 - remove second arg of slhci_attach() since it is the same as the first arg.
 - add support for "mapping" (no, it doesn't map since it doesn't do DMA)
   buffer and mbuf
 - add pcmcia frontend
 - NOT TESTED, missing hardware

ehci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf
 - done only simple test

uhci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

To do
 - review, test, debug
 - rewrite network drivers to utilize usbd_map_buffer_mbuf()
 - rewrite uaudio(4) to eliminate memcpy
 - "pipe" argument of usbd_setup_*xfer() should eventually be removed

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:47 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +2 -7 lines
sync with head.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:31 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -7 lines
Sync with head.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Mar 13 13:51:54 2007 UTC (19 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, mjf-ufs-trans-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -7 lines
Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
 stage, but did configuration again. I've converted them to match
 in the device stage.
ustir, utoppy: matched in the interface stage, but only against
 vendor/device information, and used any configuration/interface
 without checking. Changed to match in device stage, and added
 some simple code to configure and use the first interface.
If you have one of those devices, please test!

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:57:29 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:47 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.17.6.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:48 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.17.6.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.6.1: +3 -3 lines
Sync with head.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +15 -7 lines
sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 25 18:39:48 2006 UTC (19 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base, itohy-usb1-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, itohy-usb1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Spell "separate" correctly. From Zafer Aydogan.

Revision 1.17.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:16 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.17.8.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.8.1: +10 -9 lines
sync with head.

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:50 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -6 lines
Sync with head.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:26 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -7 lines
__unused removal on arguments; approved by core.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Oct 31 20:43:31 2006 UTC (20 years ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -4 lines
Split the USB task queue into two parts, one for normal device tasks and
one for tasks of the host controllers. This is needed for drivers like
ural(4) that want to do synchronous USB transfers from the task handler.
Before the split timeouts could not be handled correctly as the task
thread was still blocked. From FreeBSD.

Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:52 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +15 -8 lines
sync with head

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:59 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -7 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 4 15:50:51 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
fix empty if

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 1 02:06:34 2006 UTC (20 years, 1 month ago) by jnemeth
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -2 lines
PR/34654 -- Peter Szilagyi -- add support for Belkin F5D6050 802.11b dongle

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 22 12:43:52 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
From: Jaime A Fournier: Patch to support SMC 2262WV1

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:55:33 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +33 -30 lines
sync with head

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:07:43 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +35 -32 lines
sync with head.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:05:49 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +22 -19 lines
Sync with head.

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:37:41 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +32 -29 lines
Sync with head.

Revision 1.13.12.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:30 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.13.12.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.12.1: +30 -27 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.13.8.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:24 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.13.8.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.8.1: +32 -29 lines
sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon May 22 21:01:15 2006 UTC (20 years, 6 months ago) by rpaulo
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +22 -19 lines
First round at adapting to our net80211 stack. Unfinished work, but at least
won't make the machine panic.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 14 05:42:43 2006 UTC (20 years, 6 months ago) by christos
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
XXX: GCC uninitialized

Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:29:59 2006 UTC (20 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +11 -11 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 8 17:12:42 2006 UTC (20 years, 6 months ago) by rpaulo
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -11 lines
Don't use a private variable for storing the desired ssid, the net80211 layer
provides that.
From OpenBSD.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:37 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Sync with head.

Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:26:29 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
sync with head.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:29 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
sync with head.

Revision 1.13.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:26 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 28 17:38:35 2006 UTC (20 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Use device_unit().

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:05 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.1.2.5: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.5: +4 -4 lines
Sync with head.

Revision 1.12.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:16 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +4 -4 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Nov 28 13:31:09 2005 UTC (20 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, ktrace-lwp-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls in
an interrupt context.  From kern/32172 by darkstar@city-net.com.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:08:05 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +33 -30 lines
Sync with HEAD. Here we go again...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 22 06:16:02 2005 UTC (21 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +29 -27 lines
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed May 11 10:02:28 2005 UTC (21 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -5 lines
Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.

Revision 1.10.4.2: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:18 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.10.4.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.4.1: +2211 -0 lines
sync with -current

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:58 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +86 -74 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:54 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +86 -74 lines
Sync with HEAD.

Hi Perry!

Revision 1.10.4.1
Thu Mar 3 09:23:24 2005 UTC (21 years, 8 months ago) by kent
Branches: kent-audio2
FILE REMOVED
Changes since revision 1.10: +0 -2211 lines
file if_atu.c was added on branch kent-audio2 on 2005-04-29 11:29:18 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 3 09:23:24 2005 UTC (21 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: kent-audio2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -4 lines
atu on OQO model 01 is confirmed to be working under basestation/no-WEP.
(WEP is not supported yet, it is an different issue)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 3 08:10:35 2005 UTC (21 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
OQO wifi interface needs quirks
(not confirmed if it works or not, so commented out)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Mar 2 11:35:07 2005 UTC (21 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
OQO device still unstable on attach/whatever, so comment those entries out

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 1 03:19:05 2005 UTC (21 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
add OQO model 01 devices

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Feb 27 23:49:05 2005 UTC (21 years, 8 months ago) by joff
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +75 -65 lines
Misc changes from code review from someone who doesn't understand USB or
802.11 but wants this driver to work nonetheless...
 o Support WEP encryption, hopefully fix PR kern/29324 from Andreas Gustafsson
 o Correct ENETRESET reconfig while iface is already running
 o Correct bpfilter usage
 o Avoid leaking mbufs on failed TX
 o Reset ieee80211 state to INIT and stop atu_task() on atu_stop()
 o Don't stop interface on USB tx errs, just drop packet
 o use IFQ_IS_EMPTY rather than check if_snd for NULL head

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:51 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
nuke trailing whitespace

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 25 14:47:19 2005 UTC (21 years, 8 months ago) by joff
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Clear IFF_RUNNING flag before aborting usb pipes in atu_stop().

Really fixes kern/29326.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 24 06:06:11 2005 UTC (21 years, 8 months ago) by joff
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -10 lines
o Make sure interface is up before continuing with atu_start().  Should fix PR
  kern/29326 as reported by Andreas Gustafsson.
o Use IFQ_DEQUEUE instead of IF_DEQUEUE

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:47:34 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +4 -4 lines
Sync with HEAD.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 24 22:40:00 2005 UTC (21 years, 9 months ago) by joff
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
It seems on some archs size_t is unsigned int and on others size_t is
unsigned long.  Cast sizeof() to unsigned long in printf()'s so it can
always work regardless.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:36 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +2199 -0 lines
Sync with HEAD.

Revision 1.1.2.1
Mon Jan 24 01:17:03 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.1: +0 -2199 lines
file if_atu.c was added on branch ktrace-lwp on 2005-01-24 08:35:36 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jan 24 01:17:03 2005 UTC (21 years, 9 months ago) by joff
Branches: MAIN
Branch point for: ktrace-lwp
Atmel AT76C50XX usb 802.11b wifi dongle driver from OpenBSD.

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>