Module Name:    src
Committed By:   andvar
Date:           Sat Sep  7 14:28:19 UTC 2024

Modified Files:
        src/sys/arch/hpcmips/dev: plumpower.c

Log Message:
Change duplicate PLUM_POWER_RESETC_IO5CL1 to PLUM_POWER_RESETC_IO5CL0.

I believe it was a typo, since plum_power_ioreset(pc) call states that
it is resetting high/low I/O bus and TC6358TB Technical Data (page 128)
describes the bit to be set for clearing I/O active low device signals.

pullups are likely not necessary, there are no known issues reported.

Reported by David Binderman. PR port-hpcmips/50688


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/hpcmips/dev/plumpower.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/hpcmips/dev/plumpower.c
diff -u src/sys/arch/hpcmips/dev/plumpower.c:1.14 src/sys/arch/hpcmips/dev/plumpower.c:1.15
--- src/sys/arch/hpcmips/dev/plumpower.c:1.14	Wed Dec 20 14:50:02 2023
+++ src/sys/arch/hpcmips/dev/plumpower.c	Sat Sep  7 14:28:19 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: plumpower.c,v 1.14 2023/12/20 14:50:02 thorpej Exp $ */
+/*	$NetBSD: plumpower.c,v 1.15 2024/09/07 14:28:19 andvar Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plumpower.c,v 1.14 2023/12/20 14:50:02 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plumpower.c,v 1.15 2024/09/07 14:28:19 andvar Exp $");
 
 #undef PLUMPOWERDEBUG
 
@@ -115,7 +115,7 @@ plum_power_ioreset(plum_chipset_tag_t pc
 	bus_space_handle_t regh = sc->sc_regh;
 	
 	plum_conf_write(regt, regh, PLUM_POWER_RESETC_REG,
-	    PLUM_POWER_RESETC_IO5CL1 |
+	    PLUM_POWER_RESETC_IO5CL0 |
 	    PLUM_POWER_RESETC_IO5CL1);
 	plum_conf_write(regt, regh, PLUM_POWER_RESETC_REG, 0);
 }

Reply via email to