The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25.4.4 / (download) - annotate - [select for diffs], Tue Jun 16 10:33:38 2020 UTC (3 years, 10 months ago) by bouyer
Branch: netbsd-7
Changes since 1.25.4.3: +8 -3 lines
Diff to previous 1.25.4.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by martin in ticket #1734):
	sys/dev/usb/if_otus.c: revision 1.45 via patch
Stricter bounds check for some packet length we get from the usb chip,
to make sure we do not corrupt kernel memory.
Pointed out by Ilja Van Sprundel.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Tue Jun 16 10:27:03 2020 UTC (3 years, 10 months ago) by bouyer
Branch: netbsd-8
Changes since 1.31.2.2: +8 -3 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by martin in ticket #1558):
	sys/dev/usb/if_otus.c: revision 1.45 via patch
Stricter bounds check for some packet length we get from the usb chip,
to make sure we do not corrupt kernel memory.
Pointed out by Ilja Van Sprundel.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Jun 11 11:01:20 2020 UTC (3 years, 10 months ago) by jdc
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.38: +8 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision (requested by martin in ticket #957):

	src/sys/dev/usb/if_otus.c: revision 1.45 (via patch)

Stricter bounds check for some packet length we get from the usb chip,
to make sure we do not corrupt kernel memory.
Pointed out by Ilja Van Sprundel.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 11 09:51:37 2020 UTC (3 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.44: +8 -3 lines
Diff to previous 1.44 (colored)

Stricter bounds check for some packet length we get from the usb chip,
to make sure we do not corrupt kernel memory.
Pointed out by Ilja Van Sprundel.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:49 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.33.2.2: +9 -0 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:13 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.33.2.1: +51 -47 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

Merge changes from current as of 20200406

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 15 23:04:50 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.43: +7 -3 lines
Diff to previous 1.43 (colored)

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

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

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

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

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

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

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 14 02:35:33 2020 UTC (4 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.42: +11 -11 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Fri Mar 13 18:17:40 2020 UTC (4 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.41: +19 -19 lines
Diff to previous 1.41 (colored)

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

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:16 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.39.2.1: +14 -14 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 29 06:35:28 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.40: +14 -14 lines
Diff to previous 1.40 (colored)

Adopt <net/if_stats.h>.

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

Sync with head.

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

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

Revision 1.39 / (download) - annotate - [select for diffs], Sat Sep 14 12:37:34 2019 UTC (4 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.38: +11 -2 lines
Diff to previous 1.38 (colored)

Fix NULL derefs, to prevent kernel crashes when detaching an otus0 device.

Found with vHCI.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:33 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.33: +17 -14 lines
Diff to previous 1.33 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 28 07:41:50 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.37: +6 -3 lines
Diff to previous 1.37 (colored)

 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 23 13:10:52 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

 Whitespace fix (mainly tabify).

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 23 10:57:29 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.35: +9 -9 lines
Diff to previous 1.35 (colored)

-No functional change:
  - KNF
  - u_int*_t -> uint*_t.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:04 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.32.2.1: +3 -3 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

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

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Wed Aug 8 10:28:35 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.31.2.1: +3 -3 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

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

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

New function usb_rem_task_wait(dev, task, queue).

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

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

Use usb_rem_task_wait in various drivers.

Revision 1.25.4.3 / (download) - annotate - [select for diffs], Wed Aug 8 10:17:11 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.25.4.2: +3 -3 lines
Diff to previous 1.25.4.2 (colored) to branchpoint 1.25 (colored)

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

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

New function usb_rem_task_wait(dev, task, queue).

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

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

Use usb_rem_task_wait in various drivers.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 2 06:09:04 2018 UTC (5 years, 8 months ago) by riastradh
Branch: 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
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Fix usb_rem_task_wait API.

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

While here, simplify.

ok mrg@

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 29 02:00:59 2018 UTC (5 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Use usb_rem_task_wait in otus(4) detach.

No need for callout_halt: otus_stop already does it.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:58 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

Sync with HEAD

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

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

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

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Mon Feb 19 19:33:06 2018 UTC (6 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.25.4.1: +3 -3 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored)

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

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jan 31 18:01:55 2018 UTC (6 years, 2 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

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

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

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

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 21 13:57:12 2018 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

PR kern/52931 Kernel panics with Atheros usb wireless interface

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

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:33 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.12.2.4: +55 -73 lines
Diff to previous 1.12.2.4 (colored) next main 1.13 (colored)

update from HEAD

Revision 1.25.6.11 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:27 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.10: +2 -7 lines
Diff to previous 1.25.6.10 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:11 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.30: +2 -7 lines
Diff to previous 1.30 (colored)

remove checks for failure after memory allocation calls that cannot fail:

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

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

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:19 2017 UTC (7 years ago) by snj
Branch: netbsd-7
Changes since 1.25: +79 -92 lines
Diff to previous 1.25 (colored)

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

Revision 1.25.6.10 / (download) - annotate - [select for diffs], Wed Feb 1 07:55:08 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.9: +3 -3 lines
Diff to previous 1.25.6.9 (colored) to branchpoint 1.25 (colored)

Be more careful about malloc returning NULL

Revision 1.25.10.2 / (download) - annotate - [select for diffs], Thu Jan 26 21:54:24 2017 UTC (7 years, 2 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.25.10.1: +29 -25 lines
Diff to previous 1.25.10.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD/nhusb

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:41 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

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

Revision 1.25.6.9 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:18 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.8: +6 -2 lines
Diff to previous 1.25.6.8 (colored) to branchpoint 1.25 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 25 12:56:29 2016 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored)

+#include "opt_usb.h"

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

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

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

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:15 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: 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
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Introduce m_set_rcvif and m_reset_rcvif

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

No functional change.

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

Sync with HEAD

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

Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.

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

Use M_GETCTX

No functional change.

Revision 1.25.6.6 / (download) - annotate - [select for diffs], Sat Apr 30 08:45:13 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.5: +25 -25 lines
Diff to previous 1.25.6.5 (colored) to branchpoint 1.25 (colored)

Convert from spl(9)/tsleep(9) to mutex(9)/condvar(9)

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:31 2016 UTC (7 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.25: +50 -67 lines
Diff to previous 1.25 (colored)

Merge nick-nhusb

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

Revision 1.25.6.5 / (download) - annotate - [select for diffs], Tue Oct 6 21:32:15 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.4: +30 -48 lines
Diff to previous 1.25.6.4 (colored) to branchpoint 1.25 (colored)

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

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

Revision 1.25.6.4 / (download) - annotate - [select for diffs], Sat Mar 21 11:33:37 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.3: +5 -5 lines
Diff to previous 1.25.6.3 (colored) to branchpoint 1.25 (colored)

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

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Thu Mar 19 17:26:42 2015 UTC (9 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.2: +8 -8 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored)

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

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Wed Dec 3 14:18:07 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25.6.1: +10 -9 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored)

Replace malloc(9) with kmem(9)

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

Step #1 of memory allocation re-organisation.

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

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

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

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.12.2.3: +13 -10 lines
Diff to previous 1.12.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.10.5 / (download) - annotate - [select for diffs], Thu May 22 11:40:36 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.10.4: +64 -163 lines
Diff to previous 1.9.10.4 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

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

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

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

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 17 21:07:37 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.24: +15 -12 lines
Diff to previous 1.24 (colored)

- remove unused variables
- move ifdef variables inside ifdef sections

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:22 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.12.2.2: +22 -22 lines
Diff to previous 1.12.2.2 (colored)

resync from head

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 30 14:14:31 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.23: +24 -24 lines
Diff to previous 1.23 (colored)

Use only one set of EDCA variables

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:34 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.12.2.1: +659 -296 lines
Diff to previous 1.12.2.1 (colored)

resync with head

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 29 13:54:26 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.22: +29 -131 lines
Diff to previous 1.22 (colored)

1) Use ic_curchan consistently
2) Ignore frames shorter than sizeof(struct ieee80211_frame).
3) Remove useless/dead code accidentally committed.

Revision 1.9.10.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:11 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9.10.3: +743 -278 lines
Diff to previous 1.9.10.3 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 22 12:40:42 2013 UTC (11 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

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

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

remove trailing lines

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 20 21:50:41 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.19: +739 -271 lines
Diff to previous 1.19 (colored)

Locking fixes and more for otus.

Revision 1.9.10.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:34 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.10.2: +11 -11 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored)

sync with (a bit old) head

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

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

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

add include "opt_usb.h" where needed.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Dec 27 16:42:32 2012 UTC (11 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)

Consistent/Correct error message from failing usbd_set_config.

Use aprint_error_dev.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 27 14:47:27 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.15: +7 -7 lines
Diff to previous 1.15 (colored)

better patch (no functional change); centralize freeing in one place.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 27 01:11:13 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

prevent double free on error.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 9 02:59:16 2012 UTC (11 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.13: +11 -11 lines
Diff to previous 1.13 (colored)

one semicolon is usually enough.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:34 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:04 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.10.1: +6 -4 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:38 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 20 07:32:49 2012 UTC (11 years, 8 months ago) by christos
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

remove duplicated QoS definitions

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 19 07:55:54 2012 UTC (11 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

add missing rcsid and multiple include protection.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:06 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 11 01:06:06 2012 UTC (12 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base10
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

minor cleanups from usbmp:
- move usbd_delay_ms() into usbdivar.h in the usb_subr.c section
- minor rcsid fixes
- copyright maintenence

Revision 1.9.14.1 / (download) - annotate - [select for diffs], Sun Feb 26 06:28:58 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

include usbdivar.h in several places that should.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:11 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.9.6.1: +2904 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.9.6.1, Thu Dec 2 17:38:05 2010 UTC (13 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.9: +0 -2904 lines
FILE REMOVED

file if_otus.c was added on branch rmind-uvmplock on 2011-03-05 20:54:11 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 2 17:38:05 2010 UTC (13 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, rmind-uvmplock, jmcneill-usbmp
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

just ignore things that refer to the interface while detaching.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 2 16:56:21 2010 UTC (13 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Don't crash during detach if the attach hook failed before setting up.
From Chuck Silvers

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:35 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.7.2.1: +2901 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.7.2.1, Thu Nov 4 14:08:31 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.7: +0 -2901 lines
FILE REMOVED

file if_otus.c was added on branch uebayasi-xip on 2010-11-06 08:08:35 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 4 14:08:31 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Branch point for: uebayasi-xip
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

more static

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 4 13:21:08 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

sprinkle static.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 3 22:28:31 2010 UTC (13 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

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.4 / (download) - annotate - [select for diffs], Wed Nov 3 21:07:24 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.3: +9 -4 lines
Diff to previous 1.3 (colored)

remove USB_ macros per dyoung.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 3 20:46:33 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

ifdef unused

Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 3 20:03:02 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.1: +1114 -540 lines
Diff to previous 1.1 (colored)

From Anon Ymous:

Port of the otus driver from OpenBSD.  This driver supports USB 2.0
wireless network devices based on Atheros Communications AR9001U
chipset.  It claims to support several AR9001U based adapters, but has
only been tested with a NetGear WNDA3100 adapter (0x0846/0x9010).

XXX: The EDCA support is currently missing from our network stack
(hopefully coming soon), but the driver hooks for it are there.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Nov 3 19:58:17 2010 UTC (13 years, 5 months ago) by christos
Branch: OPENBSD
CVS Tags: otus_20101102
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

from openbsd.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 3 19:58:17 2010 UTC (13 years, 5 months ago) by christos
Branch: MAIN

Initial revision

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




CVSweb <webmaster@jp.NetBSD.org>