Commit the file i forgot yesterday (ioctl change and cleanups)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26831 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2008-08-05 22:12:24 +00:00
parent 43619079f8
commit 8bd7491914
+3 -8
View File
@@ -17,9 +17,8 @@ typedef enum { ANCILLYANT = (1<<0),
PROCESSING = (1<<4) PROCESSING = (1<<4)
} bt_transport_status_t; } bt_transport_status_t;
typedef uint8 bt_stat_t; typedef uint8 bt_stat_t;
typedef struct bt_hci_statistics { typedef struct bt_hci_statistics {
bt_stat_t acceptedTX; bt_stat_t acceptedTX;
bt_stat_t rejectedTX; bt_stat_t rejectedTX;
bt_stat_t successfulTX; bt_stat_t successfulTX;
@@ -41,8 +40,6 @@ typedef struct bt_hci_statistics {
bt_stat_t bytesRX; bt_stat_t bytesRX;
bt_stat_t bytesTX; bt_stat_t bytesTX;
} bt_hci_statistics; } bt_hci_statistics;
/* TODO: Possible hooks which drivers will have to provide */ /* TODO: Possible hooks which drivers will have to provide */
@@ -59,10 +56,8 @@ typedef struct bt_hci_transport {
} bt_hci_transport; } bt_hci_transport;
typedef struct bt_hci_device { typedef struct bt_hci_device {
transport_type kind; transport_type kind;
char realName[B_OS_NAME_LENGTH]; char realName[B_OS_NAME_LENGTH];
} bt_hci_device; } bt_hci_device;
@@ -92,8 +87,8 @@ enum {
#define GET_PORTCODE_HID(code) ((code&0x00FF0000)>>16) #define GET_PORTCODE_HID(code) ((code&0x00FF0000)>>16)
#define GET_PORTCODE_DATA(code) ((code&0x0000FFFF)) #define GET_PORTCODE_DATA(code) ((code&0x0000FFFF))
/* Port drivers can use to send information (1 for all for /* Port drivers can use to send information (1 for all for
at moment refer to ioctl GET_NOTIFICATION_PORT)*/ at moment refer to ioctl GET_NOTIFICATION_PORT)*/
#define BT_USERLAND_PORT_NAME "BT kernel-user Land" #define BT_USERLAND_PORT_NAME "BT kernel-user Land"
#endif // _BTHCI_TRANSPORT_H_ #endif // _BTHCI_TRANSPORT_H_