diff options
author | phk <phk@FreeBSD.org> | 2003-02-21 19:00:48 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-21 19:00:48 +0000 |
commit | 02e550fabbccfb3ee4ca8b767f672f042bce9239 (patch) | |
tree | 0a783f7251946cbeba07417df9c459d72a6aa14e /sys/kern/subr_xxx.c | |
parent | c6646c2f7da7d39f3506c8ff46b821f065dc318f (diff) | |
download | FreeBSD-src-02e550fabbccfb3ee4ca8b767f672f042bce9239.zip FreeBSD-src-02e550fabbccfb3ee4ca8b767f672f042bce9239.tar.gz |
NO_GEOM cleanup:
Retire the "d_dump_t" and use the "dumper_t" type instead.
Dumper_t takes a void * as first arg which is more general than the
dev_t taken by d_dump_t. (Remember: we could have net-dumpers if
somebody wrote us one!)
Define the convention for GEOM controlled disk devices to be that the
first argument to the dumper function is the struct disk pointer.
Change device drivers accordingly.
Diffstat (limited to 'sys/kern/subr_xxx.c')
-rw-r--r-- | sys/kern/subr_xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_xxx.c b/sys/kern/subr_xxx.c index c9d2676..6730bc7 100644 --- a/sys/kern/subr_xxx.c +++ b/sys/kern/subr_xxx.c @@ -143,7 +143,7 @@ nommap(dev, offset, nprot) } int -nodump(dev_t dev, void *virtual __unused, vm_offset_t physical __unused, off_t offset __unused, size_t length __unused) +nodump(void *arg, void *virtual __unused, vm_offset_t physical __unused, off_t offset __unused, size_t length __unused) { return (ENODEV); |