linux/drivers/usb/net
David Brownell 18ee91fa98 USB: use MII hooks only if CONFIG_MII is enabled
Fix mcs7830 patch

The recent mcs7830 update to make the MII support sharable goofed various
pre-existing configurations in two ways:

  - it made the usbnet infrastructure reference MII symbols even
    when they're not needed in the kernel being built

  - it didn't enable MII along with the mcs7830 minidriver

This patch fixes these two problems.

However, there does seem to be a Kconfig reverse dependency bug in that MII
gets wrongly enabled in some cases (like USBNET=y and USBNET_MII=n); I think
I've noticed that same problem in other situations too.  So the result can
mean kernels being bloated by stuff that's needlessly enabled ... better
than wrongly being disabled, but contributing to bloat.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-11-03 11:57:19 -08:00
..
asix.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
catc.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cdc_ether.c USB: drivers/usb/net/*: use BUILD_BUG_ON 2006-10-17 14:46:32 -07:00
cdc_subset.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gl620a.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
kaweth.c USB: suspend/resume support for kaweth 2006-10-17 14:46:30 -07:00
kawethfw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig USB: use MII hooks only if CONFIG_MII is enabled 2006-11-03 11:57:19 -08:00
Makefile USB: driver for mcs7830 (aka DeLOCK) USB ethernet adapter 2006-10-17 14:46:32 -07:00
mcs7830.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
net1080.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pegasus.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pegasus.h USB: Support for ELECOM LD-USB20 in pegasus 2006-08-31 18:04:30 -07:00
plusb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rndis_host.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rtl8150.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
usbnet.c USB: use MII hooks only if CONFIG_MII is enabled 2006-11-03 11:57:19 -08:00
usbnet.h usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
zaurus.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00