diff options
| author | dyoung <dyoung@NetBSD.org> | 2010-01-08 19:42:11 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2010-01-08 19:42:11 +0000 |
| commit | 3022acc4ebf7a5c3545f58fd7331a36d9bf8ceff (patch) | |
| tree | d43714bdc50b85ebb5e632f14852378ff14b75b1 /sys/dev/ata | |
| parent | 69ebc5167fa8e8668bca4256e44ef437e234d30a (diff) | |
Expand PMF_FN_* macros.
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata.c | 12 | ||||
| -rw-r--r-- | sys/dev/ata/wd.c | 8 |
2 files changed, 10 insertions, 10 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); |
