From: Pavan Savoy <email@example.com>
This is BlueZ driver making use of Shared Transport line
discipline to communicate with the chip.
Signed-off-by: Pavan Savoy <firstname.lastname@example.org>
drivers/staging/ti-st/bt_drv.c | 502 ++++++++++++++++++++++++++++++++++++++++
drivers/staging/ti-st/bt_drv.h | 61 +++++
2 files changed, 563 insertions(+), 0 deletions(-)
create mode 100644 drivers/staging/ti-st/bt_drv.c
create mode 100644 drivers/staging/ti-st/bt_drv.h
diff --git a/drivers/staging/ti-st/bt_drv.c b/drivers/staging/ti-st/bt_drv.c
new file mode 100644
@@ -0,0 +1,502 @@
+ * Texas Instrument's Bluetooth Driver For Shared Transport.
+ * Bluetooth Driver acts as interface between HCI CORE and
+ * TI Shared Transport Layer.
+ * Copyright (C) 2009 Texas Instruments
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/* Define this macro to get debug msg */
+#define BT_DRV_DBG(fmt, arg...) printk(KERN_INFO "(btdrv):"fmt"\n" , ## arg)
+#define BTDRV_API_START() printk(KERN_INFO "(btdrv): %s Start\n", \
+#define BTDRV_API_EXIT(errno) printk(KERN_INFO "(btdrv): %s Exit(%d)\n", ...