aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nmdm/nmdm.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 20:41:11 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 20:41:11 +0000
commit8e1f1df0808acb885927a69c82d1af33e25060ad (patch)
treeb4c7c5f55a2681dc99feaf813fae3d32fabd502e /sys/dev/nmdm/nmdm.c
parentb0b03348789e3dd9b271ed132b29adb8045293a7 (diff)
downloadsrc-8e1f1df0808acb885927a69c82d1af33e25060ad.tar.gz
src-8e1f1df0808acb885927a69c82d1af33e25060ad.zip
Device megapatch 3/6:
Add missing D_TTY flags to various drivers. Complete asserts that dev_t's passed to ttyread(), ttywrite(), ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty pointer. Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default cdevsw methods for D_TTY drivers and remove the explicit initializations in various drivers cdevsw structures.
Notes
Notes: svn path=/head/; revision=126078
Diffstat (limited to 'sys/dev/nmdm/nmdm.c')
-rw-r--r--sys/dev/nmdm/nmdm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c
index f3440dda9f1e..27625068a08a 100644
--- a/sys/dev/nmdm/nmdm.c
+++ b/sys/dev/nmdm/nmdm.c
@@ -77,7 +77,6 @@ static struct cdevsw nmdm_cdevsw = {
.d_read = nmdmread,
.d_write = nmdmwrite,
.d_ioctl = nmdmioctl,
- .d_poll = ttypoll,
.d_name = "nmdm",
.d_flags = D_TTY | D_PSEUDO,
};