Module Name: src
Committed By: martin
Date: Sat Jan 9 13:34:34 UTC 2010
Modified Files:
src/sys/dev/pci: if_cas.c
Log Message:
adapt to recent pmf changes
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_cas.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/if_cas.c
diff -u src/sys/dev/pci/if_cas.c:1.1 src/sys/dev/pci/if_cas.c:1.2
--- src/sys/dev/pci/if_cas.c:1.1 Thu Jan 7 09:19:55 2010
+++ src/sys/dev/pci/if_cas.c Sat Jan 9 13:34:33 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cas.c,v 1.1 2010/01/07 09:19:55 jdc Exp $ */
+/* $NetBSD: if_cas.c,v 1.2 2010/01/09 13:34:33 martin Exp $ */
/* $OpenBSD: if_cas.c,v 1.29 2009/11/29 16:19:38 kettenis Exp $ */
/*
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.1 2010/01/07 09:19:55 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.2 2010/01/09 13:34:33 martin Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -117,8 +117,8 @@
static bool cas_estintr(struct cas_softc *sc);
bool cas_shutdown(device_t, int);
-static bool cas_suspend(device_t PMF_FN_PROTO);
-static bool cas_resume(device_t PMF_FN_PROTO);
+static bool cas_suspend(device_t, pmf_qual_t);
+static bool cas_resume(device_t, pmf_qual_t);
static int cas_detach(device_t, int);
static void cas_partial_detach(struct cas_softc *, enum cas_attach_stage);
@@ -1843,7 +1843,7 @@
}
static bool
-cas_suspend(device_t self PMF_FN_ARGS)
+cas_suspend(device_t self, pmf_qual_t qual)
{
struct cas_softc *sc = device_private(self);
@@ -1856,7 +1856,7 @@
}
static bool
-cas_resume(device_t self PMF_FN_ARGS)
+cas_resume(device_t self, pmf_qual_t qual)
{
struct cas_softc *sc = device_private(self);