The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 12 19:39:35 2024 UTC (2 years, 2 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-2-RELEASE, netbsd-10-1-RELEASE
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -2 lines
Pull up following revision(s) (requested by rin in ticket #841):

	sys/dev/usb/ucycom.c: revision 1.57

Prevent errant ucycom-presenting device from causing up to 225
bytes of kernel memory following input buffer to leak to tty
application.

Probably not practically expolitable, but you never know.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Mar 17 20:10:52 2024 UTC (2 years, 8 months ago) by jakllsch
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, HEAD
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2 lines
Prevent errant ucycom-presenting device from causing up to 225
bytes of kernel memory following input buffer to leak to tty
application.

Probably not practically expolitable, but you never know.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Oct 26 23:50:28 2022 UTC (4 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, 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
Branch point for: netbsd-10
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -5 lines
ucycom(4): Convert to ttylock/ttyunlock.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:44:17 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +18 -20 lines
uhidev(9): Make uhidev state opaque.

This makes the API simpler and clearer and gives us more latitude to
fix bugs in the state management without breaking the ABI.

XXX kernel ABI change to signature of uhidev_get_report_desc and
uhidev_open, and to struct uhidev_attach_arg, requires bump for
uhidev driver modules

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:43:30 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +28 -6 lines
ucycom(4): Defer uhidev_write_async to taskq.

Can't submit USB transfers while holding tty_lock, a spin lock.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:43:03 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -7 lines
uhidev(9): New uhidev_write_async.

Like uhidev_write but issues the transfer asynchronously with a
callback.

Use it in ucycom(4).

Also, clear endpoint stalls asynchronously -- can't do them
synchronously in xfer callbacks which run at softint and therefore
can't wait in cv_wait as usbd_do_request does.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:42:54 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
uhidev(9): Partially fix uhidev_write aborting.

In my previous change, I intended to make uhidev_stop abort any
pending write -- but I forgot to initialize sc->sc_writereportid, so
it never did anything.

This changes the API and ABI of uhidev_write so it takes the struct
uhidev pointer, rather than the struct uhidev_softc pointer; this way
uhidev_write knows what the report id of the client is, so it can
arrange to have uhidev_stop abort only this one.

XXX Except it still doesn't actually work because we do this
unlocked, ugh, so the write might complete before we abort anything.
To be fixed some more in a later change.

XXX kernel ABI change to uhidev_write signature, used by uhidev
driver modules, requires bump

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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Mar 14 02:35:33 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 lines
revert the 0x% -> %# change for fixed width formats pointed out by uwe.

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

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Thu Jan 2 09:43:56 2020 UTC (6 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +17 -6 lines
Pull up following revision(s) (requested by maxv in ticket #1480):

	sys/dev/usb/uthum.c: revision 1.18
	sys/dev/usb/ucycom.c: revision 1.49
	sys/dev/usb/uhid.c: revision 1.111

Fix buffer overflows. sc_{o,f}len are controlled by the USB device. By
crafting the former the device can leak stack data. By crafting the latter
the device can overwrite the stack. The combination of the two means the
device can ROP the kernel and obtain code execution (demonstrated with an
actual exploit over vHCI).

Truncate the lengths to the size of the buffers, and also drop sc_ilen
since it is unused. Patch tested with vHCI+kASan.

 -

Fix buffer overflows. Also add missing mutex_exit.

 -

Fix buffer overflows: validate the lengths at attach time, given that they
are apparently not supposed to be variable. Drop sc_ilen since it is
unused.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 2 09:42:06 2020 UTC (6 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +17 -6 lines
Pull up following revision(s) (requested by maxv in ticket #595):

	sys/dev/usb/uthum.c: revision 1.18
	sys/dev/usb/ucycom.c: revision 1.49
	sys/dev/usb/uhid.c: revision 1.111

Fix buffer overflows. sc_{o,f}len are controlled by the USB device. By
crafting the former the device can leak stack data. By crafting the latter
the device can overwrite the stack. The combination of the two means the
device can ROP the kernel and obtain code execution (demonstrated with an
actual exploit over vHCI).

Truncate the lengths to the size of the buffers, and also drop sc_ilen
since it is unused. Patch tested with vHCI+kASan.

 -

Fix buffer overflows. Also add missing mutex_exit.

 -

Fix buffer overflows: validate the lengths at attach time, given that they
are apparently not supposed to be variable. Drop sc_ilen since it is
unused.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jan 1 09:08:28 2020 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +17 -6 lines
Fix buffer overflows: validate the lengths at attach time, given that they
are apparently not supposed to be variable. Drop sc_ilen since it is
unused.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Dec 1 08:27:54 2019 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +26 -26 lines
localify

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

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

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Dec 10 17:03:07 2017 UTC (8 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Factor out bus-independant HID code so that it can be shared by USB, bluetooth
and i2c.
dev/usb/ukbdmap.c is renamed to dev/hid/hidkbdmap.c
dev/usb/hid.[ch] moved to dev/hid/
usage pages moved from dev/usb/usbhid.h moved to dev/hid/hid.h,
and updated with OpenBSD entries.
bus-independant code moved from dev/usb/ums.c to dev/hid/hidms.c
(the same should be done for keyboard and touchpad drivers)

Needed for the upcoming HID over I2C support, proposed on tech-kern@
on Dec, 1.

Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:34 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.2: +67 -59 lines
update from HEAD

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

Revision 1.39.2.1.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 26 21:54:24 2017 UTC (9 years, 9 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.39.2.1.4.1: preferred, colored; branchpoint 1.39.2.1: preferred, colored; next MAIN 1.39.2.2: preferred, colored
Changes since revision 1.39.2.1.4.1: +6 -2 lines
Sync with HEAD/nhusb

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

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

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

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

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

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:42 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -11 lines
KNF. Remove extra spaces. No functional change.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Apr 23 10:15:32 2016 UTC (10 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +44 -46 lines
Merge nick-nhusb

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

Revision 1.41.2.8: download - view: text, markup, annotated - select for diffs
Tue Oct 6 21:32:15 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.7: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.7: +4 -6 lines
Move from usbd_{alloc,free}_xfer and usbd_{alloc,free}_buffer to
usbd_{create,destroy}_xfer.  The API change will allow future changes
to HCDs to simplify the transfer resource allocation and activation.

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

Revision 1.41.2.7: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:13 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.6: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.6: +9 -4 lines
Sync with HEAD

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 21 17:30:43 2015 UTC (11 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -4 lines
Pull up following revision(s) (requested by mrg in ticket #626):
	sys/dev/usb/TODO.usbmp: revision 1.9
	sys/dev/usb/uatp.c: revision 1.11
	sys/dev/usb/ucycom.c: revision 1.42
	sys/dev/usb/uhid.c: revision 1.93, 1.94
	sys/dev/usb/uhidev.c: revision 1.63
	sys/dev/usb/uhidev.h: revision 1.17
	sys/dev/usb/ukbd.c: revision 1.130
	sys/dev/usb/uyurex.c: revision 1.10
properly protect uhid's sc_q member with sc_lock.  should fix PR#49728.
while here, remove D_MPSAFE from uhid* and all uhid users, as it really
needs all the callers to be safe and they're not.
--
don't take the device lock when stopping the uhidev.  that calls
to abort and close pipes, both of which may take an adaptive lock.
fixes a LOCKDEBUG abort see on one particular machine.

Revision 1.41.2.6: download - view: text, markup, annotated - select for diffs
Sat Mar 21 11:33:37 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.5: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.5: +3 -3 lines
Add prefixes to attach_arg structure member names. No functional change.

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

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Mar 7 20:20:55 2015 UTC (11 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -4 lines
properly protect uhid's sc_q member with sc_lock.  should fix PR#49728.
while here, remove D_MPSAFE from uhid* and all uhid users, as it really
needs all the callers to be safe and they're not.

XXX: pullup-7

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

No functional change.

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

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 3 14:18:07 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +5 -5 lines
Replace malloc(9) with kmem(9)

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 30 12:18:58 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -7 lines
Use C99 types. u_int{8,16,32,64}_t to uint{8,16,32,64}_t.

No functional change.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Nov 15 19:26:37 2014 UTC (12 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -9 lines
fix macro names

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Nov 15 19:18:19 2014 UTC (12 years ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -9 lines
centralize the dialout/call unit macros.

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

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:59 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +3 -2 lines
Rebase.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:39 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.33.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:37 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.33.4.2: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.4.2: +18 -5 lines
sync with head.

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

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

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:47 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +18 -5 lines
sync with head

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:29 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 14 18:15:12 2013 UTC (13 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -2 lines
Handle an error from uhidev_get_report in ucycom_get_cfg

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Sep 15 15:06:04 2013 UTC (13 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Mark a potentially unused variable

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:38 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2 lines
resync with head

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

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jan 9 23:02:59 2013 UTC (13 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2 lines
Add usmsc(4) - a driver for the SMSC95XX USB ethernet devices.

This is a port of the OpenBSD driver which itself was a port of the
FreeBSD driver.

sorry mrg. jared made me do it.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:07 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Mar 6 03:35:29 2012 UTC (14 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
pull down from usbmp branch:

- rename usb_detach_{wake,waitup}() to usb_detach_{wake,waitup}old()
- use some c99 struct .initialisers

Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Sun Feb 26 07:12:50 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +3 -3 lines
rename old usb_detach_wakeup/wait to usb_detach_{wake,wakeup}old().

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

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

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Apr 24 16:27:01 2011 UTC (15 years, 6 months ago) by rmind
Branches: 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, jmcneill-usbmp-pre-base2, 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
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.

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

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Nov 15 06:01:07 2010 UTC (16 years ago) by uebayasi
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
Dereferencing struct lwp * needs sys/lwp.h.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:37 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +12 -7 lines
Sync with HEAD.

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

Revision 1.21.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:06 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.21.4.3: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.4.3: +5 -7 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Dec 6 21:40:31 2009 UTC (16 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -7 lines
Simplify device-activation hooks.

Revision 1.21.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:21 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.21.4.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.4.2: +103 -47 lines
sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Aug 6 07:07:30 2009 UTC (17 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jym-xensuspend-nbase
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +62 -15 lines
Make ucycomstart use usbd_setup_xfer and a callback so that it doesn't
(attempt to) sleep in interrupt context.

From David Howland in PR 36276 with changes from me.

XXX Still losing data on input.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jul 24 06:58:24 2009 UTC (17 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
spaces to tab.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jul 24 06:54:10 2009 UTC (17 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +18 -18 lines
Remove trailing whitespace

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jul 24 06:50:40 2009 UTC (17 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +27 -18 lines
Wrap some long lines.

Whitespace.

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

Revision 1.23.6.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:53 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23.6.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.6.1: +4 -4 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 20 18:20:48 2009 UTC (17 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Change major()/minor() to return 32-bit types again, called
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.

Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:09 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Sync with HEAD.

Revision 1.20.8.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:09 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20.8.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.8.1: +2 -2 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jan 11 10:56:27 2009 UTC (17 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
make this compile

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

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:20 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +30 -28 lines
sync with head

Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:54 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +30 -35 lines
Sync with HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat May 24 16:40:58 2008 UTC (18 years, 5 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +30 -28 lines
Split device_t and softc for all USB device drivers, and related cosmetic
changes.

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

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:50 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -9 lines
sync with head.

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:10 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -9 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:59 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Apr 5 16:35:35 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
use aprint_*_dev and device_xname

Revision 1.10.6.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:45 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.6.6: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.6: +2 -2 lines
sync with head

Revision 1.17.16.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:41 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +6 -11 lines
sync with HEAD

Revision 1.17.22.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:31 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.17.22.2: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.22.2: +2 -2 lines
Sync with HEAD.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:25 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2 lines
Sync with head.

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:56:06 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2 lines
Sync with HEAD

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:40:02 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2 lines
sync with head.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 11 12:16:34 2007 UTC (18 years, 11 months ago) by lukem
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
use __KERNEL_RCSID() instead of __RCSID()

Revision 1.17.22.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:04 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.17.22.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.22.1: +4 -11 lines
Sync with HEAD.

Revision 1.10.6.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:34 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.6.5: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.5: +4 -11 lines
sync with head

Revision 1.17.14.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:55:51 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.17.14.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.14.1: +4 -11 lines
Sync with HEAD.

Revision 1.17.20.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:43 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.17.20.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.20.1: +2 -9 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 19 18:51:51 2007 UTC (19 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -11 lines
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.

Revision 1.17.22.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:26 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
Sync with HEAD.

Revision 1.10.6.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:34 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.6.4: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.4: +4 -2 lines
sync with head.

Revision 1.17.20.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:01:42 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
Sync with HEAD

Revision 1.17.14.1: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:47:50 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 10 18:29:37 2007 UTC (19 years ago) by ad
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
Call ttyflush() with tty_lock held.

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

Revision 1.16.10.2: download - view: text, markup, annotated - select for diffs
Thu Jun 28 03:17:29 2007 UTC (19 years, 4 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.16.10.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.10.1: +1 -0 lines
New device from OpenBSD:
- DeLorme Earthmate LT-20 GPS

Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Sun Jun 17 01:07:26 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +12 -12 lines
- Pullup 1.17 in a different way.
- struct lwp *l -> usb_proc_ptr p

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:57:31 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:49 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.10.6.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:39 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.6.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.2: +11 -9 lines
sync with head.

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

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:51 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +11 -11 lines
Sync with head.

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

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

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 4 16:01:23 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -4 lines
fix empty if

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 1 20:31:51 2006 UTC (20 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 1 19:28:44 2006 UTC (20 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -6 lines
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.

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

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:20 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7.2.3: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.3: +6 -4 lines
sync with head

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:53 2006 UTC (20 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -4 lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:07:44 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.1: +1064 -0 lines
sync with head.

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

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

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:24 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.2: +5 -4 lines
sync with head.

Revision 1.10.6.1
Sun May 14 21:47:00 2006 UTC (20 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.10: +0 -1064 lines
file ucycom.c was added on branch yamt-lazymbuf on 2006-06-21 15:07:44 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun May 14 21:47:00 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-lazymbuf
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -4 lines
integrate kauth.

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:29 2006 UTC (20 years, 6 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.3: +3 -2 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:38 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -9 lines
Sync with head.

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

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

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

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

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:32 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -7 lines
sync with head.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 14:39:03 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +4 -4 lines
generic_authorize() -> kauth_authorize_generic().

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:44:49 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
Adapt to kernel authorization KPI.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 5 17:33:33 2006 UTC (20 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -7 lines
cleanup more SET/CLR/ISSET lossage

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:40 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 20 16:50:37 2006 UTC (20 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:01 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -12 lines
merge ktrace-lwp.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:08:05 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.1: +1068 -0 lines
Sync with HEAD. Here we go again...

Revision 1.5.6.1
Tue Sep 6 21:40:45 2005 UTC (21 years, 2 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.5: +0 -1068 lines
file ucycom.c was added on branch ktrace-lwp on 2005-11-10 14:08:05 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Sep 6 21:40:45 2005 UTC (21 years, 2 months ago) by kleink
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: ktrace-lwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 1 18:10:20 2005 UTC (21 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -9 lines
Complete the attach message - there is nothing interesting to report.

Remove some debug stuff.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 5 07:27:47 2005 UTC (21 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
+#include <sys/device.h>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 1 15:00:24 2005 UTC (21 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -10 lines
Debug code tidy up.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jul 30 06:14:50 2005 UTC (21 years, 3 months ago) by skrll
Branches: MAIN
Add a driver for Cypress microcontroller based USB serial adapters.

XXX hw flow control is not supported.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>