Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src



Module Name:    src
Committed By:   riz
Date:           Thu Sep 14 21:16:34 UTC 2006

Modified Files:
        src/distrib/sets/lists/base [netbsd-4]: mi
        src/distrib/sets/lists/comp [netbsd-4]: mi
        src/distrib/sets/lists/etc [netbsd-4]: mi
        src/distrib/sets/lists/man [netbsd-4]: mi
        src/etc [netbsd-4]: MAKEDEV.tmpl
        src/etc/bluetooth [netbsd-4]: Makefile
        src/etc/mtree [netbsd-4]: special
        src/etc/rc.d [netbsd-4]: btdevctl
        src/lib/libsdp [netbsd-4]: sdp.h
        src/share/man/man4 [netbsd-4]: Makefile bthidev.4 btsco.4 ubt.4
        src/share/man/man5 [netbsd-4]: rc.conf.5
        src/sys/arch/i386/conf [netbsd-4]: GENERIC GENERIC_LAPTOP
        src/sys/conf [netbsd-4]: majors
        src/sys/dev/bluetooth [netbsd-4]: Makefile btdev.h bthidev.c bthidev.h
            btkbd.c btsco.c btsco.h files.bluetooth
        src/sys/dev/pcmcia [netbsd-4]: files.pcmcia
        src/sys/dev/usb [netbsd-4]: files.usb
        src/sys/netbt [netbsd-4]: files.netbt hci.h hci_event.c hci_ioctl.c
            hci_link.c hci_unit.c l2cap_signal.c rfcomm_session.c
        src/usr.bin/sdpquery [netbsd-4]: sdpquery.1 search.c
        src/usr.sbin/btdevctl [netbsd-4]: Makefile btdevctl.8 btdevctl.c
            btdevctl.h
        src/usr.sbin/postinstall [netbsd-4]: postinstall
        src/usr.sbin/sdpd [netbsd-4]: Makefile profile.c
Added Files:
        src/etc/bluetooth [netbsd-4]: btdevctl.conf
        src/share/man/man4 [netbsd-4]: bthub.4
        src/sys/dev/bluetooth [netbsd-4]: bthub.c
        src/usr.sbin/btdevctl [netbsd-4]: db.c print.c sdp.c
        src/usr.sbin/sdpd [netbsd-4]: hf.c
Removed Files:
        src/share/man/man4 [netbsd-4]: btdev.4
        src/sys/dev/bluetooth [netbsd-4]: btdev.c
        src/usr.sbin/btdevctl [netbsd-4]: cfg.c dev.c hid.c

Log Message:
Pull up following revision(s) (requested by plunky in ticket #161):
        sys/dev/bluetooth/btdev.h: revision 1.4
        distrib/sets/lists/comp/mi: revision 1.922
        usr.sbin/postinstall/postinstall: revision 1.25
        sys/netbt/hci_unit.c: revision 1.3
        sys/netbt/hci_ioctl.c: revision 1.4
        usr.sbin/sdpd/profile.c: revision 1.2
        usr.sbin/btdevctl/btdevctl.c: revision 1.2
        share/man/man4/Makefile: revision 1.405
        distrib/sets/lists/man/mi: revision 1.930
        distrib/sets/lists/etc/mi: revision 1.176
        usr.sbin/sdpd/profile.c: revision 1.3
        usr.sbin/btdevctl/btdevctl.c: revision 1.3
        etc/MAKEDEV.tmpl: revision 1.62
        distrib/sets/lists/base/mi: revision 1.650
        usr.sbin/btdevctl/btdevctl.h: revision 1.2
        usr.bin/sdpquery/sdpquery.1: revision 1.4
        sys/netbt/rfcomm_session.c: revision 1.2
        usr.sbin/btdevctl/btdevctl.8: revision 1.3
        usr.bin/sdpquery/search.c: revision 1.2
        usr.sbin/sdpd/Makefile: revision 1.2
        sys/dev/bluetooth/Makefile: revision 1.3
        usr.sbin/btdevctl/cfg.c: file removal
        sys/netbt/files.netbt: revision 1.4
        usr.sbin/btdevctl/sdp.c: revision 1.1
        sys/dev/bluetooth/bthidev.c: revision 1.3
        etc/bluetooth/Makefile: revision 1.3
        sys/dev/pcmcia/files.pcmcia: revision 1.51
        sys/dev/bluetooth/bthidev.c: revision 1.4
        sys/dev/bluetooth/bthidev.h: revision 1.3
        usr.sbin/btdevctl/dev.c: file removal
        sys/dev/bluetooth/files.bluetooth: revision 1.10
        sys/arch/i386/conf/GENERIC: revision 1.777
        share/man/man4/ubt.4: revision 1.6
        share/man/man4/bthub.4: revision 1.3
        sys/netbt/hci.h: revision 1.5
        sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.202
        lib/libsdp/sdp.h: revision 1.2
        usr.sbin/btdevctl/print.c: revision 1.1
        share/man/man4/bthidev.4: revision 1.5
        share/man/man4/btdev.4: file removal
        usr.sbin/btdevctl/print.c: revision 1.2
        sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.205
        usr.sbin/btdevctl/Makefile: revision 1.2
        sys/dev/usb/files.usb: revision 1.70
        sys/netbt/l2cap_signal.c: revision 1.2
        sys/netbt/hci_link.c: revision 1.4
        sys/dev/bluetooth/bthub.c: revision 1.3
        share/man/man4/btsco.4: revision 1.5
        sys/netbt/hci_link.c: revision 1.5
        share/man/man4/btdev.4: revision 1.4
        sys/dev/bluetooth/btkbd.c: revision 1.3
        sys/dev/bluetooth/btdev.c: file removal
        sys/netbt/hci_event.c: revision 1.2
        sys/dev/bluetooth/btsco.h: revision 1.2
        etc/mtree/special: revision 1.101
        sys/dev/bluetooth/btsco.c: revision 1.3
        sys/conf/majors: revision 1.27
        usr.sbin/sdpd/hf.c: revision 1.1
        sys/dev/bluetooth/btsco.c: revision 1.4
        share/man/man5/rc.conf.5: revision 1.107
        sys/dev/bluetooth/btdev.c: revision 1.2
        etc/rc.d/btdevctl: revision 1.2
        usr.sbin/btdevctl/db.c: revision 1.1
        etc/rc.d/btdevctl: revision 1.3
        etc/bluetooth/btdevctl.conf: revision 1.1
        usr.sbin/btdevctl/hid.c: file removal
        sys/arch/i386/conf/GENERIC: revision 1.781
        sys/dev/bluetooth/btdev.h: revision 1.3
Make btdev default count explicit
Fix typo in variable name
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
also include service name in dictionary being sent to kernel.
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
clarify the CAVEAT section somewhat
Add service discovery support for the Handsfree profile
Replace static 'FreeBSD' string with operating system name gleaned
from uname(3)
Halt the callout on detach
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@
Endian issues:
hci_event.c:
 - Convert memo->response.clock_offset to host-endian.
hci_ioctl.c:
 - printf format tweak (size_t)
hci_link.c:
 - Convert memo->response.clock_offset from host-endian.
 - Tweak a DIAGNOSTIC message.
l2cap_signal.c:
 - In l2cap_recv_config_req(), rp->scid is little-endian so make sure
   we convert from host-endian.
        from scw@
hci_link.c:
 - In hci_link_free(), do not unlink items from a LIST queue within
   a LIST_FOREACH() iterator.
rfcomm_session.c:
 - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST
   queue within a LIST_FOREACH() iterator.
        from scw@
guard against a possible situation where the list of l2cap channels is changed
when the bluetooth code is not expecting it to be. During a disconnect, we can
detach the channel that is being disconnected, but its not really safe to detach
any others.
Print explicit 64-bit types using the format macros from int_fmtio.h.
Unbreaks the build for our LP64 ports, where "long long" typically is
not 64 bits.


To generate a diff of this commit:
cvs rdiff -r1.643.2.1 -r1.643.2.2 src/distrib/sets/lists/base/mi
cvs rdiff -r1.908.2.4 -r1.908.2.5 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.173.2.2 -r1.173.2.3 src/distrib/sets/lists/etc/mi
cvs rdiff -r1.917.2.2 -r1.917.2.3 src/distrib/sets/lists/man/mi
cvs rdiff -r1.58 -r1.58.2.1 src/etc/MAKEDEV.tmpl
cvs rdiff -r1.2 -r1.2.2.1 src/etc/bluetooth/Makefile
cvs rdiff -r0 -r1.1.2.1 src/etc/bluetooth/btdevctl.conf
cvs rdiff -r1.99.2.1 -r1.99.2.2 src/etc/mtree/special
cvs rdiff -r1.2.2.1 -r1.2.2.2 src/etc/rc.d/btdevctl
cvs rdiff -r1.1 -r1.1.2.1 src/lib/libsdp/sdp.h
cvs rdiff -r1.397.2.1 -r1.397.2.2 src/share/man/man4/Makefile
cvs rdiff -r1.2.2.1 -r0 src/share/man/man4/btdev.4
cvs rdiff -r1.3.2.1 -r1.3.2.2 src/share/man/man4/bthidev.4
cvs rdiff -r0 -r1.1.2.2 src/share/man/man4/bthub.4
cvs rdiff -r1.2.2.2 -r1.2.2.3 src/share/man/man4/btsco.4
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/share/man/man4/ubt.4
cvs rdiff -r1.104.2.1 -r1.104.2.2 src/share/man/man5/rc.conf.5
cvs rdiff -r1.772.2.1 -r1.772.2.2 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.196.2.1 -r1.196.2.2 src/sys/arch/i386/conf/GENERIC_LAPTOP
cvs rdiff -r1.25 -r1.25.2.1 src/sys/conf/majors
cvs rdiff -r1.2 -r1.2.2.1 src/sys/dev/bluetooth/Makefile \
    src/sys/dev/bluetooth/btdev.h src/sys/dev/bluetooth/bthidev.c \
    src/sys/dev/bluetooth/bthidev.h src/sys/dev/bluetooth/btkbd.c
cvs rdiff -r1.1 -r0 src/sys/dev/bluetooth/btdev.c
cvs rdiff -r0 -r1.1.10.2 src/sys/dev/bluetooth/bthub.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/dev/bluetooth/btsco.c
cvs rdiff -r1.1 -r1.1.2.1 src/sys/dev/bluetooth/btsco.h
cvs rdiff -r1.9 -r1.9.2.1 src/sys/dev/bluetooth/files.bluetooth
cvs rdiff -r1.50 -r1.50.2.1 src/sys/dev/pcmcia/files.pcmcia
cvs rdiff -r1.68.2.1 -r1.68.2.2 src/sys/dev/usb/files.usb
cvs rdiff -r1.2.8.1 -r1.2.8.2 src/sys/netbt/files.netbt
cvs rdiff -r1.3.2.1 -r1.3.2.2 src/sys/netbt/hci.h
cvs rdiff -r1.1 -r1.1.10.1 src/sys/netbt/hci_event.c \
    src/sys/netbt/l2cap_signal.c src/sys/netbt/rfcomm_session.c
cvs rdiff -r1.2.2.1 -r1.2.2.2 src/sys/netbt/hci_ioctl.c
cvs rdiff -r1.3 -r1.3.2.1 src/sys/netbt/hci_link.c
cvs rdiff -r1.2 -r1.2.2.1 src/sys/netbt/hci_unit.c
cvs rdiff -r1.3 -r1.3.2.1 src/usr.bin/sdpquery/sdpquery.1
cvs rdiff -r1.1 -r1.1.2.1 src/usr.bin/sdpquery/search.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/usr.sbin/btdevctl/Makefile \
    src/usr.sbin/btdevctl/btdevctl.c src/usr.sbin/btdevctl/btdevctl.h
cvs rdiff -r1.2.2.2 -r1.2.2.3 src/usr.sbin/btdevctl/btdevctl.8
cvs rdiff -r1.3.2.2 -r0 src/usr.sbin/btdevctl/cfg.c
cvs rdiff -r0 -r1.1.2.1 src/usr.sbin/btdevctl/db.c \
    src/usr.sbin/btdevctl/sdp.c
cvs rdiff -r1.2.2.2 -r0 src/usr.sbin/btdevctl/dev.c
cvs rdiff -r1.1.2.1 -r0 src/usr.sbin/btdevctl/hid.c
cvs rdiff -r0 -r1.2.2.1 src/usr.sbin/btdevctl/print.c
cvs rdiff -r1.22.2.2 -r1.22.2.3 src/usr.sbin/postinstall/postinstall
cvs rdiff -r1.1 -r1.1.2.1 src/usr.sbin/sdpd/Makefile \
    src/usr.sbin/sdpd/profile.c
cvs rdiff -r0 -r1.1.2.1 src/usr.sbin/sdpd/hf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index