Module Name: src
Committed By: dholland
Date: Fri Jul 25 08:34:48 UTC 2014
Modified Files:
src/sys/sys: dkio.h
Log Message:
Remove DIOCGDISCARDPARAMS and DIOCDISCARD.
(and their accompanying structures)
These have never been in a release, and so we don't need to keep them
for compat. And we don't want them in a release :-)
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/sys/dkio.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/dkio.h
diff -u src/sys/sys/dkio.h:1.18 src/sys/sys/dkio.h:1.19
--- src/sys/sys/dkio.h:1.18 Fri Oct 19 17:09:07 2012
+++ src/sys/sys/dkio.h Fri Jul 25 08:34:48 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: dkio.h,v 1.18 2012/10/19 17:09:07 drochner Exp $ */
+/* $NetBSD: dkio.h,v 1.19 2014/07/25 08:34:48 dholland Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@@ -109,15 +109,7 @@
#define DIOCTUR _IOR('d', 128, int) /* test unit ready */
-struct disk_discard_params {
- long maxsize; /* in DEV_BSIZE units */
-};
-#define DIOCGDISCARDPARAMS _IOR('d', 129, struct disk_discard_params)
-
-struct disk_discard_range {
- daddr_t bno;
- long size;
-};
-#define DIOCDISCARD _IOW('d', 130, struct disk_discard_range)
+/* 129 was DIOCGDISCARDPARAMS during 6.99 */
+/* 130 was DIOCDISCARD during 6.99 */
#endif /* _SYS_DKIO_H_ */