mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Use dynamic major number allocation.
This commit is contained in:
parent
2818293bf5
commit
78e253c8d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142705
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user