public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Athanasius <link@miggy.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	toralf.foerster@gmx.de, netdev@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net, greg@kroah.com,
	akpm@osdl.org, zippel@linux-m68k.org,
	dbrownell@users.sourceforge.net
Subject: Re: CONFIG_USB_USBNET and mii_* (was Re: Linux 2.6.19-rc4)
Date: Tue, 31 Oct 2006 09:11:55 -0800	[thread overview]
Message-ID: <20061031091155.d0242262.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20061031170209.GN21200@miggy.org>

On Tue, 31 Oct 2006 17:02:09 +0000 Athanasius wrote:

> On Mon, Oct 30, 2006 at 08:27:17PM -0800, Linus Torvalds wrote:
> > Before I forget, I'd like to thank Adrian Bunk for his regressions 
> > listings, and ask people who are involved with those (both on the blamer 
> > and blamee sides) to follow them, and keep making sure that we get them 
> > resolved - if only by reminding people about the issues, and testing that 
> > things that are claimed to be resolved really are.
> 
>   In that light, although it's not being counted as a regression, my
> report about CONFIG_USB_USBNET stuff starting to make use of mii_* stuff
> in 19-rc3, without making SURE it's available is still outstanding,
> unfixed, in 19-rc4 (checked just now by untarring a fresh 2.6.18 copy,
> applying the rc4 patch, copying in the known-broken .config from rc3,
> make oldconfig, then my usual make bzImage && make modules).
>   I've pootled around 'make menuconfig' as well, 'N' and then re-Y/M'ing
> USBNET things and it has no effect on the PHYLIB stuff.

It's actually CONFIG_MII, not PHYLIB.

Probably David B. needs to resend patch 2/2.
They seem to have been lost in the noise^W recent travel.

Patch 1/2 is below.


>   I know patches were flying around in the discussion, have none of them
> been shaken down sufficiently for inclusion or has the final patch
> simply not been pushed to/seen by Linus yet?
> 
>   'Ironically' I don't actually _use_ the usbnet stuff, I'd only enabled
> it in case my gf pestered me to test her bluetooth dongle for some
> reason.  Thus I'm only likely to keep tabs on this if I specifically
> think to, it won't show up in my normal usage patterns.

---
From: Randy Dunlap <randy.dunlap@oracle.com>

pegasus and mcs7830 drivers use MII interfaces and should
select MII in the same way that drivers/net/ drivers do.

However, the MII config symbol should not be in the 10/100 Ethernet
menu, so that other drivers can use (enable) it or so that users
can enable it without needing to enable 10/100 Ethernet.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/net/Kconfig     |   15 +++++++--------
 drivers/usb/net/Kconfig |    2 ++
 2 files changed, 9 insertions(+), 8 deletions(-)

--- linux-2619-rc3-pv.orig/drivers/usb/net/Kconfig
+++ linux-2619-rc3-pv/drivers/usb/net/Kconfig
@@ -84,6 +84,7 @@ config USB_PEGASUS
 config USB_RTL8150
 	tristate "USB RTL8150 based ethernet device support (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
+	select MII
 	help
 	  Say Y here if you have RTL8150 based usb-ethernet adapter.
 	  Send me <petkan@users.sourceforge.net> any comments you may have.
@@ -210,6 +211,7 @@ config USB_NET_PLUSB
 config USB_NET_MCS7830
 	tristate "MosChip MCS7830 based Ethernet adapters"
 	depends on USB_USBNET
+	select MII
 	help
 	  Choose this option if you're using a 10/100 Ethernet USB2
 	  adapter based on the MosChip 7830 controller. This includes
--- linux-2619-rc3-pv.orig/drivers/net/Kconfig
+++ linux-2619-rc3-pv/drivers/net/Kconfig
@@ -145,6 +145,13 @@ config NET_SB1000
 
 source "drivers/net/arcnet/Kconfig"
 
+config MII
+	tristate "Generic Media Independent Interface device support"
+	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 lacks MII.
+
 source "drivers/net/phy/Kconfig"
 
 #
@@ -180,14 +187,6 @@ config NET_ETHERNET
 	  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


  reply	other threads:[~2006-10-31 17:17 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31  4:27 Linux 2.6.19-rc4 Linus Torvalds
2006-10-31  5:34 ` Andrew Morton
2006-10-31 14:43   ` Jun'ichi Nomura
2006-10-31 16:44     ` Linux 2.6.19-rc4: udev compatibility broken? Mark Lord
2006-10-31 15:55   ` Linux 2.6.19-rc4 Linus Torvalds
2006-10-31 16:14     ` Martin J. Bligh
2006-10-31 16:34       ` Ray Lee
2006-10-31 16:51         ` Dave Jones
2006-10-31 21:26           ` Valdis.Kletnieks
2006-10-31 22:39             ` Al Viro
2006-11-02 16:03               ` Valdis.Kletnieks
2006-10-31 20:53         ` Valdis.Kletnieks
2006-10-31 21:29           ` Al Viro
2006-11-01  6:33           ` Willy Tarreau
2006-11-01 20:26             ` Guennadi Liakhovetski
2006-11-01 21:04               ` Sam Ravnborg
2006-11-02 21:19                 ` Guennadi Liakhovetski
2006-10-31 18:33       ` Adrian Bunk
2006-10-31 18:36         ` Martin Bligh
2006-10-31 18:54           ` Adrian Bunk
2006-10-31 18:45       ` Adrian Bunk
2006-10-31 19:26       ` Russell King
2006-10-31 19:39         ` Martin Bligh
2006-10-31 17:02 ` CONFIG_USB_USBNET and mii_* (was Re: Linux 2.6.19-rc4) Athanasius
2006-10-31 17:11   ` Randy Dunlap [this message]
2006-10-31 19:56 ` 2.6.19-rc4: known unfixed regressions Adrian Bunk
2006-10-31 20:11   ` Greg KH
2006-11-04  3:15     ` Adrian Bunk
2006-10-31 20:12   ` Arjan van de Ven
2006-10-31 20:21     ` Adrian Bunk
2006-11-02 20:02   ` Rafael J. Wysocki
2006-11-02 20:10     ` Andrew Morton
2006-11-02 21:22       ` Auke Kok
2006-11-02 21:55       ` Alan Cox
2006-11-02 20:54     ` Linus Torvalds
2006-11-02 21:29       ` Greg KH
2006-11-02 21:26     ` Adrian Bunk
2006-11-02 21:40       ` Rafael J. Wysocki
2006-10-31 20:08 ` 2.6.19-rc4: known regressions with patches Adrian Bunk
     [not found] ` <20061103024132.GG13381@stusta.de>
2006-11-03  2:56   ` [discuss] Linux 2.6.19-rc4: known unfixed regressions (v2) Dave Jones
2006-11-03  8:25     ` Alexey Starikovskiy
2006-11-03 15:56       ` Dave Jones
2006-11-05 17:32         ` Christian
2006-11-05 20:04           ` Dave Jones
2006-11-06 17:35             ` Adrian Bunk
2006-11-06 17:49               ` Dave Jones
2006-11-06  6:00           ` Adrian Bunk
2006-11-06 15:43             ` Christian
2006-11-06 17:20               ` Dave Jones
2006-11-06 17:30                 ` Adrian Bunk
2006-11-06 17:37               ` Adrian Bunk
2006-11-04 18:21   ` [linux-usb-devel] " Greg KH
     [not found] ` <20061105064801.GV13381@stusta.de>
2006-11-05 13:26   ` 2.6.19-rc4: known unfixed regressions (v3) Michael S. Tsirkin
2006-11-05 13:57     ` Adrian Bunk
2006-11-05 15:17   ` Eric W. Biederman
2006-11-07  4:22     ` Adrian Bunk
2006-11-07  5:18       ` Bryan O'Sullivan
2006-11-07  8:50         ` Eric W. Biederman
2006-11-07 16:19           ` Bryan O'Sullivan
2006-11-07 17:33             ` Eric W. Biederman
2006-11-07 17:37               ` Dave Olson
2006-11-07 18:20                 ` Eric W. Biederman
2006-11-07 20:30                   ` Dave Olson
2006-11-07 20:51                     ` Eric W. Biederman
2006-11-07 21:01                       ` Dave Olson
2006-11-07 21:35                         ` Eric W. Biederman
2006-11-07 21:41                           ` Dave Olson
2006-11-07 22:25                             ` Eric W. Biederman
2006-11-07 18:01               ` Bryan O'Sullivan
2006-11-07 18:29                 ` Eric W. Biederman
2006-11-07 21:32               ` Bryan O'Sullivan
2006-11-07 22:00                 ` Eric W. Biederman
2006-11-08  5:14                   ` Bryan O'Sullivan
2006-11-08 11:11                     ` Eric W. Biederman
2006-11-05 15:22   ` Eric W. Biederman
2006-11-06 12:48 ` 2.6.19-rc4: known regressions with patches (v2) Adrian Bunk
2006-11-07 13:30 ` 2.6.19-rc4: known unfixed regressions (v4) Adrian Bunk
     [not found] ` <200611070317.42230.earny@net4u.de>
     [not found]   ` <200611070041.28008.len.brown@intel.com>
     [not found]     ` <200611072105.50178.earny@net4u.de>
2006-11-08  8:36       ` [linux-pm] 2.6.19-rc4: known unfixed regressions (v3) Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061031091155.d0242262.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@osdl.org \
    --cc=dbrownell@users.sourceforge.net \
    --cc=greg@kroah.com \
    --cc=link@miggy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=netdev@vger.kernel.org \
    --cc=toralf.foerster@gmx.de \
    --cc=torvalds@osdl.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox