CVS commit: src/sys/arch/hpcarm/hpcarm

2023-09-09 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Sep  9 07:07:03 UTC 2023

Modified Files:
src/sys/arch/hpcarm/hpcarm: netbookpro_machdep.c

Log Message:
fix DEVMAP_ENTRY list termination symbol.

Makes hpcarm NETBOOKPRO config build again.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hpcarm/hpcarm/netbookpro_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/hpcarm/hpcarm/netbookpro_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.3 src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.4
--- src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.3	Fri Apr 21 15:00:27 2023
+++ src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c	Sat Sep  9 07:07:03 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbookpro_machdep.c,v 1.3 2023/04/21 15:00:27 skrll Exp $	*/
+/*	$NetBSD: netbookpro_machdep.c,v 1.4 2023/09/09 07:07:03 andvar Exp $	*/
 /*
  * Copyright (c) 2011 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbookpro_machdep.c,v 1.3 2023/04/21 15:00:27 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbookpro_machdep.c,v 1.4 2023/09/09 07:07:03 andvar Exp $");
 
 #include 
 #include 
@@ -70,7 +70,7 @@ const struct pmap_devmap machdep_devmap[
 		0x1400,
 		0x1400,
 		0x0040
-	},
+	),
 	DEVMAP_ENTRY_END
 };
 



CVS commit: src/sys/arch/hpcarm/hpcarm

2023-09-09 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Sep  9 07:07:03 UTC 2023

Modified Files:
src/sys/arch/hpcarm/hpcarm: netbookpro_machdep.c

Log Message:
fix DEVMAP_ENTRY list termination symbol.

Makes hpcarm NETBOOKPRO config build again.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c

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



CVS commit: src/sys/arch/hpcarm/hpcarm

2023-04-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr 21 15:00:27 UTC 2023

Modified Files:
src/sys/arch/hpcarm/hpcarm: netbookpro_machdep.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/hpcarm/netbookpro_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/hpcarm/hpcarm/netbookpro_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.2 src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.3
--- src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c:1.2	Thu Apr 20 08:28:06 2023
+++ src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c	Fri Apr 21 15:00:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbookpro_machdep.c,v 1.2 2023/04/20 08:28:06 skrll Exp $	*/
+/*	$NetBSD: netbookpro_machdep.c,v 1.3 2023/04/21 15:00:27 skrll Exp $	*/
 /*
  * Copyright (c) 2011 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbookpro_machdep.c,v 1.2 2023/04/20 08:28:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbookpro_machdep.c,v 1.3 2023/04/21 15:00:27 skrll Exp $");
 
 #include 
 #include 
@@ -148,7 +148,7 @@ consinit(void)
 static int __unused
 enable_console(void (*init)(struct consdev *), void (*probe)(struct consdev *))
 {
-	struct consdev *cp;	
+	struct consdev *cp;
 
 	for (cp = constab; cp->cn_probe; cp++) {
 		if (cp->cn_init == init) {
@@ -162,7 +162,7 @@ enable_console(void (*init)(struct consd
 static void
 disable_consoles(void)
 {
-	struct consdev *cp;	
+	struct consdev *cp;
 
 	for (cp = constab; cp->cn_probe; cp++)
 		cp->cn_probe = cn_nonprobe;



CVS commit: src/sys/arch/hpcarm/hpcarm

2023-04-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr 21 15:00:27 UTC 2023

Modified Files:
src/sys/arch/hpcarm/hpcarm: netbookpro_machdep.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/hpcarm/netbookpro_machdep.c

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



CVS commit: src/sys/arch/hpcarm/dev

2022-05-18 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed May 18 13:38:47 UTC 2022

Modified Files:
src/sys/arch/hpcarm/dev: ipaq_gpioreg.h

Log Message:
s/yhe/the/


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hpcarm/dev/ipaq_gpioreg.h

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/hpcarm/dev/ipaq_gpioreg.h
diff -u src/sys/arch/hpcarm/dev/ipaq_gpioreg.h:1.6 src/sys/arch/hpcarm/dev/ipaq_gpioreg.h:1.7
--- src/sys/arch/hpcarm/dev/ipaq_gpioreg.h:1.6	Mon Apr 28 20:23:21 2008
+++ src/sys/arch/hpcarm/dev/ipaq_gpioreg.h	Wed May 18 13:38:47 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: ipaq_gpioreg.h,v 1.6 2008/04/28 20:23:21 martin Exp $	*/
+/*	$NetBSD: ipaq_gpioreg.h,v 1.7 2022/05/18 13:38:47 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.  All rights reserved.
@@ -69,7 +69,7 @@ Extended GPIO
 9	O(H)	IR_ON		Enables power to IR module
 10	O(H)	AUD_ON		Enables power to audio output amp.
 11	O(H)	AUD_PWR_ON	Enables power to all audio modules.
-12	O(H)	QMUTE		Mutes yhe onboard audio codec
+12	O(H)	QMUTE		Mutes the onboard audio codec
 13	O	IR_FSEL		FIR mode selection:H=FIR,L=SIR
 14	O(H)	LCD_5V_ON	Enables 5V to the LCD module
 15	O(H)	LVDD_ON		Enables 9V and -6.5V to the LCD module



CVS commit: src/sys/arch/hpcarm/dev

2022-05-18 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed May 18 13:38:47 UTC 2022

Modified Files:
src/sys/arch/hpcarm/dev: ipaq_gpioreg.h

Log Message:
s/yhe/the/


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hpcarm/dev/ipaq_gpioreg.h

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



CVS commit: src/sys/arch/hpcarm/conf

2021-11-19 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Nov 20 00:23:51 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: WZERO3

Log Message:
Add commented out FONT_DROID_SANS_MONO10x20 option. This enables 80x24
terminal on WVGA models, which is slightly easier on the eyes ;)


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/hpcarm/conf/WZERO3

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/hpcarm/conf/WZERO3
diff -u src/sys/arch/hpcarm/conf/WZERO3:1.53 src/sys/arch/hpcarm/conf/WZERO3:1.54
--- src/sys/arch/hpcarm/conf/WZERO3:1.53	Sat Apr 18 11:00:41 2020
+++ src/sys/arch/hpcarm/conf/WZERO3	Sat Nov 20 00:23:51 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: WZERO3,v 1.53 2020/04/18 11:00:41 skrll Exp $
+#	$NetBSD: WZERO3,v 1.54 2021/11/20 00:23:51 rin Exp $
 #
 #	WZERO3 -- Sharp Windows Mobile 5 based PDA
 #
@@ -8,7 +8,7 @@ include	"arch/hpcarm/conf/files.wzero3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.53 $"
+#ident 		"GENERIC-$Revision: 1.54 $"
 
 # estimated number of users
 maxusers	32
@@ -122,6 +122,9 @@ options 	WS_KERNEL_FG=WSCOL_GREEN
 
 options 	FONT_VT220L8x16
 
+# 80x24 terminal on WVGA models
+#options 	FONT_DROID_SANS_MONO10x20
+
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.
 #options 	BUFQ_READPRIO



CVS commit: src/sys/arch/hpcarm/conf

2021-11-19 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Nov 20 00:23:51 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: WZERO3

Log Message:
Add commented out FONT_DROID_SANS_MONO10x20 option. This enables 80x24
terminal on WVGA models, which is slightly easier on the eyes ;)


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/hpcarm/conf/WZERO3

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



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:36:05 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
alloc_pages: panic if allocating beyond KERNEL_TEXT_BASE.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c

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



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:36:05 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
alloc_pages: panic if allocating beyond KERNEL_TEXT_BASE.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_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/hpcarm/hpcarm/sa11x0_hpc_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.20 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.21
--- src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.20	Mon Oct 11 14:33:31 2021
+++ src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c	Mon Oct 11 14:36:05 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.20 2021/10/11 14:33:31 rin Exp $	*/
+/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.21 2021/10/11 14:36:05 rin Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.20 2021/10/11 14:33:31 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.21 2021/10/11 14:36:05 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_dram_pages.h"
@@ -286,6 +286,8 @@ init_sa11x0(int argc, char **argv, struc
 do {\
 	(var) = freemempos;		\
 	freemempos += (np) * PAGE_SIZE;	\
+	if (freemempos > KERNEL_TEXT_BASE)\
+		panic("%s: out of memory", __func__);			\
 } while (0)
 
 	valloc_pages(kernel_l1pt, L1_TABLE_SIZE / PAGE_SIZE);



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:33:31 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
Wrap multi-line macros with ``do { } while(0)''.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c

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



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:33:31 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
Wrap multi-line macros with ``do { } while(0)''.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_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/hpcarm/hpcarm/sa11x0_hpc_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.19 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.20
--- src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.19	Mon Oct 11 14:30:30 2021
+++ src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c	Mon Oct 11 14:33:31 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $	*/
+/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.20 2021/10/11 14:33:31 rin Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.20 2021/10/11 14:33:31 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_dram_pages.h"
@@ -277,12 +277,16 @@ init_sa11x0(int argc, char **argv, struc
 #endif
 
 	/* Define a macro to simplify memory allocation */
-#define	valloc_pages(var, np)			\
-	alloc_pages((var).pv_pa, (np));		\
-	(var).pv_va = KERNEL_BASE + (var).pv_pa - physical_start;
-#define	alloc_pages(var, np)			\
-	(var) = freemempos;			\
-	freemempos += (np) * PAGE_SIZE;
+#define	valloc_pages(var, np)		\
+do {\
+	alloc_pages((var).pv_pa, (np));	\
+	(var).pv_va = KERNEL_BASE + (var).pv_pa - physical_start;	\
+} while (0)
+#define	alloc_pages(var, np)		\
+do {\
+	(var) = freemempos;		\
+	freemempos += (np) * PAGE_SIZE;	\
+} while (0)
 
 	valloc_pages(kernel_l1pt, L1_TABLE_SIZE / PAGE_SIZE);
 	for (loop = 0; loop < NUM_KERNEL_PTS; ++loop) {



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:30:30 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
Fix build with DEBUG_BEFOREMMU.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_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/hpcarm/hpcarm/sa11x0_hpc_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.18 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.19
--- src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.18	Tue Aug 17 22:00:29 2021
+++ src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c	Mon Oct 11 14:30:30 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.18 2021/08/17 22:00:29 andvar Exp $	*/
+/*	$NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.18 2021/08/17 22:00:29 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_dram_pages.h"
@@ -136,6 +136,10 @@ vaddr_t init_sa11x0(int, char **, struct
 voiddumppages(char *, int);
 #endif
 
+#ifdef DEBUG_BEFOREMMU
+static void fakecninit(void);
+#endif
+
 /* Mode dependent sleep function holder */
 extern void (*__sleep_func)(void *);
 extern void *__sleep_ctx;



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:30:30 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c

Log Message:
Fix build with DEBUG_BEFOREMMU.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c

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



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:29:15 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: kloader_pxa2x0.S

Log Message:
G/C unused CPWAIT().


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S

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/hpcarm/hpcarm/kloader_pxa2x0.S
diff -u src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S:1.1 src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S:1.2
--- src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S:1.1	Sat Mar 31 14:02:54 2012
+++ src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S	Mon Oct 11 14:29:15 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: kloader_pxa2x0.S,v 1.1 2012/03/31 14:02:54 nonaka Exp $	*/
+/*	$NetBSD: kloader_pxa2x0.S,v 1.2 2021/10/11 14:29:15 rin Exp $	*/
 
 /*-
  * Copyright (C) 2012 NONAKA Kimihiro 
@@ -29,20 +29,6 @@
 
 #include 
 
-/*
- * CPWAIT -- Canonical method to wait for CP15 update.
- * NOTE: Clobbers the specified temp reg.
- * copied from arm/arm/cpufunc_asm_xscale.S
- * XXX: better be in a common header file.
- */
-#define	CPWAIT_BRANCH			 \
-	sub	pc, pc, #4
-
-#define	CPWAIT(tmp)			 \
-	mrc	p15, 0, tmp, c2, c0, 0	/* arbitrary read of CP15 */	;\
-	mov	tmp, tmp		/* wait for it to complete */	;\
-	CPWAIT_BRANCH			/* branch to next insn */
-
 #define	VATOPA(reg)			\
 	bic	reg, reg, #0xff00	/* clear upper 8 bits */	;\
 	orr	reg, reg, #0xa000	/* OR in physical base address */



CVS commit: src/sys/arch/hpcarm/hpcarm

2021-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 11 14:29:15 UTC 2021

Modified Files:
src/sys/arch/hpcarm/hpcarm: kloader_pxa2x0.S

Log Message:
G/C unused CPWAIT().


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/hpcarm/kloader_pxa2x0.S

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



CVS commit: src/sys/arch/hpcarm

2021-10-01 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Oct  1 06:08:43 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: files.sa11x0
Removed Files:
src/sys/arch/hpcarm/hpcarm: intr.c spl.S

Log Message:
G/C unused over a decade.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/conf/files.sa11x0
cvs rdiff -u -r1.19 -r0 src/sys/arch/hpcarm/hpcarm/intr.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/hpcarm/hpcarm/spl.S

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/hpcarm/conf/files.sa11x0
diff -u src/sys/arch/hpcarm/conf/files.sa11x0:1.2 src/sys/arch/hpcarm/conf/files.sa11x0:1.3
--- src/sys/arch/hpcarm/conf/files.sa11x0:1.2	Fri Oct  1 06:07:12 2021
+++ src/sys/arch/hpcarm/conf/files.sa11x0	Fri Oct  1 06:08:43 2021
@@ -1,12 +1,10 @@
-#	$NetBSD: files.sa11x0,v 1.2 2021/10/01 06:07:12 rin Exp $
+#	$NetBSD: files.sa11x0,v 1.3 2021/10/01 06:08:43 rin Exp $
 #
 # SA-11x0 model specific configuration info
 #
 
 # SA-11x0 specific files.
-#file	arch/hpcarm/hpcarm/intr.c
 file	arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c
-#file	arch/hpcarm/hpcarm/spl.S
 file	arch/arm/arm32/intr.c
 file	arch/arm/arm32/spl.S
 



CVS commit: src/sys/arch/hpcarm

2021-10-01 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Oct  1 06:08:43 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: files.sa11x0
Removed Files:
src/sys/arch/hpcarm/hpcarm: intr.c spl.S

Log Message:
G/C unused over a decade.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/conf/files.sa11x0
cvs rdiff -u -r1.19 -r0 src/sys/arch/hpcarm/hpcarm/intr.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/hpcarm/hpcarm/spl.S

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



CVS commit: src/sys/arch/hpcarm/conf

2021-10-01 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Oct  1 06:07:12 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: files.sa11x0

Log Message:
Comment out hpcarm/spl.S, which was superseded by arm32/spl.S.

No functional changes; We had two source files for spl.o, but correct
file was chosen by config(1).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/conf/files.sa11x0

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/hpcarm/conf/files.sa11x0
diff -u src/sys/arch/hpcarm/conf/files.sa11x0:1.1 src/sys/arch/hpcarm/conf/files.sa11x0:1.2
--- src/sys/arch/hpcarm/conf/files.sa11x0:1.1	Sat Apr 17 13:36:21 2010
+++ src/sys/arch/hpcarm/conf/files.sa11x0	Fri Oct  1 06:07:12 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: files.sa11x0,v 1.1 2010/04/17 13:36:21 nonaka Exp $
+#	$NetBSD: files.sa11x0,v 1.2 2021/10/01 06:07:12 rin Exp $
 #
 # SA-11x0 model specific configuration info
 #
@@ -6,7 +6,7 @@
 # SA-11x0 specific files.
 #file	arch/hpcarm/hpcarm/intr.c
 file	arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c
-file	arch/hpcarm/hpcarm/spl.S
+#file	arch/hpcarm/hpcarm/spl.S
 file	arch/arm/arm32/intr.c
 file	arch/arm/arm32/spl.S
 



CVS commit: src/sys/arch/hpcarm/conf

2021-10-01 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Oct  1 06:07:12 UTC 2021

Modified Files:
src/sys/arch/hpcarm/conf: files.sa11x0

Log Message:
Comment out hpcarm/spl.S, which was superseded by arm32/spl.S.

No functional changes; We had two source files for spl.o, but correct
file was chosen by config(1).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hpcarm/conf/files.sa11x0

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



CVS commit: src/sys/arch/hpcarm/dev

2021-08-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 30 05:57:51 UTC 2021

Modified Files:
src/sys/arch/hpcarm/dev: j720tp.c

Log Message:
Fix build without WSDISPLAY_COMPAT_RAWKBD.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hpcarm/dev/j720tp.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/hpcarm/dev/j720tp.c
diff -u src/sys/arch/hpcarm/dev/j720tp.c:1.13 src/sys/arch/hpcarm/dev/j720tp.c:1.14
--- src/sys/arch/hpcarm/dev/j720tp.c:1.13	Sat Aug  7 16:18:53 2021
+++ src/sys/arch/hpcarm/dev/j720tp.c	Mon Aug 30 05:57:51 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: j720tp.c,v 1.13 2021/08/07 16:18:53 thorpej Exp $	*/
+/*	$NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 /* Jornada 720 touch-panel driver. */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.13 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_j720tp.h"
@@ -223,7 +223,9 @@ j720tp_attach(device_t parent, device_t 
 	sc->sc_ssp = device_private(parent);
 	sc->sc_enabled = 0;
 	sc->sc_hard_icon = 0;
+#ifdef WSDISPLAY_COMPAT_RAWKBD
 	sc->sc_rawkbd = 0;
+#endif
 
 	/* Touch-panel as a pointing device. */
 	wsma.accessops = _wsmouse_accessops;



CVS commit: src/sys/arch/hpcarm/dev

2021-08-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 30 05:57:51 UTC 2021

Modified Files:
src/sys/arch/hpcarm/dev: j720tp.c

Log Message:
Fix build without WSDISPLAY_COMPAT_RAWKBD.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hpcarm/dev/j720tp.c

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



Re: CVS commit: src/sys/arch/hpcarm/conf

2010-06-25 Thread Valeriy E. Ushakov
On Fri, Jun 25, 2010 at 17:40:33 +, Izumi Tsutsui wrote:

 Module Name:  src
 Committed By: tsutsui
 Date: Fri Jun 25 17:40:33 UTC 2010
 
 Modified Files:
   src/sys/arch/hpcarm/conf: WZERO3
 
 Log Message:
 Set options RTC_OFFSET=-540 since Windows Mobile stores localtime
 into the RTC and we can assume most W-ZERO3 users live in JST timezone.
 
 XXX: Probably it would be better to allow a kernel getting RTC_OFFSET value
 XXX: via bootinfo set by boot(8) or boot.cfg(5).

Hmm, hpcboot does pass rtc offset in bootinfo-timezone.
See e.g. hpcsh/machdep.c 

SY, Uwe
-- 
u...@stderr.spb.ru   |   Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/  |   Ist zu Grunde gehen