summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_int.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-25 12:28:28 +0000
committerphk <phk@FreeBSD.org>2004-10-25 12:28:28 +0000
commitfc5bad60e31b8b7d21725afcdfab9248e186e63e (patch)
treebdfa3c5ec43e03279b38b02fdb188d630496b697 /sys/geom/geom_int.h
parent064b8877b84ec93ec3a85a6146366249ecb3e94e (diff)
downloadFreeBSD-src-fc5bad60e31b8b7d21725afcdfab9248e186e63e.zip
FreeBSD-src-fc5bad60e31b8b7d21725afcdfab9248e186e63e.tar.gz
Use unit number allocation functions for GEOM minor numbers.
Diffstat (limited to 'sys/geom/geom_int.h')
-rw-r--r--sys/geom/geom_int.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/geom/geom_int.h b/sys/geom/geom_int.h
index 39b3f10..cb69df3 100644
--- a/sys/geom/geom_int.h
+++ b/sys/geom/geom_int.h
@@ -51,14 +51,6 @@ extern int g_debugflags;
#define G_F_DISKIOCTL 64
#define G_F_CTLDUMP 128
-/*
- * We actually have a number of drivers sharing the same major number
- * so we coordinate the major/minor usage here
- */
-#define GEOM_MAJOR 4
-#define GEOM_MINOR_STATS 0
-#define GEOM_MINOR_PROVIDERS 10
-
/* geom_dump.c */
void g_confxml(void *, int flag);
void g_conf_specific(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp);
OpenPOWER on IntegriCloud