aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/part/g_part_bsd.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/part/g_part_bsd.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/part/g_part_bsd.c')
-rw-r--r--sys/geom/part/g_part_bsd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/part/g_part_bsd.c b/sys/geom/part/g_part_bsd.c
index e51a22ff35c1..61fe89a41411 100644
--- a/sys/geom/part/g_part_bsd.c
+++ b/sys/geom/part/g_part_bsd.c
@@ -40,11 +40,14 @@ __FBSDID("$FreeBSD$");
#include <sys/queue.h>
#include <sys/sbuf.h>
#include <sys/systm.h>
+#include <sys/sysctl.h>
#include <geom/geom.h>
#include <geom/part/g_part.h>
#include "g_part_if.h"
+FEATURE(geom_part_bsd, "GEOM partitioning class for BSD disklabels");
+
struct g_part_bsd_table {
struct g_part_table base;
u_char *bbarea;