Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev opt_m68k_arch.h can only be included when...



details:   https://anonhg.NetBSD.org/src/rev/07b4c7747c01
branches:  trunk
changeset: 758102:07b4c7747c01
user:      phx <phx%NetBSD.org@localhost>
date:      Mon Oct 18 22:02:25 2010 +0000

description:
opt_m68k_arch.h can only be included when compiling for amiga/68k.

diffstat:

 sys/arch/amiga/dev/bzivsc.c      |  6 ++++--
 sys/arch/amiga/dev/bzsc.c        |  6 ++++--
 sys/arch/amiga/dev/bztzsc.c      |  6 ++++--
 sys/arch/amiga/dev/cbiisc.c      |  6 ++++--
 sys/arch/amiga/dev/cbsc.c        |  6 ++++--
 sys/arch/amiga/dev/flsc.c        |  6 ++++--
 sys/arch/amiga/dev/if_bah_zbus.c |  6 ++++--
 sys/arch/amiga/dev/sbic.c        |  6 ++++--
 8 files changed, 32 insertions(+), 16 deletions(-)

diffs (184 lines):

diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/bzivsc.c
--- a/sys/arch/amiga/dev/bzivsc.c       Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/bzivsc.c       Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzivsc.c,v 1.29 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: bzivsc.c,v 1.30 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -31,10 +31,12 @@
  *
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.29 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bzivsc.c,v 1.30 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/bzsc.c
--- a/sys/arch/amiga/dev/bzsc.c Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/bzsc.c Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzsc.c,v 1.46 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: bzsc.c,v 1.47 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -36,10 +36,12 @@
  * SUCH DAMAGE.
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.46 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bzsc.c,v 1.47 2010/10/18 22:02:25 phx Exp $");
 
 /*
  * Initial amiga Blizzard 1230-II driver by Daniel Widenfalk.  Conversion to
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/bztzsc.c
--- a/sys/arch/amiga/dev/bztzsc.c       Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/bztzsc.c       Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bztzsc.c,v 1.34 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: bztzsc.c,v 1.35 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -37,10 +37,12 @@
  * 53c9x MI driver by Michael L. Hitch (mhitch%montana.edu@localhost).
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.34 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bztzsc.c,v 1.35 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/cbiisc.c
--- a/sys/arch/amiga/dev/cbiisc.c       Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/cbiisc.c       Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cbiisc.c,v 1.30 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: cbiisc.c,v 1.31 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -31,10 +31,12 @@
  *
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.30 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cbiisc.c,v 1.31 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/cbsc.c
--- a/sys/arch/amiga/dev/cbsc.c Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/cbsc.c Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cbsc.c,v 1.31 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: cbsc.c,v 1.32 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -31,10 +31,12 @@
  *
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.31 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cbsc.c,v 1.32 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/flsc.c
--- a/sys/arch/amiga/dev/flsc.c Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/flsc.c Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flsc.c,v 1.43 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: flsc.c,v 1.44 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1997 Michael L. Hitch
@@ -42,10 +42,12 @@
  */
 
 #include "opt_ddb.h"
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.43 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: flsc.c,v 1.44 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/if_bah_zbus.c
--- a/sys/arch/amiga/dev/if_bah_zbus.c  Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/if_bah_zbus.c  Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bah_zbus.c,v 1.12 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: if_bah_zbus.c,v 1.13 2010/10/18 22:02:25 phx Exp $ */
 
 /*-
  * Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
@@ -29,10 +29,12 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bah_zbus.c,v 1.12 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bah_zbus.c,v 1.13 2010/10/18 22:02:25 phx Exp $");
 
 /*
  * Driver frontend for the Commodore Busines Machines and the
diff -r 8c4ff4fb8457 -r 07b4c7747c01 sys/arch/amiga/dev/sbic.c
--- a/sys/arch/amiga/dev/sbic.c Mon Oct 18 22:00:47 2010 +0000
+++ b/sys/arch/amiga/dev/sbic.c Mon Oct 18 22:02:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.67 2010/06/06 04:50:06 mrg Exp $ */
+/*     $NetBSD: sbic.c,v 1.68 2010/10/18 22:02:25 phx Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -76,10 +76,12 @@
  */
 
 #include "opt_ddb.h"
+#ifdef __m68k__
 #include "opt_m68k_arch.h"
+#endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.67 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.68 2010/10/18 22:02:25 phx Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index