summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/dev/sio
parent246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff)
downloadFreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip
FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 0f6b33f..18d7a45 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.114 1995/10/21 00:55:25 phk Exp $
+ * $Id: sio.c,v 1.115 1995/10/22 15:38:05 bde Exp $
*/
#include "sio.h"
@@ -256,17 +256,7 @@ void siointrts __P((int unit));
void siopoll __P((void));
/* Device switch entry points. */
-int sioopen __P((dev_t dev, int oflags, int devtype,
- struct proc *p));
-int sioclose __P((dev_t dev, int fflag, int devtype,
- struct proc *p));
-int sioread __P((dev_t dev, struct uio *uio, int ioflag));
-int siowrite __P((dev_t dev, struct uio *uio, int ioflag));
-int sioioctl __P((dev_t dev, int cmd, caddr_t data,
- int fflag, struct proc *p));
-void siostop __P((struct tty *tp, int rw));
#define sioreset noreset
-struct tty *siodevtotty __P((dev_t dev));
#define siommap nommap
#define siostrategy nostrategy
OpenPOWER on IntegriCloud