Skip to contentSkip to conversation

tools: Remove legacy code for CSR controllers

RFC New Luiz Augusto von Dentz 1 participant 1 message Sep 25, 2020

Subsystems (2)
lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

RFC 1/1 tools: Remove legacy code for CSR controllers

From: Luiz Augusto von Dentz <[email protected]>

This code has not been touched for ages and very unlikely that someone will be using this nowadays as most of these controller specific transports are handled by the kernel nowadays.

---
 Makefile.tools    |   17 +-
 tools/bccmd.1     |  130 ---
 tools/bccmd.c     | 1248 --------------------
 tools/csr.c       | 2856 ---------------------------------------------
 tools/csr.h       |  555 ---------
 tools/csr_3wire.c |   62 -
 tools/csr_bcsp.c  |  257 ----
 tools/csr_h4.c    |  166 ---
 tools/csr_hci.c   |  160 ---
 tools/csr_usb.c   |  308 -----
 tools/hciconfig.c |   28 -
 tools/ubcsp.c     | 1180 -------------------
 tools/ubcsp.h     |  208 ----
 13 files changed, 5 insertions(+), 7170 deletions(-)
 delete mode 100644 tools/bccmd.1
 delete mode 100644 tools/bccmd.c
 delete mode 100644 tools/csr.c
 delete mode 100644 tools/csr.h
 delete mode 100644 tools/csr_3wire.c
 delete mode 100644 tools/csr_bcsp.c
 delete mode 100644 tools/csr_h4.c
 delete mode 100644 tools/csr_hci.c
 delete mode 100644 tools/csr_usb.c
 delete mode 100644 tools/ubcsp.c
 delete mode 100644 tools/ubcsp.h
Makefile.tools +5 -12
index 0423293d6..d5fdf2d89 100644
@@ -176,9 +176,8 @@ tools_userchan_tester_LDADD = lib/libbluetooth-internal.la \
 endif
 
 if TOOLS
-bin_PROGRAMS += tools/rctest tools/l2test tools/l2ping tools/bccmd \
-			tools/bluemoon tools/hex2hcd tools/mpris-proxy \
-			tools/btattach
+bin_PROGRAMS += tools/rctest tools/l2test tools/l2ping tools/bluemoon \
+		tools/hex2hcd tools/mpris-proxy tools/btattach
 
 noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
 			tools/scotest tools/amptest tools/hwdb \
@@ -278,12 +277,6 @@ tools_l2test_LDADD = lib/libbluetooth-internal.la
 
 tools_l2ping_LDADD = lib/libbluetooth-internal.la
 
-tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h tools/csr.c \
-			tools/csr_hci.c tools/csr_usb.c \
-			tools/csr_h4.c tools/csr_3wire.c \
-			tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c
-tools_bccmd_LDADD = lib/libbluetooth-internal.la
-
 tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h
 tools_bluemoon_LDADD = src/libshared-mainloop.la
 
@@ -298,7 +291,7 @@ tools_gatt_service_LDADD = $(GLIB_LIBS) $(DBUS_LIBS) gdbus/libgdbus-internal.la
 profiles_iap_iapd_SOURCES = profiles/iap/main.c
 profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS)
 
-dist_man_MANS += tools/rctest.1 tools/l2ping.1 tools/bccmd.1 tools/btattach.1
+dist_man_MANS += tools/rctest.1 tools/l2ping.1 tools/btattach.1
 
 EXTRA_DIST += tools/bdaddr.1
 
@@ -360,7 +353,7 @@ tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
 						tools/hciattach_bcm43xx.c
 tools_hciattach_LDADD = lib/libbluetooth-internal.la
 
-tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c
+tools_hciconfig_SOURCES = tools/hciconfig.c
 tools_hciconfig_LDADD = lib/libbluetooth-internal.la
 
 tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c
@@ -409,7 +402,7 @@ EXTRA_DIST += tools/hciattach.1 tools/hciconfig.1 \
 			tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1
 endif
 else
-EXTRA_DIST += tools/rctest.1 tools/l2ping.1 tools/bccmd.1 tools/btattach.1
+EXTRA_DIST += tools/rctest.1 tools/l2ping.1 tools/btattach.1
 endif
 
 if HID2HCI
tools/bccmd.1 deleted +0 -130

130 lines not on this page · raw message

tools/bccmd.c deleted +0 -1248

1,248 lines not on this page · raw message

tools/csr.c deleted +0 -2856

1,575 lines not on this page · raw message

tools/csr.h deleted +0 -555

555 lines not on this page · raw message

tools/csr_3wire.c deleted +0 -62

62 lines not on this page · raw message

tools/csr_bcsp.c deleted +0 -257

257 lines not on this page · raw message

tools/csr_h4.c deleted +0 -166

166 lines not on this page · raw message

tools/csr_hci.c deleted +0 -160

160 lines not on this page · raw message

tools/csr_usb.c deleted +0 -308

308 lines not on this page · raw message

tools/hciconfig.c +0 -28
index ddc17c4b5..a7b0b0a86 100644

Lines of this file are not shown. View the raw message.

tools/ubcsp.c deleted +0 -1180

1,180 lines not on this page · raw message

tools/ubcsp.h deleted +0 -208

208 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.26.2

Part of the diff is not shown here. View the raw message.