Use dynamic major number allocation.
This commit is contained in:
parent
0f331b31cf
commit
80602ed932
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142719
@ -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
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user