summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-26 15:53:00 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-26 15:53:00 +0000
commit53cda33c6cd9b79f2b4923d7d4bec62000813753 (patch)
treefe0fce58a58e742b6253c6679f2d62e52c8aad9c /sys/dev
parent8d6e5edca1d608abaf9f884969e43b1b1d048b4e (diff)
if piixpm does not try to attach an interrupt then indicate that the chip
is in polling mode. ok kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/piixpm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/piixpm.c b/sys/dev/pci/piixpm.c
index ebb678e614c..43ef5062cc3 100644
--- a/sys/dev/pci/piixpm.c
+++ b/sys/dev/pci/piixpm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: piixpm.c,v 1.21 2006/06/26 13:56:29 brad Exp $ */
+/* $OpenBSD: piixpm.c,v 1.22 2006/06/26 15:52:59 brad Exp $ */
/*
* Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -150,7 +150,8 @@ piixpm_attach(struct device *parent, struct device *self, void *aux)
}
if (sc->sc_poll)
printf(": polling");
- }
+ } else
+ printf(": polling");
printf("\n");