summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/bt3cfw
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-05-10 21:50:37 +0000
committerjulian <julian@FreeBSD.org>2003-05-10 21:50:37 +0000
commitfe2526340b1a2d7ed079617d2eca31aa6425d937 (patch)
tree6e0dee485a2a2757ceb37dde12c1fa3ef410e6b7 /usr.sbin/bluetooth/bt3cfw
parentdc5734d94b071df224b65d45b95d9ae7c5d563ab (diff)
downloadFreeBSD-src-fe2526340b1a2d7ed079617d2eca31aa6425d937.zip
FreeBSD-src-fe2526340b1a2d7ed079617d2eca31aa6425d937.tar.gz
Part 2 of the commit if new bluetooth code.
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
Diffstat (limited to 'usr.sbin/bluetooth/bt3cfw')
-rw-r--r--usr.sbin/bluetooth/bt3cfw/Makefile4
-rw-r--r--usr.sbin/bluetooth/bt3cfw/bt3cfw.843
-rw-r--r--usr.sbin/bluetooth/bt3cfw/bt3cfw.c2
3 files changed, 26 insertions, 23 deletions
diff --git a/usr.sbin/bluetooth/bt3cfw/Makefile b/usr.sbin/bluetooth/bt3cfw/Makefile
index 05ae1ab..6310c0a 100644
--- a/usr.sbin/bluetooth/bt3cfw/Makefile
+++ b/usr.sbin/bluetooth/bt3cfw/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1.1.1 2002/11/12 00:39:18 max Exp $
+# $Id: Makefile,v 1.2 2003/03/15 03:06:53 max Exp $
# $FreeBSD$
DESTDIR= /usr/sbin/
@@ -6,7 +6,7 @@ MANDIR= ../share/man/man
PROG= bt3cfw
MAN8= bt3cfw.8
WARNS?= 2
-CFLAGS+= -g -I../../../sys/netgraph/bluetooth/include
+CFLAGS+= -g -I${.CURDIR}/../../../sys/netgraph/bluetooth/include
SRCS= bt3cfw.c
DPADD= ${LIBNETGRAPH}
diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
index dfcfd78..9e46b86 100644
--- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
+++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8
@@ -1,6 +1,8 @@
+.\" bt3cfw.8
+.\"
.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -9,7 +11,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -21,43 +23,44 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.\"
+.\"
+.\" $Id: bt3cfw.8,v 1.3 2003/04/27 19:45:22 max Exp $
.\" $FreeBSD$
-.\"
.Dd November 11, 2002
.Dt BT3CFW 8
.Os
.Sh NAME
-.Nm bt3cfw
-.Nd firmware download utility for 3Com Bluetooth PC card driver
+.Nm BT3CFW
+.Nd Firmware download utility for 3Com Bluetooth PC card driver
.Sh SYNOPSIS
.Nm
-.Op Fl n Ar Netgraph_node_name
-.Op Fl f Ar Firmware_file_name
+.Op Fl n Ar Netgraph node name
+.Op Fl f Ar Firmware file name
+.Op Fl h
.Sh DESCRIPTION
The
.Nm
-utility connects to the specified Netgraph driver node of type
+utility connects to the specified Netgraph driver node of type
.Dv BTCCC
-and downloads specified firmware file.
+and downloads specified firmware file.
.Pp
Due to copyright issues I will no longer provide firmware with the card
-driver.
-The firmware can be obtained from the Windows driver package that
-can be downloaded from the 3COM web site at no charge.
-The firmware name is
-.Pa BT3CPCC.BIN .
-I am using original firmware that came with the card on CD-ROM.
-.Pp
-.Dl "MD5 (BT3CPCC.BIN) = 36170fda56ea9fdbf1702c966f8a97f1"
+driver. The firmware can be obtained from the Windows driver package that
+can be downloaded from the 3COM web site at no charge. The firmware name
+is BT3CPCC.BIN. I'm using original firmware that came with the card on CD-ROM.
+.Bd -literal -offset indent
+MD5 (BT3CPCC.BIN) = 36170fda56ea9fdbf1702c966f8a97f1
+.Ed
.Pp
The options are as follows:
.Bl -tag -width indent
-.It Fl n Ar Netgraph_node_name
+.It Fl n Ar Netgraph node name
Connect to the specified Netgraph driver node of type
.Dv BTCCC .
-.It Fl f Ar Firmware_file_name
+.It Fl f Ar Firmware file name
Specify firmware file name for download.
+.It Fl h
+Display usage message and exit.
.El
.Sh BUGS
Please report if found.
diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.c b/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
index 09252ac..d0a32a8 100644
--- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
+++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bt3cfw.c,v 1.1.1.1 2002/11/12 00:39:18 max Exp $
+ * $Id: bt3cfw.c,v 1.1 2002/11/24 20:22:37 max Exp $
* $FreeBSD$
*/
OpenPOWER on IntegriCloud