diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 19:42:58 +0000 |
| commit | c9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch) | |
| tree | c4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/ofw | |
| parent | 7563a29b8566c3c862a995022e62a54b6c3faa6b (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofw_console.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index a0e29ea8d92d..a4b5c8f98902 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -51,7 +51,6 @@ static d_open_t ofw_dev_open; static d_close_t ofw_dev_close; static d_ioctl_t ofw_dev_ioctl; -#define CDEV_MAJOR 97 static struct cdevsw ofw_cdevsw = { .d_open = ofw_dev_open, @@ -61,7 +60,6 @@ static struct cdevsw ofw_cdevsw = { .d_ioctl = ofw_dev_ioctl, .d_poll = ttypoll, .d_name = "ofw", - .d_maj = CDEV_MAJOR, }; static struct tty *ofw_tp = NULL; @@ -106,7 +104,7 @@ cn_drvinit(void *unused) } } -SYSINIT(cndev, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE + CDEV_MAJOR, cn_drvinit, NULL) +SYSINIT(cndev, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, cn_drvinit, NULL) static int stdin; static int stdout; |
