Add cgfourteen_poll() entry point to sync with recent changes in frame

buffer cdev code.
This commit is contained in:
abrown 1996-10-01 00:06:45 +00:00
parent 0b99fde177
commit 7557090650
1 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cgfourteen.c,v 1.1 1996/09/30 22:41:01 abrown Exp $ */ /* $NetBSD: cgfourteen.c,v 1.2 1996/10/01 00:06:45 abrown Exp $ */
/* /*
* Copyright (c) 1996 * Copyright (c) 1996
@ -106,6 +106,7 @@ int cgfourteenopen __P((dev_t, int, int, struct proc *));
int cgfourteenclose __P((dev_t, int, int, struct proc *)); int cgfourteenclose __P((dev_t, int, int, struct proc *));
int cgfourteenioctl __P((dev_t, u_long, caddr_t, int, struct proc *)); int cgfourteenioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
int cgfourteenmmap __P((dev_t, int, int)); int cgfourteenmmap __P((dev_t, int, int));
int cgfourteenpoll __P((dev_t, int, struct proc *));
static void cgfourteenunblank(struct device *); static void cgfourteenunblank(struct device *);
struct cfattach cgfourteen_ca = { struct cfattach cgfourteen_ca = {
@ -619,6 +620,15 @@ cgfourteenmmap(dev, off, prot)
return (REG2PHYS(&sc->sc_phys, off, 0) | PMAP_NC); return (REG2PHYS(&sc->sc_phys, off, 0) | PMAP_NC);
} }
int
cgfourteenpoll(dev, events, p)
dev_t dev;
int events;
struct proc *p;
{
return(enodev());
}
/* /*
* Miscellaneous helper functions * Miscellaneous helper functions
*/ */