Subject: Re: Dialup networking/ppp
To: None <port-amiga@netbsd.org>
From: Lars Hecking <lhecking@nmrc.ie>
List: port-amiga
Date: 09/18/2001 18:11:50
> > It should be
> >
> > if (addr == 0
> > #if defined(M68040)
> > #if defined(M68060)
> > || (cputype == CPU_68040 && req & CC_IPURGE))
> > #else
> > || (req & CC_IPURGE))
> > #endif
> > #endif
> > )
> > doall = 1;
>
> err, you are right here. Sorry, it was a quick and dirty patch late in the
> evening, and I didn't try to check it, as I figured I would see less problems
> with my 68040.
The original code has a logical error:
#if defined(M68040)
#if defined(M68060)
...
#else
...
#endif
#endif
So the code for 68068 is never used if M68040 isn't defined.