diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-02-27 22:17:51 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-02-27 22:17:51 +0000 |
commit | 80602ed9322e6d7c05d8260608ba336057f3e435 (patch) | |
tree | fe7c2c0fdca9410ef68892ff83bf2b3bf02349cb /sys/dev/cp | |
parent | 0f331b31cffe9cf38a07633e279ddf27406a1b0c (diff) | |
download | src-80602ed9322e6d7c05d8260608ba336057f3e435.tar.gz src-80602ed9322e6d7c05d8260608ba336057f3e435.zip |
Use dynamic major number allocation.
Notes
Notes:
svn path=/head/; revision=142719
Diffstat (limited to 'sys/dev/cp')
-rw-r--r-- | sys/dev/cp/if_cp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index bcc818f53bdd..2422c6dbe839 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, }; |