Re: [NET] Remove ARM dependency for dm9000 driver

Bartlomiej Zolnierkiewicz
2005-12-01T11:12:31Z

On 12/1/05, Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> 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.

When I did this change there was such restriction in asm-arm/mach-*/ide.h
files (some platforms just lacked ide.h making IDE build break for them).

IDE is a bad example anyway because of legacy ordering issues etc etc.

> 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