Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/arch/sparc64/dev Pull up revision 1.9 (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/a30b0ff61f1e
branches:  netbsd-3
changeset: 576015:a30b0ff61f1e
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jun 07 17:25:19 2005 +0000

description:
Pull up revision 1.9 (requested by martin in ticket #376):
Avoid returning -1 from ffb_ioctl() - we want EPASSTHROUGH or EIO.

diffstat:

 sys/arch/sparc64/dev/ffb.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 6c8143557518 -r a30b0ff61f1e sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c        Tue Jun 07 17:23:09 2005 +0000
+++ b/sys/arch/sparc64/dev/ffb.c        Tue Jun 07 17:25:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffb.c,v 1.8 2004/07/19 01:04:35 heas Exp $     */
+/*     $NetBSD: ffb.c,v 1.8.10.1 2005/06/07 17:25:19 tron Exp $        */
 /*     $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $      */
 
 /*
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.8 2004/07/19 01:04:35 heas Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.8.10.1 2005/06/07 17:25:19 tron Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -252,8 +252,9 @@
        case WSDISPLAYIO_GCURMAX:
        case WSDISPLAYIO_GCURSOR:
        case WSDISPLAYIO_SCURSOR:
+               return EIO; /* not supported yet */
        default:
-               return -1; /* not supported yet */
+               return EPASSTHROUGH;
         }
 
        return (0);



Home | Main Index | Thread Index | Old Index