From: David Brownell <david-b@pacbell.net>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: linux-net@vger.kernel.org, jgarzik@pobox.com, greg@kroah.com,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] let USB_{PEGASUS,USBNET} depend on NET_ETHERNET
Date: Sun, 21 Dec 2003 15:46:31 -0800 [thread overview]
Message-ID: <3FE630D7.7070007@pacbell.net> (raw)
In-Reply-To: <20031221022242.GT12750@fs.tum.de>
[-- Attachment #1: Type: text/plain, Size: 805 bytes --]
Adrian Bunk wrote:
> I observed the following small problem in 2.6:
>
> - MII depends on NET_ETHERNET
> - USB_PEGASUS and USB_USBNET select MII, but they depend only on NET
>
> The patch below lets USB_PEGASUS and USB_USBNET depend on NET_ETHERNET
> instead of NET to fix this issue.
Actually how about this one instead? The PEGASUS bit is the same.
The difference is that MII (and CRC32) are only attributed to the
driver code that needs those ... AX8817X needs both, ZAURUS just
needs CRC32. The core (which should eventually become a separate
module) shouldn't depend on those modules at all.
Also both CDCETHER and AX8817X are marked as non-experimental;
I recall Dave Hollis submitted a patch to do that for AX8817X,
and CDCETHER now seems to have gotten enough success reports too.
- Dave
[-- Attachment #2: kconf.patch --]
[-- Type: text/plain, Size: 1468 bytes --]
--- 1.12/drivers/usb/net/Kconfig Sat Sep 27 03:23:06 2003
+++ edited/drivers/usb/net/Kconfig Sun Dec 21 15:24:41 2003
@@ -69,7 +69,7 @@
config USB_PEGASUS
tristate "USB Pegasus/Pegasus-II based ethernet device support"
- depends on USB && NET
+ depends on USB && NET_ETHERNET
select MII
---help---
Say Y here if you know you have Pegasus or Pegasus-II based adapter.
@@ -96,8 +96,6 @@
config USB_USBNET
tristate "Multi-purpose USB Networking Framework"
depends on USB && NET
- select CRC32
- select MII
---help---
This driver supports several kinds of network links over USB,
with "minidrivers" built around a common network driver core
@@ -206,6 +204,7 @@
config USB_ZAURUS
boolean "Sharp Zaurus (stock ROMs)"
depends on USB_USBNET
+ select CRC32
default y
help
Choose this option to support the usb networking links used by
@@ -217,9 +216,7 @@
config USB_CDCETHER
boolean "CDC Ethernet support (smart devices such as cable modems)"
- # experimental primarily because cdc-ether was.
- # make it non-experimental after more interop testing
- depends on USB_USBNET && EXPERIMENTAL
+ depends on USB_USBNET
default y
help
This option supports devices conforming to the Communication Device
@@ -247,7 +244,9 @@
config USB_AX8817X
boolean "ASIX AX88172 Based USB 2.0 Ethernet Devices"
- depends on USB_USBNET && EXPERIMENTAL
+ depends on USB_USBNET && NET_ETHERNET
+ select CRC32
+ select MII
default y
help
next prev parent reply other threads:[~2003-12-21 23:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-21 2:22 [2.6 patch] let USB_{PEGASUS,USBNET} depend on NET_ETHERNET Adrian Bunk
2003-12-21 2:37 ` Jeff Garzik
2003-12-21 23:46 ` David Brownell [this message]
2003-12-29 20:15 ` Greg KH
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=3FE630D7.7070007@pacbell.net \
--to=david-b@pacbell.net \
--cc=bunk@fs.tum.de \
--cc=greg@kroah.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.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