aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_mbr.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2011-02-25 10:24:35 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2011-02-25 10:24:35 +0000
commitcb08c2cc8318d1efcb68303861ebb89f4f73c1f3 (patch)
tree9d3d4c4ac744558b0f121bc95130f956f192c80f /sys/geom/geom_mbr.c
parentde5b19526b7350b9c608ae4bf0bd80b91e51a5df (diff)
downloadsrc-cb08c2cc8318d1efcb68303861ebb89f4f73c1f3.tar.gz
src-cb08c2cc8318d1efcb68303861ebb89f4f73c1f3.zip
Add some FEATURE macros for various GEOM classes.
No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: silence on geom@ during 2 weeks X-MFC after: to be determined in last commit with code from this project
Notes
Notes: svn path=/head/; revision=219029
Diffstat (limited to 'sys/geom/geom_mbr.c')
-rw-r--r--sys/geom/geom_mbr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c
index 6b034ba833b5..6a736a74c4fc 100644
--- a/sys/geom/geom_mbr.c
+++ b/sys/geom/geom_mbr.c
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
#include <sys/errno.h>
#include <sys/endian.h>
#include <sys/systm.h>
+#include <sys/sysctl.h>
#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
@@ -50,6 +51,8 @@ __FBSDID("$FreeBSD$");
#include <geom/geom.h>
#include <geom/geom_slice.h>
+FEATURE(geom_mbr, "GEOM DOS/MBR partitioning support");
+
#define MBR_CLASS_NAME "MBR"
#define MBREXT_CLASS_NAME "MBREXT"