[2.6 patch] CONFIG_MII requires only CONFIG_NET

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

 



Hi Jeff,

the patch below still applies against 2.6.8-rc4-mm1.

Could you comment on it and apply it if it's correct?

TIA
Adrian


But trying it out CONFIG_MII=y seems to at least compile with 
CONFIG_NET_ETHERNET=n.

@Jeff:
It seems, CONFIG_MII doesn't actually require CONFIG_NET_ETHERNET?
Could you comment on the following patch?


Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

--- linux-2.6.6-rc1-mm1-full/drivers/net/Kconfig.old	2004-04-20 00:48:27.000000000 +0200
+++ linux-2.6.6-rc1-mm1-full/drivers/net/Kconfig	2004-04-20 01:07:51.000000000 +0200
@@ -151,6 +151,15 @@
 
 	  If you don't have this card, of course say N.
 
+config MII
+        tristate "Generic Media Independent Interface device support"
+        depends on NET
+        help
+          Most ethernet controllers have MII transceiver either as an external
+          or internal device.  It is safe to say Y or M here even if your
+          ethernet card lack MII.
+
+
 if NETDEVICES
 	source "drivers/net/arcnet/Kconfig"
 endif
@@ -188,14 +197,6 @@
 	  kernel: saying N will just cause the configurator to skip all
 	  the questions about Ethernet network cards. If unsure, say N.
 
-config MII
-	tristate "Generic Media Independent Interface device support"
-	depends on NET_ETHERNET
-	help
-	  Most ethernet controllers have MII transceiver either as an external
-	  or internal device.  It is safe to say Y or M here even if your
-	  ethernet card lack MII.
-
 source "drivers/net/arm/Kconfig"
 
 config MACE


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux