diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-08-23 07:52:48 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-08-23 07:52:48 +0000 |
| commit | 87c95fa5dc145c2f393c8baf6ec1ec82ab5cbaa6 (patch) | |
| tree | aa812bc9ce4adf11f620f25b076ea977928d0ab6 | |
| parent | 21c729c2879d8c94e88f5a7ea4887aa94338bd4f (diff) | |
Notes
| -rw-r--r-- | sys/i386/isa/cx.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c index 4a8d1443e056..deadd56fd531 100644 --- a/sys/i386/isa/cx.c +++ b/sys/i386/isa/cx.c @@ -87,7 +87,6 @@ static d_write_t cxwrite; static d_ioctl_t cxioctl; static d_stop_t cxstop; static d_devtotty_t cxdevtotty; -static d_poll_t cxpoll; # define CDEV_MAJOR 42 @@ -95,7 +94,7 @@ static d_poll_t cxpoll; struct cdevsw cx_cdevsw = { cxopen, cxclose, cxread, cxwrite, /*42*/ cxioctl, cxstop, nullreset, cxdevtotty,/* cronyx */ - cxpoll, nommap, NULL, "cx", NULL, -1 }; + ttpoll, nommap, NULL, "cx", NULL, -1 }; #else struct tty *cx_tty [NCX*NCHAN]; /* tty data */ #endif @@ -736,15 +735,6 @@ struct tty *cxdevtotty (dev_t dev) return (cxchan[unit]->ttyp); } -int cxpoll (dev_t dev, int events, struct proc *p) -{ - int unit = UNIT (dev); - - if (unit == UNIT_CTL || unit >= NCX*NCHAN) - return (0); - return (ttypoll (cxchan[unit]->ttyp, events, p)); -} - /* * Stop output on a line */ |
