Subject: bluetooth on alpha
To: None <port-alpha@netbsd.org>
From: Iain Hibbert <plunky@rya-online.net>
List: port-alpha
Date: 09/10/2006 17:01:21
Hi,
   This week I cross-compiled alpha/GENERIC and alpha/ALPHA kernels with
bluetooth enabled. I can't test it because I have no hardware, but it does
compile at least - is it ok to commit the below change to the alpha port?

iain

Index: sys/arch/alpha/conf/files.alpha
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/conf/files.alpha,v
retrieving revision 1.169
diff -u -r1.169 files.alpha
--- sys/arch/alpha/conf/files.alpha	29 Jul 2006 19:10:56 -0000	1.169
+++ sys/arch/alpha/conf/files.alpha	10 Sep 2006 13:13:10 -0000
@@ -524,6 +524,10 @@
 #
 include "dev/usb/files.usb"
 #
+# Machine-independent Bluetooth support
+#
+include "dev/bluetooth/files.bluetooth"
+#
 # Machine-independent IEEE 1394 device support
 #
 include "dev/ieee1394/files.ieee1394"
Index: sys/arch/alpha/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/conf/GENERIC,v
retrieving revision 1.296
diff -u -r1.296 GENERIC
--- sys/arch/alpha/conf/GENERIC	1 Sep 2006 08:19:03 -0000	1.296
+++ sys/arch/alpha/conf/GENERIC	10 Sep 2006 13:13:10 -0000
@@ -590,6 +590,34 @@
 #fwip*	at ieee1394if?			# IP over IEEE1394
 #sbp*	at ieee1394if? euihi ? euilo ?

+
+# Bluetooth Controller and Device support
+
+# Bluetooth PCMCIA Controllers
+bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
+
+# Bluetooth USB Controllers
+ubt* at uhub? port ? configuration ? interface ?
+
+# Bluetooth Device Hub
+bthub* at bt3c?
+bthub* at ubt?
+
+# Bluetooth HID support
+bthidev* at bthub?
+
+# Bluetooth Mouse
+btms* at bthidev? reportid ?
+wsmouse* at btms? mux 0
+
+# Bluetooth Keyboard
+btkbd* at bthidev? reportid ?
+wskbd* at btkbd? console ? mux 1
+
+# Bluetooth Audio support
+btsco* at bthub?
+
+
 # Audio support
 audio*	at audiobus?
 midi*	at midibus?
Index: sys/arch/alpha/conf/ALPHA
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/conf/ALPHA,v
retrieving revision 1.220
diff -u -r1.220 ALPHA
--- sys/arch/alpha/conf/ALPHA	26 Aug 2006 20:26:44 -0000	1.220
+++ sys/arch/alpha/conf/ALPHA	10 Sep 2006 13:13:10 -0000
@@ -560,6 +560,33 @@
 # USB Generic driver
 ugen*	at uhub? port ?

+# Bluetooth Controller and Device support
+
+# Bluetooth PCMCIA Controllers
+bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
+
+# Bluetooth USB Controllers
+ubt* at uhub? port ? configuration ? interface ?
+
+# Bluetooth Device Hub
+bthub* at bt3c?
+bthub* at ubt?
+
+# Bluetooth HID support
+bthidev* at bthub?
+
+# Bluetooth Mouse
+btms* at bthidev? reportid ?
+wsmouse* at btms? mux 0
+
+# Bluetooth Keyboard
+btkbd* at bthidev? reportid ?
+wskbd* at btkbd? console ? mux 1
+
+# Bluetooth Audio support
+btsco* at bthub?
+audio*	at btsco?
+
 # Workstation Console attachments
 wsdisplay*	at	cfb?
 wsdisplay*	at	mfb?