Subject: Re: com.c patch to track PPS
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Bill Studenmund <>
List: tech-kern
Date: 02/06/2000 20:57:13
On Sun, 6 Feb 2000, Jonathan Stone wrote:

> The patch I emailed you earlier will make PPSAPi work,but it might do
> the wrong thing with DCD changes if CLOCAL or MDMBUF are set.

Unfortunatly I zapped that message too soon..

> I think the right fix is to just move the ppsapi code in
> comintr() outside of the
> 		if (ISSET(delta, sc->sc_msr_mask)) {
> 			SET(sc->sc_msr_delta, delta);
> etst, and just test on delta directly.  I'll post a patch after I've
> had my coffee :_).


You won't have a PPS event without generating a delta, so why not test for

All you have to do is make sure you've enabled the interrupt for DCD
interrupts even if in local mode when PPS is enabled.

Take care,