|
From: Alain P. <apa...@us...> - 2002-05-10 12:28:22
|
The following files were modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
Config.in 1.21 1.22=20=20=20=20=20=20=20=20=20=20=20=20=20=20
hci_vendor.c 1.63 1.64=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added settings and functions for new bluetooth hardware from Texas Instrume=
nts.
The diff of the modified file(s):
--- Config.in 18 Dec 2001 09:33:20 -0000 1.21
+++ Config.in 10 May 2002 12:27:51 -0000 1.22
@@ -14,6 +14,7 @@
Digianswer CONFIG_BLUETOOTH_DIGIANSWER \
Ericsson CONFIG_BLUETOOTH_ERICSSON \
Infineon CONFIG_BLUETOOTH_INFINEON_BMI \
+ Texas_Instruments CONFIG_BLUETOOTH_TEXASINSTRUMENTS \
Generic CONFIG_BLUETOOTH_GENERIC \
USB CONFIG_BLUETOOTH_USBMODULE" Ericsson
=20
--- hci_vendor.c 11 Apr 2002 10:16:48 -0000 1.63
+++ hci_vendor.c 10 May 2002 12:27:51 -0000 1.64
@@ -88,6 +88,11 @@
/* Digianswer defines */
#endif
=20
+#ifdef CONFIG_BLUETOOTH_TEXASINSTRUMENTS
+/* Texas instrument defines */
+#define TEXAS_SET_SLEEP_MODE 0x0C
+#endif
+
#define BT_HW_INFO_MAX 255
=20
/****************** LOCAL VARIABLE DECLARATION SECTION *******************=
***/
@@ -1430,6 +1435,54 @@
bt_hw_vendor(void)
{
return "Infineon";
+}
+
+
+#elif defined(CONFIG_BLUETOOTH_TEXASINSTRUMENTS)
+
+/*************************************************************************=
****/
+/************** Functions for Texas Instrument Bluetooth chips ***********=
****/
+/*************************************************************************=
****/
+
+#define VENDOR " [Texas Instruments]"
+
+s32=20
+hci_set_bd_addr(u8 bd[6])
+{
+ D_ERR(__FUNCTION__ VENDOR " not supported.\n");
+ return 0;
+}
+
+s32
+hci_read_firmware_rev_info(void)
+{
+ D_ERR(__FUNCTION__ VENDOR " not supported.\n");
+ return 0;
+}
+
+s32=20
+hci_set_baudrate(u32 baudrate)
+{
+ D_ERR(__FUNCTION__ VENDOR " not supported.\n");
+ return 0;
+}
+
+void
+process_vendor_event(u8 *buf, u32 len, u32 event_code)
+{
+ D_REC(__FUNCTION__ VENDOR " Texas specific: Unknown event.\n");
+}
+
+void
+process_vendor_return_param(u32 ocf, u8* r_val)
+{
+ D_ERR(__FUNCTION__ VENDOR " Texas specific: Invalid reply (0x%x)\n", ocf);
+}
+
+char*
+bt_hw_vendor(void)
+{
+ return "Texas Instruments";
}
=20
#else
|