[PATCH] FEC_8xx dependency on CONFIG_PPC
From: Parag Warudkar
Date: Sun Nov 06 2005 - 14:36:41 EST
Just noticed that make allmodconfig breaks on i386 due to the FEC_8xx
driver.
I don't know much about FEC_8xx but I have a feeling that's because it is
intended only for PPC boxes.
A simple change to drivers/net/fec_8xx/Kconfig to make it dependent on PPC
in addition to NET_ETHERNET allows make allmodconfig to build.
Please suggest if the attached patch is Ok.
Parag--- kernel-work-ex/drivers/net/fec_8xx/Kconfig.orig 2005-11-06 13:35:53.000000000 -0500
+++ kernel-work-ex/drivers/net/fec_8xx/Kconfig 2005-11-06 13:36:35.000000000 -0500
@@ -1,6 +1,6 @@
config FEC_8XX
tristate "Motorola 8xx FEC driver"
- depends on NET_ETHERNET
+ depends on NET_ETHERNET && PPC
select MII
config FEC_8XX_GENERIC_PHY