From df397dedeab80f98300da9e5999d17a57c01b19f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 21 Feb 2004 19:42:58 +0000 Subject: Device megapatch 1/6: Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number. --- sys/pccard/pccard.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/pccard/pccard.c') diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index b1ef84a..bc5f240 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -80,11 +80,6 @@ static d_write_t crdwrite; static d_ioctl_t crdioctl; static d_poll_t crdpoll; -#if __FreeBSD_version < 500000 -#define CDEV_MAJOR 50 -#else -#define CDEV_MAJOR MAJOR_AUTO -#endif static struct cdevsw crd_cdevsw = { .d_open = crdopen, .d_close = crdclose, @@ -93,7 +88,6 @@ static struct cdevsw crd_cdevsw = { .d_ioctl = crdioctl, .d_poll = crdpoll, .d_name = "crd", - .d_maj = CDEV_MAJOR, }; /* -- cgit v1.1