3c59x.c (41966710ab574f1fcedf3e10e1ceef911c096d1d) 3c59x.c (68aad78c5023b8aa82da99b47f9d8cf40e8ca453)
1/* EtherLinkXL.c: A 3Com EtherLink PCI III/XL ethernet driver for linux. */
2/*
3 Written 1996-1999 by Donald Becker.
4
5 This software may be used and distributed according to the terms
6 of the GNU General Public License, incorporated herein by reference.
7
8 This driver is for the 3Com "Vortex" and "Boomerang" series ethercards.

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

2924 }
2925}
2926
2927static void vortex_get_drvinfo(struct net_device *dev,
2928 struct ethtool_drvinfo *info)
2929{
2930 struct vortex_private *vp = netdev_priv(dev);
2931
1/* EtherLinkXL.c: A 3Com EtherLink PCI III/XL ethernet driver for linux. */
2/*
3 Written 1996-1999 by Donald Becker.
4
5 This software may be used and distributed according to the terms
6 of the GNU General Public License, incorporated herein by reference.
7
8 This driver is for the 3Com "Vortex" and "Boomerang" series ethercards.

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

2924 }
2925}
2926
2927static void vortex_get_drvinfo(struct net_device *dev,
2928 struct ethtool_drvinfo *info)
2929{
2930 struct vortex_private *vp = netdev_priv(dev);
2931
2932 strcpy(info->driver, DRV_NAME);
2932 strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
2933 if (VORTEX_PCI(vp)) {
2933 if (VORTEX_PCI(vp)) {
2934 strcpy(info->bus_info, pci_name(VORTEX_PCI(vp)));
2934 strlcpy(info->bus_info, pci_name(VORTEX_PCI(vp)),
2935 sizeof(info->bus_info));
2935 } else {
2936 if (VORTEX_EISA(vp))
2936 } else {
2937 if (VORTEX_EISA(vp))
2937 strcpy(info->bus_info, dev_name(vp->gendev));
2938 strlcpy(info->bus_info, dev_name(vp->gendev),
2939 sizeof(info->bus_info));
2938 else
2940 else
2939 sprintf(info->bus_info, "EISA 0x%lx %d",
2940 dev->base_addr, dev->irq);
2941 snprintf(info->bus_info, sizeof(info->bus_info),
2942 "EISA 0x%lx %d", dev->base_addr, dev->irq);
2941 }
2942}
2943
2944static void vortex_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
2945{
2946 struct vortex_private *vp = netdev_priv(dev);
2947
2948 if (!VORTEX_PCI(vp))

--- 379 unchanged lines hidden ---
2943 }
2944}
2945
2946static void vortex_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
2947{
2948 struct vortex_private *vp = netdev_priv(dev);
2949
2950 if (!VORTEX_PCI(vp))

--- 379 unchanged lines hidden ---