-Move the launching of the Local Device to an IOCTL from the open hook to be more compatible with the net_stack

-Implement Launch method in the accesors regarding previous comment
-Fix KDL at removing device



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26345 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2008-07-09 17:01:30 +00:00
parent 383a9ac435
commit d04eb939af
7 changed files with 59 additions and 38 deletions
+6 -5
View File
@@ -13,11 +13,11 @@
#include <net_buffer.h>
#include <Drivers.h>
typedef enum { ANCILLYANT = 1,
RUNNING,
LEAVING,
SENDING,
PROCESSING
typedef enum { ANCILLYANT = (1<<0),
RUNNING = (1<<1),
LEAVING = (1<<2),
SENDING = (1<<3),
PROCESSING = (1<<4)
} bt_transport_status_t;
typedef uint8 bt_stat_t;
@@ -84,6 +84,7 @@ typedef struct bt_hci_device {
enum {
ISSUE_BT_COMMAND = B_DEVICE_OP_CODES_END + BT_IOCTLS_OFFSET ,
BT_UP,
GET_STATICS,
GET_NOTIFICATION_PORT,
GET_HCI_ID