Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/mac68k/dev Pull up revision 1.3 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/cc5febe09aca
branches: netbsd-1-5
changeset: 490574:cc5febe09aca
user: he <he%NetBSD.org@localhost>
date: Sat Feb 03 17:54:06 2001 +0000
description:
Pull up revision 1.3 (requested by scottr):
Correct the implementation of iteopen()/iteclose(). Fixes
PR#12022.
diffstat:
sys/arch/mac68k/dev/ite_compat.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r a78fc177fa60 -r cc5febe09aca sys/arch/mac68k/dev/ite_compat.c
--- a/sys/arch/mac68k/dev/ite_compat.c Sat Feb 03 17:51:49 2001 +0000
+++ b/sys/arch/mac68k/dev/ite_compat.c Sat Feb 03 17:54:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite_compat.c,v 1.2 2000/02/14 07:01:46 scottr Exp $ */
+/* $NetBSD: ite_compat.c,v 1.2.4.1 2001/02/03 17:54:06 he Exp $ */
/*
* Copyright (C) 2000 Scott Reynolds
@@ -43,6 +43,7 @@
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/ioctl.h>
+#include <sys/ttycom.h>
#include <dev/cons.h>
@@ -75,7 +76,6 @@
if (maj != major(cn_tab->cn_dev))
return;
- cn_tab->cn_dev = cn_tab->cn_dev;
ite_initted = 1;
#endif
}
@@ -92,8 +92,7 @@
int devtype;
struct proc *p;
{
- return ite_initted ?
- wsdisplayopen(cn_tab->cn_dev, mode, devtype, p) : (ENXIO);
+ return ite_initted ? (0) : (ENXIO);
}
/*ARGSUSED*/
@@ -104,8 +103,7 @@
int mode;
struct proc *p;
{
- return ite_initted ?
- wsdisplayclose(cn_tab->cn_dev, flag, mode, p) : (ENXIO);
+ return ite_initted ? (0) : (ENXIO);
}
/*ARGSUSED*/
Home |
Main Index |
Thread Index |
Old Index