Module Name:    src
Committed By:   jmcneill
Date:           Mon Feb 24 21:31:32 UTC 2025

Modified Files:
        src/sys/dev/pci: piixpm.c

Log Message:
piixpm: Cleanup log message when SMI is used


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/piixpm.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/dev/pci/piixpm.c
diff -u src/sys/dev/pci/piixpm.c:1.72 src/sys/dev/pci/piixpm.c:1.73
--- src/sys/dev/pci/piixpm.c:1.72	Thu Jan 12 10:10:10 2023
+++ src/sys/dev/pci/piixpm.c	Mon Feb 24 21:31:32 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.72 2023/01/12 10:10:10 msaitoh Exp $ */
+/* $NetBSD: piixpm.c,v 1.73 2025/02/24 21:31:32 jmcneill Exp $ */
 /*	$OpenBSD: piixpm.c,v 1.39 2013/10/01 20:06:02 sf Exp $	*/
 
 /*
@@ -22,7 +22,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.72 2023/01/12 10:10:10 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.73 2025/02/24 21:31:32 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -305,9 +305,9 @@ setintr:
 				}
 			}
 		}
-		if (sc->sc_poll)
-			aprint_normal("polling");
 	}
+	if (sc->sc_poll)
+		aprint_normal("polling");
 
 	aprint_normal("\n");
 

Reply via email to