CVS commit: src/bin/sh

2024-07-02 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jul  3 05:58:05 UTC 2024

Modified Files:
src/bin/sh: histedit.c

Log Message:
General source cleanup, whitespace, KNF, 80-col police, ...

No executable binary change intended (certainly NFCI).
Some debugging info will change as line numbers have altered.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/bin/sh/histedit.c

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

Modified files:

Index: src/bin/sh/histedit.c
diff -u src/bin/sh/histedit.c:1.66 src/bin/sh/histedit.c:1.67
--- src/bin/sh/histedit.c:1.66	Fri Apr  7 10:34:13 2023
+++ src/bin/sh/histedit.c	Wed Jul  3 05:58:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: histedit.c,v 1.66 2023/04/07 10:34:13 kre Exp $	*/
+/*	$NetBSD: histedit.c,v 1.67 2024/07/03 05:58:05 kre Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)histedit.c	8.2 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: histedit.c,v 1.66 2023/04/07 10:34:13 kre Exp $");
+__RCSID("$NetBSD: histedit.c,v 1.67 2024/07/03 05:58:05 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -62,7 +62,9 @@ __RCSID("$NetBSD: histedit.c,v 1.66 2023
 #include "myhistedit.h"
 #include "error.h"
 #include "alias.h"
-#ifndef SMALL
+
+#ifndef SMALL		/* almost all the rest of this file */
+
 #include "eval.h"
 #include "memalloc.h"
 #include "show.h"
@@ -170,7 +172,7 @@ histedit(void)
 "ReadLine compatible completion function",
 sh_complete);
 			} else {
-bad:
+ bad:;
 out2str("sh: can't initialize editing\n");
 			}
 			INTON;
@@ -308,12 +310,16 @@ histcmd(volatile int argc, char ** volat
 	int i, retval;
 	const char *firststr, *laststr;
 	int first, last, direction;
-	char * volatile pat = NULL, * volatile repl;	/* ksh "fc old=new" crap */
+
+	char * volatile pat = NULL;	/* ksh "fc old=new" crap */
+	char * volatile repl;
+
 	static int active = 0;
 	struct jmploc jmploc;
 	struct jmploc *volatile savehandler;
 	char editfile[MAXPATHLEN + 1];
 	FILE * volatile efp;
+
 #ifdef __GNUC__
 	repl = NULL;	/* XXX gcc4 */
 	efp = NULL;	/* XXX gcc4 */
@@ -471,6 +477,7 @@ histcmd(volatile int argc, char ** volat
 	 */
 	if (editor) {
 		int fd;
+
 		INTOFF;		/* easier */
 		snprintf(editfile, sizeof(editfile), "%s_shXX", _PATH_TMP);
 		if ((fd = mkstemp(editfile)) < 0)
@@ -493,7 +500,7 @@ histcmd(volatile int argc, char ** volat
 	 */
 	history(hist, , H_FIRST);
 	retval = history(hist, , H_NEXT_EVENT, first);
-	for (;retval != -1; retval = history(hist, , direction)) {
+	for ( ; retval != -1; retval = history(hist, , direction)) {
 		if (lflg) {
 			if (!nflg)
 out1fmt("%5d ", he.num);
@@ -508,7 +515,7 @@ histcmd(volatile int argc, char ** volat
 	out2str(s);
 }
 
-evalstring(strcpy(stalloc(strlen(s) + 1), s), 0);
+evalstring(strcpy(stalloc(strlen(s)+1), s), 0);
 if (displayhist && hist) {
 	/*
 	 *  XXX what about recursive and
@@ -595,8 +602,8 @@ comparator(const void *a, const void *b)
  * searches for files in current directory. If we're at the start of the
  * line, we want to look for available commands from all paths in $PATH.
  */
-static char
-**sh_matches(const char *text, int start, int end)
+static char **
+sh_matches(const char *text, int start, int end)
 {
 	char *free_path = NULL, *dirname, *path;
 	char **matches = NULL;
@@ -623,8 +630,10 @@ static char
 
 			if (strncmp(entry->d_name, text, curpos) != 0)
 continue;
-			if (entry->d_type == DT_UNKNOWN || entry->d_type == DT_LNK) {
-if (fstatat(dfd, entry->d_name, , 0) == -1)
+			if (entry->d_type == DT_UNKNOWN ||
+			entry->d_type == DT_LNK) {
+if (fstatat(dfd, entry->d_name, , 0)
+== -1)
 	continue;
 if (!S_ISREG(statb.st_mode))
 	continue;
@@ -643,7 +652,7 @@ static char
 		}
 		closedir(dir);
 	}
-out:
+ out:;
 	free(free_path);
 	if (i == 0) {
 		free(matches);
@@ -685,8 +694,8 @@ not_fcnumber(const char *s)
 {
 	if (s == NULL)
 		return 0;
-if (*s == '-')
-s++;
+	if (*s == '-')
+		s++;
 	return !is_number(s);
 }
 
@@ -738,17 +747,21 @@ str_to_event(const char *str, int last)
 	}
 	return he.num;
 }
-#else
+
+#else	/* defined(SMALL) */
+
 int
 histcmd(int argc, char **argv)
 {
 	error("not compiled with history support");
 	/* NOTREACHED */
 }
+
 int
 inputrc(int argc, char **argv)
 {
 	error("not compiled with history support");
 	/* NOTREACHED */
 }
-#endif
+
+#endif	/* SMALL */



CVS commit: src/bin/sh

2024-07-02 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Jul  3 05:58:05 UTC 2024

Modified Files:
src/bin/sh: histedit.c

Log Message:
General source cleanup, whitespace, KNF, 80-col police, ...

No executable binary change intended (certainly NFCI).
Some debugging info will change as line numbers have altered.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/bin/sh/histedit.c

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



CVS commit: [perseant-exfatfs] src/sys/fs/exfatfs

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jul  3 04:08:47 UTC 2024

Modified Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs.h exfatfs_balloc.h
exfatfs_vnops.c

Log Message:
Use a larger block size for directory writes.
Keep better track of buffer pointers to avoid a panic on error.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/fs/exfatfs/exfatfs.h \
src/sys/fs/exfatfs/exfatfs_vnops.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/fs/exfatfs/exfatfs_balloc.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/fs/exfatfs/exfatfs.h
diff -u src/sys/fs/exfatfs/exfatfs.h:1.1.2.3 src/sys/fs/exfatfs/exfatfs.h:1.1.2.4
--- src/sys/fs/exfatfs/exfatfs.h:1.1.2.3	Tue Jul  2 20:36:50 2024
+++ src/sys/fs/exfatfs/exfatfs.h	Wed Jul  3 04:08:47 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: exfatfs.h,v 1.1.2.3 2024/07/02 20:36:50 perseant Exp $ */
+/* $NetBSD: exfatfs.h,v 1.1.2.4 2024/07/03 04:08:47 perseant Exp $ */
 
 /*-
  * Copyright (c) 2022, 2024 The NetBSD Foundation, Inc.
@@ -219,11 +219,17 @@ struct exfatfs_args {
 			(fs)->xf_SectorsPerClusterShift)
 #define SECSIZE(fs) (1 << (fs)->xf_BytesPerSectorShift)
 #define SECMASK(fs) (SECSIZE(fs) - 1)
-#define CLUSTERSIZE(fs) (1 << ((fs)->xf_BytesPerSectorShift + 		\
-(fs)->xf_SectorsPerClusterShift))
+
+#define CLUSTERSHIFT(fs)	((fs)->xf_BytesPerSectorShift + 	\
+ (fs)->xf_SectorsPerClusterShift)
+#define CLUSTERSIZE(fs) (1 << CLUSTERSHIFT(fs))
 #define CLUSTERMASK(fs) (CLUSTERSIZE(fs) - 1)
+
 /* The unit in which I/O is performed */
-#define IOSIZE(fs) MIN(CLUSTERSIZE(fs), MAXPHYS)
+#define MAXPSHIFT 16
+#define MAXPSIZE (1 << MAXPSHIFT)	/* Must be <= MAXPHYS */
+#define IOSHIFT(fs) MIN(CLUSTERSHIFT(fs), MAXPSHIFT)
+#define IOSIZE(fs) MIN(CLUSTERSIZE(fs), MAXPSIZE)
 #define IOMASK(fs) (IOSIZE(fs) - 1)
 
 #define EXFATFS_CLUSTER2HWADDR(fs, clust) (EXFATFS_CLUSTER2FSSEC((fs),	\
Index: src/sys/fs/exfatfs/exfatfs_vnops.c
diff -u src/sys/fs/exfatfs/exfatfs_vnops.c:1.1.2.3 src/sys/fs/exfatfs/exfatfs_vnops.c:1.1.2.4
--- src/sys/fs/exfatfs/exfatfs_vnops.c:1.1.2.3	Tue Jul  2 20:36:50 2024
+++ src/sys/fs/exfatfs/exfatfs_vnops.c	Wed Jul  3 04:08:47 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: exfatfs_vnops.c,v 1.1.2.3 2024/07/02 20:36:50 perseant Exp $	*/
+/*	$NetBSD: exfatfs_vnops.c,v 1.1.2.4 2024/07/03 04:08:47 perseant Exp $	*/
 
 /*-
  * Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: exfatfs_vnops.c,v 1.1.2.3 2024/07/02 20:36:50 perseant Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exfatfs_vnops.c,v 1.1.2.4 2024/07/03 04:08:47 perseant Exp $");
 
 #include 
 #include 
@@ -411,12 +411,12 @@ exfatfs_read(void *v)
 		if (uio->uio_offset >= GET_DSE_VALIDDATALENGTH(xip))
 			return 0;
 
-		lbn = uio->uio_offset >> fs->xf_BytesPerSectorShift;
-		error = bread(vp, lbn, 1 << fs->xf_BytesPerSectorShift, 0, );
+		lbn = uio->uio_offset >> IOSHIFT(fs);
+		error = bread(vp, lbn, IOSIZE(fs), 0, );
 		if (error)
 			goto bad;
 
-		off = uio->uio_offset & (SECSIZE(fs) - 1);
+		off = uio->uio_offset & IOMASK(fs);
 		n = uio->uio_resid - uio->uio_offset;
 		if (uio->uio_offset + uio->uio_resid >
 		GET_DSE_VALIDDATALENGTH(xip))
@@ -2430,7 +2430,7 @@ static int deextend(struct xfinode *xip,
 		/* If pcn is not allocated, allocate it */
 		allocated = 0;
 		if (pcn == 0 || pcn == 0x) {
-			uint32_t tpcn = opcn;
+			uint32_t tpcn = opcn + 1;
 #ifndef ALLOC_SEQUENTIAL
 			mutex_enter(>xf_lock);
 			tpcn = fs->xf_next_cluster;
@@ -2446,7 +2446,7 @@ static int deextend(struct xfinode *xip,
 			}
 #ifndef ALLOC_SEQUENTIAL
 			mutex_enter(>xf_lock);
-			fs->xf_next_cluster = pcn;
+			fs->xf_next_cluster = pcn + 1;
 			mutex_exit(>xf_lock);
 #endif /* !ALLOC_SEQUENTIAL */
 			allocated = 1;
@@ -2483,6 +2483,7 @@ static int deextend(struct xfinode *xip,
 	bwrite(bp);
 else
 	bdwrite(bp);
+bp = NULL;
 			}
 
 			/* Fill a new directory cluster with zero */
@@ -2518,6 +2519,7 @@ static int deextend(struct xfinode *xip,
 return error;
 			pcn = ((uint32_t *)bp->b_data)[EXFATFS_FATOFF(pcn)];
 			brelse(bp, 0);
+			bp = NULL;
 		}
 	}
 	KASSERT(lcn < newcount);

Index: src/sys/fs/exfatfs/exfatfs_balloc.h
diff -u src/sys/fs/exfatfs/exfatfs_balloc.h:1.1.2.1 src/sys/fs/exfatfs/exfatfs_balloc.h:1.1.2.2
--- src/sys/fs/exfatfs/exfatfs_balloc.h:1.1.2.1	Tue Jul  2 20:36:50 2024
+++ src/sys/fs/exfatfs/exfatfs_balloc.h	Wed Jul  3 04:08:47 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: exfatfs_balloc.h,v 1.1.2.1 2024/07/02 20:36:50 perseant Exp $ */
+/* $NetBSD: exfatfs_balloc.h,v 1.1.2.2 2024/07/03 04:08:47 perseant Exp $ */
 
 /*-
  * Copyright (c) 2022, 2024 The NetBSD Foundation, Inc.
@@ -29,9 +29,7 @@
 #ifndef EXFATFS_BALLOC_H_
 #define EXFATFS_BALLOC_H_
 
-/* XXX we need MAXPHYSSHIFT */
-#define MAXPSHIFT 16
-#define MAXPSIZE (1 << MAXPSHIFT) /* Must be <= MAXPHYS */
+#include 
 
 /* 

CVS commit: [perseant-exfatfs] src/sys/fs/exfatfs

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jul  3 04:08:47 UTC 2024

Modified Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs.h exfatfs_balloc.h
exfatfs_vnops.c

Log Message:
Use a larger block size for directory writes.
Keep better track of buffer pointers to avoid a panic on error.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/fs/exfatfs/exfatfs.h \
src/sys/fs/exfatfs/exfatfs_vnops.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/fs/exfatfs/exfatfs_balloc.h

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



CVS commit: src/external/mit/xorg/lib

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 02:40:50 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
fix building armv6hf gallium.

as well as "-mfpu=neon", also pass "-march=armv7-a", which is necessary
to enable the NEON intrinsics.  while this won't be executed on armv6hf,
the code knows and only uses NEON if you have v7hf hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/driver.mk

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

Modified files:

Index: src/external/mit/xorg/lib/driver.mk
diff -u src/external/mit/xorg/lib/driver.mk:1.7 src/external/mit/xorg/lib/driver.mk:1.8
--- src/external/mit/xorg/lib/driver.mk:1.7	Wed Jun  5 15:12:03 2024
+++ src/external/mit/xorg/lib/driver.mk	Wed Jul  3 02:40:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: driver.mk,v 1.7 2024/06/05 15:12:03 riastradh Exp $
+#	$NetBSD: driver.mk,v 1.8 2024/07/03 02:40:50 mrg Exp $
 
 # stuff both dri and gallium drivers need.
 
@@ -83,7 +83,7 @@ SRCS.format= \
 	u_format_table.c
 
 CPUFLAGS.u_format_unpack_neon.c+=	\
-	${${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "clang":?-mfpu=neon:}
+	${${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "clang":?-mfpu=neon -march=armv7-a:}
 
 .for _f in ${SRCS.format}
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/util/format



CVS commit: src/external/mit/xorg/lib

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 02:40:50 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
fix building armv6hf gallium.

as well as "-mfpu=neon", also pass "-march=armv7-a", which is necessary
to enable the NEON intrinsics.  while this won't be executed on armv6hf,
the code knows and only uses NEON if you have v7hf hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/driver.mk

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



Re: CVS commit: src/sys/external/bsd/drm2/amdgpu

2024-07-02 Thread Ryo ONODERA
On July 3, 2024 5:08:51 AM GMT+09:00, Taylor R Campbell  
wrote:
>Module Name:   src
>Committed By:  riastradh
>Date:  Tue Jul  2 20:08:51 UTC 2024
>
>Modified Files:
>   src/sys/external/bsd/drm2/amdgpu: amdgpu2netbsd
>
>Log Message:
>amdgpu: Update amdgpu2netbsd to prepare for new import.
>
>
>To generate a diff of this commit:
>cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.
>

Hi,

I am happy to see the drmkms support from Linux 6.6 in the near future.
Almost all my faster laptops require newer drmkms support.

Thank you.
-- 
Ryo ONODERA // r...@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


CVS commit: src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul  2 21:56:00 UTC 2024

Modified Files:
src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen: Makefile

Log Message:
arm64 GCC 12.4 complains about SILateBranchLowering.cpp.

turn off stringop-overread warning for GCC.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile

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

Modified files:

Index: src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile
diff -u src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile:1.2 src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile:1.3
--- src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile:1.2	Sun May 30 01:56:50 2021
+++ src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile	Tue Jul  2 21:56:00 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:50 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2024/07/02 21:56:00 mrg Exp $
 
 LIB=	LLVMAMDGPUCodeGen
 
@@ -153,3 +153,5 @@ TABLEGEN_OUTPUT.R600.td= \
 .else
 .include 
 .endif
+
+CWARNFLAGS.gcc+=  ${CC_WNO_STRINGOP_OVERREAD}



CVS commit: src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul  2 21:56:00 UTC 2024

Modified Files:
src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen: Makefile

Log Message:
arm64 GCC 12.4 complains about SILateBranchLowering.cpp.

turn off stringop-overread warning for GCC.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/apache2/llvm/lib/libLLVMAMDGPUCodeGen/Makefile

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



CVS commit: [perseant-exfatfs] src/sys/fs/exfatfs

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul  2 20:51:30 UTC 2024

Removed Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_trie.c exfatfs_trie.h

Log Message:
Remove unused files


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r0 src/sys/fs/exfatfs/exfatfs_trie.c \
src/sys/fs/exfatfs/exfatfs_trie.h

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



CVS commit: [perseant-exfatfs] src/sys/fs/exfatfs

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul  2 20:51:30 UTC 2024

Removed Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_trie.c exfatfs_trie.h

Log Message:
Remove unused files


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r0 src/sys/fs/exfatfs/exfatfs_trie.c \
src/sys/fs/exfatfs/exfatfs_trie.h

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



CVS commit: [perseant-exfatfs] src

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul  2 20:36:51 UTC 2024

Modified Files:
src/distrib/sets/lists/comp [perseant-exfatfs]: mi
src/sbin/fsck_exfatfs [perseant-exfatfs]: Makefile
src/sys/fs/exfatfs [perseant-exfatfs]: Makefile exfatfs.h
exfatfs_extern.c exfatfs_vfsops.c exfatfs_vnops.c files.exfatfs
src/sys/rump/fs/lib/libexfatfs [perseant-exfatfs]: Makefile
src/usr.sbin/dumpexfatfs [perseant-exfatfs]: Makefile dumpexfatfs.c
exfatfs.c
Added Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_balloc.c
exfatfs_balloc.h
Removed Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_trie_basic.c
exfatfs_trie_basic.h

Log Message:
Remove exfatfs_trie.[ch] and references to it, since we were not using the
tries at all anyway.  Replace with the more aptly named exfatfs_balloc.[ch].


To generate a diff of this commit:
cvs rdiff -u -r1.2459.2.2 -r1.2459.2.3 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sbin/fsck_exfatfs/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/fs/exfatfs/Makefile \
src/sys/fs/exfatfs/files.exfatfs
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/fs/exfatfs/exfatfs.h \
src/sys/fs/exfatfs/exfatfs_extern.c src/sys/fs/exfatfs/exfatfs_vfsops.c \
src/sys/fs/exfatfs/exfatfs_vnops.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/fs/exfatfs/exfatfs_balloc.c \
src/sys/fs/exfatfs/exfatfs_balloc.h
cvs rdiff -u -r1.1.2.2 -r0 src/sys/fs/exfatfs/exfatfs_trie_basic.c \
src/sys/fs/exfatfs/exfatfs_trie_basic.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/rump/fs/lib/libexfatfs/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/usr.sbin/dumpexfatfs/Makefile \
src/usr.sbin/dumpexfatfs/dumpexfatfs.c src/usr.sbin/dumpexfatfs/exfatfs.c

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

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2459.2.2 src/distrib/sets/lists/comp/mi:1.2459.2.3
--- src/distrib/sets/lists/comp/mi:1.2459.2.2	Mon Jul  1 00:59:48 2024
+++ src/distrib/sets/lists/comp/mi	Tue Jul  2 20:36:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2459.2.2 2024/07/01 00:59:48 perseant Exp $
+#	$NetBSD: mi,v 1.2459.2.3 2024/07/02 20:36:50 perseant Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -976,6 +976,7 @@
 ./usr/include/fs/efs/efs_sb.h			comp-c-include
 ./usr/include/fs/exfatfs			comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs.h		comp-c-include	exfatfs
+./usr/include/fs/exfatfs/exfatfs_balloc.h	comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_cksum.h	comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_conv.h		comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_dirent.h	comp-c-include	exfatfs
@@ -983,7 +984,6 @@
 ./usr/include/fs/exfatfs/exfatfs_inode.h	comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_mount.h	comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_tables.h	comp-c-include	exfatfs
-./usr/include/fs/exfatfs/exfatfs_trie.h		comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_vfsops.h	comp-c-include	exfatfs
 ./usr/include/fs/exfatfs/exfatfs_vnops.h	comp-c-include	exfatfs
 ./usr/include/fs/hfs/hfs.h			comp-c-include

Index: src/sbin/fsck_exfatfs/Makefile
diff -u src/sbin/fsck_exfatfs/Makefile:1.1.2.1 src/sbin/fsck_exfatfs/Makefile:1.1.2.2
--- src/sbin/fsck_exfatfs/Makefile:1.1.2.1	Sat Jun 29 19:43:25 2024
+++ src/sbin/fsck_exfatfs/Makefile	Tue Jul  2 20:36:50 2024
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.1.2.1 2024/06/29 19:43:25 perseant Exp $
+# $NetBSD: Makefile,v 1.1.2.2 2024/07/02 20:36:50 perseant Exp $
 
 .include 
 
 PROG=	fsck_exfatfs
 MAN=	fsck_exfatfs.8
-SRCS=	fsck_exfatfs.c exfatfs.c partutil.c bufcache.c exfatfs_cksum.c exfatfs_conv.c exfatfs_extern.c exfatfs_tables.c exfatfs_trie.c vnode.c kernelops.c pass0.c pass1.c pass2.c fsutil.c
+SRCS=	fsck_exfatfs.c exfatfs.c partutil.c bufcache.c exfatfs_balloc.c \
+	exfatfs_cksum.c exfatfs_conv.c exfatfs_extern.c exfatfs_tables.c \
+	vnode.c kernelops.c pass0.c pass1.c pass2.c fsutil.c
 
 LDADD+= -lutil
 DPADD+= ${LIBUTIL}

Index: src/sys/fs/exfatfs/Makefile
diff -u src/sys/fs/exfatfs/Makefile:1.1.2.1 src/sys/fs/exfatfs/Makefile:1.1.2.2
--- src/sys/fs/exfatfs/Makefile:1.1.2.1	Sat Jun 29 19:43:26 2024
+++ src/sys/fs/exfatfs/Makefile	Tue Jul  2 20:36:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.2.1 2024/06/29 19:43:26 perseant Exp $
+#	$NetBSD: Makefile,v 1.1.2.2 2024/07/02 20:36:50 perseant Exp $
 
 .include 
 
@@ -6,12 +6,15 @@ CFLAGS=-I../.. -I.
 
 .if ${MKEXFATFS} != "no"
 INCSDIR= /usr/include/fs/exfatfs
-INCS=	exfatfs.h exfatfs_cksum.h exfatfs_conv.h exfatfs_dirent.h exfatfs_extern.h exfatfs_inode.h exfatfs_mount.h exfatfs_tables.h exfatfs_trie.h exfatfs_vfsops.h exfatfs_vnops.h
+INCS=	exfatfs.h exfatfs_balloc.h exfatfs_cksum.h exfatfs_conv.h \
+	

CVS commit: [perseant-exfatfs] src

2024-07-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul  2 20:36:51 UTC 2024

Modified Files:
src/distrib/sets/lists/comp [perseant-exfatfs]: mi
src/sbin/fsck_exfatfs [perseant-exfatfs]: Makefile
src/sys/fs/exfatfs [perseant-exfatfs]: Makefile exfatfs.h
exfatfs_extern.c exfatfs_vfsops.c exfatfs_vnops.c files.exfatfs
src/sys/rump/fs/lib/libexfatfs [perseant-exfatfs]: Makefile
src/usr.sbin/dumpexfatfs [perseant-exfatfs]: Makefile dumpexfatfs.c
exfatfs.c
Added Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_balloc.c
exfatfs_balloc.h
Removed Files:
src/sys/fs/exfatfs [perseant-exfatfs]: exfatfs_trie_basic.c
exfatfs_trie_basic.h

Log Message:
Remove exfatfs_trie.[ch] and references to it, since we were not using the
tries at all anyway.  Replace with the more aptly named exfatfs_balloc.[ch].


To generate a diff of this commit:
cvs rdiff -u -r1.2459.2.2 -r1.2459.2.3 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sbin/fsck_exfatfs/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/fs/exfatfs/Makefile \
src/sys/fs/exfatfs/files.exfatfs
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/fs/exfatfs/exfatfs.h \
src/sys/fs/exfatfs/exfatfs_extern.c src/sys/fs/exfatfs/exfatfs_vfsops.c \
src/sys/fs/exfatfs/exfatfs_vnops.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/fs/exfatfs/exfatfs_balloc.c \
src/sys/fs/exfatfs/exfatfs_balloc.h
cvs rdiff -u -r1.1.2.2 -r0 src/sys/fs/exfatfs/exfatfs_trie_basic.c \
src/sys/fs/exfatfs/exfatfs_trie_basic.h
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/rump/fs/lib/libexfatfs/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/usr.sbin/dumpexfatfs/Makefile \
src/usr.sbin/dumpexfatfs/dumpexfatfs.c src/usr.sbin/dumpexfatfs/exfatfs.c

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



CVS commit: src/usr.bin/make

2024-07-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jul  2 20:10:45 UTC 2024

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: trim trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.1126 -r1.1127 src/usr.bin/make/var.c

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

Modified files:

Index: src/usr.bin/make/var.c
diff -u src/usr.bin/make/var.c:1.1126 src/usr.bin/make/var.c:1.1127
--- src/usr.bin/make/var.c:1.1126	Mon Jul  1 21:02:26 2024
+++ src/usr.bin/make/var.c	Tue Jul  2 20:10:45 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: var.c,v 1.1126 2024/07/01 21:02:26 sjg Exp $	*/
+/*	$NetBSD: var.c,v 1.1127 2024/07/02 20:10:45 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -132,7 +132,7 @@
 #include "metachar.h"
 
 /*	"@(#)var.c	8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.1126 2024/07/01 21:02:26 sjg Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.1127 2024/07/02 20:10:45 rillig Exp $");
 
 /*
  * Variables are defined using one of the VAR=value assignments.  Their
@@ -3209,7 +3209,7 @@ ApplyModifier_To(const char **pp, ModCha
 			Expr_SetValueOwn(expr, str_totitle(Expr_Str(expr)));
 		return AMR_OK;
 	}
-	
+
 	if (mod[1] == 'u') {/* :tu */
 		*pp = mod + 2;
 		if (Expr_ShouldEval(expr))



CVS commit: src/usr.bin/make

2024-07-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jul  2 20:10:45 UTC 2024

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: trim trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.1126 -r1.1127 src/usr.bin/make/var.c

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



CVS commit: src/sys/external/bsd/drm2/drm

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:30 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/drm: drm2netbsd

Log Message:
drm: Update drm2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/drm/drm2netbsd

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

Modified files:

Index: src/sys/external/bsd/drm2/drm/drm2netbsd
diff -u src/sys/external/bsd/drm2/drm/drm2netbsd:1.5 src/sys/external/bsd/drm2/drm/drm2netbsd:1.6
--- src/sys/external/bsd/drm2/drm/drm2netbsd:1.5	Sun Dec 19 10:46:17 2021
+++ src/sys/external/bsd/drm2/drm/drm2netbsd	Tue Jul  2 20:09:30 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#	$NetBSD: drm2netbsd,v 1.5 2021/12/19 10:46:17 riastradh Exp $
+#	$NetBSD: drm2netbsd,v 1.6 2024/07/02 20:09:30 riastradh Exp $
 #
 # $ /path/to/drm2netbsd > /path/to/files.drm.new
 #
@@ -14,12 +14,27 @@ drmkms_top=external/bsd/drm2/dist/drm
 # config(5) flag for the DRMKMS driver.
 drmkms_flag=drmkms
 
-env CONFIG_PCI=y \
-env CONFIG_AGP=y \
+env CONFIG_COMPAT=y \
+env CONFIG_DRM=y \
+env CONFIG_DRM_BUDDY=y \
+env CONFIG_DRM_EXEC=y \
 env CONFIG_DRM_FBDEV_EMULATION=y \
 env CONFIG_DRM_GEM_CMA_HELPER=y \
+env CONFIG_DRM_GEM_DMA_HELPER=y \
+env CONFIG_DRM_GEM_SHMEM_HELPER=y \
+env CONFIG_DRM_KMS_HELPER=y \
+env CONFIG_DRM_LEGACY=y \
+env CONFIG_DRM_MIPI_DBI=y \
+env CONFIG_DRM_MIPI_DSI=y \
 env CONFIG_DRM_PANEL=y \
+env CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y \
+env CONFIG_DRM_PRIVACY_SCREEN=y \
+env CONFIG_DRM_SCHED=y \
+env CONFIG_DRM_SUBALLOC_HELPER=y \
 env CONFIG_DRM_VM=y \
+env CONFIG_DRM_VRAM_HELPER=y \
+env CONFIG_OF=y \
+env CONFIG_PCI=y \
 make -f Makefile -V '$(drm-y)' -V '$(drm_kms_helper-y)' \
 | tr ' ' '\n' \
 | grep -v '^$' \



CVS commit: src/sys/external/bsd/drm2/i915drm

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:21 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/i915drm: i915drmkms2netbsd

Log Message:
i915: Update i915drmkms2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd

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

Modified files:

Index: src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd
diff -u src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd:1.3 src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd:1.4
--- src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd:1.3	Sun Dec 19 00:25:19 2021
+++ src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd	Tue Jul  2 20:09:21 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#	$NetBSD: i915drmkms2netbsd,v 1.3 2021/12/19 00:25:19 riastradh Exp $
+#	$NetBSD: i915drmkms2netbsd,v 1.4 2024/07/02 20:09:21 riastradh Exp $
 #
 # $ /path/to/i915drmkms2netbsd > /path/to/files.i915drmkms.new
 #
@@ -22,6 +22,13 @@ i915drmkms_flag=i915drmkms
 	printf 'include Makefile\n'
 } | env \
 	env CONFIG_ACPI=y \
+	env CONFIG_COMPAT=y \
+	env CONFIG_PERF_EVENTS=y \
+	env CONFIG_X86=y \
+	env CONFIG_HWMON=y \
+	env CONFIG_DRM_I915_PXP=y \
+	env CONFIG_DRM_I915_CAPTURE_ERROR=y \
+	env CONFIG_DRM_I915=y \
 	env CONFIG_DRM_FBDEV_EMULATION=y \
 	env src=. \
 	${GMAKE} -f - -s show-i915-y \



CVS commit: src/sys/external/bsd/drm2/drm

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:30 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/drm: drm2netbsd

Log Message:
drm: Update drm2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/drm/drm2netbsd

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



CVS commit: src/sys/external/bsd/drm2/i915drm

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:21 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/i915drm: i915drmkms2netbsd

Log Message:
i915: Update i915drmkms2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/i915drm/i915drmkms2netbsd

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



CVS commit: src/sys/external/bsd/drm2/radeon

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:13 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/radeon: radeon2netbsd

Log Message:
radeon: Update radeon2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/radeon/radeon2netbsd

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

Modified files:

Index: src/sys/external/bsd/drm2/radeon/radeon2netbsd
diff -u src/sys/external/bsd/drm2/radeon/radeon2netbsd:1.3 src/sys/external/bsd/drm2/radeon/radeon2netbsd:1.4
--- src/sys/external/bsd/drm2/radeon/radeon2netbsd:1.3	Sun Dec 19 00:25:26 2021
+++ src/sys/external/bsd/drm2/radeon/radeon2netbsd	Tue Jul  2 20:09:13 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#	$NetBSD: radeon2netbsd,v 1.3 2021/12/19 00:25:26 riastradh Exp $
+#	$NetBSD: radeon2netbsd,v 1.4 2024/07/02 20:09:13 riastradh Exp $
 #
 # $ /path/to/radeon2netbsd > /path/to/files.radeon.new
 #
@@ -17,6 +17,10 @@ radeon_top=external/bsd/drm2/dist/drm/ra
 radeon_flag=radeon
 
 env CONFIG_ACPI=y \
+env CONFIG_DRM_FBDEV_EMULATION=y \
+env CONFIG_DRM_RADEON=y \
+env CONFIG_MMU_NOTIFIER=y \
+env CONFIG_VGA_SWITCHEROO=y \
 env src=. \
 make -f Makefile -V '$(radeon-y)' \
 | tr ' ' '\n' \



CVS commit: src/sys/external/bsd/drm2/radeon

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:13 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/radeon: radeon2netbsd

Log Message:
radeon: Update radeon2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm2/radeon/radeon2netbsd

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



CVS commit: src/sys/external/bsd/drm2/nouveau

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:01 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau2netbsd

Log Message:
nouveau: Update nouveau2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm2/nouveau/nouveau2netbsd

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

Modified files:

Index: src/sys/external/bsd/drm2/nouveau/nouveau2netbsd
diff -u src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.6 src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.7
--- src/sys/external/bsd/drm2/nouveau/nouveau2netbsd:1.6	Tue Apr 16 14:26:53 2024
+++ src/sys/external/bsd/drm2/nouveau/nouveau2netbsd	Tue Jul  2 20:09:01 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#	$NetBSD: nouveau2netbsd,v 1.6 2024/04/16 14:26:53 riastradh Exp $
+#	$NetBSD: nouveau2netbsd,v 1.7 2024/07/02 20:09:01 riastradh Exp $
 #
 # $ /path/to/nouveau2netbsd > /path/to/files.nouveau.new
 #
@@ -36,6 +36,11 @@ cat Kbuild\
 | sed -e 's,^endif$,.endif,'		\
 | env	\
 	env CONFIG_ACPI=y		\
+	env CONFIG_COMPAT=y		\
+	env CONFIG_DRM_NOUVEAU_SVM=y	\
+	env CONFIG_LEDS_CLASS=y		\
+	env CONFIG_NOUVEAU=y		\
+	env CONFIG_NOUVEAU_BACKLIGHT=y	\
 	env CONFIG_X86=y		\
 	env src=.			\
 	make -f /dev/stdin -V '$(nouveau-y)'\
@@ -83,7 +88,9 @@ cat Kbuild\
 ' >> "$filemap"
 
 while read from to; do
-	if [ "x$from" != "x$to" ]; then
+	# If the move already happened, that's fine: the makefile
+	# detects duplicates.
+	if [ "x$from" != "x$to" -a \! -f "$to" ]; then
 		${MV} -f -- "$from" "$to"
 	fi
 	printf 'file\t%s\t%s\n' "$nouveau_top/$to" "$nouveau_flag"



CVS commit: src/sys/external/bsd/drm2/amdgpu

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:08:51 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/amdgpu: amdgpu2netbsd

Log Message:
amdgpu: Update amdgpu2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd

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



CVS commit: src/sys/external/bsd/drm2/nouveau

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:09:01 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau2netbsd

Log Message:
nouveau: Update nouveau2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm2/nouveau/nouveau2netbsd

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



CVS commit: src/sys/external/bsd/drm2/amdgpu

2024-07-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul  2 20:08:51 UTC 2024

Modified Files:
src/sys/external/bsd/drm2/amdgpu: amdgpu2netbsd

Log Message:
amdgpu: Update amdgpu2netbsd to prepare for new import.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd

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

Modified files:

Index: src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd
diff -u src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd:1.4 src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd:1.5
--- src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd:1.4	Sun Dec 19 10:20:31 2021
+++ src/sys/external/bsd/drm2/amdgpu/amdgpu2netbsd	Tue Jul  2 20:08:51 2024
@@ -1,10 +1,10 @@
 #!/bin/sh
 
-#	$NetBSD: amdgpu2netbsd,v 1.4 2021/12/19 10:20:31 riastradh Exp $
+#	$NetBSD: amdgpu2netbsd,v 1.5 2024/07/02 20:08:51 riastradh Exp $
 #
 # $ /path/to/amdgpu2netbsd > /path/to/files.amdgpu.new
 #
-# Run from the top-level dist/amd/amdgpu source directory, ideally
+# Run from the top-level dist/drm/amd/amdgpu source directory, ideally
 # before import.
 
 set -Ceu
@@ -24,13 +24,20 @@ amdgpu_flag=amdgpu
 	printf 'include Makefile\n'
 } | env \
 	env CONFIG_ACPI=y \
+	env CONFIG_COMPAT=y \
 	env CONFIG_DRM_AMDGPU=y \
 	env CONFIG_DRM_AMDGPU_CIK=y \
 	env CONFIG_DRM_AMDGPU_SI=y \
 	env CONFIG_DRM_AMD_ACP=y \
 	env CONFIG_DRM_AMD_DC=y \
-	env CONFIG_DRM_AMD_DC_DCN=y \
+	env CONFIG_DRM_AMD_DC_FP=y \
 	env CONFIG_DRM_AMD_DC_HDCP=y \
+	env CONFIG_DRM_AMD_DC_SI=y \
+	env CONFIG_HMM_MIRROR=y \
+	env CONFIG_HSA_AMD=y \
+	env CONFIG_HSA_AMD_SVM=y \
+	env CONFIG_PERF_EVENTS=y \
+	env CONFIG_VGA_SWITCHEROO=y \
 	env srctree="`pwd`" \
 	env src=. \
 	${GMAKE} -f - -s show-amdgpu-y \



CVS commit: xsrc/external/mit/libX11/dist/src/xcms

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 07:31:12 UTC 2024

Modified Files:
xsrc/external/mit/libX11/dist/src/xcms: cmsTrig.c

Log Message:
restore vax fp code removed here in libX11 1.8.8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c

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

Modified files:

Index: xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c
diff -u xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.5 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.6
--- xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.5	Tue Jul  2 07:29:21 2024
+++ xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c	Tue Jul  2 07:31:12 2024
@@ -71,7 +71,11 @@ _XcmsModuloF(
 #define XCMS_SIXTHPI		0.523598775598298820
 #define XCMS_RADIANS(d)		((d) * XCMS_PI / 180.0)
 #define XCMS_DEGREES(r)		((r) * 180.0 / XCMS_PI)
+#ifdef __vax__
+#define XCMS_X6_UNDERFLOWS	(3.784659e-07)  /* X**6 almost underflows*/
+#else
 #define XCMS_X6_UNDERFLOWS	(4.209340e-52)	/* X**6 almost underflows */
+#endif
 #define XCMS_X16_UNDERFLOWS	(5.421010e-20)	/* X**16 almost underflows*/
 #define XCMS_CHAR_BIT		8
 #define XCMS_LONG_MAX		0x7FFF



CVS commit: xsrc/external/mit/libX11/dist/src/xcms

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 07:31:12 UTC 2024

Modified Files:
xsrc/external/mit/libX11/dist/src/xcms: cmsTrig.c

Log Message:
restore vax fp code removed here in libX11 1.8.8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c

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



CVS commit: xsrc/external/mit/libX11/dist

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 07:29:21 UTC 2024

Modified Files:
xsrc/external/mit/libX11/dist: ChangeLog README.md aclocal.m4 configure
configure.ac
xsrc/external/mit/libX11/dist/include/X11: Xlib.h Xlibint.h
xsrc/external/mit/libX11/dist/modules/lc/gen: lcGenConv.c
xsrc/external/mit/libX11/dist/src: CrGlCur.c XlibInt.c globals.c
xsrc/external/mit/libX11/dist/src/xcms: cmsTrig.c
xsrc/external/mit/libX11/dist/src/xlibi18n: XlcDL.c

Log Message:
merge libX11 1.8.9.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 xsrc/external/mit/libX11/dist/ChangeLog \
xsrc/external/mit/libX11/dist/configure \
xsrc/external/mit/libX11/dist/configure.ac
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/libX11/dist/README.md \
xsrc/external/mit/libX11/dist/aclocal.m4
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libX11/dist/include/X11/Xlib.h
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/libX11/dist/include/X11/Xlibint.h
cvs rdiff -u -r1.8 -r1.9 \
xsrc/external/mit/libX11/dist/modules/lc/gen/lcGenConv.c
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/libX11/dist/src/CrGlCur.c
cvs rdiff -u -r1.14 -r1.15 xsrc/external/mit/libX11/dist/src/XlibInt.c
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libX11/dist/src/globals.c
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c
cvs rdiff -u -r1.10 -r1.11 xsrc/external/mit/libX11/dist/src/xlibi18n/XlcDL.c

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



CVS import: xsrc/external/mit/libX11/dist

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 07:16:46 UTC 2024

Update of /cvsroot/xsrc/external/mit/libX11/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv11199

Log Message:
initial import of libX11-1.8.9

Status:

Vendor Tag: xorg
Release Tags:   libX11-1-8-9

C xsrc/external/mit/libX11/dist/ChangeLog
U xsrc/external/mit/libX11/dist/INSTALL
C xsrc/external/mit/libX11/dist/aclocal.m4
C xsrc/external/mit/libX11/dist/README.md
U xsrc/external/mit/libX11/dist/install-sh
U xsrc/external/mit/libX11/dist/x11.pc.in
C xsrc/external/mit/libX11/dist/configure
U xsrc/external/mit/libX11/dist/docbook.am
U xsrc/external/mit/libX11/dist/cpprules.in
C xsrc/external/mit/libX11/dist/configure.ac
U xsrc/external/mit/libX11/dist/config.sub
U xsrc/external/mit/libX11/dist/COPYING
U xsrc/external/mit/libX11/dist/x11-xcb.pc.in
U xsrc/external/mit/libX11/dist/ltmain.sh
U xsrc/external/mit/libX11/dist/config.guess
U xsrc/external/mit/libX11/dist/Makefile.in
U xsrc/external/mit/libX11/dist/AUTHORS
U xsrc/external/mit/libX11/dist/compile
U xsrc/external/mit/libX11/dist/test-driver
U xsrc/external/mit/libX11/dist/depcomp
U xsrc/external/mit/libX11/dist/missing
U xsrc/external/mit/libX11/dist/Makefile.am
U xsrc/external/mit/libX11/dist/src/ChKeyCon.c
U xsrc/external/mit/libX11/dist/src/Sync.c
U xsrc/external/mit/libX11/dist/src/OCWrap.c
U xsrc/external/mit/libX11/dist/src/Window.c
U xsrc/external/mit/libX11/dist/src/MapRaised.c
U xsrc/external/mit/libX11/dist/src/GetSOwner.c
U xsrc/external/mit/libX11/dist/src/SetState.c
U xsrc/external/mit/libX11/dist/src/GetRGBCMap.c
U xsrc/external/mit/libX11/dist/src/CopyPlane.c
U xsrc/external/mit/libX11/dist/src/LookupCol.c
U xsrc/external/mit/libX11/dist/src/DisName.c
U xsrc/external/mit/libX11/dist/src/SetClMask.c
U xsrc/external/mit/libX11/dist/src/KillCl.c
U xsrc/external/mit/libX11/dist/src/DrLine.c
U xsrc/external/mit/libX11/dist/src/FreeEventData.c
U xsrc/external/mit/libX11/dist/src/QuTileShp.c
U xsrc/external/mit/libX11/dist/src/AllCells.c
U xsrc/external/mit/libX11/dist/src/FreeEData.c
U xsrc/external/mit/libX11/dist/src/CrWindow.c
U xsrc/external/mit/libX11/dist/src/GetTxtProp.c
U xsrc/external/mit/libX11/dist/src/SetLocale.c
U xsrc/external/mit/libX11/dist/src/Quarks.c
C xsrc/external/mit/libX11/dist/src/CrGlCur.c
U xsrc/external/mit/libX11/dist/src/UngrabPtr.c
U xsrc/external/mit/libX11/dist/src/CirWinDn.c
C xsrc/external/mit/libX11/dist/src/XlibInt.c
U xsrc/external/mit/libX11/dist/src/ReconfWM.c
U xsrc/external/mit/libX11/dist/src/SetFPath.c
U xsrc/external/mit/libX11/dist/src/locking.c
U xsrc/external/mit/libX11/dist/src/DrRects.c
U xsrc/external/mit/libX11/dist/src/MapSubs.c
U xsrc/external/mit/libX11/dist/src/x11_xcb.c
U xsrc/external/mit/libX11/dist/src/Iconify.c
U xsrc/external/mit/libX11/dist/src/ChCmap.c
U xsrc/external/mit/libX11/dist/src/QuColors.c
U xsrc/external/mit/libX11/dist/src/ChkIfEv.c
U xsrc/external/mit/libX11/dist/src/TextToStr.c
U xsrc/external/mit/libX11/dist/src/FillRcts.c
U xsrc/external/mit/libX11/dist/src/RegstFlt.c
U xsrc/external/mit/libX11/dist/src/ChkWinEv.c
U xsrc/external/mit/libX11/dist/src/LoadFont.c
U xsrc/external/mit/libX11/dist/src/FillArcs.c
U xsrc/external/mit/libX11/dist/src/SetDashes.c
U xsrc/external/mit/libX11/dist/src/FreeCmap.c
U xsrc/external/mit/libX11/dist/src/SetLStyle.c
U xsrc/external/mit/libX11/dist/src/xcb_disp.c
U xsrc/external/mit/libX11/dist/src/Pending.c
U xsrc/external/mit/libX11/dist/src/CrPixmap.c
U xsrc/external/mit/libX11/dist/src/config.h.in
U xsrc/external/mit/libX11/dist/src/VisUtil.c
U xsrc/external/mit/libX11/dist/src/xcb_io.c
U xsrc/external/mit/libX11/dist/src/QuColor.c
U xsrc/external/mit/libX11/dist/src/StrKeysym.c
U xsrc/external/mit/libX11/dist/src/Key.h
U xsrc/external/mit/libX11/dist/src/Xxcbint.h
U xsrc/external/mit/libX11/dist/src/FetchName.c
U xsrc/external/mit/libX11/dist/src/ChClMode.c
U xsrc/external/mit/libX11/dist/src/Clear.c
U xsrc/external/mit/libX11/dist/src/DrPoint.c
U xsrc/external/mit/libX11/dist/src/OMWrap.c
U xsrc/external/mit/libX11/dist/src/GetProp.c
U xsrc/external/mit/libX11/dist/src/GetKCnt.c
U xsrc/external/mit/libX11/dist/src/MapWindow.c
U xsrc/external/mit/libX11/dist/src/SetFunc.c
U xsrc/external/mit/libX11/dist/src/Backgnd.c
U xsrc/external/mit/libX11/dist/src/Xresinternal.h
U xsrc/external/mit/libX11/dist/src/FontNames.c
U xsrc/external/mit/libX11/dist/src/SetPntMap.c
U xsrc/external/mit/libX11/dist/src/FreeCols.c
U xsrc/external/mit/libX11/dist/src/ChkMaskEv.c
U xsrc/external/mit/libX11/dist/src/StColor.c
U xsrc/external/mit/libX11/dist/src/Context.c
U xsrc/external/mit/libX11/dist/src/UngrabKbd.c
U xsrc/external/mit/libX11/dist/src/PropAlloc.c
U xsrc/external/mit/libX11/dist/src/utlist.h
U xsrc/external/mit/libX11/dist/src/PmapBord.c
U xsrc/external/mit/libX11/dist/src/SetFore.c
U xsrc/external/mit/libX11/dist/src/GetIFocus.c
U xsrc/external/mit/libX11/dist/src/IfEvent.c
U xsrc/external/mit/libX11/dist/src/AutoRep.c
U 

CVS import: xsrc/external/mit/libX11/dist

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 07:16:46 UTC 2024

Update of /cvsroot/xsrc/external/mit/libX11/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv11199

Log Message:
initial import of libX11-1.8.9

Status:

Vendor Tag: xorg
Release Tags:   libX11-1-8-9

C xsrc/external/mit/libX11/dist/ChangeLog
U xsrc/external/mit/libX11/dist/INSTALL
C xsrc/external/mit/libX11/dist/aclocal.m4
C xsrc/external/mit/libX11/dist/README.md
U xsrc/external/mit/libX11/dist/install-sh
U xsrc/external/mit/libX11/dist/x11.pc.in
C xsrc/external/mit/libX11/dist/configure
U xsrc/external/mit/libX11/dist/docbook.am
U xsrc/external/mit/libX11/dist/cpprules.in
C xsrc/external/mit/libX11/dist/configure.ac
U xsrc/external/mit/libX11/dist/config.sub
U xsrc/external/mit/libX11/dist/COPYING
U xsrc/external/mit/libX11/dist/x11-xcb.pc.in
U xsrc/external/mit/libX11/dist/ltmain.sh
U xsrc/external/mit/libX11/dist/config.guess
U xsrc/external/mit/libX11/dist/Makefile.in
U xsrc/external/mit/libX11/dist/AUTHORS
U xsrc/external/mit/libX11/dist/compile
U xsrc/external/mit/libX11/dist/test-driver
U xsrc/external/mit/libX11/dist/depcomp
U xsrc/external/mit/libX11/dist/missing
U xsrc/external/mit/libX11/dist/Makefile.am
U xsrc/external/mit/libX11/dist/src/ChKeyCon.c
U xsrc/external/mit/libX11/dist/src/Sync.c
U xsrc/external/mit/libX11/dist/src/OCWrap.c
U xsrc/external/mit/libX11/dist/src/Window.c
U xsrc/external/mit/libX11/dist/src/MapRaised.c
U xsrc/external/mit/libX11/dist/src/GetSOwner.c
U xsrc/external/mit/libX11/dist/src/SetState.c
U xsrc/external/mit/libX11/dist/src/GetRGBCMap.c
U xsrc/external/mit/libX11/dist/src/CopyPlane.c
U xsrc/external/mit/libX11/dist/src/LookupCol.c
U xsrc/external/mit/libX11/dist/src/DisName.c
U xsrc/external/mit/libX11/dist/src/SetClMask.c
U xsrc/external/mit/libX11/dist/src/KillCl.c
U xsrc/external/mit/libX11/dist/src/DrLine.c
U xsrc/external/mit/libX11/dist/src/FreeEventData.c
U xsrc/external/mit/libX11/dist/src/QuTileShp.c
U xsrc/external/mit/libX11/dist/src/AllCells.c
U xsrc/external/mit/libX11/dist/src/FreeEData.c
U xsrc/external/mit/libX11/dist/src/CrWindow.c
U xsrc/external/mit/libX11/dist/src/GetTxtProp.c
U xsrc/external/mit/libX11/dist/src/SetLocale.c
U xsrc/external/mit/libX11/dist/src/Quarks.c
C xsrc/external/mit/libX11/dist/src/CrGlCur.c
U xsrc/external/mit/libX11/dist/src/UngrabPtr.c
U xsrc/external/mit/libX11/dist/src/CirWinDn.c
C xsrc/external/mit/libX11/dist/src/XlibInt.c
U xsrc/external/mit/libX11/dist/src/ReconfWM.c
U xsrc/external/mit/libX11/dist/src/SetFPath.c
U xsrc/external/mit/libX11/dist/src/locking.c
U xsrc/external/mit/libX11/dist/src/DrRects.c
U xsrc/external/mit/libX11/dist/src/MapSubs.c
U xsrc/external/mit/libX11/dist/src/x11_xcb.c
U xsrc/external/mit/libX11/dist/src/Iconify.c
U xsrc/external/mit/libX11/dist/src/ChCmap.c
U xsrc/external/mit/libX11/dist/src/QuColors.c
U xsrc/external/mit/libX11/dist/src/ChkIfEv.c
U xsrc/external/mit/libX11/dist/src/TextToStr.c
U xsrc/external/mit/libX11/dist/src/FillRcts.c
U xsrc/external/mit/libX11/dist/src/RegstFlt.c
U xsrc/external/mit/libX11/dist/src/ChkWinEv.c
U xsrc/external/mit/libX11/dist/src/LoadFont.c
U xsrc/external/mit/libX11/dist/src/FillArcs.c
U xsrc/external/mit/libX11/dist/src/SetDashes.c
U xsrc/external/mit/libX11/dist/src/FreeCmap.c
U xsrc/external/mit/libX11/dist/src/SetLStyle.c
U xsrc/external/mit/libX11/dist/src/xcb_disp.c
U xsrc/external/mit/libX11/dist/src/Pending.c
U xsrc/external/mit/libX11/dist/src/CrPixmap.c
U xsrc/external/mit/libX11/dist/src/config.h.in
U xsrc/external/mit/libX11/dist/src/VisUtil.c
U xsrc/external/mit/libX11/dist/src/xcb_io.c
U xsrc/external/mit/libX11/dist/src/QuColor.c
U xsrc/external/mit/libX11/dist/src/StrKeysym.c
U xsrc/external/mit/libX11/dist/src/Key.h
U xsrc/external/mit/libX11/dist/src/Xxcbint.h
U xsrc/external/mit/libX11/dist/src/FetchName.c
U xsrc/external/mit/libX11/dist/src/ChClMode.c
U xsrc/external/mit/libX11/dist/src/Clear.c
U xsrc/external/mit/libX11/dist/src/DrPoint.c
U xsrc/external/mit/libX11/dist/src/OMWrap.c
U xsrc/external/mit/libX11/dist/src/GetProp.c
U xsrc/external/mit/libX11/dist/src/GetKCnt.c
U xsrc/external/mit/libX11/dist/src/MapWindow.c
U xsrc/external/mit/libX11/dist/src/SetFunc.c
U xsrc/external/mit/libX11/dist/src/Backgnd.c
U xsrc/external/mit/libX11/dist/src/Xresinternal.h
U xsrc/external/mit/libX11/dist/src/FontNames.c
U xsrc/external/mit/libX11/dist/src/SetPntMap.c
U xsrc/external/mit/libX11/dist/src/FreeCols.c
U xsrc/external/mit/libX11/dist/src/ChkMaskEv.c
U xsrc/external/mit/libX11/dist/src/StColor.c
U xsrc/external/mit/libX11/dist/src/Context.c
U xsrc/external/mit/libX11/dist/src/UngrabKbd.c
U xsrc/external/mit/libX11/dist/src/PropAlloc.c
U xsrc/external/mit/libX11/dist/src/utlist.h
U xsrc/external/mit/libX11/dist/src/PmapBord.c
U xsrc/external/mit/libX11/dist/src/SetFore.c
U xsrc/external/mit/libX11/dist/src/GetIFocus.c
U xsrc/external/mit/libX11/dist/src/IfEvent.c
U xsrc/external/mit/libX11/dist/src/AutoRep.c
U 

CVS import: xsrc/external/mit/xorgproto/dist

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 06:22:56 UTC 2024

Update of /cvsroot/xsrc/external/mit/xorgproto/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv16062

Log Message:
initial import of xorgproto-2024.1

Status:

Vendor Tag: xorg
Release Tags:   xorgproto-2024-1

U xsrc/external/mit/xorgproto/dist/Makefile.am
U xsrc/external/mit/xorgproto/dist/configure
U xsrc/external/mit/xorgproto/dist/configure.ac
U xsrc/external/mit/xorgproto/dist/aclocal.m4
U xsrc/external/mit/xorgproto/dist/compositeproto.txt
U xsrc/external/mit/xorgproto/dist/damageproto.txt
U xsrc/external/mit/xorgproto/dist/dri2proto.txt
U xsrc/external/mit/xorgproto/dist/dri3proto.txt
U xsrc/external/mit/xorgproto/dist/fixesproto.txt
U xsrc/external/mit/xorgproto/dist/presentproto.txt
U xsrc/external/mit/xorgproto/dist/randrproto.txt
U xsrc/external/mit/xorgproto/dist/renderproto.txt
U xsrc/external/mit/xorgproto/dist/resproto.txt
U xsrc/external/mit/xorgproto/dist/xv-protocol-v2.txt
U xsrc/external/mit/xorgproto/dist/xwaylandproto.txt
U xsrc/external/mit/xorgproto/dist/PM_spec
U xsrc/external/mit/xorgproto/dist/Makefile.in
U xsrc/external/mit/xorgproto/dist/applewmproto.pc.in
U xsrc/external/mit/xorgproto/dist/bigreqsproto.pc.in
U xsrc/external/mit/xorgproto/dist/compositeproto.pc.in
U xsrc/external/mit/xorgproto/dist/damageproto.pc.in
U xsrc/external/mit/xorgproto/dist/dmxproto.pc.in
U xsrc/external/mit/xorgproto/dist/dpmsproto.pc.in
U xsrc/external/mit/xorgproto/dist/dri2proto.pc.in
U xsrc/external/mit/xorgproto/dist/dri3proto.pc.in
U xsrc/external/mit/xorgproto/dist/evieproto.pc.in
U xsrc/external/mit/xorgproto/dist/fixesproto.pc.in
U xsrc/external/mit/xorgproto/dist/fontcacheproto.pc.in
U xsrc/external/mit/xorgproto/dist/fontsproto.pc.in
U xsrc/external/mit/xorgproto/dist/glproto.pc.in
U xsrc/external/mit/xorgproto/dist/inputproto.pc.in
U xsrc/external/mit/xorgproto/dist/kbproto.pc.in
U xsrc/external/mit/xorgproto/dist/lg3dproto.pc.in
U xsrc/external/mit/xorgproto/dist/presentproto.pc.in
U xsrc/external/mit/xorgproto/dist/printproto.pc.in
U xsrc/external/mit/xorgproto/dist/randrproto.pc.in
U xsrc/external/mit/xorgproto/dist/recordproto.pc.in
U xsrc/external/mit/xorgproto/dist/renderproto.pc.in
U xsrc/external/mit/xorgproto/dist/resourceproto.pc.in
U xsrc/external/mit/xorgproto/dist/scrnsaverproto.pc.in
U xsrc/external/mit/xorgproto/dist/trapproto.pc.in
U xsrc/external/mit/xorgproto/dist/videoproto.pc.in
U xsrc/external/mit/xorgproto/dist/windowswmproto.pc.in
U xsrc/external/mit/xorgproto/dist/xcalibrateproto.pc.in
U xsrc/external/mit/xorgproto/dist/xcmiscproto.pc.in
U xsrc/external/mit/xorgproto/dist/xextproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86bigfontproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86dgaproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86driproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86miscproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86rushproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86vidmodeproto.pc.in
U xsrc/external/mit/xorgproto/dist/xineramaproto.pc.in
U xsrc/external/mit/xorgproto/dist/xproto.pc.in
U xsrc/external/mit/xorgproto/dist/xproxymngproto.pc.in
U xsrc/external/mit/xorgproto/dist/xwaylandproto.pc.in
U xsrc/external/mit/xorgproto/dist/AUTHORS
U xsrc/external/mit/xorgproto/dist/INSTALL
U xsrc/external/mit/xorgproto/dist/README.md
U xsrc/external/mit/xorgproto/dist/compile
U xsrc/external/mit/xorgproto/dist/config.guess
U xsrc/external/mit/xorgproto/dist/config.sub
U xsrc/external/mit/xorgproto/dist/install-sh
U xsrc/external/mit/xorgproto/dist/missing
U xsrc/external/mit/xorgproto/dist/test-driver
U xsrc/external/mit/xorgproto/dist/COPYING-applewmproto
U xsrc/external/mit/xorgproto/dist/COPYING-bigreqsproto
U xsrc/external/mit/xorgproto/dist/COPYING-compositeproto
U xsrc/external/mit/xorgproto/dist/COPYING-damageproto
U xsrc/external/mit/xorgproto/dist/COPYING-dmxproto
U xsrc/external/mit/xorgproto/dist/COPYING-dri2proto
U xsrc/external/mit/xorgproto/dist/COPYING-dri3proto
U xsrc/external/mit/xorgproto/dist/COPYING-evieproto
U xsrc/external/mit/xorgproto/dist/COPYING-fixesproto
U xsrc/external/mit/xorgproto/dist/COPYING-fontcacheproto
U xsrc/external/mit/xorgproto/dist/COPYING-fontsproto
U xsrc/external/mit/xorgproto/dist/COPYING-glproto
U xsrc/external/mit/xorgproto/dist/COPYING-inputproto
U xsrc/external/mit/xorgproto/dist/COPYING-kbproto
U xsrc/external/mit/xorgproto/dist/COPYING-lg3dproto
U xsrc/external/mit/xorgproto/dist/COPYING-pmproto
U xsrc/external/mit/xorgproto/dist/COPYING-presentproto
U xsrc/external/mit/xorgproto/dist/COPYING-printproto
U xsrc/external/mit/xorgproto/dist/COPYING-randrproto
U xsrc/external/mit/xorgproto/dist/COPYING-recordproto
U xsrc/external/mit/xorgproto/dist/COPYING-renderproto
U xsrc/external/mit/xorgproto/dist/COPYING-resourceproto
U xsrc/external/mit/xorgproto/dist/COPYING-scrnsaverproto
U xsrc/external/mit/xorgproto/dist/COPYING-trapproto
U xsrc/external/mit/xorgproto/dist/COPYING-videoproto
U 

CVS import: xsrc/external/mit/xorgproto/dist

2024-07-02 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Tue Jul  2 06:22:56 UTC 2024

Update of /cvsroot/xsrc/external/mit/xorgproto/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv16062

Log Message:
initial import of xorgproto-2024.1

Status:

Vendor Tag: xorg
Release Tags:   xorgproto-2024-1

U xsrc/external/mit/xorgproto/dist/Makefile.am
U xsrc/external/mit/xorgproto/dist/configure
U xsrc/external/mit/xorgproto/dist/configure.ac
U xsrc/external/mit/xorgproto/dist/aclocal.m4
U xsrc/external/mit/xorgproto/dist/compositeproto.txt
U xsrc/external/mit/xorgproto/dist/damageproto.txt
U xsrc/external/mit/xorgproto/dist/dri2proto.txt
U xsrc/external/mit/xorgproto/dist/dri3proto.txt
U xsrc/external/mit/xorgproto/dist/fixesproto.txt
U xsrc/external/mit/xorgproto/dist/presentproto.txt
U xsrc/external/mit/xorgproto/dist/randrproto.txt
U xsrc/external/mit/xorgproto/dist/renderproto.txt
U xsrc/external/mit/xorgproto/dist/resproto.txt
U xsrc/external/mit/xorgproto/dist/xv-protocol-v2.txt
U xsrc/external/mit/xorgproto/dist/xwaylandproto.txt
U xsrc/external/mit/xorgproto/dist/PM_spec
U xsrc/external/mit/xorgproto/dist/Makefile.in
U xsrc/external/mit/xorgproto/dist/applewmproto.pc.in
U xsrc/external/mit/xorgproto/dist/bigreqsproto.pc.in
U xsrc/external/mit/xorgproto/dist/compositeproto.pc.in
U xsrc/external/mit/xorgproto/dist/damageproto.pc.in
U xsrc/external/mit/xorgproto/dist/dmxproto.pc.in
U xsrc/external/mit/xorgproto/dist/dpmsproto.pc.in
U xsrc/external/mit/xorgproto/dist/dri2proto.pc.in
U xsrc/external/mit/xorgproto/dist/dri3proto.pc.in
U xsrc/external/mit/xorgproto/dist/evieproto.pc.in
U xsrc/external/mit/xorgproto/dist/fixesproto.pc.in
U xsrc/external/mit/xorgproto/dist/fontcacheproto.pc.in
U xsrc/external/mit/xorgproto/dist/fontsproto.pc.in
U xsrc/external/mit/xorgproto/dist/glproto.pc.in
U xsrc/external/mit/xorgproto/dist/inputproto.pc.in
U xsrc/external/mit/xorgproto/dist/kbproto.pc.in
U xsrc/external/mit/xorgproto/dist/lg3dproto.pc.in
U xsrc/external/mit/xorgproto/dist/presentproto.pc.in
U xsrc/external/mit/xorgproto/dist/printproto.pc.in
U xsrc/external/mit/xorgproto/dist/randrproto.pc.in
U xsrc/external/mit/xorgproto/dist/recordproto.pc.in
U xsrc/external/mit/xorgproto/dist/renderproto.pc.in
U xsrc/external/mit/xorgproto/dist/resourceproto.pc.in
U xsrc/external/mit/xorgproto/dist/scrnsaverproto.pc.in
U xsrc/external/mit/xorgproto/dist/trapproto.pc.in
U xsrc/external/mit/xorgproto/dist/videoproto.pc.in
U xsrc/external/mit/xorgproto/dist/windowswmproto.pc.in
U xsrc/external/mit/xorgproto/dist/xcalibrateproto.pc.in
U xsrc/external/mit/xorgproto/dist/xcmiscproto.pc.in
U xsrc/external/mit/xorgproto/dist/xextproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86bigfontproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86dgaproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86driproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86miscproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86rushproto.pc.in
U xsrc/external/mit/xorgproto/dist/xf86vidmodeproto.pc.in
U xsrc/external/mit/xorgproto/dist/xineramaproto.pc.in
U xsrc/external/mit/xorgproto/dist/xproto.pc.in
U xsrc/external/mit/xorgproto/dist/xproxymngproto.pc.in
U xsrc/external/mit/xorgproto/dist/xwaylandproto.pc.in
U xsrc/external/mit/xorgproto/dist/AUTHORS
U xsrc/external/mit/xorgproto/dist/INSTALL
U xsrc/external/mit/xorgproto/dist/README.md
U xsrc/external/mit/xorgproto/dist/compile
U xsrc/external/mit/xorgproto/dist/config.guess
U xsrc/external/mit/xorgproto/dist/config.sub
U xsrc/external/mit/xorgproto/dist/install-sh
U xsrc/external/mit/xorgproto/dist/missing
U xsrc/external/mit/xorgproto/dist/test-driver
U xsrc/external/mit/xorgproto/dist/COPYING-applewmproto
U xsrc/external/mit/xorgproto/dist/COPYING-bigreqsproto
U xsrc/external/mit/xorgproto/dist/COPYING-compositeproto
U xsrc/external/mit/xorgproto/dist/COPYING-damageproto
U xsrc/external/mit/xorgproto/dist/COPYING-dmxproto
U xsrc/external/mit/xorgproto/dist/COPYING-dri2proto
U xsrc/external/mit/xorgproto/dist/COPYING-dri3proto
U xsrc/external/mit/xorgproto/dist/COPYING-evieproto
U xsrc/external/mit/xorgproto/dist/COPYING-fixesproto
U xsrc/external/mit/xorgproto/dist/COPYING-fontcacheproto
U xsrc/external/mit/xorgproto/dist/COPYING-fontsproto
U xsrc/external/mit/xorgproto/dist/COPYING-glproto
U xsrc/external/mit/xorgproto/dist/COPYING-inputproto
U xsrc/external/mit/xorgproto/dist/COPYING-kbproto
U xsrc/external/mit/xorgproto/dist/COPYING-lg3dproto
U xsrc/external/mit/xorgproto/dist/COPYING-pmproto
U xsrc/external/mit/xorgproto/dist/COPYING-presentproto
U xsrc/external/mit/xorgproto/dist/COPYING-printproto
U xsrc/external/mit/xorgproto/dist/COPYING-randrproto
U xsrc/external/mit/xorgproto/dist/COPYING-recordproto
U xsrc/external/mit/xorgproto/dist/COPYING-renderproto
U xsrc/external/mit/xorgproto/dist/COPYING-resourceproto
U xsrc/external/mit/xorgproto/dist/COPYING-scrnsaverproto
U xsrc/external/mit/xorgproto/dist/COPYING-trapproto
U xsrc/external/mit/xorgproto/dist/COPYING-videoproto
U 

CVS commit: src/sys/arch/rs6000/mca

2024-07-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  2 06:07:12 UTC 2024

Modified Files:
src/sys/arch/rs6000/mca: mca_machdep.c

Log Message:
rs6000: mca_machdep: Locally neglect GCC12 -Warray-bounds for 0-th page

as already done for, e.g., evbppc/wii.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/rs6000/mca/mca_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/rs6000/mca

2024-07-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  2 06:07:12 UTC 2024

Modified Files:
src/sys/arch/rs6000/mca: mca_machdep.c

Log Message:
rs6000: mca_machdep: Locally neglect GCC12 -Warray-bounds for 0-th page

as already done for, e.g., evbppc/wii.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/rs6000/mca/mca_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/rs6000/mca/mca_machdep.c
diff -u src/sys/arch/rs6000/mca/mca_machdep.c:1.5 src/sys/arch/rs6000/mca/mca_machdep.c:1.6
--- src/sys/arch/rs6000/mca/mca_machdep.c:1.5	Sat Nov 21 15:52:32 2020
+++ src/sys/arch/rs6000/mca/mca_machdep.c	Tue Jul  2 06:07:12 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: mca_machdep.c,v 1.5 2020/11/21 15:52:32 thorpej Exp $	*/
+/*	$NetBSD: mca_machdep.c,v 1.6 2024/07/02 06:07:12 rin Exp $	*/
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: mca_machdep.c,v 1.5 2020/11/21 15:52:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mca_machdep.c,v 1.6 2024/07/02 06:07:12 rin Exp $");
 
 #include 
 #include 
@@ -172,6 +172,13 @@ mca_intr_disestablish(mca_chipset_tag_t 
 	
 
 /*
+ * GCC 12 blames pointer reference to 0-th page, [0, 0xfff].
+ * XXX map to higher address as done for, e.g., arm by devmap?
+ */
+#pragma GCC diagnostic push	/* XXX { */
+#pragma GCC diagnostic ignored "-Warray-bounds"
+
+/*
  * Handle a NMI.
  * return true to panic system, false to ignore.
  */
@@ -250,6 +257,8 @@ mca_disk_unbusy(void)
 	outb(PORT_DISKLED, inb(PORT_DISKLED) & ~DISKLED_ON);
 }
 
+#pragma GCC diagnostic pop	/* XXX } */
+
 /*
  * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  * MCA DMA specific stuff. We use ISA routines for bulk of the work,