The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Sun May 7 12:41:49 2023 UTC (10 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored) to selected 1.5.2.2 (colored)

RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 6 02:31:08 2022 UTC (18 months, 3 weeks ago) by nat
Branch: MAIN
CVS Tags: 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored) to selected 1.5.2.2 (colored)

Don't hold a spin lock entering usbd_transfer.

This avoids a crash found with LOCKDEBUG.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Sep 6 02:28:35 2022 UTC (18 months, 3 weeks ago) by nat
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.5.2.2 (colored)

Do a full screen update upon vt switch.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Sep 6 02:26:11 2022 UTC (18 months, 3 weeks ago) by nat
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored) to selected 1.5.2.2 (colored)

Ensure the device is fully initialized before starting the update thread.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Sep 6 02:23:50 2022 UTC (18 months, 3 weeks ago) by nat
Branch: MAIN
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored) to selected 1.5.2.2 (colored)

Don't throttle the frame rate.

Throttling of the frame rate is no longer necessary as most screen updates are
now partial updates.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Sep 6 02:20:17 2022 UTC (18 months, 3 weeks ago) by nat
Branch: MAIN
Changes since 1.28: +18 -51 lines
Diff to previous 1.28 (colored) to selected 1.5.2.2 (colored)

Finally fix the blitting function.

This means better performance for mostly static displays.
Full screen updates are still done five times a second.

Introduce a new variable sc_clear to force a full update.

Revision 1.28 / (download) - annotate - [select for diffs], Tue May 17 05:05:20 2022 UTC (22 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.5.2.2 (colored)

fix few typos in comments.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:17 2021 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.5.2.2 (colored)

Merge thorpej-cfargs2.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 23:07:57 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.5.2.2 (colored)

Adapt to CFARGS().

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:59 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.5.2.2 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:15 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.5.2.2 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Sep 5 16:30:11 2020 UTC (3 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored) to selected 1.5.2.2 (colored)

Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
  to query whether curlwp is the pagedaemon, which should maybe be
  exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
  by it.  We should split up uvm_extern.h but this will serve for now
  to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
  UVMHIST(ubchist), since ubchist is declared in uvm.h but the
  reference evaporates if UVMHIST is not defined, so we reduce header
  file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
  here.

ok chs@

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:49 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.21.2.2: +48 -34 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.5.2.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:13 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.21.2.1: +3 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) to selected 1.5.2.2 (colored)

Merge changes from current as of 20200406

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 27 09:41:51 2019 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.5.2.2 (colored)

s/transfered/transferred/

Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 14 15:24:23 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.22: +50 -36 lines
Diff to previous 1.22 (colored) to selected 1.5.2.2 (colored)

Fix error handling, to prevent kernel crashes at detach time. The code is
slightly reorganized. Found via vHCI.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:34 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

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

Sync with HEAD

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

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:34 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.5.2.2 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:18 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:05 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored) to selected 1.5.2.2 (colored)

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

Revision 1.6.10.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:34 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.6.10.2: +163 -33 lines
Diff to previous 1.6.10.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.5.2.2 (colored)

update from HEAD

Revision 1.11.6.10 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:28 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.9: +4 -16 lines
Diff to previous 1.11.6.9 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:12 2017 UTC (6 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat
Changes since 1.19: +4 -16 lines
Diff to previous 1.19 (colored) to selected 1.5.2.2 (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.11.4.2 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:19 2017 UTC (6 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.11.4.1: +173 -32 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.5.2.2 (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.11.4.1.4.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.11.4.1.4.1: +153 -13 lines
Diff to previous 1.11.4.1.4.1 (colored) to branchpoint 1.11.4.1 (colored) next main 1.11.4.2 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD/nhusb

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:42 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.14.2.1: +11 -7 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.5.2.2 (colored)

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

Revision 1.11.6.9 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:18 2016 UTC (7 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.8: +153 -13 lines
Diff to previous 1.11.6.8 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 4 10:12:35 2016 UTC (7 years, 3 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.18: +7 -7 lines
Diff to previous 1.18 (colored) to selected 1.5.2.2 (colored)

Whitespace

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

+#include "opt_usb.h"

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:16 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.14: +146 -10 lines
Diff to previous 1.14 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 18 20:17:37 2016 UTC (7 years, 5 months ago) by nat
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.16: +26 -6 lines
Diff to previous 1.16 (colored) to selected 1.5.2.2 (colored)

Stop crash when switching vt or leaving X windows.

Improved upon and OK from christos@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 17 20:04:48 2016 UTC (7 years, 5 months ago) by nat
Branch: MAIN
Changes since 1.15: +119 -5 lines
Diff to previous 1.15 (colored) to selected 1.5.2.2 (colored)

Add a kthread to update display with framebuffer contents.

X11 will now work with wsfb(4).

OK christos@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 17 19:58:42 2016 UTC (7 years, 5 months ago) by nat
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored) to selected 1.5.2.2 (colored)

Add DisplayLink FY-DVI usb adaptor.

OK christos@

Revision 1.11.4.1.4.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:09 2016 UTC (7 years, 6 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.11.4.1: +23 -22 lines
Diff to previous 1.11.4.1 (colored) to selected 1.5.2.2 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:32 2016 UTC (7 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.13: +20 -22 lines
Diff to previous 1.13 (colored) to selected 1.5.2.2 (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.11.6.8 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:19 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.7: +5 -2 lines
Diff to previous 1.11.6.7 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 19 03:44:41 2016 UTC (8 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) to selected 1.5.2.2 (colored)

Add three devices:
- Polaris2 USB dock and Plugable docking station from FreeBSD.
- DisplayLink MIMO from Swift Griggs.

Revision 1.11.6.7 / (download) - annotate - [select for diffs], Mon Dec 28 09:26:33 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.6: +6 -3 lines
Diff to previous 1.11.6.6 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

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

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

Revision 1.11.6.6 / (download) - annotate - [select for diffs], Tue Oct 6 21:32:15 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.5: +10 -15 lines
Diff to previous 1.11.6.5 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (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.11.6.5 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:13 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.4: +3 -2 lines
Diff to previous 1.11.6.4 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD

Revision 1.11.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.11.6.3: +4 -4 lines
Diff to previous 1.11.6.3 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

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

Revision 1.11.6.3 / (download) - annotate - [select for diffs], Thu Mar 19 17:26:43 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.2: +5 -5 lines
Diff to previous 1.11.6.2 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (colored)

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

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Fri Jan 16 09:40:29 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-6
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.5.2.2 (colored)

Pull up following revision(s) (requested by dholland in ticket #1233):
	sys/dev/usb/udl.c: revision 1.12
	sys/dev/usb/usbdevs_data.h: revision 1.678
	sys/dev/usb/usbdevs: revision 1.685
	sys/dev/usb/usbdevs.h: revision 1.677
Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Jan 16 08:30:42 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: netbsd-7-nhusb
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.5.2.2 (colored)

Pull up following revision(s) (requested by dholland in ticket #420):
	sys/dev/usb/udl.c: revision 1.12
	sys/dev/usb/usbdevs: revision 1.685
Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 12 05:19:33 2014 UTC (9 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.5.2.2 (colored)

Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:34 2014 UTC (9 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.1: +4 -4 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) to selected 1.5.2.2 (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.11.6.1 / (download) - annotate - [select for diffs], Mon Dec 1 13:03:05 2014 UTC (9 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.5.2.2 (colored)

Remove the lbl argument from usbd_{bulk,intr}_transfer.

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.6.10.1: +8 -4 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored) to selected 1.5.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:37 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.5.2.2: +8 -4 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (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.8.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.5.2.2 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 23 13:22:32 2014 UTC (10 years, 1 month ago) by skrll
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, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.5.2.2 (colored)

Update a comment

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 14 13:11:50 2013 UTC (10 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.5.2.2 (colored)

Use __diagused

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 14 13:15:53 2013 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored) to selected 1.5.2.2 (colored)

Conditionalize udl_draw_line_comp and udl_cmp_add_buf_comp

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:38 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.6: +7 -3 lines
Diff to previous 1.6 (colored) to selected 1.5.2.2 (colored)

resync with head

Revision 1.5.2.2 / (download) - annotate - [selected], Wed Jan 23 00:06:13 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.5.2.1: +7 -3 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 14 18:24:05 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.5.2.2 (colored)

PR/47447: YAMASHIRO, Jun: New device id for udl(4)

Revision 1.7 / (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.6: +6 -3 lines
Diff to previous 1.6 (colored) to selected 1.5.2.2 (colored)

Consistent/Correct error message from failing usbd_set_config.

Use aprint_error_dev.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:07 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) to selected 1.5.2.2 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 20 12:29:33 2011 UTC (12 years, 4 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp
Branch point for: tls-maxphys, netbsd-6
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) to selected 1.5.2.2 (colored)

Added "Lenovo ThinkVision LT1421 Wide" entry.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 22 12:40:55 2011 UTC (12 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.4: +8 -2 lines
Diff to previous 1.4 (colored) to selected 1.5.2.2 (colored)

PR/45133: usb/udl(4): Add new device ID
Applied patch.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:10 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.5.2.2 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:26 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.4.1: +3 -2 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.5.2.2 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 11 13:52:46 2011 UTC (12 years, 9 months ago) by nonaka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.5.2.2 (colored)

Added LCD-8000UD-DVI entry.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:15 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.2: +3 -2 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.5.2.2 (colored)

sync with head.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:45 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.5.2.2 (colored)

sync with head

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:52 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.5.2.2 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 11 13:57:22 2010 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.5.2.2 (colored)

add the 19" Samsung display, make udl handle it

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:06 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.1: +1744 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.5.2.2 (colored)

sync with head

Revision 1.2.2.1, Wed Feb 24 12:29:47 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +0 -1744 lines
FILE REMOVED

file udl.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 24 12:29:47 2010 UTC (14 years, 1 month ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored) to selected 1.5.2.2 (colored)

Fix porting miss.
  However this change in between #ifdef notyet and #endif.
  Thanks for fukaumi.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 30 16:18:34 2009 UTC (14 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to selected 1.5.2.2 (colored)

Add a driver for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Ported by FUKAUMI Naoki from OpenBSD with many modification.
No particular comments (except from me) on tech-kern@.

There are still many TODO even in MI wscons(4) API to handle this device:

 * No detach function for wsdisplay(9).
   Unpluging a device causes a panic. (should be trivial?)

 * ioctl() for X server support is currently commented out. ("notyet")
   OpenBSD allows device depedent ioctl()s and they introduced
   UDLIO_DAMAGE ioctl for the damage extension ops of X servers for udl(4).
   Before blindly pulling such ioctl(), probably we should discuss
   how such specific operations should be handled in MI wscons(4) API.

 * Screen text of wsemul tty could be mangled during large scroll ops.
   All tty output operations are invoked via ttstart() with the giant
   tty_lock mutex held, so we can't call cv_wait(9) to wait resources
   for data xfers via usbdi(9).h, then text output is silently discarded
   on resource shortage. To handle this without tty_lock reorganization,
   we have to change wsdisplay(9) APIs (especially wsdisplaystart()) to
   return a number of actually handled characters as OpenBSD does, but
   it may require whole API changes around child rasops(9) etc.

 * No MI API definition to convert mmap(9) cookie to physical address.
   The conversion is required to create a cookie which will be passed to
   pmap_phys_address(9) in uvm/uvm_device.c:udv_fault(). Most other
   drivers use bus_dmamem_mmap(9) or bus_space_mmap(9), but udl(4) uses
   kmem_alloc(9)'ed memory for bitmap data.
   Furthermore, pmap(9) man page says about pmap_phys_address(9):

     "This function is provided to accommodate systems which have
      physical address spaces larger than can be directly addressed
      by the platform's paddr_t type. The existence of this function is
      highly dubious, and it is expected that this function will be
      removed from the pmap API in a future release of NetBSD."

   As the man page says we have already had split paddr_t and vaddr_t,
   so it's time to remove such old ugly cookie and change all mmap(4)
   functions (mostly in MD bus_dma(9) and bus_space(9) APIs) to return
   simple physical address in paddr_t?

 * We need proper device names for wsdisplay1 (and more devices).
   Currently wsdisplay0 uses ttyE0 through ttyE253 (minor 0 to 253)
   for screens, ttyEstat (254) for status, and ttyEcfg (255) for config.
   The next wsdisplay1 will use 256 through 509 for screens, 510 for stat,
   and 511 for config but what names should we use for them? ttyFxxx?

 * How to handle multiple sets of wskbd/wsdisplay on a single machine.
   rc.d/wscons doesn't provide method to specify wscons control devices.
   There is no proper interface to specify which keyboard should be connected
   to which wsdisplay, etc.

 * And maybe more...

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>