Add ofromioctl(), needed since Christos added ioctl to the memory device's
cdev decl.
This commit is contained in:
parent
28cae7e6d6
commit
f0963ab552
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user