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: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-cobalt/44292: -current kernels do not work on (my) cobalt 
qube 2 since one (1!) year
Date: Wed, 19 Jan 2011 16:19:57 +0000

 On Wed, Jan 19, 2011 at 04:00:26PM +0000, Nick Hudson wrote:
 >  > -                                 SET(sc->sc_mcr, MCR_PRESCALE);
 >  > -                                 sc->sc_frequency /= 4;
 
 Presumably MCR_PRESCALE is generating a divide by 4.
 So doing this more than once generates an invalid sc_frequency ??
 So should this just be dependant on whether MCR_PRESCALE is already set?
 
 I guess SET(a,b) is '(a) |= (b)' just to confuse things.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index