public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] CONFIG_MII requires only CONFIG_NET
@ 2004-08-13 10:22 Adrian Bunk
  2004-08-13 11:51 ` Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-08-13 10:22 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-net, linux-kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] CONFIG_MII requires only CONFIG_NET
  2004-08-13 10:22 [2.6 patch] CONFIG_MII requires only CONFIG_NET Adrian Bunk
@ 2004-08-13 11:51 ` Herbert Xu
  2004-08-14 20:51   ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2004-08-13 11:51 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: jgarzik, linux-net, linux-kernel

Adrian Bunk <bunk@fs.tum.de> wrote:
> 
> 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?

Are there non-Ethernet drivers that use MII? If not what's the point?
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] CONFIG_MII requires only CONFIG_NET
  2004-08-13 11:51 ` Herbert Xu
@ 2004-08-14 20:51   ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2004-08-14 20:51 UTC (permalink / raw)
  To: Herbert Xu; +Cc: jgarzik, linux-net, linux-kernel

On Fri, Aug 13, 2004 at 09:51:36PM +1000, Herbert Xu wrote:
> Adrian Bunk <bunk@fs.tum.de> wrote:
> > 
> > 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?
> 
> Are there non-Ethernet drivers that use MII? If not what's the point?

The discussion some time ago started around the question whether 
USB_PEGASUS would have to depend on NET_ETHERNET since it selects MII.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-14 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 10:22 [2.6 patch] CONFIG_MII requires only CONFIG_NET Adrian Bunk
2004-08-13 11:51 ` Herbert Xu
2004-08-14 20:51   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox