diff options
author | phk <phk@FreeBSD.org> | 2005-02-27 22:16:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-27 22:16:58 +0000 |
commit | 246fd09eae818dcfe9b01439451c3891994b28a1 (patch) | |
tree | 41c0dea395b59fdbb419b91f217aae05e210b7a2 /sys/dev/ctau | |
parent | 6b8f675295aa1f21adbd7aef03a5f44cfd4d0d33 (diff) | |
download | FreeBSD-src-246fd09eae818dcfe9b01439451c3891994b28a1.zip FreeBSD-src-246fd09eae818dcfe9b01439451c3891994b28a1.tar.gz |
Use dynamic major number allocation.
Diffstat (limited to 'sys/dev/ctau')
-rw-r--r-- | sys/dev/ctau/if_ct.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index b18dc94..dafeb46 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -98,8 +98,6 @@ SYSCTL_INT(_debug_ctau, OID_AUTO, mpsafenet, CTLFLAG_RD, &ct_mpsafenet, 0, mtx_assert (&(_bd)->ct_mtx, MA_OWNED); \ } while (0) -#define CDEV_MAJOR 99 - static void ct_identify __P((driver_t *, device_t)); static int ct_probe __P((device_t)); static int ct_attach __P((device_t)); @@ -1736,7 +1734,6 @@ static struct cdevsw ct_cdevsw = { .d_close = ct_close, .d_ioctl = ct_ioctl, .d_name = "ct", - .d_maj = CDEV_MAJOR, .d_flags = D_NEEDGIANT, }; |