Re: [PATCH] de4x5.c [was Re: pre-2.1.116-1 breaks Cyrix 6x86 support]

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
11 Aug 1998 23:16:35 +0200


Linus Torvalds <torvalds@transmeta.com> writes:

> On Tue, 11 Aug 1998, Alan Cox wrote:
> > > I'd be much happier with somebody finding the cause for de4x5 trying to
> > > probe the same device 8 times..
> >
> > Because the kernel boot code will call "safe" probes multiple times to
> > look for eth1,2,3,4 for 'safe' - ie PCI/Zorro/nubus devices. So the
> > de4x5 init should either expect to be called up to 8 times on init or
> > set an internal static "just return" value
>
> Ahh, ok. So the code is actually fine, the only part that people object to
> is the printout. If so, then just removing the printk's sounds like the
> proper solution.
>

Cool!

But, what about compatibility (or should I say compilability?) with
egcs. It is impossible to compile kernel with egcs without David's
patch. Oops at boot stage with something like DE4 in some of the
registers. Tried many times with different compilers/optimizations and
always failed. Works like a charm now with the patch applied.

Later,

-- 
Posted by Zlatko Calusic           E-mail: <Zlatko.Calusic@CARNet.hr>
---------------------------------------------------------------------
	There is an exception to every rule, except this one.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html