[2.6 patch] CONFIG_MII requires only CONFIG_NET

From: Adrian Bunk
Date: Fri Aug 13 2004 - 05:33:38 EST


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@xxxxxxxxx>

--- 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/