The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.66 / (download) - annotate - [select for diffs], Wed Apr 6 22:01:45 2022 UTC (10 months ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.65: +7 -17 lines
Diff to previous 1.65 (colored)

revert accidental last commit (except ukbd.c)

Revision 1.65 / (download) - annotate - [select for diffs], Wed Apr 6 21:51:29 2022 UTC (10 months ago) by mlelstv
Branch: MAIN
Changes since 1.64: +19 -9 lines
Diff to previous 1.64 (colored)

remove debug printf

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:49 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.61.2.2: +1 -1 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:13 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.61.2.1: +11 -11 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

Merge changes from current as of 20200406

Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 1 08:27:54 2019 UTC (3 years, 2 months ago) by maxv
Branch: 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, is-mlppp-base, is-mlppp, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.63: +11 -11 lines
Diff to previous 1.63 (colored)

localify

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Wed Nov 6 10:25:26 2019 UTC (3 years, 3 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.59.2.1: +3 -3 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1429):

	sys/dev/usb/ubt.c: revision 1.61
	sys/dev/sdmmc/sbt.c: revision 1.6

m_free -> m_freem, m_copyback could have added mbufs in the chain

Revision 1.63 / (download) - annotate - [select for diffs], Sun Sep 22 07:29:16 2019 UTC (3 years, 4 months ago) by dsainty
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Purge an ancient email address, use dsainty@NetBSD.org instead

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

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Sun May 5 03:17:54 2019 UTC (3 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:26 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 18 15:01:03 2018 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-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, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

m_free -> m_freem, m_copyback could have added mbufs in the chain

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 19:33:06 2018 UTC (4 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.51.2.1: +6 -6 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

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

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed Jan 31 18:01:54 2018 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.59: +6 -6 lines
Diff to previous 1.59 (colored)

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

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

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

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

PR kern/52931 Kernel panics with Atheros usb wireless interface

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

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:34 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.48.2.2: +280 -151 lines
Diff to previous 1.48.2.2 (colored) next main 1.49 (colored)

update from HEAD

Revision 1.51.4.14 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:28 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.13: +10 -6 lines
Diff to previous 1.51.4.13 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:12 2017 UTC (5 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.58: +2 -6 lines
Diff to previous 1.58 (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.57.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:53 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.57: +10 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:19 2017 UTC (5 years, 10 months ago) by snj
Branch: netbsd-7
Changes since 1.51: +274 -149 lines
Diff to previous 1.51 (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.56.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:38 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.56.2.1: +10 -2 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 5 19:22:45 2017 UTC (5 years, 11 months ago) by snj
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.57: +10 -2 lines
Diff to previous 1.57 (colored)

match MacBookPro 9,2 bluetooth controller

Revision 1.51.8.2 / (download) - annotate - [select for diffs], Thu Jan 26 21:54:24 2017 UTC (6 years ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.51.8.1: +6 -2 lines
Diff to previous 1.51.8.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD/nhusb

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:42 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.56: +6 -2 lines
Diff to previous 1.56 (colored)

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

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

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Fri Nov 25 12:56:29 2016 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.56: +6 -2 lines
Diff to previous 1.56 (colored)

+#include "opt_usb.h"

Revision 1.51.4.12 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:57 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.11: +12 -10 lines
Diff to previous 1.51.4.11 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:09 2016 UTC (6 years, 5 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.51: +270 -149 lines
Diff to previous 1.51 (colored)

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

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jul 14 04:19:27 2016 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.55: +12 -10 lines
Diff to previous 1.55 (colored)

KNF. No functional change.

Revision 1.51.4.11 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:16 2016 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.10: +10 -11 lines
Diff to previous 1.51.4.10 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:42 2016 UTC (6 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907
Changes since 1.54: +10 -11 lines
Diff to previous 1.54 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:32 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.53: +115 -123 lines
Diff to previous 1.53 (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.51.4.10 / (download) - annotate - [select for diffs], Sun Mar 20 08:42:19 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.9: +13 -13 lines
Diff to previous 1.51.4.9 (colored) to branchpoint 1.51 (colored)

Whitespace

Revision 1.51.4.9 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:19 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.8: +149 -21 lines
Diff to previous 1.51.4.8 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed Feb 17 10:52:55 2016 UTC (6 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.52: +149 -33 lines
Diff to previous 1.52 (colored)

extend the match function, to match devices from a selection of
manufacturers that use modern Broadcom chips, and which represent
as a vendor-specific device class.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Feb 17 00:49:28 2016 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.51: +15 -3 lines
Diff to previous 1.51 (colored)

Match various Apple USB Bluetooth controllers.

From mlelstv.

Revision 1.51.4.8 / (download) - annotate - [select for diffs], Mon Dec 28 10:15:09 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.7: +3 -3 lines
Diff to previous 1.51.4.7 (colored) to branchpoint 1.51 (colored)

Use IPL_SOFTUSB instead of IPL_USB appropriately.  Transfer completions
are executed as a softint and so this is the priority level required.

Revision 1.51.4.7 / (download) - annotate - [select for diffs], Mon Dec 28 09:26:33 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.6: +27 -12 lines
Diff to previous 1.51.4.6 (colored) to branchpoint 1.51 (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.51.4.6 / (download) - annotate - [select for diffs], Tue Oct 6 21:32:15 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.5: +35 -58 lines
Diff to previous 1.51.4.5 (colored) to branchpoint 1.51 (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.51.4.5 / (download) - annotate - [select for diffs], Sat Mar 21 11:33:37 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.4: +7 -7 lines
Diff to previous 1.51.4.4 (colored) to branchpoint 1.51 (colored)

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

Revision 1.51.4.4 / (download) - annotate - [select for diffs], Sat Mar 21 10:14:46 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.3: +7 -7 lines
Diff to previous 1.51.4.3 (colored) to branchpoint 1.51 (colored)

Trailing whitespace

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Thu Mar 19 17:26:43 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.2: +37 -37 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored)

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

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Wed Dec 3 14:18:07 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.4.1: +5 -5 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored)

Replace malloc(9) with kmem(9)

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:34 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51: +7 -7 lines
Diff to previous 1.51 (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.48.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.48.2.1: +7 -23 lines
Diff to previous 1.48.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:59 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Rebase.

Revision 1.40.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:37 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.40.4.3: +2 -18 lines
Diff to previous 1.40.4.3 (colored) to branchpoint 1.40 (colored) next main 1.41 (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.51 / (download) - annotate - [select for diffs], Tue May 20 18:25:54 2014 UTC (8 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored)

netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.49: +2 -18 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:10 2014 UTC (8 years, 11 months ago) by pooka
Branch: 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
Changes since 1.49: +2 -18 lines
Diff to previous 1.49 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:34 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.48: +18 -10 lines
Diff to previous 1.48 (colored)

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

Revision 1.40.4.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:07 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.40.4.2: +19 -11 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 6 14:37:41 2012 UTC (10 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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.48: +18 -10 lines
Diff to previous 1.48 (colored)

recognize apple bluetooth adapter in MacBook Air. (Ryo Onodera)

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jun 2 21:36:45 2012 UTC (10 years, 8 months ago) by dsl
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Add some pre-processor magic to verify that the type of the data item
  passed to sysctl_createv() actually matches the declared type for
  the item itself.
In the places where the caller specifies a function and a structure
  address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
  sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
  AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
  fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:06 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.40.4.1: +15 -8 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon May 7 16:25:42 2012 UTC (10 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.44: +15 -8 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Pull up following revision(s) (requested by christos in ticket #216):
	sys/dev/usb/ubt.c: revision 1.47
PR/46338: Nat Sloss: Prevent ubt synchronization loss from overwriting memory.

Revision 1.40.8.4 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:01 2012 UTC (10 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.40.8.3: +15 -8 lines
Diff to previous 1.40.8.3 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync to latest -current.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 24 20:04:49 2012 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Changes since 1.46: +15 -8 lines
Diff to previous 1.46 (colored)

PR/46338: Nat Sloss: Prevent ubt synchronization loss from overwriting memory.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:07 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.40: +15 -13 lines
Diff to previous 1.40 (colored)

sync with head

Revision 1.40.8.3 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:34 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.40.8.2: +5 -4 lines
Diff to previous 1.40.8.2 (colored) to branchpoint 1.40 (colored)

sync to latest -current.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Apr 5 16:31:53 2012 UTC (10 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base8
Changes since 1.45: +5 -4 lines
Diff to previous 1.45 (colored)

no need to device_pmf_is_registered() before unregister

Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 6 03:35:29 2012 UTC (10 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored)

pull down from usbmp branch:

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

Revision 1.40.8.2 / (download) - annotate - [select for diffs], Sun Feb 26 07:12:49 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.40.8.1: +8 -8 lines
Diff to previous 1.40.8.1 (colored) to branchpoint 1.40 (colored)

rename old usb_detach_wakeup/wait to usb_detach_{wake,wakeup}old().

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:07 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.40: +6 -5 lines
Diff to previous 1.40 (colored)

merge to -current.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 23 08:30:24 2012 UTC (11 years ago) by plunky
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.43: +6 -3 lines
Diff to previous 1.43 (colored)

make sure kernel lock is held when changing isoc configuration
(this is called from sysctl and autoconf)

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jan 14 21:37:17 2012 UTC (11 years ago) by plunky
Branch: MAIN
Changes since 1.42: +2 -4 lines
Diff to previous 1.42 (colored)

don't behave differently when DIAGNOSTIC is defined

Revision 1.42 / (download) - annotate - [select for diffs], Fri Dec 23 00:51:45 2011 UTC (11 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.41: +7 -7 lines
Diff to previous 1.41 (colored)

Revert previous due to active usbmp branch(es).

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 22 20:07:00 2011 UTC (11 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.40: +7 -7 lines
Diff to previous 1.40 (colored)

Adjust-away inconsistent and trailing whitespace.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:42 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.39: +12 -8 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:02 2011 UTC (11 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38.4.1: +10 -6 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 16 21:36:55 2011 UTC (11 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, mrg-ohci-jmcneill-usbmp-base, mrg-ohci-jmcneill-usbmp, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.39: +12 -8 lines
Diff to previous 1.39 (colored)

use C99 style for variadic macro arguments

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:13 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.38: +65 -56 lines
Diff to previous 1.38 (colored)

sync with head

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:37 2010 UTC (12 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38: +65 -56 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 3 22:34:23 2010 UTC (12 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base4, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.38: +65 -56 lines
Diff to previous 1.38 (colored)

Stop using the compatibility macros USB_ATTACH(), USB_DETACH(),
USB_MATCH(), et cetera.  These files produce the same assembly
(according to objdump -d) before and after the change

Revision 1.30.10.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:06 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.10.3: +7 -13 lines
Diff to previous 1.30.10.3 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 6 21:40:31 2009 UTC (13 years, 2 months ago) by dyoung
Branch: 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
Changes since 1.37: +4 -12 lines
Diff to previous 1.37 (colored)

Simplify device-activation hooks.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Sep 23 19:07:19 2009 UTC (13 years, 4 months ago) by plunky
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored)

fix up USB drivers printing of autoconf information

1. expand the USB_ATTACH_SETUP macro (requested by jmcneill)

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

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

this avoids problems where autoconf messages are getting mixed up.

Revision 1.30.10.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:58 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.10.2: +4 -2 lines
Diff to previous 1.30.10.2 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 30 18:35:53 2009 UTC (13 years, 5 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

(perhaps) fix a long standing issue that I came across recently. If
you repeatedly enable/disable a ubt device it sometimes hangs in
the bluetooth initialisation where the device responses never arrive,
but if you interrupt and try again it works fine.

additionally aborting the default pipe on shutdown seems to fix that

Revision 1.30.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:21 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.10.1: +42 -45 lines
Diff to previous 1.30.10.1 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:10 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.32: +6 -9 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:33 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30.6.1: +4 -7 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:11 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.31.2.1: +6 -9 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:02 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.32.2.2: +6 -7 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:27 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.32.2.1: +2 -3 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 28 14:19:26 2008 UTC (14 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.34: +6 -7 lines
Diff to previous 1.34 (colored)

Don't pmf_device_deregister() if it was not registered, which happens
if attach() encountered an error before.
In contrast, such a protection should not be needed for the register()
call, so remove it there.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 26 20:16:10 2008 UTC (14 years, 6 months ago) by plunky
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

remove comment that is no longer true

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:44 2008 UTC (14 years, 6 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 16 08:43:01 2008 UTC (14 years, 6 months ago) by tonnerre
Branch: MAIN
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

Don't ignore poor retarded ubt(4) devices which have vendor and product id
== 0. Discovered by mballmer@obsd, ok'd by plucky@.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:36 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.31: +38 -38 lines
Diff to previous 1.31 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.30.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:20 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.30.8.1: +38 -38 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:54 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30: +38 -45 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sat May 24 16:40:58 2008 UTC (14 years, 8 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl, haad-dm
Changes since 1.31: +38 -38 lines
Diff to previous 1.31 (colored)

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.30.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:50 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored)

sync with head.

Revision 1.30.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:10 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:59 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:44 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.6: +8 -2 lines
Diff to previous 1.12.2.6 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.24.12.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:40 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.24.12.1: +201 -98 lines
Diff to previous 1.24.12.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with HEAD

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:19 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.26.4.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:30 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.26.4.2: +8 -2 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:25 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 16 19:01:37 2007 UTC (15 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored)

add null pmf handlers.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:03 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.4.1: +171 -77 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored)

Sync with HEAD.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:33 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.5: +171 -77 lines
Diff to previous 1.12.2.5 (colored) to branchpoint 1.12 (colored)

sync with head

Revision 1.24.10.3 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:39 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.10.2: +171 -77 lines
Diff to previous 1.24.10.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Nov 28 20:16:12 2007 UTC (15 years, 2 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.28: +171 -77 lines
Diff to previous 1.28 (colored)

Clean up the way that bluetooth drivers attach to the bluetooth stack,
to remove the frobbing that drivers must do in the hci_unit structure.

- driver provides a static const interface descriptor
- hci_unit is allocated by hci_attach() rather than part of softc
- statistics are compiled by driver and provided on request
- driver provides output methods and is responsible for output queue
- stack provides input methods and is responsible for input queue
- mutex is used to arbitrate device queue access

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:26 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26: +42 -39 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:33 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.4: +42 -39 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:41 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.26: +42 -39 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.24.10.2 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:49 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.10.1: +42 -39 lines
Diff to previous 1.24.10.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 11 12:59:06 2007 UTC (15 years, 2 months ago) by plunky
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

convert device printf() usages to aprint_xxxx()

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 10 23:12:22 2007 UTC (15 years, 3 months ago) by plunky
Branch: MAIN
Changes since 1.26: +38 -35 lines
Diff to previous 1.26 (colored)

use more device_t and device_xxx() accessors

make bluetooth stack keep device_t instead of softc pointer as
device is not necessarily part of softc, and pass device_t to
driver callbacks. hci_devname is no longer required.

Revision 1.24.12.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:30:35 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.24: +8 -4 lines
Diff to previous 1.24 (colored)

sync with HEAD

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:34 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.3: +8 -4 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:42:09 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.22.6.1: +8 -4 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.24.14.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:31:34 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.24: +8 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:42 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24: +8 -4 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 2 05:53:47 2007 UTC (15 years, 4 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

fix typo : -> ;

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 2 05:38:06 2007 UTC (15 years, 4 months ago) by plunky
Branch: MAIN
Changes since 1.24: +8 -4 lines
Diff to previous 1.24 (colored)

clean up activate function

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:39:09 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.2: +25 -31 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:08:37 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.22: +25 -31 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.22.10.4 / (download) - annotate - [select for diffs], Mon Jun 18 13:46:27 2007 UTC (15 years, 7 months ago) by itohy
Branch: itohy-usb1
Changes since 1.22.10.3: +12 -2 lines
Diff to previous 1.22.10.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Pullup 1.24 (attach driver per interface) with #ifdef USB_USE_IFATTACH.

Revision 1.22.10.3 / (download) - annotate - [select for diffs], Sun Jun 17 13:57:59 2007 UTC (15 years, 7 months ago) by itohy
Branch: itohy-usb1
Changes since 1.22.10.2: +29 -29 lines
Diff to previous 1.22.10.2 (colored) to branchpoint 1.22 (colored)

Pullup 1.23:
> match against the whole device, since we take more than one interface.

Revision 1.22.10.2 / (download) - annotate - [select for diffs], Sat Jun 16 04:12:29 2007 UTC (15 years, 7 months ago) by itohy
Branch: itohy-usb1
Changes since 1.22.10.1: +31 -20 lines
Diff to previous 1.22.10.1 (colored) to branchpoint 1.22 (colored)

- Change order to fit current API: usbd_open_pipe() -> usbd_alloc_xfer;
  usbd_abort_pipe() -> usbd_free_xfer() -> usbd_close_pipe().

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Tue May 22 14:57:40 2007 UTC (15 years, 8 months ago) by itohy
Branch: itohy-usb1
Changes since 1.22: +9 -7 lines
Diff to previous 1.22 (colored)

Overhaul of USB stack, mostly DMA related

This applies to NetBSD 4.99.13 (March 1, 2007)

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

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

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

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

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

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

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

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

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

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

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

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:49 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.22: +25 -31 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:34 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.22: +25 -31 lines
Diff to previous 1.22 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 13 13:51:55 2007 UTC (15 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.23: +5 -11 lines
Diff to previous 1.23 (colored)

Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
 stage, but did configuration again. I've converted them to match
 in the device stage.
ustir, utoppy: matched in the interface stage, but only against
 vendor/device information, and used any configuration/interface
 without checking. Changed to match in device stage, and added
 some simple code to configure and use the first interface.
If you have one of those devices, please test!

Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 12 20:32:00 2007 UTC (15 years, 11 months ago) by plunky
Branch: MAIN
Changes since 1.22: +29 -29 lines
Diff to previous 1.22 (colored)

match against the whole device, since we take more than one interface.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:49 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.16.2.1: +4 -7 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:38 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.1: +43 -16 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, itohy-usb1-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans, itohy-usb1
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:17 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16.4.2: +5 -8 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 1 20:41:23 2006 UTC (16 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored)

don't specify the interrupt pipe polling interval explicitely; just rely
on the endpoint descriptor
approved by plunky

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:50 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.16: +8 -4 lines
Diff to previous 1.16 (colored)

Sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:26 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

__unused removal on arguments; approved by core.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:52 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16.4.1: +10 -6 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:59 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 19 20:34:33 2006 UTC (16 years, 4 months ago) by plunky
Branch: MAIN
Changes since 1.17: +6 -2 lines
Diff to previous 1.17 (colored)

explicitly disallow changing the config # when the device is enabled.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 19 19:45:48 2006 UTC (16 years, 4 months ago) by plunky
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

return errno instead of usbd status

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon Sep 18 10:04:16 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

adapt to new api.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:55:33 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.13: +1325 -382 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:04 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13.8.1: +35 -9 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 30 19:42:37 2006 UTC (16 years, 5 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +20 -9 lines
Diff to previous 1.15 (colored)

It seems that EHCI at least will complete a empty transfer with
status == NORMAL_COMPLETION.

Guard against that.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Aug 25 12:33:57 2006 UTC (16 years, 5 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.14: +17 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by plunky in ticket #49):
	share/man/man4/Makefile: revision 1.400
	sys/dev/usb/FILES: revision 1.10
	sys/dev/usb/files.usb: revision 1.69
	share/man/man4/ubt.4: revision 1.2
	sys/dev/usb/ubt.c: revision 1.15
	share/man/man4/ubtbcmfw.4: file removal
	distrib/sets/lists/man/mi: revision 1.922
	sys/dev/DEVNAMES: revision 1.210
	sys/dev/usb/ubtbcmfw.c: file removal
The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.
So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.
This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.
This fixes kern/34219

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 19 16:35:03 2006 UTC (16 years, 5 months ago) by plunky
Branch: MAIN
Changes since 1.14: +17 -2 lines
Diff to previous 1.14 (colored)

The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.

While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219

Revision 1.13.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:44 2006 UTC (16 years, 6 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.13: +1299 -382 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Merge from HEAD.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:28 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13: +1299 -382 lines
Diff to previous 1.13 (colored)

sync with head.

Revision 1.13.14.1 / (download) - annotate - [select for diffs], Thu Jun 22 03:39:49 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.13: +1299 -382 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Complete a sync sys/ with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:07:44 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12: +1299 -382 lines
Diff to previous 1.12 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:45 2006 UTC (16 years, 7 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.13: +1299 -382 lines
Diff to previous 1.13 (colored)

Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:01 2005 UTC (17 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart, chap-midi
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

merge ktrace-lwp.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:08:05 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.3: +6 -5 lines
Diff to previous 1.7.2.3 (colored) next main 1.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 11 10:02:28 2005 UTC (17 years, 9 months ago) by augustss
Branch: 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: yamt-lazymbuf
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)

Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:33:44 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.2: +2 -2 lines
Diff to previous 1.7.2.2 (colored)

Fix the sync with head I botched.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:51:46 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.1: +0 -0 lines
Diff to previous 1.7.2.1 (colored)

Sync with HEAD.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:51:33 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +11 -40 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 23 17:25:25 2004 UTC (18 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

use bounded string ops (snprintf, strl*)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 4 05:47:43 2004 UTC (19 years, 1 month ago) by dsainty
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.9: +6 -38 lines
Diff to previous 1.9 (colored)

Kill the flow control interface.  Bluetooth devices are not equipped to deal
with flow control being applied.  It is simpler and no more problematic to
accept the data and drop it if we hit a resource limit than to expect the
Bluetooth device to do anything about it (which it won't).

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 2 02:36:25 2004 UTC (19 years, 1 month ago) by dsainty
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

Correct a conditional masking error conditions

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 1 16:10:13 2004 UTC (19 years, 1 month ago) by dsainty
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Correctly initialise ALL of the attach argument block.  Fixes panic on
device open (previously avoided by compiler-dependent luck :)

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 20 21:14:57 2003 UTC (20 years ago) by augustss
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Lower debug level so the match routine isn't so verbose.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed Jan 15 18:44:24 2003 UTC (20 years ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.2.3: +66 -14 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 11 06:16:05 2003 UTC (20 years, 1 month ago) by dsainty
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.5: +66 -14 lines
Diff to previous 1.5 (colored)

Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Jan 7 21:34:56 2003 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.3.2.2: +445 -37 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 5 05:20:20 2003 UTC (20 years, 1 month ago) by dsainty
Branch: MAIN
Changes since 1.4: +443 -33 lines
Diff to previous 1.4 (colored)

Make the ubt driver functional.  This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 5 03:48:18 2003 UTC (20 years, 1 month ago) by dsainty
Branch: MAIN
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored)

Move #define UBT_DEBUG from ubt.c to usb_port.h

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:46:48 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.6.1: +251 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync kqueue branch with HEAD

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:59 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.4.1: +251 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

catch up with -current.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:12 2002 UTC (20 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.1: +251 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.3.6.1, Sat Aug 24 17:31:19 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.3: +0 -251 lines
FILE REMOVED

file ubt.c was added on branch kqueue on 2002-09-06 08:46:48 +0000

Revision 1.3.4.1, Sat Aug 24 17:31:19 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3: +0 -251 lines
FILE REMOVED

file ubt.c was added on branch gehenna-devsw on 2002-08-29 05:22:59 +0000

Revision 1.3.2.1, Sat Aug 24 17:31:19 2002 UTC (20 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -251 lines
FILE REMOVED

file ubt.c was added on branch nathanw_sa on 2002-08-27 23:47:12 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 24 17:31:19 2002 UTC (20 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: nathanw_sa, kqueue, gehenna-devsw
Changes since 1.2: +35 -11 lines
Diff to previous 1.2 (colored)

Attach Bluetooth host controller driver (which has not been written) to
ubt device.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 22 10:17:46 2002 UTC (20 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Print a message saying that this is not real driver.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 22 10:15:58 2002 UTC (20 years, 5 months ago) by augustss
Branch: MAIN

A placeholder until we have a real Bluetooth driver.

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>