summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2020-04-16 21:56:41 +0000
committerrin <rin@NetBSD.org>2020-04-16 21:56:41 +0000
commitb0bd5ce06ada83bebf345fd7d974d1dc15c6ca99 (patch)
tree9369dfdc722e2560eb3e98685f0693f2b59ccd1a /sys/dev
parentf3dab39ef3762cddc71030853b5fb50b229cdc98 (diff)
Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by
overwriting RCSID in main source files. XXX The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish to have RCSID of header files in kernel binary, we need something like __FBSDID() macro in FreeBSD.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/wmi/wmi_acpivar.h5
-rw-r--r--sys/dev/adb/adbvar.h5
-rw-r--r--sys/dev/i2c/adm1026reg.h3
-rw-r--r--sys/dev/i2c/dbcool_reg.h5
-rw-r--r--sys/dev/i2c/dbcool_var.h5
-rw-r--r--sys/dev/i2c/sgsmixvar.h5
-rw-r--r--sys/dev/ic/i128reg.h5
-rw-r--r--sys/dev/ic/i128var.h5
-rw-r--r--sys/dev/pci/gffbreg.h5
-rw-r--r--sys/dev/pci/ppbvar.h5
-rw-r--r--sys/dev/pci/voyagervar.h5
-rw-r--r--sys/dev/qbus/rlvar.h5
12 files changed, 11 insertions, 47 deletions
diff --git a/sys/dev/acpi/wmi/wmi_acpivar.h b/sys/dev/acpi/wmi/wmi_acpivar.h
index 10c725eddc4..20bb2cae6bc 100644
--- a/sys/dev/acpi/wmi/wmi_acpivar.h
+++ b/sys/dev/acpi/wmi/wmi_acpivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wmi_acpivar.h,v 1.5 2010/10/28 15:55:04 jruoho Exp $ */
+/* $NetBSD: wmi_acpivar.h,v 1.6 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2009, 2010 Jukka Ruohonen <jruohonen@iki.fi>
@@ -30,9 +30,6 @@
#ifndef _SYS_DEV_ACPI_WMI_WMI_ACPIVAR_H
#define _SYS_DEV_ACPI_WMI_WMI_ACPIVAR_H
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wmi_acpivar.h,v 1.5 2010/10/28 15:55:04 jruoho Exp $");
-
ACPI_STATUS acpi_wmi_event_register(device_t, ACPI_NOTIFY_HANDLER);
ACPI_STATUS acpi_wmi_event_deregister(device_t);
ACPI_STATUS acpi_wmi_event_get(device_t, uint32_t, ACPI_BUFFER *);
diff --git a/sys/dev/adb/adbvar.h b/sys/dev/adb/adbvar.h
index c96c3fff964..f79e8fef79d 100644
--- a/sys/dev/adb/adbvar.h
+++ b/sys/dev/adb/adbvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: adbvar.h,v 1.2 2008/04/29 06:53:02 martin Exp $ */
+/* $NetBSD: adbvar.h,v 1.3 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2006 Michael Lorenz
@@ -26,9 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adbvar.h,v 1.2 2008/04/29 06:53:02 martin Exp $");
-
#ifndef ADBVAR_H
#define ADBVAR_H
diff --git a/sys/dev/i2c/adm1026reg.h b/sys/dev/i2c/adm1026reg.h
index 3b3951435a0..c832f259ab8 100644
--- a/sys/dev/i2c/adm1026reg.h
+++ b/sys/dev/i2c/adm1026reg.h
@@ -36,9 +36,6 @@
* http://www.onsemi.com/pub_link/Collateral/ADM1026-D.PDF
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm1026reg.h,v 1.3 2019/12/11 21:00:11 jdc Exp $");
-
#define ADM1026_ADDR1 0x2c
#define ADM1026_CONF1 0x00
diff --git a/sys/dev/i2c/dbcool_reg.h b/sys/dev/i2c/dbcool_reg.h
index 4b26dff176b..d7d1a498738 100644
--- a/sys/dev/i2c/dbcool_reg.h
+++ b/sys/dev/i2c/dbcool_reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool_reg.h,v 1.7 2013/08/07 19:38:45 soren Exp $ */
+/* $NetBSD: dbcool_reg.h,v 1.8 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,9 +36,6 @@
#ifndef DBCOOLREG_H
#define DBCOOLREG_H
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool_reg.h,v 1.7 2013/08/07 19:38:45 soren Exp $");
-
#define DBCOOL_ADDRMASK 0x3fc
#define DBCOOL_ADDR 0x2c /* Some chips have multiple addrs */
diff --git a/sys/dev/i2c/dbcool_var.h b/sys/dev/i2c/dbcool_var.h
index 2fb18c7779e..64cb22fa70b 100644
--- a/sys/dev/i2c/dbcool_var.h
+++ b/sys/dev/i2c/dbcool_var.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool_var.h,v 1.14 2011/08/02 14:06:15 pgoyette Exp $ */
+/* $NetBSD: dbcool_var.h,v 1.15 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -40,9 +40,6 @@
#define DBCOOL_DEBUG
#endif
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool_var.h,v 1.14 2011/08/02 14:06:15 pgoyette Exp $");
-
#include <dev/i2c/i2cvar.h>
#include <dev/sysmon/sysmonvar.h>
diff --git a/sys/dev/i2c/sgsmixvar.h b/sys/dev/i2c/sgsmixvar.h
index cd9bb800366..11725e6636d 100644
--- a/sys/dev/i2c/sgsmixvar.h
+++ b/sys/dev/i2c/sgsmixvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sgsmixvar.h,v 1.2 2008/05/08 02:32:48 macallan Exp $ */
+/* $NetBSD: sgsmixvar.h,v 1.3 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (C) 2005 Michael Lorenz.
@@ -26,9 +26,6 @@
#ifndef SGSMIXVAR_H
#define SGSMIXVAR_H
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sgsmixvar.h,v 1.2 2008/05/08 02:32:48 macallan Exp $");
-
void sgsmix_set_speaker_vol(void *, int, int);
void sgsmix_set_headphone_vol(void *, int, int);
void sgsmix_set_bass_treble(void *, int, int);
diff --git a/sys/dev/ic/i128reg.h b/sys/dev/ic/i128reg.h
index e8343845575..c5c2b6ab409 100644
--- a/sys/dev/ic/i128reg.h
+++ b/sys/dev/ic/i128reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: i128reg.h,v 1.3 2008/04/29 06:53:02 martin Exp $ */
+/* $NetBSD: i128reg.h,v 1.4 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -26,9 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i128reg.h,v 1.3 2008/04/29 06:53:02 martin Exp $");
-
/*
* register definition for Number Nine Imagine 128 graphics controllers
*
diff --git a/sys/dev/ic/i128var.h b/sys/dev/ic/i128var.h
index 8b25097d06f..d90fa6de401 100644
--- a/sys/dev/ic/i128var.h
+++ b/sys/dev/ic/i128var.h
@@ -1,4 +1,4 @@
-/* $NetBSD: i128var.h,v 1.3 2012/10/20 13:31:09 macallan Exp $ */
+/* $NetBSD: i128var.h,v 1.4 2020/04/16 21:56:42 rin Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -26,9 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i128var.h,v 1.3 2012/10/20 13:31:09 macallan Exp $");
-
/*
* register definition for Number Nine Imagine 128 graphics controllers
*
diff --git a/sys/dev/pci/gffbreg.h b/sys/dev/pci/gffbreg.h
index 56728725e7b..c24bba442a2 100644
--- a/sys/dev/pci/gffbreg.h
+++ b/sys/dev/pci/gffbreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: gffbreg.h,v 1.3 2013/10/23 13:15:47 macallan Exp $ */
+/* $NetBSD: gffbreg.h,v 1.4 2020/04/16 21:56:42 rin Exp $ */
/*
* Copyright (c) 2013 Michael Lorenz
@@ -31,9 +31,6 @@
* register definitions are mostly from the xf86-video-nv driver
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gffbreg.h,v 1.3 2013/10/23 13:15:47 macallan Exp $");
-
#ifndef GFFBREG_H
#define GFFBREG_H
diff --git a/sys/dev/pci/ppbvar.h b/sys/dev/pci/ppbvar.h
index 42ed1eb0476..596d8b4ec24 100644
--- a/sys/dev/pci/ppbvar.h
+++ b/sys/dev/pci/ppbvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ppbvar.h,v 1.2 2017/04/18 05:21:34 msaitoh Exp $ */
+/* $NetBSD: ppbvar.h,v 1.3 2020/04/16 21:56:42 rin Exp $ */
/*
* Copyright (c) 1996, 1998 Christopher G. Demetriou. All rights reserved.
@@ -30,9 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppbvar.h,v 1.2 2017/04/18 05:21:34 msaitoh Exp $");
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/dev/pci/voyagervar.h b/sys/dev/pci/voyagervar.h
index 5a2f3d46d79..7a329748e15 100644
--- a/sys/dev/pci/voyagervar.h
+++ b/sys/dev/pci/voyagervar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: voyagervar.h,v 1.5 2018/04/19 21:50:09 christos Exp $ */
+/* $NetBSD: voyagervar.h,v 1.6 2020/04/16 21:56:42 rin Exp $ */
/*
* Copyright (c) 2011 Michael Lorenz
@@ -25,9 +25,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: voyagervar.h,v 1.5 2018/04/19 21:50:09 christos Exp $");
-
#ifndef VOYAGERVAR_H
#define VOYAGERVAR_H
diff --git a/sys/dev/qbus/rlvar.h b/sys/dev/qbus/rlvar.h
index 7de7417c4eb..74ac1c299cd 100644
--- a/sys/dev/qbus/rlvar.h
+++ b/sys/dev/qbus/rlvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rlvar.h,v 1.9 2017/05/22 17:22:29 ragge Exp $ */
+/* $NetBSD: rlvar.h,v 1.10 2020/04/16 21:56:43 rin Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -29,9 +29,6 @@
* RL01/RL02 disk device driver.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rlvar.h,v 1.9 2017/05/22 17:22:29 ragge Exp $");
-
struct rlc_softc {
device_t sc_dev;
struct uba_softc *sc_uh;