From 246fd09eae818dcfe9b01439451c3891994b28a1 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 27 Feb 2005 22:16:58 +0000 Subject: Use dynamic major number allocation. --- sys/dev/ctau/if_ct.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/dev/ctau') 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, }; -- cgit v1.1