aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mdioctl.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-04-09 11:59:29 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-04-09 11:59:29 +0000
commit4e8bfe148260702a6d750c239434e43a3a47a40c (patch)
treef2b382b11837e511915f6b395f4e2822271ab31b /sys/sys/mdioctl.h
parentce5b934709be8dc766eac9401f19a012315cd53f (diff)
downloadsrc-4e8bfe148260702a6d750c239434e43a3a47a40c.tar.gz
src-4e8bfe148260702a6d750c239434e43a3a47a40c.zip
Add a couple of undocumented test options to MD(4) to aid in regression
testting of GEOM.
Notes
Notes: svn path=/head/; revision=113289
Diffstat (limited to 'sys/sys/mdioctl.h')
-rw-r--r--sys/sys/mdioctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index 89b95221f89c..3ba206b6aa9a 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -53,7 +53,7 @@ enum md_types {MD_MALLOC, MD_PRELOAD, MD_VNODE, MD_SWAP};
* Ioctl definitions for memory disk pseudo-device.
*/
-#define MDNPAD 99
+#define MDNPAD 97
struct md_ioctl {
unsigned md_version; /* Structure layout version */
unsigned md_unit; /* unit number */
@@ -63,6 +63,8 @@ struct md_ioctl {
unsigned md_options; /* options */
u_int64_t md_base; /* base address */
int md_secsize; /* sectorsize */
+ int md_fwheads; /* firmware heads */
+ int md_fwsectors; /* firmware sectors */
int md_pad[MDNPAD]; /* padding for future ideas */
};