CVS commit: src/sys/arch/acorn32/eb7500atx

2020-03-29 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 29 10:25:28 UTC 2020

Modified Files:
src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
diff -u src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.31 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.32
--- src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.31	Tue Jul 16 14:41:43 2019
+++ src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c	Sun Mar 29 10:25:28 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: eb7500atx_machdep.c,v 1.31 2019/07/16 14:41:43 skrll Exp $	*/
+/*	$NetBSD: eb7500atx_machdep.c,v 1.32 2020/03/29 10:25:28 skrll Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include 
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.31 2019/07/16 14:41:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.32 2020/03/29 10:25:28 skrll Exp $");
 
 #include 
 #include 
@@ -945,7 +945,7 @@ initarm(void *cookie)
 #endif	/* DDB */
 
 	/* We return the new stack pointer address */
-	return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+	return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
 }
 
 



CVS commit: src/sys/arch/acorn32/eb7500atx

2009-10-21 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Wed Oct 21 16:16:24 UTC 2009

Modified Files:
src/sys/arch/acorn32/eb7500atx: rsbus.c

Log Message:
Drop 3rd and 4th clauses from Ichiro FUKUHARA's license.
Reviewed and approved by ichiro@ (copyright holder).

(this single file was missed in previous commit)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/acorn32/eb7500atx/rsbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn32/eb7500atx/rsbus.c
diff -u src/sys/arch/acorn32/eb7500atx/rsbus.c:1.6 src/sys/arch/acorn32/eb7500atx/rsbus.c:1.7
--- src/sys/arch/acorn32/eb7500atx/rsbus.c:1.6	Sat Mar 14 15:35:58 2009
+++ src/sys/arch/acorn32/eb7500atx/rsbus.c	Wed Oct 21 16:16:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rsbus.c,v 1.6 2009/03/14 15:35:58 dsl Exp $ */
+/* $NetBSD: rsbus.c,v 1.7 2009/10/21 16:16:24 rmind Exp $ */
 
 /*
  * Copyright (c) 2002
@@ -13,12 +13,6 @@
  * 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.
- * 3. All advertising materials mentioning features or use of this software
- *must display the following acknowledgement:
- *	This product includes software developed by Ichiro FUKUHARA.
- * 4. The name of the company nor the name of the author may be used to
- *endorse or promote products derived from this software without specific
- *prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -35,7 +29,7 @@
 
 #include 
 
-__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.6 2009/03/14 15:35:58 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.7 2009/10/21 16:16:24 rmind Exp $");
 
 #include 
 #include 



CVS commit: src/sys/arch/acorn32/eb7500atx

2009-09-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Sep 22 14:49:28 UTC 2009

Modified Files:
src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c

Log Message:
Explicitly include  for ZMAGIC etc.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
diff -u src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.15 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.16
--- src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.15	Tue Aug 11 17:04:14 2009
+++ src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c	Tue Sep 22 14:49:28 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: eb7500atx_machdep.c,v 1.15 2009/08/11 17:04:14 matt Exp $	*/
+/*	$NetBSD: eb7500atx_machdep.c,v 1.16 2009/09/22 14:49:28 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include 
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.15 2009/08/11 17:04:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.16 2009/09/22 14:49:28 tsutsui Exp $");
 
 #include 
 #include 
@@ -63,6 +63,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #include 



CVS commit: src/sys/arch/acorn32/eb7500atx

2009-05-11 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Tue May 12 06:57:51 UTC 2009

Modified Files:
src/sys/arch/acorn32/eb7500atx: if_cs.c

Log Message:
use device_xname()


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/acorn32/eb7500atx/if_cs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn32/eb7500atx/if_cs.c
diff -u src/sys/arch/acorn32/eb7500atx/if_cs.c:1.4 src/sys/arch/acorn32/eb7500atx/if_cs.c:1.5
--- src/sys/arch/acorn32/eb7500atx/if_cs.c:1.4	Sun Dec 11 12:16:05 2005
+++ src/sys/arch/acorn32/eb7500atx/if_cs.c	Tue May 12 06:57:51 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_cs.c,v 1.4 2005/12/11 12:16:05 christos Exp $	*/
+/*	$NetBSD: if_cs.c,v 1.5 2009/05/12 06:57:51 cegger Exp $	*/
 
 /*
  * Copyright (c) 2004 Christopher Gilbert
@@ -58,7 +58,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.4 2005/12/11 12:16:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.5 2009/05/12 06:57:51 cegger Exp $");
 
 #include 
 #include 
@@ -171,7 +171,7 @@
 	iobase = 0x03010600;
 	if (bus_space_map(sc->sc_iot, iobase, CS8900_IOSIZE * 4,
 	0, &sc->sc_ioh)) {
-		printf("%s: unable to map i/o space\n", sc->sc_dev.dv_xname);
+		printf("%s: unable to map i/o space\n", device_xname(&sc->sc_dev));
 		return;
 	}
 
@@ -179,7 +179,7 @@
 	if (bus_space_map(sc->sc_memt, iobase + 0x3A00,
 CS8900_MEMSIZE * 4, 0, &sc->sc_memh)) {
 		printf("%s: unable to map memory space\n",
-				sc->sc_dev.dv_xname);
+				device_xname(&sc->sc_dev));
 	} else {
 		sc->sc_cfgflags |= CFGFLG_MEM_MODE | CFGFLG_USE_SA;
 		sc->sc_pktpgaddr = 1<<23;
@@ -189,7 +189,7 @@
 	sc->sc_ih = intr_claim(IRQ_INT5, IPL_NET, "cs", cs_intr, sc);
 	if (sc->sc_ih == NULL) {
 		printf("%s: unable to establish interrupt\n",
-		sc->sc_dev.dv_xname);
+		device_xname(&sc->sc_dev));
 		return;
 	}