3c515.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) 3c515.c (7826d43f2db45c9305a6e0ba165650e1a203f517)
1/*
2 Written 1997-1998 by Donald Becker.
3
4 This software may be used and distributed according to the terms
5 of the GNU General Public License, incorporated herein by reference.
6
7 This driver is for the 3Com ISA EtherLink XL "Corkscrew" 3c515 ethercard.
8

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

1537 new_mode = SetRxFilter | RxStation | RxBroadcast;
1538
1539 outw(new_mode, ioaddr + EL3_CMD);
1540}
1541
1542static void netdev_get_drvinfo(struct net_device *dev,
1543 struct ethtool_drvinfo *info)
1544{
1/*
2 Written 1997-1998 by Donald Becker.
3
4 This software may be used and distributed according to the terms
5 of the GNU General Public License, incorporated herein by reference.
6
7 This driver is for the 3Com ISA EtherLink XL "Corkscrew" 3c515 ethercard.
8

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

1537 new_mode = SetRxFilter | RxStation | RxBroadcast;
1538
1539 outw(new_mode, ioaddr + EL3_CMD);
1540}
1541
1542static void netdev_get_drvinfo(struct net_device *dev,
1543 struct ethtool_drvinfo *info)
1544{
1545 strcpy(info->driver, DRV_NAME);
1546 strcpy(info->version, DRV_VERSION);
1547 sprintf(info->bus_info, "ISA 0x%lx", dev->base_addr);
1545 strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
1546 strlcpy(info->version, DRV_VERSION, sizeof(info->version));
1547 snprintf(info->bus_info, sizeof(info->bus_info), "ISA 0x%lx",
1548 dev->base_addr);
1548}
1549
1550static u32 netdev_get_msglevel(struct net_device *dev)
1551{
1552 return corkscrew_debug;
1553}
1554
1555static void netdev_set_msglevel(struct net_device *dev, u32 level)

--- 27 unchanged lines hidden ---
1549}
1550
1551static u32 netdev_get_msglevel(struct net_device *dev)
1552{
1553 return corkscrew_debug;
1554}
1555
1556static void netdev_set_msglevel(struct net_device *dev, u32 level)

--- 27 unchanged lines hidden ---