Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Just ignore (and don't fail) FBIO{S, G}C...



details:   https://anonhg.NetBSD.org/src/rev/74b68e08c999
branches:  trunk
changeset: 580905:74b68e08c999
user:      martin <martin%NetBSD.org@localhost>
date:      Sun May 15 16:41:25 2005 +0000

description:
Just ignore (and don't fail) FBIO{S,G}CURSOR.

diffstat:

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

diffs (32 lines):

diff -r 28fc08bfce11 -r 74b68e08c999 sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c        Sun May 15 13:09:13 2005 +0000
+++ b/sys/arch/sparc64/dev/ffb.c        Sun May 15 16:41:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffb.c,v 1.12 2005/05/13 06:33:32 mhitch Exp $  */
+/*     $NetBSD: ffb.c,v 1.13 2005/05/15 16:41:25 martin 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.12 2005/05/13 06:33:32 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.13 2005/05/15 16:41:25 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -264,11 +264,9 @@
                    (u_int *)data);
                break;
        case FBIOGCURSOR:
-               printf("%s: FBIOGCURSOR not implemented\n", sc->sc_dv.dv_xname);
-               return EIO;
        case FBIOSCURSOR:
-               printf("%s: FBIOSCURSOR not implemented\n", sc->sc_dv.dv_xname);
-               return EIO;
+               /* the console driver is not using the hardware cursor */
+               break;
        case FBIOGCURPOS:
                printf("%s: FBIOGCURPOS not implemented\n", sc->sc_dv.dv_xname);
                return EIO;



Home | Main Index | Thread Index | Old Index