NetBSD-Bugs archive

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

Re: port-atari/48599: NetBSD crashes when switched over virtual terminal with F10 on Atari TT



Perfect! It just works!
I ran through all F keys and BSD survived my aggressive action.
Thank you!

Gabor


On Tue, Feb 18, 2014 at 4:20 PM, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
The following reply was made to PR port-atari/48599; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-atari/48599: NetBSD crashes when switched over virtual terminal
         with F10 on Atari TT
Date: Wed, 19 Feb 2014 00:18:11 +0900

 Could you try the following patched kernel?
 ftp://ftp.netbsd.org/pub/NetBSD/arch/atari/6.1.3_PR48599/

 Index: sys/arch/atari/dev/ite.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/atari/dev/ite.c,v
 retrieving revision 1.71
 diff -u -p -d -r1.71 ite.c
 --- sys/arch/atari/dev/ite.c   5 Jun 2011 16:25:12 -0000       1.71
 +++ sys/arch/atari/dev/ite.c   18 Feb 2014 14:28:45 -0000
 @@ -665,8 +665,8 @@ ite_switch(int unit)
        struct ite_softc        *sc;
        extern const struct cdevsw view_cdevsw;

 -      sc = getitesp(unit);
 -      if ((sc->flags & (ITE_ATTACHED | ITE_INITED)) == 0)
 +      sc = device_lookup_private(&ite_cd, unit);
 +      if (sc == NULL || (sc->flags & (ITE_ATTACHED | ITE_INITED)) == 0)
                return;

        /*




Home | Main Index | Thread Index | Old Index