diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 20:41:11 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 20:41:11 +0000 |
| commit | 8e1f1df0808acb885927a69c82d1af33e25060ad (patch) | |
| tree | b4c7c5f55a2681dc99feaf813fae3d32fabd502e /sys/dev/ofw | |
| parent | b0b03348789e3dd9b271ed132b29adb8045293a7 (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 a4b5c8f98902..dd5537661e5e 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -55,11 +55,9 @@ static d_ioctl_t ofw_dev_ioctl; static struct cdevsw ofw_cdevsw = { .d_open = ofw_dev_open, .d_close = ofw_dev_close, - .d_read = ttyread, - .d_write = ttywrite, .d_ioctl = ofw_dev_ioctl, - .d_poll = ttypoll, .d_name = "ofw", + .d_flags = D_TTY, }; static struct tty *ofw_tp = NULL; |
