Module Name:    src
Committed By:   tsutsui
Date:           Tue Apr 30 05:06:09 UTC 2024

Modified Files:
        src/sys/arch/hp300/dev: intio.c

Log Message:
Fix fatal typo that prevents all intio devices probed.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/hp300/dev/intio.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/hp300/dev/intio.c
diff -u src/sys/arch/hp300/dev/intio.c:1.32 src/sys/arch/hp300/dev/intio.c:1.33
--- src/sys/arch/hp300/dev/intio.c:1.32	Sun Jan 28 17:31:40 2024
+++ src/sys/arch/hp300/dev/intio.c	Tue Apr 30 05:06:08 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: intio.c,v 1.32 2024/01/28 17:31:40 thorpej Exp $	*/
+/*	$NetBSD: intio.c,v 1.33 2024/04/30 05:06:08 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1998, 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.32 2024/01/28 17:31:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.33 2024/04/30 05:06:08 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -68,9 +68,9 @@ CFATTACH_DECL_NEW(intio, sizeof(struct i
 #endif
 
 #define	INTIO_3xx_BUILTINS						\
-	(__BIT(HP_320) | __BIT(HP_330) | __BIT(HP_340) ||		\
-	 __BIT(HP_345) | __BIT(HP_345) | __BIT(HP_350) ||		\
-	 __BIT(HP_360) | __BIT(HP_370) | __BIT(HP_375) ||		\
+	(__BIT(HP_320) | __BIT(HP_330) | __BIT(HP_340) |		\
+	 __BIT(HP_345) | __BIT(HP_345) | __BIT(HP_350) |		\
+	 __BIT(HP_360) | __BIT(HP_370) | __BIT(HP_375) |		\
 	 __BIT(HP_380) | __BIT(HP_385))
 
 #define	INTIO_362_BUILTINS	__BIT(HP_362)

Reply via email to