port-mac68l/12931 by Dave Huang:

Add an itepoll() function. This one slipped through my recent sweep
of line-disciplines...
This commit is contained in:
scw 2001-05-14 09:27:06 +00:00
parent ce7170d77d
commit 94225b1490
1 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ite_compat.c,v 1.3 2001/01/22 07:31:44 scottr Exp $ */
/* $NetBSD: ite_compat.c,v 1.4 2001/05/14 09:27:06 scw Exp $ */
/*
* Copyright (C) 2000 Scott Reynolds
@ -190,3 +190,14 @@ iteioctl(dev, cmd, addr, flag, p)
return (ENOTTY);
}
/*ARGSUSED*/
int
itepoll(dev, events, p)
dev_t dev;
int events;
struct proc *p;
{
return ite_initted ?
wsdisplaypoll(cn_tab->cn_dev, events, p) : (ENXIO);
}