Port-hpcsh archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Jornada 690 and bt3c(4)
On Sun, Mar 09, 2008 at 18:58:57 +0100, Andreas Bartelt wrote:
> I was testing a 3com Bluetooth 3CRWB6096 (version 2.0) PCMCIA card with
> my Jornada 690.
>
> Unfortunately, the card doesn't work with "netbsd-4". I've tried to
> enable the corresponding option, but the kernel doesn't build then.
Try attached patch to hpcsh/include/intr.h. It makes GENERIC
buildable with BT support enabled.
I guess splraiseipl fell through proverbial cracks on netbsd-4 b/c no
drivers except bluetooth use it directly and hpcsh doesn't used MI
spl.h that defines spl* in terms of splraiseipl.
> I've also tried to crosscompile current for hpcsh. I've successfully
> build the kernel, but "build.sh -m hpcsh release" did fail at some
> point.
I haven't done a build.sh release in a while. And unfortunately
releng doesn't currently build sh3 releases b/c a bug in gcc breaks
sh3 gcc when hosted on 64-bit host (and releng build cluster is now
all 64-bit due to combination of circumstances).
What was the error message.
> The current kernel also doesn't work with the netbsd-4 userland...
What's the failure mode?
SY, Uwe
--
uwe%stderr.spb.ru@localhost | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Index: intr.h
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcsh/include/intr.h,v
retrieving revision 1.8
diff -u --unified -r1.8 intr.h
--- intr.h 11 Dec 2005 12:17:36 -0000 1.8
+++ intr.h 9 Mar 2008 18:45:40 -0000
@@ -56,6 +56,8 @@
#include <hpcsh/dev/hd6446x/hd6446xintcvar.h>
+#define splraiseipl(ipl) (hd6446x_intr_raise((ipl) << 4))
+
#define splsoftclock() hd6446x_intr_raise(IPL_SOFTCLOCK << 4)
#define splsoftnet() hd6446x_intr_raise(IPL_SOFTNET << 4)
#define splsoftserial() hd6446x_intr_raise(IPL_SOFTSERIAL << 4)
Index: GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcsh/conf/GENERIC,v
retrieving revision 1.72
diff -u --unified -r1.72 GENERIC
--- GENERIC 11 Nov 2006 18:47:10 -0000 1.72
+++ GENERIC 9 Mar 2008 18:43:45 -0000
@@ -312,6 +312,34 @@
com* at pcmcia? function ? # Modems and serial cards
+# Bluetooth Support
+include "dev/usb/files.usb" # XXX: for "hid"
+include "dev/bluetooth/files.bluetooth"
+
+# Bluetooth PCMCIA Controllers
+bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
+
+# Bluetooth Device Hub
+bthub* at bt3c?
+
+# 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?
+
+
# Pseudo-Devices
# disk/mass storage pseudo-devices
Home |
Main Index |
Thread Index |
Old Index