diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2007-05-30 08:10:04 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2007-05-30 08:10:04 +0000 |
commit | 79c4abd2d3fa42608583a3969a456626ef26fa86 (patch) | |
tree | ef92066e1711835480517cd973e4bdcc19d3e207 /sys/netbt | |
parent | 598c2422d97e24eead099347fe8d7d5295ae8eba (diff) |
Unbreak the tree for gwk
Diffstat (limited to 'sys/netbt')
-rw-r--r-- | sys/netbt/bt_input.c | 8 | ||||
-rw-r--r-- | sys/netbt/bt_proto.c | 13 |
2 files changed, 8 insertions, 13 deletions
diff --git a/sys/netbt/bt_input.c b/sys/netbt/bt_input.c index 3584f194603..d15841e26c7 100644 --- a/sys/netbt/bt_input.c +++ b/sys/netbt/bt_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_input.c,v 1.2 2006/03/04 22:40:16 brad Exp $ */ +/* $OpenBSD: bt_input.c,v 1.3 2007/05/30 08:10:02 uwe Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -25,11 +25,7 @@ #include <net/netisr.h> #include <netbt/bluetooth.h> -#include <netbt/hci.h> -#include <netbt/l2cap.h> -#include <netbt/bt.h> #include <netbt/bt_var.h> -#include <netbt/hci_var.h> struct ifqueue btintrq; @@ -53,6 +49,8 @@ btintr(void) if (m == NULL) break; +#if 0 ng_btsocket_hci_raw_data_input(m); +#endif } } diff --git a/sys/netbt/bt_proto.c b/sys/netbt/bt_proto.c index 43d74b790f2..e7ac31effdc 100644 --- a/sys/netbt/bt_proto.c +++ b/sys/netbt/bt_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_proto.c,v 1.1 2005/01/14 12:04:02 grange Exp $ */ +/* $OpenBSD: bt_proto.c,v 1.2 2007/05/30 08:10:03 uwe Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -19,22 +19,19 @@ #include <sys/domain.h> #include <sys/protosw.h> #include <sys/socket.h> +#include <sys/timeout.h> #include <netbt/bluetooth.h> #include <netbt/hci.h> -#include <netbt/l2cap.h> -#include <netbt/bt.h> #include <netbt/bt_var.h> -#include <netbt/hci_var.h> -#include <netbt/l2cap_var.h> struct domain btdomain; struct protosw btsw[] = { - { SOCK_RAW, &btdomain, BLUETOOTH_PROTO_HCI, + { SOCK_RAW, &btdomain, BTPROTO_HCI, PR_ATOMIC | PR_ADDR, NULL/*input*/, NULL/*output*/, NULL/*ctlinput*/, - hci_raw_ctloutput, hci_raw_usrreq, hci_raw_init, + NULL/*hci_ctloutput*/, NULL/*hci_usrreq*/, NULL/*init*/, NULL/*fasttimo*/, NULL/*slowtimo*/, NULL/*drain*/, NULL/*sysctl*/ }, @@ -67,6 +64,6 @@ struct domain btdomain = { AF_BLUETOOTH, "bluetooth", bt_init, NULL/*externalize*/, NULL/*dispose*/, btsw, &btsw[sizeof(btsw) / sizeof(btsw[0])], NULL, - NULL/*rtattach*/, 32, sizeof(struct sockaddr_hci), + NULL/*rtattach*/, 32, sizeof(struct sockaddr_bt), NULL/*ifattach*/, NULL/*ifdetach*/ }; |