Use dynamic major number allocation.

This commit is contained in:
Poul-Henning Kamp 2005-02-27 22:00:45 +00:00
parent 2818293bf5
commit 78e253c8d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142705
2 changed files with 0 additions and 3 deletions

View File

@ -20,7 +20,6 @@
#
#maj name comments
1 *ctty /dev/tty
2 *mm /dev/mem,kmem,etc
4 *geom GEOMetry
5 *pts pseudo tty "tty" half
6 *ptc pseudo tty "master" half

View File

@ -348,7 +348,6 @@ static d_read_t devread;
static d_ioctl_t devioctl;
static d_poll_t devpoll;
#define CDEV_MAJOR 173
static struct cdevsw dev_cdevsw = {
.d_version = D_VERSION,
.d_flags = D_NEEDGIANT,
@ -358,7 +357,6 @@ static struct cdevsw dev_cdevsw = {
.d_ioctl = devioctl,
.d_poll = devpoll,
.d_name = "devctl",
.d_maj = CDEV_MAJOR,
};
struct dev_event_info