summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-08-24 17:55:58 +0000
committerobrien <obrien@FreeBSD.org>2003-08-24 17:55:58 +0000
commitc63dab466c1f033b389bd6ea609f595059544212 (patch)
tree42e9f25e1409a6eae14564b2dd4cc743ddb1e89f /sys/dev/bktr
parentfb9845a19e4bbed8172870281b730ff77f07b9be (diff)
downloadFreeBSD-src-c63dab466c1f033b389bd6ea609f595059544212.zip
FreeBSD-src-c63dab466c1f033b389bd6ea609f595059544212.tar.gz
Use __FBSDID().
Also some minor style cleanups.
Diffstat (limited to 'sys/dev/bktr')
-rw-r--r--sys/dev/bktr/bktr_audio.c34
-rw-r--r--sys/dev/bktr/bktr_card.c34
-rw-r--r--sys/dev/bktr/bktr_core.c63
-rw-r--r--sys/dev/bktr/bktr_i2c.c6
-rw-r--r--sys/dev/bktr/bktr_mem.c4
-rw-r--r--sys/dev/bktr/bktr_os.c32
-rw-r--r--sys/dev/bktr/bktr_tuner.c24
7 files changed, 96 insertions, 101 deletions
diff --git a/sys/dev/bktr/bktr_audio.c b/sys/dev/bktr/bktr_audio.c
index 3821b8a..a23dce3 100644
--- a/sys/dev/bktr/bktr_audio.c
+++ b/sys/dev/bktr/bktr_audio.c
@@ -1,19 +1,4 @@
-/* $FreeBSD$ */
-/*
- * This is part of the Driver for Video Capture Cards (Frame grabbers)
- * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
- * chipset.
- * Copyright Roger Hardiman and Amancio Hasty.
- *
- * bktr_audio : This deals with controlling the audio on TV cards,
- * controlling the Audio Multiplexer (audio source selector).
- * controlling any MSP34xx stereo audio decoders.
- * controlling any DPL35xx dolby surroud sound audio decoders.
- * initialising TDA98xx audio devices.
- *
- */
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
* All rights reserved.
@@ -46,6 +31,23 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+/*
+ * This is part of the Driver for Video Capture Cards (Frame grabbers)
+ * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
+ * chipset.
+ * Copyright Roger Hardiman and Amancio Hasty.
+ *
+ * bktr_audio : This deals with controlling the audio on TV cards,
+ * controlling the Audio Multiplexer (audio source selector).
+ * controlling any MSP34xx stereo audio decoders.
+ * controlling any DPL35xx dolby surroud sound audio decoders.
+ * initialising TDA98xx audio devices.
+ *
+ */
+
#include "opt_bktr.h" /* Include any kernel config options */
#include <sys/param.h>
diff --git a/sys/dev/bktr/bktr_card.c b/sys/dev/bktr/bktr_card.c
index fdae22e..337d952 100644
--- a/sys/dev/bktr/bktr_card.c
+++ b/sys/dev/bktr/bktr_card.c
@@ -1,20 +1,4 @@
-/* $FreeBSD$ */
-
-/*
- * This is part of the Driver for Video Capture Cards (Frame grabbers)
- * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
- * chipset.
- * Copyright Roger Hardiman and Amancio Hasty.
- *
- * bktr_card : This deals with identifying TV cards.
- * trying to find the card make and model of card.
- * trying to find the type of tuner fitted.
- * reading the configuration EEPROM.
- * locating i2c devices.
- *
- */
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
* All rights reserved.
@@ -47,6 +31,22 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+/*
+ * This is part of the Driver for Video Capture Cards (Frame grabbers)
+ * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
+ * chipset.
+ * Copyright Roger Hardiman and Amancio Hasty.
+ *
+ * bktr_card : This deals with identifying TV cards.
+ * trying to find the card make and model of card.
+ * trying to find the type of tuner fitted.
+ * reading the configuration EEPROM.
+ * locating i2c devices.
+ */
+
#include "opt_bktr.h" /* Include any kernel config options */
#include <sys/param.h>
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index 0d00658..2ca72c8 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -1,32 +1,4 @@
-/* $FreeBSD$ */
-
-/*
- * This is part of the Driver for Video Capture Cards (Frame grabbers)
- * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
- * chipset.
- * Copyright Roger Hardiman and Amancio Hasty.
- *
- * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,
- * Handles all the open, close, ioctl and read userland calls.
- * Sets the Bt848 registers and generates RISC pograms.
- * Controls the i2c bus and GPIO interface.
- * Contains the interface to the kernel.
- * (eg probe/attach and open/close/ioctl)
- *
- */
-
- /*
- The Brooktree BT848 Driver driver is based upon Mark Tinguely and
- Jim Lowe's driver for the Matrox Meteor PCI card . The
- Philips SAA 7116 and SAA 7196 are very different chipsets than
- the BT848.
-
- The original copyright notice by Mark and Jim is included mostly
- to honor their fantastic work in the Matrox Meteor driver!
-
- */
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
* All rights reserved.
@@ -58,11 +30,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-
-
-
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1995 Mark Tinguely and Jim Lowe
* All rights reserved.
@@ -94,6 +62,33 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+/*
+ * This is part of the Driver for Video Capture Cards (Frame grabbers)
+ * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
+ * chipset.
+ * Copyright Roger Hardiman and Amancio Hasty.
+ *
+ * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,
+ * Handles all the open, close, ioctl and read userland calls.
+ * Sets the Bt848 registers and generates RISC pograms.
+ * Controls the i2c bus and GPIO interface.
+ * Contains the interface to the kernel.
+ * (eg probe/attach and open/close/ioctl)
+ */
+
+ /*
+ The Brooktree BT848 Driver driver is based upon Mark Tinguely and
+ Jim Lowe's driver for the Matrox Meteor PCI card . The
+ Philips SAA 7116 and SAA 7196 are very different chipsets than
+ the BT848.
+
+ The original copyright notice by Mark and Jim is included mostly
+ to honor their fantastic work in the Matrox Meteor driver!
+ */
+
#include "opt_bktr.h" /* Include any kernel config options */
#if ( \
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c
index 2075eea..acb75ff 100644
--- a/sys/dev/bktr/bktr_i2c.c
+++ b/sys/dev/bktr/bktr_i2c.c
@@ -22,11 +22,11 @@
* 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.
- *
- * $FreeBSD$
- *
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* I2C support for the bti2c chipset.
*
diff --git a/sys/dev/bktr/bktr_mem.c b/sys/dev/bktr/bktr_mem.c
index ae5968c..21a1f41 100644
--- a/sys/dev/bktr/bktr_mem.c
+++ b/sys/dev/bktr/bktr_mem.c
@@ -1,5 +1,7 @@
-/* $FreeBSD$ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* This is prt of the Driver for Video Capture Cards (Frame grabbers)
* and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 1a7a807..44dce51 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -1,20 +1,4 @@
-/* $FreeBSD$ */
-
-/*
- * This is part of the Driver for Video Capture Cards (Frame grabbers)
- * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
- * chipset.
- * Copyright Roger Hardiman and Amancio Hasty.
- *
- * bktr_os : This has all the Operating System dependant code,
- * probe/attach and open/close/ioctl/read/mmap
- * memory allocation
- * PCI bus interfacing
- *
- *
- */
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
* All rights reserved.
@@ -47,6 +31,20 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+/*
+ * This is part of the Driver for Video Capture Cards (Frame grabbers)
+ * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
+ * chipset.
+ * Copyright Roger Hardiman and Amancio Hasty.
+ *
+ * bktr_os : This has all the Operating System dependant code,
+ * probe/attach and open/close/ioctl/read/mmap
+ * memory allocation
+ * PCI bus interfacing
+ */
#include "opt_bktr.h" /* include any kernel config options */
diff --git a/sys/dev/bktr/bktr_tuner.c b/sys/dev/bktr/bktr_tuner.c
index 5f3b15c..0e86550 100644
--- a/sys/dev/bktr/bktr_tuner.c
+++ b/sys/dev/bktr/bktr_tuner.c
@@ -1,16 +1,4 @@
-/* $FreeBSD$ */
-
-/*
- * This is part of the Driver for Video Capture Cards (Frame grabbers)
- * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
- * chipset.
- * Copyright Roger Hardiman and Amancio Hasty.
- *
- * bktr_tuner : This deals with controlling the tuner fitted to TV cards.
- *
- */
-
-/*
+/*-
* 1. Redistributions of source code must retain the
* Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
* All rights reserved.
@@ -43,7 +31,17 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+/*
+ * This is part of the Driver for Video Capture Cards (Frame grabbers)
+ * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
+ * chipset.
+ * Copyright Roger Hardiman and Amancio Hasty.
+ *
+ * bktr_tuner : This deals with controlling the tuner fitted to TV cards.
+ */
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud