The NetBSD Project

CVS log for src/sys/dev/bluetooth/bthub.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.18 / (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.17: +6 -2 lines
Diff to previous 1.17 (colored)


register/deregister pmf(9) NULL handlers for bthub(4) and
bluetooth devices which attach there, to fix PR/39006

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 31 13:51:53 2011 UTC (22 months, 2 weeks ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Put back #include "ioconf.h" per popular demand.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 25 16:33:37 2011 UTC (2 years ago) by uebayasi
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Declare cfdrivers using extern rather than including ioconf.h.

Revision 1.15 / (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.14: +4 -4 lines
Diff to previous 1.14 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 12 21:47:11 2008 UTC (5 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, 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, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

use device_lookup_private to get softc

Revision 1.13 / (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-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.12: +20 -46 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat Nov 3 17:41:03 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, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-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.11: +35 -32 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Oct 28 18:49:52 2007 UTC (5 years, 7 months ago) by plunky
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

remove unnecessary cast (shortens long line)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 13 19:26:06 2007 UTC (6 years, 3 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, 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: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

remove extraneous whitespace

Revision 1.9 / (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.8: +3 -3 lines
Diff to previous 1.8 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.8 / (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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored)

__unused removal on arguments; approved by core.

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

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

Revision 1.6 / (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.5: +35 -17 lines
Diff to previous 1.5 (colored)

Internally, use the service name as the identifier for matching

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 4 15:38:14 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

fix incomplete initializer

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 22 04:20:24 2006 UTC (6 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Alter the protocol impemented by prop_kern to allow for bi-directional
plist-based messages and to eliminate looping previously required to
receive a plist from the kernel:

- prop_dictionary_copyin_ioctl() and prop_dictionary_copyout_ioctl()
  now take the cmd argument rather than the file open flag.  The
  read-ness or write-ness of an ioctl command is checked by these
  routines to ensure that information is being passed to/from the
  userland component properly.

- prop_dictionary_copyout_ioctl() now allocates the memory for the
  XML plist on behalf of the userland component by way of uvm_mmap().
  The XML plist is copied out to the newly-mapped anonymous region,
  and the pointer returned via the plistref.

- prop_dictionary_recv_ioctl() is responsible for munmap()'ing the
  region after parsing the XML plist into internal represenatation.

- A new prop_dictionary_sendrecv_ioctl() is added, allowing user space
  code to send a dictionary to the kernel and receive one back as a
  reply.


Update users of prop_kern for the API changes (Bluetooth).

This constitutes an ABI / protocol change -- but this will also be put
into NetBSD 4.0 so that the first proplib release will implement the new
scheme.

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
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.2: +132 -111 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, Sun Aug 13 13:59:45 2006 UTC (6 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.1: +2 -2 lines
FILE REMOVED

Remove obsolete file from repository

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:45 2006 UTC (7 years 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: yamt-pdpolicy, yamt-lazymbuf, gdamore-uart, chap-midi, abandoned-netbsd-4

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.

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>