diff options
author | tjr <tjr@FreeBSD.org> | 2004-02-11 13:31:30 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-02-11 13:31:30 +0000 |
commit | 65e2a4b5fb3b06b5ce253f7412fece02e2cc37c7 (patch) | |
tree | 4c7017dab18a478b48a0758a2063e7c0dabeaa18 /sys | |
parent | cabb18f35e3d90d1c197cd119afff47008c62df3 (diff) | |
download | FreeBSD-src-65e2a4b5fb3b06b5ce253f7412fece02e2cc37c7.zip FreeBSD-src-65e2a4b5fb3b06b5ce253f7412fece02e2cc37c7.tar.gz |
Use automatic major number allocation for the nfs4 device instead of
stealing #29, which is already reserved for mcd.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfs4client/nfs4_dev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfs4client/nfs4_dev.c b/sys/nfs4client/nfs4_dev.c index 09c9d57..25f71f7a 100644 --- a/sys/nfs4client/nfs4_dev.c +++ b/sys/nfs4client/nfs4_dev.c @@ -47,7 +47,6 @@ #endif #define NFS4DEV_NAME "nfs4" -#define CDEV_MAJOR 29 /* XXX where are these numbers assigned!?!? */ #define CDEV_MINOR 1 MALLOC_DEFINE(M_NFS4DEV, "NFS4 dev", "NFS4 device"); @@ -99,8 +98,7 @@ static struct cdevsw nfs4dev_cdevsw = { .d_close = nfs4dev_close, .d_ioctl = nfs4dev_ioctl, .d_poll = nfs4dev_poll, - .d_name = NFS4DEV_NAME, - .d_maj = CDEV_MAJOR + .d_name = NFS4DEV_NAME }; static int nfs4dev_reply(caddr_t); |