Re: [NET] Remove ARM dependency for dm9000 driver

From: Christoph Hellwig
Date: Thu Dec 01 2005 - 06:33:10 EST


On Thu, Dec 01, 2005 at 09:41:11AM +0000, Russell King wrote:
> In which case why do we restrict floppy to only those machines which
> could have floppy?

Because the floopy drivers needs asm/floppy.h and wouldn't build on others.

> Why do we restrict IDE to only those platforms
> which may have IDE?

Dito with asm/ide.h

these are very old drivers where people weren't used to abstractions that
would allow to write them platform-independent. For any driver that doesn't
have an actual platform depency making it conditional is a bad idea.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/