summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/tcpcib.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-10-17 22:31:59 +0000
committerderaadt <deraadt@openbsd.org>2012-10-17 22:31:59 +0000
commit2bc62deca48d4e48b34ffa22cb9403b25aaa9c56 (patch)
treee9d3498ac5f31b94cd2cc5b05bb47b1c1d28ceab /sys/dev/pci/tcpcib.c
parentNarrow the spltty/splx pair in com_activate to only enclose the minimum (diff)
downloadwireguard-openbsd-2bc62deca48d4e48b34ffa22cb9403b25aaa9c56.tar.xz
wireguard-openbsd-2bc62deca48d4e48b34ffa22cb9403b25aaa9c56.zip
Swap arguments to wdog_register() since it is nicer, and prepare
wdog_shutdown() for external usage.
Diffstat (limited to 'sys/dev/pci/tcpcib.c')
-rw-r--r--sys/dev/pci/tcpcib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/tcpcib.c b/sys/dev/pci/tcpcib.c
index 906f2354e19..3f8386c78db 100644
--- a/sys/dev/pci/tcpcib.c
+++ b/sys/dev/pci/tcpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpcib.c,v 1.3 2012/06/04 20:08:10 kettenis Exp $ */
+/* $OpenBSD: tcpcib.c,v 1.4 2012/10/17 22:32:01 deraadt Exp $ */
/*
* Copyright (c) 2012 Matt Dainty <matt@bodgit-n-scarper.com>
@@ -257,7 +257,7 @@ tcpcib_attach(struct device *parent, struct device *self, void *aux)
sc->sc_active |= E600_WDT_ACTIVE;
/* Register new watchdog */
- wdog_register(sc, tcpcib_wdt_cb);
+ wdog_register(tcpcib_wdt_cb, sc);
}
corepcib: