diff options
author | phk <phk@FreeBSD.org> | 2003-01-30 19:55:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-30 19:55:19 +0000 |
commit | 8fe9dd24e05669b545bdaf81f691a5000f652f44 (patch) | |
tree | 373ede7fec4ce442e23d1c070afd5fc3f1008852 /sys/geom/geom_disk.c | |
parent | 51c52f200071e8211bd4802fde74ff83aa403fdb (diff) | |
download | FreeBSD-src-8fe9dd24e05669b545bdaf81f691a5000f652f44.zip FreeBSD-src-8fe9dd24e05669b545bdaf81f691a5000f652f44.tar.gz |
NO_GEOM cleanup: Remove sys/disklabel.h include.
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index f337b37..bbc6bf5 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -44,7 +44,6 @@ #include <sys/bio.h> #include <sys/conf.h> #include <sys/disk.h> -#include <sys/disklabel.h> #include <sys/malloc.h> #include <sys/sysctl.h> #include <sys/stdint.h> @@ -275,7 +274,7 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, void *u dp->d_devsw = cdevsw; dev->si_devsw = cdevsw; dev->si_disk = dp; - dev->si_udev = dkmakeminor(unit, 1, RAW_PART); + dev->si_udev = 0x10002; /* XXX: Needed ? */ sprintf(dev->si_name, "%s%d", cdevsw->d_name, unit); g_call_me(g_disk_create, dev); return (dev); |