Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/atari/dev/fd.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/atari/dev/fd.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.77 retrieving revision 1.77.2.1 diff -u -p -r1.77 -r1.77.2.1 --- src/sys/arch/atari/dev/fd.c 2014/03/16 05:20:23 1.77 +++ src/sys/arch/atari/dev/fd.c 2014/08/10 06:53:52 1.77.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.77 2014/03/16 05:20:23 dholland Exp $ */ +/* $NetBSD: fd.c,v 1.77.2.1 2014/08/10 06:53:52 tls Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.77 2014/03/16 05:20:23 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.77.2.1 2014/08/10 06:53:52 tls Exp $"); #include #include @@ -286,6 +286,7 @@ const struct bdevsw fd_bdevsw = { .d_ioctl = fdioctl, .d_dump = nodump, .d_psize = nosize, + .d_discard = nodiscard, .d_flag = D_DISK }; @@ -300,6 +301,7 @@ const struct cdevsw fd_cdevsw = { .d_poll = nopoll, .d_mmap = nommap, .d_kqfilter = nokqfilter, + .d_discard = nodiscard, .d_flag = D_DISK };