Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2021 04:03:47 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 24ccef81405e - main - bluetooth: Remove stray btccc references
Message-ID:  <202109300403.18U43lQ9053710@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=24ccef81405eb25efc65f16b6e9a787f3a51151a

commit 24ccef81405eb25efc65f16b6e9a787f3a51151a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-09-30 03:58:27 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-09-30 03:58:27 +0000

    bluetooth: Remove stray btccc references
    
    The 3com bluetooth PC Card adapter was removed from the tree when PC
    Card support was removed earlier this year. Remove stray references to
    it still in the tree.
    
    Sponsored by:           Netflix
---
 lib/libbluetooth/hci.c    | 1 -
 libexec/rc/rc.d/bluetooth | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/lib/libbluetooth/hci.c b/lib/libbluetooth/hci.c
index 3a524cebc3ae..95e96c479157 100644
--- a/lib/libbluetooth/hci.c
+++ b/lib/libbluetooth/hci.c
@@ -762,7 +762,6 @@ static char *
 bt_dev2node(char const *devname, char *nodename, int nnlen)
 {
 	static char const *	 bt_dev_prefix[] = {
-		"btccc",	/* 3Com Bluetooth PC-CARD */
 		"h4",		/* UART/serial Bluetooth devices */
 		"ubt",		/* Bluetooth USB devices */
 		NULL		/* should be last */
diff --git a/libexec/rc/rc.d/bluetooth b/libexec/rc/rc.d/bluetooth
index b89a2c328048..ca83792ab96c 100755
--- a/libexec/rc/rc.d/bluetooth
+++ b/libexec/rc/rc.d/bluetooth
@@ -296,10 +296,6 @@ bluetooth_stop()
 
 	# Try to figure out device type by looking at device name
 	case "${dev}" in
-	# 3Com Bluetooth Adapter 3CRWB60-A
-	btccc*)
-		;;
-
 	# USB Bluetooth adapters
 	ubt*)
 		;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109300403.18U43lQ9053710>