[PATCH] FEC_8xx dependency on CONFIG_PPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux