Add ofromioctl(), needed since Christos added ioctl to the memory device's

cdev decl.
This commit is contained in:
thorpej 2002-03-04 23:43:01 +00:00
parent 28cae7e6d6
commit f0963ab552

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofrom.c,v 1.1 2002/02/10 01:57:59 thorpej Exp $ */
/* $NetBSD: ofrom.c,v 1.2 2002/03/04 23:43:01 thorpej Exp $ */
/*
* Copyright 1998
@ -202,6 +202,18 @@ ofromrw(dev, uio, flags)
return (error);
}
int
ofromioctl(dev, cmd, data, flag, p)
dev_t dev;
u_long cmd;
caddr_t data;
int flag;
struct proc *p;
{
return (ENOTTY);
}
paddr_t
ofrommmap(dev, off, prot)
dev_t dev;