summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev/hdfd.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-07-25 08:02:18 +0000
committerdholland <dholland@NetBSD.org>2014-07-25 08:02:18 +0000
commitda8feef99a1863b3cdff350f8a1a089d34d09185 (patch)
tree1c6c71186b1e535a1dc636a9188051e98bdd8561 /sys/arch/atari/dev/hdfd.c
parent1be6681b34110f97e344843acf115f2eaf591a2b (diff)
Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
Diffstat (limited to 'sys/arch/atari/dev/hdfd.c')
-rw-r--r--sys/arch/atari/dev/hdfd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/atari/dev/hdfd.c b/sys/arch/atari/dev/hdfd.c
index 1ddfd860e52..94932f77917 100644
--- a/sys/arch/atari/dev/hdfd.c
+++ b/sys/arch/atari/dev/hdfd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hdfd.c,v 1.76 2014/03/16 05:20:23 dholland Exp $ */
+/* $NetBSD: hdfd.c,v 1.77 2014/07/25 08:02:18 dholland Exp $ */
/*-
* Copyright (c) 1996 Leo Weppelman
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.76 2014/03/16 05:20:23 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.77 2014/07/25 08:02:18 dholland Exp $");
#include "opt_ddb.h"
@@ -292,6 +292,7 @@ const struct bdevsw fd_bdevsw = {
.d_ioctl = fdioctl,
.d_dump = nodump,
.d_psize = nosize,
+ .d_discard = nodiscard,
.d_flag = D_DISK
};