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/i386/bios | |
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/i386/bios')
-rw-r--r-- | sys/i386/bios/apm.c | 2 | ||||
-rw-r--r-- | sys/i386/bios/smapi.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 64337c4..1e2371f 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -107,7 +107,6 @@ static d_write_t apmwrite; static d_ioctl_t apmioctl; static d_poll_t apmpoll; -#define CDEV_MAJOR 39 static struct cdevsw apm_cdevsw = { .d_open = apmopen, .d_close = apmclose, @@ -115,7 +114,6 @@ static struct cdevsw apm_cdevsw = { .d_ioctl = apmioctl, .d_poll = apmpoll, .d_name = "apm", - .d_maj = CDEV_MAJOR, }; static int apm_suspend_delay = 1; diff --git a/sys/i386/bios/smapi.c b/sys/i386/bios/smapi.c index ed1267e..200bcfc 100644 --- a/sys/i386/bios/smapi.c +++ b/sys/i386/bios/smapi.c @@ -77,7 +77,6 @@ static d_ioctl_t smapi_ioctl; static struct cdevsw smapi_cdevsw = { .d_ioctl = smapi_ioctl, .d_name = "smapi", - .d_maj = MAJOR_AUTO, .d_flags = D_MEM, }; |