summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2010-01-08 19:42:11 +0000
committerdyoung <dyoung@NetBSD.org>2010-01-08 19:42:11 +0000
commit3022acc4ebf7a5c3545f58fd7331a36d9bf8ceff (patch)
treed43714bdc50b85ebb5e632f14852378ff14b75b1 /sys/dev
parent69ebc5167fa8e8668bca4256e44ef437e234d30a (diff)
Expand PMF_FN_* macros.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/ata.c12
-rw-r--r--sys/dev/ata/wd.c8
-rw-r--r--sys/dev/cardbus/cardbus.c8
-rw-r--r--sys/dev/cardbus/ehci_cardbus.c12
-rw-r--r--sys/dev/cardbus/if_ath_cardbus.c8
-rw-r--r--sys/dev/cardbus/if_atw_cardbus.c14
-rw-r--r--sys/dev/cardbus/if_rtw_cardbus.c16
-rw-r--r--sys/dev/cardbus/siisata_cardbus.c6
-rw-r--r--sys/dev/gpio/gpio.c8
-rw-r--r--sys/dev/wscons/wsdisplay.c8
-rw-r--r--sys/dev/wscons/wskbd.c8
-rw-r--r--sys/dev/wsfb/genfbvar.h8
12 files changed, 58 insertions, 58 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index c19476d8be9..8084724ad70 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ata.c,v 1.109 2009/11/12 19:20:08 dyoung Exp $ */
+/* $NetBSD: ata.c,v 1.110 2010/01/08 19:48:11 dyoung Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.109 2009/11/12 19:20:08 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.110 2010/01/08 19:48:11 dyoung Exp $");
#include "opt_ata.h"
@@ -106,8 +106,8 @@ const struct cdevsw atabus_cdevsw = {
extern struct cfdriver atabus_cd;
static void atabus_childdetached(device_t, device_t);
-static bool atabus_resume(device_t PMF_FN_PROTO);
-static bool atabus_suspend(device_t PMF_FN_PROTO);
+static bool atabus_resume(device_t, pmf_qual_t);
+static bool atabus_suspend(device_t, pmf_qual_t);
static void atabusconfig_thread(void *);
/*
@@ -1525,7 +1525,7 @@ atabusioctl(dev_t dev, u_long cmd, void *addr, int flag,
};
static bool
-atabus_suspend(device_t dv PMF_FN_ARGS)
+atabus_suspend(device_t dv, pmf_qual_t qual)
{
struct atabus_softc *sc = device_private(dv);
struct ata_channel *chp = sc->sc_chan;
@@ -1536,7 +1536,7 @@ atabus_suspend(device_t dv PMF_FN_ARGS)
}
static bool
-atabus_resume(device_t dv PMF_FN_ARGS)
+atabus_resume(device_t dv, pmf_qual_t qual)
{
struct atabus_softc *sc = device_private(dv);
struct ata_channel *chp = sc->sc_chan;
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index db807947f29..e4a7282ddca 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.380 2009/12/17 21:03:10 bouyer Exp $ */
+/* $NetBSD: wd.c,v 1.381 2010/01/08 19:48:12 dyoung Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.380 2009/12/17 21:03:10 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.381 2010/01/08 19:48:12 dyoung Exp $");
#include "opt_ata.h"
@@ -126,7 +126,7 @@ int wdprint(void *, char *);
void wdperror(const struct wd_softc *);
static int wdlastclose(device_t);
-static bool wd_suspend(device_t PMF_FN_PROTO);
+static bool wd_suspend(device_t, pmf_qual_t);
static int wd_standby(struct wd_softc *, int);
CFATTACH_DECL3_NEW(wd, sizeof(struct wd_softc),
@@ -394,7 +394,7 @@ wdattach(device_t parent, device_t self, void *aux)
}
static bool
-wd_suspend(device_t dv PMF_FN_ARGS)
+wd_suspend(device_t dv, pmf_qual_t qual)
{
struct wd_softc *sc = device_private(dv);
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 6899d6909ff..f3b9aebb064 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cardbus.c,v 1.98 2009/12/15 22:17:12 snj Exp $ */
+/* $NetBSD: cardbus.c,v 1.99 2010/01/08 19:47:42 dyoung Exp $ */
/*
* Copyright (c) 1997, 1998, 1999 and 2000
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.98 2009/12/15 22:17:12 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.99 2010/01/08 19:47:42 dyoung Exp $");
#include "opt_cardbus.h"
@@ -1166,7 +1166,7 @@ struct cardbus_child_power {
};
static bool
-cardbus_child_suspend(device_t dv PMF_FN_ARGS)
+cardbus_child_suspend(device_t dv, pmf_qual_t qual)
{
struct cardbus_child_power *priv = device_pmf_bus_private(dv);
@@ -1186,7 +1186,7 @@ cardbus_child_suspend(device_t dv PMF_FN_ARGS)
}
static bool
-cardbus_child_resume(device_t dv PMF_FN_ARGS)
+cardbus_child_resume(device_t dv, pmf_qual_t qual)
{
struct cardbus_child_power *priv = device_pmf_bus_private(dv);
diff --git a/sys/dev/cardbus/ehci_cardbus.c b/sys/dev/cardbus/ehci_cardbus.c
index 1ef1586cec3..385edc5ccb3 100644
--- a/sys/dev/cardbus/ehci_cardbus.c
+++ b/sys/dev/cardbus/ehci_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_cardbus.c,v 1.23 2009/05/12 12:11:17 cegger Exp $ */
+/* $NetBSD: ehci_cardbus.c,v 1.24 2010/01/08 19:47:42 dyoung Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_cardbus.c,v 1.23 2009/05/12 12:11:17 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_cardbus.c,v 1.24 2010/01/08 19:47:42 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -102,9 +102,9 @@ ehci_cardbus_match(device_t parent, cfdata_t match, void *aux)
}
static bool
-ehci_cardbus_suspend(device_t dv PMF_FN_ARGS)
+ehci_cardbus_suspend(device_t dv, pmf_qual_t qual)
{
- ehci_suspend(dv PMF_FN_CALL);
+ ehci_suspend(dv, qual);
#if 0
struct ehci_cardbus_softc *sc = device_private(dv);
ehci_release_ownership(&sc->sc, sc->sc_pc, sc->sc_tag);
@@ -114,13 +114,13 @@ ehci_cardbus_suspend(device_t dv PMF_FN_ARGS)
}
static bool
-ehci_cardbus_resume(device_t dv PMF_FN_ARGS)
+ehci_cardbus_resume(device_t dv, pmf_qual_t qual)
{
#if 0
struct ehci_cardbus_softc *sc = device_private(dv);
ehci_get_ownership(&sc->sc, sc->sc_pc, sc->sc_tag);
#endif
- return ehci_resume(dv PMF_FN_CALL);
+ return ehci_resume(dv, qual);
}
void
diff --git a/sys/dev/cardbus/if_ath_cardbus.c b/sys/dev/cardbus/if_ath_cardbus.c
index 9cddc18c127..a31a4834a32 100644
--- a/sys/dev/cardbus/if_ath_cardbus.c
+++ b/sys/dev/cardbus/if_ath_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ath_cardbus.c,v 1.36 2009/10/21 14:15:52 rmind Exp $ */
+/* $NetBSD: if_ath_cardbus.c,v 1.37 2010/01/08 19:47:42 dyoung Exp $ */
/*
* Copyright (c) 2003
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ath_cardbus.c,v 1.36 2009/10/21 14:15:52 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ath_cardbus.c,v 1.37 2010/01/08 19:47:42 dyoung Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -114,7 +114,7 @@ CFATTACH_DECL_NEW(ath_cardbus, sizeof(struct ath_cardbus_softc),
void ath_cardbus_setup(struct ath_cardbus_softc *);
static bool
-ath_cardbus_suspend(device_t self PMF_FN_ARGS)
+ath_cardbus_suspend(device_t self, pmf_qual_t qual)
{
struct ath_cardbus_softc *csc = device_private(self);
@@ -128,7 +128,7 @@ ath_cardbus_suspend(device_t self PMF_FN_ARGS)
}
static bool
-ath_cardbus_resume(device_t self PMF_FN_ARGS)
+ath_cardbus_resume(device_t self, pmf_qual_t qual)
{
struct ath_cardbus_softc *csc = device_private(self);
diff --git a/sys/dev/cardbus/if_atw_cardbus.c b/sys/dev/cardbus/if_atw_cardbus.c
index 78a70331493..2b293abe750 100644
--- a/sys/dev/cardbus/if_atw_cardbus.c
+++ b/sys/dev/cardbus/if_atw_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_atw_cardbus.c,v 1.27 2009/09/16 16:34:50 dyoung Exp $ */
+/* $NetBSD: if_atw_cardbus.c,v 1.28 2010/01/08 19:47:42 dyoung Exp $ */
/*-
* Copyright (c) 1999, 2000, 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_atw_cardbus.c,v 1.27 2009/09/16 16:34:50 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_atw_cardbus.c,v 1.28 2010/01/08 19:47:42 dyoung Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -122,8 +122,8 @@ CFATTACH_DECL3_NEW(atw_cardbus, sizeof(struct atw_cardbus_softc),
static void atw_cardbus_setup(struct atw_cardbus_softc *);
-static bool atw_cardbus_suspend(device_t PMF_FN_PROTO);
-static bool atw_cardbus_resume(device_t PMF_FN_PROTO);
+static bool atw_cardbus_suspend(device_t, pmf_qual_t);
+static bool atw_cardbus_resume(device_t, pmf_qual_t);
static const struct atw_cardbus_product *atw_cardbus_lookup
(const struct cardbus_attach_args *);
@@ -327,7 +327,7 @@ atw_cardbus_detach(device_t self, int flags)
}
static bool
-atw_cardbus_resume(device_t self PMF_FN_ARGS)
+atw_cardbus_resume(device_t self, pmf_qual_t qual)
{
struct atw_cardbus_softc *csc = device_private(self);
struct atw_softc *sc = &csc->sc_atw;
@@ -349,7 +349,7 @@ atw_cardbus_resume(device_t self PMF_FN_ARGS)
}
static bool
-atw_cardbus_suspend(device_t self PMF_FN_ARGS)
+atw_cardbus_suspend(device_t self, pmf_qual_t qual)
{
struct atw_cardbus_softc *csc = device_private(self);
cardbus_devfunc_t ct = csc->sc_ct;
@@ -360,7 +360,7 @@ atw_cardbus_suspend(device_t self PMF_FN_ARGS)
cardbus_intr_disestablish(cc, cf, csc->sc_ih);
csc->sc_ih = NULL;
- return atw_suspend(self PMF_FN_CALL);
+ return atw_suspend(self, qual);
}
static void
diff --git a/sys/dev/cardbus/if_rtw_cardbus.c b/sys/dev/cardbus/if_rtw_cardbus.c
index a7ffe6a1b94..14c29d29384 100644
--- a/sys/dev/cardbus/if_rtw_cardbus.c
+++ b/sys/dev/cardbus/if_rtw_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rtw_cardbus.c,v 1.32 2009/10/19 23:19:39 rmind Exp $ */
+/* $NetBSD: if_rtw_cardbus.c,v 1.33 2010/01/08 19:47:42 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtw_cardbus.c,v 1.32 2009/10/19 23:19:39 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtw_cardbus.c,v 1.33 2010/01/08 19:47:42 dyoung Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -146,8 +146,8 @@ CFATTACH_DECL_NEW(rtw_cardbus, sizeof(struct rtw_cardbus_softc),
void rtw_cardbus_setup(struct rtw_cardbus_softc *);
-bool rtw_cardbus_resume(device_t PMF_FN_PROTO);
-bool rtw_cardbus_suspend(device_t PMF_FN_PROTO);
+bool rtw_cardbus_resume(device_t, pmf_qual_t);
+bool rtw_cardbus_suspend(device_t, pmf_qual_t);
const struct rtw_cardbus_product *rtw_cardbus_lookup(
const struct cardbus_attach_args *);
@@ -338,7 +338,7 @@ rtw_cardbus_detach(device_t self, int flags)
}
bool
-rtw_cardbus_resume(device_t self PMF_FN_ARGS)
+rtw_cardbus_resume(device_t self, pmf_qual_t qual)
{
struct rtw_cardbus_softc *csc = device_private(self);
struct rtw_softc *sc = &csc->sc_rtw;
@@ -362,11 +362,11 @@ rtw_cardbus_resume(device_t self PMF_FN_ARGS)
RTW_WRITE(&sc->sc_regs, RTW_FEMR, RTW_FEMR_INTR);
RTW_WRITE(&sc->sc_regs, RTW_FER, RTW_FER_INTR);
- return rtw_resume(self PMF_FN_CALL);
+ return rtw_resume(self, qual);
}
bool
-rtw_cardbus_suspend(device_t self PMF_FN_ARGS)
+rtw_cardbus_suspend(device_t self, pmf_qual_t qual)
{
struct rtw_cardbus_softc *csc = device_private(self);
struct rtw_softc *sc = &csc->sc_rtw;
@@ -374,7 +374,7 @@ rtw_cardbus_suspend(device_t self PMF_FN_ARGS)
cardbus_chipset_tag_t cc = ct->ct_cc;
cardbus_function_tag_t cf = ct->ct_cf;
- if (!rtw_suspend(self PMF_FN_CALL))
+ if (!rtw_suspend(self, qual))
return false;
RTW_WRITE(&sc->sc_regs, RTW_FEMR,
diff --git a/sys/dev/cardbus/siisata_cardbus.c b/sys/dev/cardbus/siisata_cardbus.c
index 4042c7c00f8..6f67ccf42a8 100644
--- a/sys/dev/cardbus/siisata_cardbus.c
+++ b/sys/dev/cardbus/siisata_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata_cardbus.c,v 1.2 2009/10/19 18:41:12 bouyer Exp $ */
+/* $NetBSD: siisata_cardbus.c,v 1.3 2010/01/08 19:47:42 dyoung Exp $ */
/* Id: siisata_pci.c,v 1.11 2008/05/21 16:20:11 jakllsch Exp */
/*
@@ -83,7 +83,7 @@ struct siisata_cardbus_softc {
static int siisata_cardbus_match(device_t, cfdata_t, void *);
static void siisata_cardbus_attach(device_t, device_t, void *);
static int siisata_cardbus_detach(device_t, int);
-static bool siisata_cardbus_resume(device_t PMF_FN_PROTO);
+static bool siisata_cardbus_resume(device_t, pmf_qual_t);
static const struct siisata_cardbus_product {
cardbus_vendor_id_t scp_vendor;
@@ -297,7 +297,7 @@ siisata_cardbus_detach(device_t self, int flags)
}
static bool
-siisata_cardbus_resume(device_t dv PMF_FN_ARGS)
+siisata_cardbus_resume(device_t dv, pmf_qual_t qual)
{
struct siisata_cardbus_softc *csc = device_private(dv);
struct siisata_softc *sc = &csc->si_sc;
diff --git a/sys/dev/gpio/gpio.c b/sys/dev/gpio/gpio.c
index b694fee4cb2..2d3ea000c30 100644
--- a/sys/dev/gpio/gpio.c
+++ b/sys/dev/gpio/gpio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.29 2009/11/05 18:20:40 dyoung Exp $ */
+/* $NetBSD: gpio.c,v 1.30 2010/01/08 19:48:18 dyoung Exp $ */
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.29 2009/11/05 18:20:40 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.30 2010/01/08 19:48:18 dyoung Exp $");
/*
* General Purpose Input/Output framework.
@@ -66,7 +66,7 @@ int gpio_submatch(device_t, cfdata_t, const int *, void *);
void gpio_attach(device_t, device_t, void *);
int gpio_rescan(device_t, const char *, const int *);
void gpio_childdetached(device_t, device_t);
-bool gpio_resume(device_t PMF_FN_PROTO);
+bool gpio_resume(device_t, pmf_qual_t);
int gpio_detach(device_t, int);
int gpio_search(device_t, cfdata_t, const int *, void *);
int gpio_print(void *, const char *);
@@ -108,7 +108,7 @@ gpio_submatch(device_t parent, cfdata_t cf, const int *ip, void *aux)
}
bool
-gpio_resume(device_t self PMF_FN_ARGS)
+gpio_resume(device_t self, pmf_qual_t qual)
{
struct gpio_softc *sc = device_private(self);
int pin;
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index 522c8a18bd1..05246007a3a 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplay.c,v 1.126 2009/01/22 20:40:20 drochner Exp $ */
+/* $NetBSD: wsdisplay.c,v 1.127 2010/01/08 19:51:11 dyoung Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.126 2009/01/22 20:40:20 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.127 2010/01/08 19:51:11 dyoung Exp $");
#include "opt_wsdisplay_compat.h"
#include "opt_wsmsgattrs.h"
@@ -166,7 +166,7 @@ static int wsdisplay_emul_match(device_t , cfdata_t, void *);
static void wsdisplay_emul_attach(device_t, device_t, void *);
static int wsdisplay_noemul_match(device_t, cfdata_t, void *);
static void wsdisplay_noemul_attach(device_t, device_t, void *);
-static bool wsdisplay_suspend(device_t PMF_FN_PROTO);
+static bool wsdisplay_suspend(device_t, pmf_qual_t);
CFATTACH_DECL_NEW(wsdisplay_emul, sizeof (struct wsdisplay_softc),
wsdisplay_emul_match, wsdisplay_emul_attach, NULL, NULL);
@@ -677,7 +677,7 @@ wsdisplay_handlex(int resume)
}
static bool
-wsdisplay_suspend(device_t dv PMF_FN_ARGS)
+wsdisplay_suspend(device_t dv, pmf_qual_t qual)
{
struct wsdisplay_softc *sc = device_private(dv);
#ifdef DIAGNOSTIC
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index 680de10df6b..1a0fb5b78d2 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.122 2009/01/15 04:22:11 yamt Exp $ */
+/* $NetBSD: wskbd.c,v 1.123 2010/01/08 19:51:11 dyoung Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.122 2009/01/15 04:22:11 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.123 2010/01/08 19:51:11 dyoung Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -347,7 +347,7 @@ struct wssrcops wskbd_srcops = {
};
#endif
-static bool wskbd_suspend(device_t dv PMF_FN_PROTO);
+static bool wskbd_suspend(device_t dv, pmf_qual_t);
static void wskbd_repeat(void *v);
static int wskbd_console_initted;
@@ -505,7 +505,7 @@ wskbd_attach(device_t parent, device_t self, void *aux)
}
static bool
-wskbd_suspend(device_t dv PMF_FN_ARGS)
+wskbd_suspend(device_t dv, pmf_qual_t qual)
{
struct wskbd_softc *sc = device_private(dv);
diff --git a/sys/dev/wsfb/genfbvar.h b/sys/dev/wsfb/genfbvar.h
index 0f15d73bea8..f235aa59a3f 100644
--- a/sys/dev/wsfb/genfbvar.h
+++ b/sys/dev/wsfb/genfbvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: genfbvar.h,v 1.11 2009/08/24 11:03:44 jmcneill Exp $ */
+/* $NetBSD: genfbvar.h,v 1.12 2010/01/08 19:51:11 dyoung Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfbvar.h,v 1.11 2009/08/24 11:03:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfbvar.h,v 1.12 2010/01/08 19:51:11 dyoung Exp $");
#ifndef GENFBVAR_H
#define GENFBVAR_H
@@ -57,8 +57,8 @@ struct genfb_colormap_callback {
};
struct genfb_pmf_callback {
- bool (*gpc_suspend)(device_t PMF_FN_PROTO);
- bool (*gpc_resume)(device_t PMF_FN_PROTO);
+ bool (*gpc_suspend)(device_t, pmf_qual_t);
+ bool (*gpc_resume)(device_t, pmf_qual_t);
};
struct genfb_softc {