epic100.c (41966710ab574f1fcedf3e10e1ceef911c096d1d) epic100.c (68aad78c5023b8aa82da99b47f9d8cf40e8ca453)
1/* epic100.c: A SMC 83c170 EPIC/100 Fast Ethernet driver for Linux. */
2/*
3 Written/copyright 1997-2001 by Donald Becker.
4
5 This software may be used and distributed according to the terms of
6 the GNU General Public License (GPL), incorporated herein by reference.
7 Drivers based on or derived from this code fall under the GPL and must
8 retain the authorship, copyright and license notice. This file is not

--- 1400 unchanged lines hidden (view full) ---

1409 memcpy(ep->mc_filter, mc_filter, sizeof(mc_filter));
1410 }
1411}
1412
1413static void netdev_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info)
1414{
1415 struct epic_private *np = netdev_priv(dev);
1416
1/* epic100.c: A SMC 83c170 EPIC/100 Fast Ethernet driver for Linux. */
2/*
3 Written/copyright 1997-2001 by Donald Becker.
4
5 This software may be used and distributed according to the terms of
6 the GNU General Public License (GPL), incorporated herein by reference.
7 Drivers based on or derived from this code fall under the GPL and must
8 retain the authorship, copyright and license notice. This file is not

--- 1400 unchanged lines hidden (view full) ---

1409 memcpy(ep->mc_filter, mc_filter, sizeof(mc_filter));
1410 }
1411}
1412
1413static void netdev_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info)
1414{
1415 struct epic_private *np = netdev_priv(dev);
1416
1417 strcpy (info->driver, DRV_NAME);
1418 strcpy (info->version, DRV_VERSION);
1419 strcpy (info->bus_info, pci_name(np->pci_dev));
1417 strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
1418 strlcpy(info->version, DRV_VERSION, sizeof(info->version));
1419 strlcpy(info->bus_info, pci_name(np->pci_dev), sizeof(info->bus_info));
1420}
1421
1422static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
1423{
1424 struct epic_private *np = netdev_priv(dev);
1425 int rc;
1426
1427 spin_lock_irq(&np->lock);

--- 182 unchanged lines hidden ---
1420}
1421
1422static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
1423{
1424 struct epic_private *np = netdev_priv(dev);
1425 int rc;
1426
1427 spin_lock_irq(&np->lock);

--- 182 unchanged lines hidden ---