Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Iain Hibbert <plunky@netbsd.org>
List: source-changes
Date: 11/28/2007 20:16:13
Module Name:	src
Committed By:	plunky
Date:		Wed Nov 28 20:16:13 UTC 2007

Modified Files:
	src/share/man/man4: bluetooth.4
	src/share/man/man9: bluetooth.9
	src/sys/dev/bluetooth: bcsp.c btuart.c
	src/sys/dev/pcmcia: bt3c.c btbc.c
	src/sys/dev/usb: ubt.c
	src/sys/netbt: hci.h hci_event.c hci_ioctl.c hci_unit.c
	src/usr.sbin/btconfig: btconfig.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/share/man/man4/bluetooth.4
cvs rdiff -r1.2 -r1.3 src/share/man/man9/bluetooth.9
cvs rdiff -r1.9 -r1.10 src/sys/dev/bluetooth/bcsp.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/bluetooth/btuart.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/pcmcia/bt3c.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/pcmcia/btbc.c
cvs rdiff -r1.28 -r1.29 src/sys/dev/usb/ubt.c
cvs rdiff -r1.18 -r1.19 src/sys/netbt/hci.h
cvs rdiff -r1.10 -r1.11 src/sys/netbt/hci_event.c
cvs rdiff -r1.6 -r1.7 src/sys/netbt/hci_ioctl.c
cvs rdiff -r1.7 -r1.8 src/sys/netbt/hci_unit.c
cvs rdiff -r1.7 -r1.8 src/usr.sbin/btconfig/btconfig.c

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