diff options
author | phk <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
commit | df397dedeab80f98300da9e5999d17a57c01b19f (patch) | |
tree | c4705f5f800de96d25d8356b2711c664dabcd41e /sys/pccard | |
parent | ab77c85da2c48c6a8b74ed533d4b739b5afeb405 (diff) | |
download | FreeBSD-src-df397dedeab80f98300da9e5999d17a57c01b19f.zip FreeBSD-src-df397dedeab80f98300da9e5999d17a57c01b19f.tar.gz |
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.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pccard.c | 6 |
1 files changed, 0 insertions, 6 deletions
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, }; /* |