Re: 64bit clean drivers was Re: Linux 2.4.20-pre1

From: Alan Cox (
Date: Wed Aug 07 2002 - 07:16:48 EST

On Wed, 2002-08-07 at 11:41, Andi Kleen wrote:
> I don't see why it is unmaintainable. What is so bad with these ifs?
> 64bit cleanness is just another dependency, nothing magic and fundamentally
> hard.

Lets take I2O block the if rule would

if [ $CONFIG_X86 = "y" -a $CONFIG_X86_64 != "y" ]
        dep_bool ...
if [ $CONFIG_ALPHA = "y" && other conditions ...]
        dep_bool ...

and so on

The actual rule being if 32bit little endian || 64bit little endian with
kernel memory objects always below 4Gb and having PCI bus

Thats just one non too complicated driver. CML1 can't handle this
scalably, maybe CML2 could have.

Secondly you actually want people to discover stuff doesn't work so you
can persuade them to go and fix it. Stick up a 'Good/Probably
Ok/Bad/Hopeless' driver listing on, then once Hammer becomes
in general use post it to the janitor list now and then


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:35 EST