summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-06-26 15:52:59 +0000
committerbrad <brad@openbsd.org>2006-06-26 15:52:59 +0000
commit559bc5c0783235a180946ab53b75a0a239bff2d0 (patch)
tree610509cff07ba8f922967fb7051c383b08e88500
parentsync (diff)
downloadwireguard-openbsd-559bc5c0783235a180946ab53b75a0a239bff2d0.tar.xz
wireguard-openbsd-559bc5c0783235a180946ab53b75a0a239bff2d0.zip
if piixpm does not try to attach an interrupt then indicate that the chip
is in polling mode. ok kettenis@
-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");