aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2019-08-16 18:57:32 +0000
committerBrooks Davis <brooks@FreeBSD.org>2019-08-16 18:57:32 +0000
commitdcb235ab9ef027324bde769d2fc0c4ea96eb5161 (patch)
tree3099986d77c93f1aa232dc7b70e57e615ab37c27 /sys/sys
parent0760b4c2420b0c501db1f96d118fa0c640dbf56f (diff)
downloadsrc-dcb235ab9ef027324bde769d2fc0c4ea96eb5161.tar.gz
src-dcb235ab9ef027324bde769d2fc0c4ea96eb5161.zip
md(4): remove the unused and unusable MDIOCLIST ioctl.
It is unused, the ABI was broken in r322969, and it is broken by design (more than MDNPAD md devices can exist and there is no way to retreive them with this interface). mdconfig(8) was converted to use libgeom to obtain this information in r157160 and any other consumers of MDIOCLIST should likewise be converted. Reviewed by: emaste Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18936
Notes
Notes: svn path=/head/; revision=351132
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/mdioctl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index eac81012bdfd..9e0b0c995341 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -64,7 +64,7 @@ struct md_ioctl {
int md_fwheads; /* firmware heads */
int md_fwsectors; /* firmware sectors */
char *md_label; /* label of the device */
- int md_pad[MDNPAD]; /* storage for MDIOCLIST */
+ int md_pad[MDNPAD]; /* padding */
};
#define MD_NAME "md"
@@ -81,7 +81,6 @@ struct md_ioctl {
#define MDIOCATTACH _IOWR('m', 0, struct md_ioctl) /* attach disk */
#define MDIOCDETACH _IOWR('m', 1, struct md_ioctl) /* detach disk */
#define MDIOCQUERY _IOWR('m', 2, struct md_ioctl) /* query status */
-#define MDIOCLIST _IOWR('m', 3, struct md_ioctl) /* query status */
#define MDIOCRESIZE _IOWR('m', 4, struct md_ioctl) /* resize disk */
#define MD_CLUSTER 0x01 /* Don't cluster */