Commit 55d12caa authored by Thierry Vignaud's avatar Thierry Vignaud Committed by Jeff Garzik

[PATCH] fix driver name in dl2k as returned by ETHTOOL_GDRVINFO

The GDRVINFO command of the ETHTOOL ioctl returns a bogus driver name.

this bug confusees various network config tools...

see mdk bug #12609 (http://qa.mandrakesoft.com/show_bug.cgi?id=12609)
for reference
Signed-off-by: default avatarThierry Vignaud <tvignaud@mandrakesoft.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 1274fcd6
......@@ -1199,7 +1199,7 @@ set_multicast (struct net_device *dev)
static void rio_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
{
struct netdev_private *np = netdev_priv(dev);
strcpy(info->driver, "DL2K");
strcpy(info->driver, "dl2k");
strcpy(info->version, DRV_VERSION);
strcpy(info->bus_info, pci_name(np->pdev));
}
......
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