Use automatic major number allocation for nsmb devices.
This commit is contained in:
parent
9c24bed2d9
commit
fd13f79252
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125706
@ -90,8 +90,7 @@ static struct cdevsw nsmb_cdevsw = {
|
||||
.d_open = nsmb_dev_open,
|
||||
.d_close = nsmb_dev_close,
|
||||
.d_ioctl = nsmb_dev_ioctl,
|
||||
.d_name = NSMB_NAME,
|
||||
.d_maj = NSMB_MAJOR,
|
||||
.d_name = NSMB_NAME
|
||||
};
|
||||
|
||||
static eventhandler_tag nsmb_dev_tag;
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include <netsmb/smb.h>
|
||||
|
||||
#define NSMB_NAME "nsmb"
|
||||
#define NSMB_MAJOR 144
|
||||
|
||||
#define NSMB_VERMAJ 1
|
||||
#define NSMB_VERMIN 3006
|
||||
|
Loading…
Reference in New Issue
Block a user