Commit 1fda844a authored by Petko Manolov's avatar Petko Manolov Committed by Greg Kroah-Hartman

[PATCH] USB: pegasus & mii cset

  Some ethernet drivers other than those in .../drivers/net need generic
  MII code too and this cset shows how we do it for .../drivers/usb/net;
  For now only pegasus.c is using this feature, but as soon as we find
  more MII compliant controllers we'll put them in Makefile.mii too.
  Note: drivers which use the generic mii routines should bracket the
  code with #ifdef CONFIG_MII #endif since CONFIG_MII may not be present.
  See pegasus.c for more details.
parent 212659ca
...@@ -212,6 +212,14 @@ config NET_ETHERNET ...@@ -212,6 +212,14 @@ config NET_ETHERNET
kernel: saying N will just cause the configurator to skip all kernel: saying N will just cause the configurator to skip all
the questions about Ethernet network cards. If unsure, say N. 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.
config ARM_AM79C961A config ARM_AM79C961A
bool "ARM EBSA110 AM79C961A support" bool "ARM EBSA110 AM79C961A support"
depends on NET_ETHERNET && ARM && ARCH_EBSA110 depends on NET_ETHERNET && ARM && ARCH_EBSA110
......
...@@ -63,6 +63,7 @@ obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o mii.o ...@@ -63,6 +63,7 @@ obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o mii.o
# end link order section # end link order section
# #
obj-$(CONFIG_MII) += mii.o
obj-$(CONFIG_AIRONET4500) += aironet4500_core.o obj-$(CONFIG_AIRONET4500) += aironet4500_core.o
obj-$(CONFIG_AIRONET4500_CS) += aironet4500_core.o obj-$(CONFIG_AIRONET4500_CS) += aironet4500_core.o
obj-$(CONFIG_AIRONET4500_NONCS) += aironet4500_card.o obj-$(CONFIG_AIRONET4500_NONCS) += aironet4500_card.o
...@@ -199,3 +200,6 @@ obj-$(CONFIG_NET_WIRELESS) += wireless/ ...@@ -199,3 +200,6 @@ obj-$(CONFIG_NET_WIRELESS) += wireless/
obj-$(CONFIG_NET_TULIP) += tulip/ obj-$(CONFIG_NET_TULIP) += tulip/
obj-$(CONFIG_HAMRADIO) += hamradio/ obj-$(CONFIG_HAMRADIO) += hamradio/
obj-$(CONFIG_IRDA) += irda/ obj-$(CONFIG_IRDA) += irda/
include $(TOPDIR)/drivers/usb/net/Makefile.mii
#
# Makefile for USB Network drivers which require generic MII code.
#
obj-$(CONFIG_USB_PEGASUS) += mii.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment