Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73271
b: refs/heads/master
c: 4aa92cd
h: refs/heads/master
i:
  73269: 307d5b4
  73267: 24afaa3
  73263: 4eb7c01
v: v3
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Nov 7, 2007
1 parent c47f305 commit 1ed5c9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df1e6e54842a47675a2f69a089ecb8ad409f167f
refs/heads/master: 4aa92cd9acd18ae9c94e87a30f664e77f699dc78
9 changes: 1 addition & 8 deletions trunk/drivers/net/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,9 @@ config USB_RTL8150
To compile this driver as a module, choose M here: the
module will be called rtl8150.

config USB_USBNET_MII
tristate
default n

config USB_USBNET
tristate "Multi-purpose USB Networking Framework"
select MII if USB_USBNET_MII != n
select MII
---help---
This driver supports several kinds of network links over USB,
with "minidrivers" built around a common network driver core
Expand Down Expand Up @@ -135,7 +131,6 @@ config USB_NET_AX8817X
tristate "ASIX AX88xxx Based USB 2.0 Ethernet Adapters"
depends on USB_USBNET && NET_ETHERNET
select CRC32
select USB_USBNET_MII
default y
help
This option adds support for ASIX AX88xxx based USB 2.0
Expand Down Expand Up @@ -190,7 +185,6 @@ config USB_NET_DM9601
tristate "Davicom DM9601 based USB 1.1 10/100 ethernet devices"
depends on USB_USBNET
select CRC32
select USB_USBNET_MII
help
This option adds support for Davicom DM9601 based USB 1.1
10/100 Ethernet adapters.
Expand Down Expand Up @@ -225,7 +219,6 @@ config USB_NET_PLUSB
config USB_NET_MCS7830
tristate "MosChip MCS7830 based Ethernet adapters"
depends on USB_USBNET
select USB_USBNET_MII
help
Choose this option if you're using a 10/100 Ethernet USB2
adapter based on the MosChip 7830 controller. This includes
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,6 @@ static int usbnet_open (struct net_device *net)
* they'll probably want to use this base set.
*/

#if defined(CONFIG_MII) || defined(CONFIG_MII_MODULE)
#define HAVE_MII

int usbnet_get_settings (struct net_device *net, struct ethtool_cmd *cmd)
{
struct usbnet *dev = netdev_priv(net);
Expand Down Expand Up @@ -744,8 +741,6 @@ int usbnet_nway_reset(struct net_device *net)
}
EXPORT_SYMBOL_GPL(usbnet_nway_reset);

#endif /* HAVE_MII */

void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info)
{
struct usbnet *dev = netdev_priv(net);
Expand Down Expand Up @@ -776,12 +771,10 @@ EXPORT_SYMBOL_GPL(usbnet_set_msglevel);

/* drivers may override default ethtool_ops in their bind() routine */
static struct ethtool_ops usbnet_ethtool_ops = {
#ifdef HAVE_MII
.get_settings = usbnet_get_settings,
.set_settings = usbnet_set_settings,
.get_link = usbnet_get_link,
.nway_reset = usbnet_nway_reset,
#endif
.get_drvinfo = usbnet_get_drvinfo,
.get_msglevel = usbnet_get_msglevel,
.set_msglevel = usbnet_set_msglevel,
Expand Down

0 comments on commit 1ed5c9f

Please sign in to comment.