diff options
author | phk <phk@FreeBSD.org> | 2005-02-27 22:17:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-27 22:17:51 +0000 |
commit | 86647b4b469f2825849feba3b5edbdcfcd9fb96e (patch) | |
tree | fe7c2c0fdca9410ef68892ff83bf2b3bf02349cb /sys | |
parent | 92f927766a7122a94e9320db457653761ebbd19a (diff) | |
download | FreeBSD-src-86647b4b469f2825849feba3b5edbdcfcd9fb96e.zip FreeBSD-src-86647b4b469f2825849feba3b5edbdcfcd9fb96e.tar.gz |
Use dynamic major number allocation.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/majors | 1 | ||||
-rw-r--r-- | sys/dev/cp/if_cp.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/conf/majors b/sys/conf/majors index 71d345a..74c15420 100644 --- a/sys/conf/majors +++ b/sys/conf/majors @@ -55,7 +55,6 @@ 98 loe Loopback pseudo-ethernet (sbabkin@dcn.att.com) 115 dag University of Waikato DAG network capture boards 117 *acd ATAPI CDROM -119 *ast ATAPI tape 121 onew Dallas Semiconductor One-Wire bus <phk@freebsd.org> 124 ucdc USB Communication Class Driver <n_hibma> 125 digio Advantech PCI-1750 IO card jen@vulture.dmem.strath.ac.uk diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index bcc818f..2422c6d 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -96,7 +96,6 @@ SYSCTL_INT(_debug_cp, OID_AUTO, mpsafenet, CTLFLAG_RD, &cp_mpsafenet, 0, mtx_assert (&(_bd)->cp_mtx, MA_OWNED); \ } while (0) -#define CDEV_MAJOR 134 static int cp_probe __P((device_t)); static int cp_attach __P((device_t)); @@ -1808,7 +1807,6 @@ static struct cdevsw cp_cdevsw = { .d_close = cp_close, .d_ioctl = cp_ioctl, .d_name = "cp", - .d_maj = CDEV_MAJOR, .d_flags = D_NEEDGIANT, }; |