diff options
author | ed <ed@FreeBSD.org> | 2008-06-25 07:45:31 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-06-25 07:45:31 +0000 |
commit | 4d6a9685e8a4a864a7a0b2834a1ff65f9ae5057e (patch) | |
tree | d7a1f0b5cfb00def7769c305e55c9adbdafce4cf /sys/mips/include | |
parent | 909623359d0d40228b1f8e4cf4c452b38b96b458 (diff) | |
download | FreeBSD-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/mips/include')
-rw-r--r-- | sys/mips/include/iodev.h | 3 | ||||
-rw-r--r-- | sys/mips/include/memdev.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/mips/include/iodev.h b/sys/mips/include/iodev.h index 2273620..4b35d8b 100644 --- a/sys/mips/include/iodev.h +++ b/sys/mips/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; diff --git a/sys/mips/include/memdev.h b/sys/mips/include/memdev.h index 6a7e9ed..2872fb0 100644 --- a/sys/mips/include/memdev.h +++ b/sys/mips/include/memdev.h @@ -27,7 +27,6 @@ * $FreeBSD$ */ -#define CDEV_MAJOR 2 #define CDEV_MINOR_MEM 0 #define CDEV_MINOR_KMEM 1 |