lkml.org 
[lkml]   [2005]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [NET] Remove ARM dependency for dm9000 driver
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
-
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/

\
 
 \ /
  Last update: 2005-12-01 11:55    [W:0.046 / U:9.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site