summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/iodev.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-06-25 07:45:31 +0000
committered <ed@FreeBSD.org>2008-06-25 07:45:31 +0000
commit4d6a9685e8a4a864a7a0b2834a1ff65f9ae5057e (patch)
treed7a1f0b5cfb00def7769c305e55c9adbdafce4cf /sys/amd64/include/iodev.h
parent909623359d0d40228b1f8e4cf4c452b38b96b458 (diff)
downloadFreeBSD-src-4d6a9685e8a4a864a7a0b2834a1ff65f9ae5057e.zip
FreeBSD-src-4d6a9685e8a4a864a7a0b2834a1ff65f9ae5057e.tar.gz
Remove the unused major/minor numbers from iodev and memdev.
Now that st_rdev is being automatically generated by the kernel, there is no need to define static major/minor numbers for the iodev and memdev. We still need the minor numbers for the memdev, however, to distinguish between /dev/mem and /dev/kmem. Approved by: philip (mentor)
Diffstat (limited to 'sys/amd64/include/iodev.h')
-rw-r--r--sys/amd64/include/iodev.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/amd64/include/iodev.h b/sys/amd64/include/iodev.h
index 2273620..4b35d8b 100644
--- a/sys/amd64/include/iodev.h
+++ b/sys/amd64/include/iodev.h
@@ -26,8 +26,5 @@
* $FreeBSD$
*/
-#define CDEV_MAJOR 2
-#define CDEV_MINOR_IO 14
-
d_open_t ioopen;
d_close_t ioclose;
OpenPOWER on IntegriCloud