Use dynamic major number allocation.
This commit is contained in:
parent
80602ed932
commit
4db0fda84e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142720
@ -41,7 +41,6 @@
|
||||
74 *ccd concatenated disk
|
||||
76 scc IBM Smart Capture Card (ohashi@mickey.ai.kyutech.ac.jp)
|
||||
77 - -
|
||||
79 *ipl IP Filter
|
||||
80 xdcp Assigned to Chris Ficklin <chris@serengeti.com>
|
||||
83 can CAN16-2 CAN-PC Interface
|
||||
84 dtfp Datum Time and Frequency processor (louie@UU.NET)
|
||||
|
@ -103,7 +103,6 @@ SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttl, CTLFLAG_RW, &fr_minttl, 0, "");
|
||||
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttllog, CTLFLAG_RW,
|
||||
&fr_minttllog, 0, "");
|
||||
|
||||
#define CDEV_MAJOR 79
|
||||
static struct cdevsw ipl_cdevsw = {
|
||||
.d_version = D_VERSION,
|
||||
.d_flags = 0,
|
||||
@ -112,7 +111,6 @@ static struct cdevsw ipl_cdevsw = {
|
||||
.d_read = iplread,
|
||||
.d_ioctl = iplioctl,
|
||||
.d_name = "ipl",
|
||||
.d_maj = CDEV_MAJOR,
|
||||
};
|
||||
|
||||
#if (__FreeBSD_version >= 500000)
|
||||
|
@ -61,7 +61,6 @@ static struct cdevsw ast_cdevsw = {
|
||||
.d_ioctl = ast_ioctl,
|
||||
.d_strategy = ast_strategy,
|
||||
.d_name = "ast",
|
||||
.d_maj = 119,
|
||||
.d_flags = D_TAPE | D_TRACKCLOSE,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user