Up to [cvs.NetBSD.org] / src / sys / dev / bluetooth
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 3 09:32:53 2012 UTC (14 months, 2 weeks ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.27: +6 -2
lines
Diff to previous 1.27 (colored)
register/deregister pmf(9) NULL handlers for bthub(4) and bluetooth devices which attach there, to fix PR/39006
Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 26 06:49:15 2012 UTC (14 months, 3 weeks ago) by mrg
Branch: MAIN
Changes since 1.26: +8 -8
lines
Diff to previous 1.26 (colored)
don't use mutex_spin*() on an IPL_NONE mutex. fixes PR#46120.
Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 10 16:16:11 2011 UTC (18 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.25: +3 -5
lines
Diff to previous 1.25 (colored)
no need to acquire thread lock in btsco_open / btsco_close, as they are already held by MI audio when these methods are called
Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 23 23:07:31 2011 UTC (18 months, 3 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.24: +35 -25
lines
Diff to previous 1.24 (colored)
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes: Add MP locking to the audio drivers. Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe. The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks. Welcome to 5.99.57.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 16 21:38:54 2011 UTC (2 years, 3 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-audiomp3-base,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
jmcneill-audiomp3
Changes since 1.23: +12 -8
lines
Diff to previous 1.23 (colored)
use C99 style for variadic macro arguments
Revision 1.23 / (download) - annotate - [select for diffs], Tue May 12 12:10:46 2009 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:23 2008 UTC (4 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
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,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base
Branch point for: jym-xensuspend,
ad-audiomp2
Changes since 1.21: +8 -3
lines
Diff to previous 1.21 (colored)
Convert socket options code to use a sockopt structure instead of laying everything into an mbuf. approved by core
Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 23 12:34:38 2008 UTC (4 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.20: +4 -2
lines
Diff to previous 1.20 (colored)
hold bt_lock when sending data via sco_send()
Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:36 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Changes since 1.19: +16 -14
lines
Diff to previous 1.19 (colored)
Merge the socket locking patch: - Socket layer becomes MP safe. - Unix protocols become MP safe. - Allows protocol processing interrupts to safely block on locks. - Fixes a number of race conditions. With much feedback from matt@ and plunky@.
Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 28 21:17:37 2008 UTC (5 years, 2 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.18: +2 -3
lines
Diff to previous 1.18 (colored)
Use deviter API to search for child devices. As all identifying information is stored in the device properties, this removes the need for child devices to have a reserved area (struct btdev) in the softc, and bthub(4) does no longer need to have a softc at all.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 11 12:59:05 2007 UTC (5 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
convert device printf() usages to aprint_xxxx()
Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 7 00:23:18 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
Merge from vmlocking: - pool_cache changes. - Debugger/procfs locking fixes. - Other minor changes.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 3 17:41:04 2007 UTC (5 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.15: +38 -51
lines
Diff to previous 1.15 (colored)
switch devices to using CFATTACH_DECL_NEW() softc no longer contains 'struct device' by default use 'device_t' instead of 'struct device *' use device_xxx() accessor functions remove casting of 'xxx_softc *' & 'struct device *' use aprint_xxx_dev() routines
Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 8 16:18:02 2007 UTC (5 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.14: +8 -7
lines
Diff to previous 1.14 (colored)
Use the softint API.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 21 06:15:22 2007 UTC (6 years, 2 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-idlelwp-base8,
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.13: +12 -2
lines
Diff to previous 1.13 (colored)
Add 'service level' security for L2CAP and RFCOMM connections, following
the Linux (BlueZ) API.
- L2CAP or RFCOMM connections can require the baseband radio link
mode be any of:
authenticated (devices are paired)
encrypted (implies authentication)
secured (encryption, plus generate new link key)
- for sockets, the mode is set using setsockopt(2) and the socket
connection will be aborted if the mode change fails.
- mode settings will be applied during connection establishment, and
for safety, we enter a wait state and will only proceed when the mode
settings are successfuly set.
- It is possible to change the mode on already open connections, but
not possible to guarantee that data already queued (from either end)
will not be delivered. (this is a feature, not a bug)
- bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and
"secure" options
- btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for
keyboards (which are required to support it)
Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 13 19:26:06 2007 UTC (6 years, 3 months ago) by plunky
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
remove extraneous whitespace
Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:45 2007 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.11: +6 -6
lines
Diff to previous 1.11 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:48 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
ad-audiomp-base
Branch point for: yamt-lazymbuf,
yamt-idlelwp,
wrstuden-fixsa,
netbsd-4,
ad-audiomp
Changes since 1.10: +18 -18
lines
Diff to previous 1.10 (colored)
__unused removal on arguments; approved by core.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:55 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.9: +21 -18
lines
Diff to previous 1.9 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 4 19:23:59 2006 UTC (6 years, 8 months ago) by plunky
Branch: MAIN
Changes since 1.8: +12 -35
lines
Diff to previous 1.8 (colored)
Internally, use the service name as the identifier for matching
Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 24 10:19:55 2006 UTC (6 years, 8 months ago) by plunky
Branch: MAIN
Changes since 1.7: +33 -37
lines
Diff to previous 1.7 (colored)
utilise auconv_set_converter() to handle the filter setup, so that its done properly.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 24 10:16:21 2006 UTC (6 years, 8 months ago) by plunky
Branch: MAIN
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
adjust indentation
Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 23 16:11:07 2006 UTC (6 years, 8 months ago) by plunky
Branch: MAIN
Changes since 1.5: +6 -10
lines
Diff to previous 1.5 (colored)
guard against possible race conditions when detaching SCO pcb's
Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 23 16:08:43 2006 UTC (6 years, 8 months ago) by plunky
Branch: MAIN
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
return ENOTCONN when not connected, rather than EINVAL
Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 11 21:59:09 2006 UTC (6 years, 9 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.3: +7 -4
lines
Diff to previous 1.3 (colored)
btsco.c: - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t, not an int. So change sc_mtu's type to uint16_t. - Try a little harder to ensure btsco_round_blocksize() does not return zero. Prevents a subsequent panic in audio_init_ringbuffer(). from scw@
Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 10 15:45:56 2006 UTC (6 years, 9 months ago) by plunky
Branch: MAIN
Changes since 1.2: +74 -36
lines
Diff to previous 1.2 (colored)
update to bluetooth device attachment: remove pseudo-device btdev(4) and inherent limitations add bthub(4) which autoconfigures at bluetooth controllers as they are enabled. bluetooth devices now attach here. btdevctl(8) and its cache is updated to handle new semantics etc/rc.d/btdevctl is updated to configure devices from a list in /etc/bluetooth/btdevctl.conf
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 27 11:41:58 2006 UTC (6 years, 9 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: rpaulo-netinet-merge-pcb,
newlock2
Changes since 1.1: +32 -20
lines
Diff to previous 1.1 (colored)
BluetootH SCO Audio update. Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent. Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program. Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access. Fix incoming connection handling for btsco(4) and SCO sockets. Fix documentation to reflect the new world order.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 26 10:43:02 2006 UTC (6 years, 10 months ago) by tron
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base
Branch point for: yamt-pdpolicy,
abandoned-netbsd-4
Bluetooth fixes by Iain Hibbert: Remove bthset(4) device and add btsco(4) in its place. This is an improved version which is not just for headsets, as it can receive incoming connections (eg for Hands Free Profile). Update bthset(1) control utlitiy to relate to new device.