NetBSD-Bugs archive

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

Re: port-cobalt/44292: -current kernels do not work on (my) cobalt qube 2 since one (1!) year



The following reply was made to PR port-cobalt/44292; it has been noted by 
GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-cobalt-maintainer%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost, jklos%NetBSD.org@localhost, 
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-cobalt/44292: -current kernels do not work on (my) cobalt
         qube 2 since one (1!) year
Date: Wed, 19 Jan 2011 23:34:11 +0900

 Reverting part of src/sys/dev/ic/com.c rev 1.298 seems to fix the problem.
 (201007200000Z works, 201007210000Z doesn't)
 
 Needs to use device properties to enable prescaler?
 More initialization is required?
 ---
 
 Index: com.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/com.c,v
 retrieving revision 1.298
 retrieving revision 1.297
 diff -u -p -r1.298 -r1.297
 --- com.c      20 Jul 2010 06:17:20 -0000      1.298
 +++ com.c      19 Apr 2010 18:24:26 -0000      1.297
 @@ -465,8 +465,6 @@ com_attach_subr(struct com_softc *sc)
                                        sc->sc_fifolen = 0;
                                } else {
                                        SET(sc->sc_hwflags, COM_HW_FLOW);
 -                                      SET(sc->sc_mcr, MCR_PRESCALE);
 -                                      sc->sc_frequency /= 4;
                                        sc->sc_fifolen = 32;
                                }
                        } else
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index