Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Remove DIOCGDISCARDPARAMS and DIOCDISCARD.
details: https://anonhg.NetBSD.org/src/rev/11109664ac7b
branches: trunk
changeset: 330918:11109664ac7b
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Jul 25 08:34:48 2014 +0000
description:
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 :-)
diffstat:
sys/sys/dkio.h | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (27 lines):
diff -r 32fb684a2a7e -r 11109664ac7b sys/sys/dkio.h
--- a/sys/sys/dkio.h Fri Jul 25 08:34:27 2014 +0000
+++ b/sys/sys/dkio.h Fri Jul 25 08:34:48 2014 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index