diff options
author | phk <phk@FreeBSD.org> | 2005-02-27 22:19:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-27 22:19:35 +0000 |
commit | 6fb2ef6eec9d3637f4436728c612ab502c89335d (patch) | |
tree | 39c7fde172b7234d490090fef4bac37190a356d4 /sys | |
parent | 86647b4b469f2825849feba3b5edbdcfcd9fb96e (diff) | |
download | FreeBSD-src-6fb2ef6eec9d3637f4436728c612ab502c89335d.zip FreeBSD-src-6fb2ef6eec9d3637f4436728c612ab502c89335d.tar.gz |
Use dynamic major number allocation.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/majors | 1 | ||||
-rw-r--r-- | sys/contrib/ipfilter/netinet/mlfk_ipl.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/atapi-tape.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/sys/conf/majors b/sys/conf/majors index 74c15420..b3c6257 100644 --- a/sys/conf/majors +++ b/sys/conf/majors @@ -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) diff --git a/sys/contrib/ipfilter/netinet/mlfk_ipl.c b/sys/contrib/ipfilter/netinet/mlfk_ipl.c index 2644d24e..dc5a1c8 100644 --- a/sys/contrib/ipfilter/netinet/mlfk_ipl.c +++ b/sys/contrib/ipfilter/netinet/mlfk_ipl.c @@ -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) diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 654925f..827edec 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -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, }; |