Messages in this thread | | | Subject | Re: 64bit clean drivers was Re: Linux 2.4.20-pre1 | From | Alan Cox <> | Date | 07 Aug 2002 13:16:48 +0100 |
| |
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 ... fi if [ $CONFIG_ALPHA = "y" && other conditions ...] dep_bool ... fi
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 x86_64.org, then once Hammer becomes in general use post it to the janitor list now and then
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |