Re: [NET] Remove ARM dependency for dm9000 driver

Russell King
2005-12-01T10:52:35Z

On Thu, Dec 01, 2005 at 01:51:15AM -0800, David S. Miller wrote:
> From: Russell King <rmk+lkml@arm.linux.org.uk>
> Date: Thu, 1 Dec 2005 09:41:11 +0000
>
> > In which case why do we restrict floppy to only those machines which
> > could have floppy? Why do we restrict IDE to only those platforms
> > which may have IDE?
>
> These two examples require platform level support via
> an asm/*.h header file.
>
> Whereas the driver's we are talking about use portable
> interfaces that should be available across the board.
>
> So, bad example.

Not in the IDE case. Bart restricted IDE to a smaller number of ARM
platforms, plus any that had PCMCIA. There is no such restriction
in the asm-arm/*.h header files.

if PCMCIA || ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX \
|| ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \
|| ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE
source "drivers/ide/Kconfig"
endif

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core