summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer4
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
committerphk <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
commitdf397dedeab80f98300da9e5999d17a57c01b19f (patch)
treec4705f5f800de96d25d8356b2711c664dabcd41e /sys/i4b/layer4
parentab77c85da2c48c6a8b74ed533d4b739b5afeb405 (diff)
downloadFreeBSD-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/i4b/layer4')
-rw-r--r--sys/i4b/layer4/i4b_i4bdrv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i4b/layer4/i4b_i4bdrv.c b/sys/i4b/layer4/i4b_i4bdrv.c
index e17ad85..42330ef 100644
--- a/sys/i4b/layer4/i4b_i4bdrv.c
+++ b/sys/i4b/layer4/i4b_i4bdrv.c
@@ -76,7 +76,6 @@ static d_read_t i4bread;
static d_ioctl_t i4bioctl;
static d_poll_t i4bpoll;
-#define CDEV_MAJOR 60
static struct cdevsw i4b_cdevsw = {
.d_open = i4bopen,
@@ -85,7 +84,6 @@ static struct cdevsw i4b_cdevsw = {
.d_ioctl = i4bioctl,
.d_poll = i4bpoll,
.d_name = "i4b",
- .d_maj = CDEV_MAJOR,
};
static void i4battach(void *);
OpenPOWER on IntegriCloud