Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Add some #includes to make a few more header files c...



details:   https://anonhg.NetBSD.org/src/rev/cefceb11afe1
branches:  trunk
changeset: 827431:cefceb11afe1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Oct 28 06:27:32 2017 +0000

description:
Add some #includes to make a few more header files compile.

diffstat:

 sys/dev/apm/apmio.h          |  3 ++-
 sys/dev/dmover/dmover_io.h   |  3 ++-
 sys/dev/dtv/dtvio_demux.h    |  3 ++-
 sys/dev/dtv/dtvio_frontend.h |  3 ++-
 sys/dev/i2c/i2c_io.h         |  3 ++-
 sys/dev/i2o/i2o.h            |  5 ++++-
 sys/dev/i2o/iopio.h          |  3 ++-
 sys/dev/ic/athioctl.h        |  7 ++++++-
 sys/dev/ic/icp_ioctl.h       |  5 ++++-
 sys/dev/ic/mlxio.h           |  3 ++-
 10 files changed, 28 insertions(+), 10 deletions(-)

diffs (181 lines):

diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/apm/apmio.h
--- a/sys/dev/apm/apmio.h       Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/apm/apmio.h       Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apmio.h,v 1.6 2015/09/06 06:00:59 dholland Exp $       */
+/*     $NetBSD: apmio.h,v 1.7 2017/10/28 06:27:32 riastradh Exp $      */
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -30,6 +30,7 @@
 #ifndef _DEV_APM_APMIO_H_
 #define _DEV_APM_APMIO_H_
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 struct apm_event_info {
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/dmover/dmover_io.h
--- a/sys/dev/dmover/dmover_io.h        Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/dmover/dmover_io.h        Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmover_io.h,v 1.3 2005/12/11 12:21:20 christos Exp $   */
+/*     $NetBSD: dmover_io.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $  */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -38,6 +38,7 @@
 #ifndef _DMOVER_DMOVER_IO_H_
 #define _DMOVER_DMOVER_IO_H_
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 #include <sys/uio.h>
 
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/dtv/dtvio_demux.h
--- a/sys/dev/dtv/dtvio_demux.h Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/dtv/dtvio_demux.h Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtvio_demux.h,v 1.2 2011/07/10 15:50:48 jmcneill Exp $ */
+/* $NetBSD: dtvio_demux.h,v 1.3 2017/10/28 06:27:32 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -35,6 +35,7 @@
 #ifndef _DEV_DTV_DTVIO_DEMUX_H
 #define _DEV_DTV_DTVIO_DEMUX_H
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 /*
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/dtv/dtvio_frontend.h
--- a/sys/dev/dtv/dtvio_frontend.h      Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/dtv/dtvio_frontend.h      Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtvio_frontend.h,v 1.2 2011/07/13 23:16:55 jmcneill Exp $ */
+/* $NetBSD: dtvio_frontend.h,v 1.3 2017/10/28 06:27:32 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -35,6 +35,7 @@
 #ifndef _DEV_DTV_DTVIO_FRONTEND_H
 #define _DEV_DTV_DTVIO_FRONTEND_H
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 /*
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/i2c/i2c_io.h
--- a/sys/dev/i2c/i2c_io.h      Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/i2c/i2c_io.h      Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c_io.h,v 1.3 2012/04/22 14:10:36 pgoyette Exp $      */
+/*     $NetBSD: i2c_io.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $     */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -38,6 +38,7 @@
 #ifndef _DEV_I2C_I2C_IO_H_
 #define        _DEV_I2C_I2C_IO_H_
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 /* I2C bus address. */
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/i2o/i2o.h
--- a/sys/dev/i2o/i2o.h Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/i2o/i2o.h Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2o.h,v 1.15 2008/09/08 23:36:54 gmcgarry Exp $        */
+/*     $NetBSD: i2o.h,v 1.16 2017/10/28 06:27:32 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -38,6 +38,9 @@
 #ifndef        _I2O_I2O_H_
 #define        _I2O_I2O_H_
 
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
 /*
  * ================= Miscellaneous definitions =================
  */
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/i2o/iopio.h
--- a/sys/dev/i2o/iopio.h       Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/i2o/iopio.h       Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iopio.h,v 1.7 2015/09/06 06:01:00 dholland Exp $       */
+/*     $NetBSD: iopio.h,v 1.8 2017/10/28 06:27:32 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
 #ifndef _I2O_IOPIO_H_
 #define        _I2O_IOPIO_H_
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 #define        IOP_MAX_MSG_XFERS       3       /* Maximum transfer count per msg */
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/ic/athioctl.h
--- a/sys/dev/ic/athioctl.h     Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/ic/athioctl.h     Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: athioctl.h,v 1.16 2015/09/06 06:01:00 dholland Exp $   */
+/*     $NetBSD: athioctl.h,v 1.17 2017/10/28 06:27:32 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -44,8 +44,13 @@
 #ifndef _DEV_ATH_ATHIOCTL_H
 #define _DEV_ATH_ATHIOCTL_H
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
+#include <net/if.h>
+
+#include <net80211/ieee80211_radiotap.h>
+
 struct ath_stats {
        u_int32_t       ast_watchdog;   /* device reset by watchdog */
        u_int32_t       ast_hardware;   /* fatal hardware error interrupts */
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/ic/icp_ioctl.h
--- a/sys/dev/ic/icp_ioctl.h    Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/ic/icp_ioctl.h    Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icp_ioctl.h,v 1.6 2007/12/25 18:33:38 perry Exp $      */
+/*     $NetBSD: icp_ioctl.h,v 1.7 2017/10/28 06:27:32 riastradh Exp $  */
 
 /*
  *       Copyright (c) 2000-03 Intel Corporation
@@ -37,7 +37,10 @@
 #ifndef _DEV_IC_ICP_IOCTL_H_
 #define        _DEV_IC_ICP_IOCTL_H_
 
+#include <sys/cdefs.h>
+#include <sys/types.h>
 #include <sys/ioccom.h>
+
 #include <dev/ic/icpreg.h>
 
 #define        GDT_SCRATCH_SZ  3072    /* 3KB scratch buffer */
diff -r 1df7b65db64b -r cefceb11afe1 sys/dev/ic/mlxio.h
--- a/sys/dev/ic/mlxio.h        Sat Oct 28 06:24:24 2017 +0000
+++ b/sys/dev/ic/mlxio.h        Sat Oct 28 06:27:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mlxio.h,v 1.3 2002/08/26 17:02:15 ad Exp $     */
+/*     $NetBSD: mlxio.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $      */
 
 /*-
  * Copyright (c) 1999 Michael Smith
@@ -31,6 +31,7 @@
 #ifndef _IC_MLXIO_H_
 #define        _IC_MLXIO_H_
 
+#include <sys/types.h>
 #include <sys/ioccom.h>
 
 /*



Home | Main Index | Thread Index | Old Index