diff options
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r-- | drivers/net/tulip/xircom_cb.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index a439e93be22d..5a73752be2ca 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/skbuff.h> | 29 | #include <linux/skbuff.h> |
30 | #include <linux/delay.h> | 30 | #include <linux/delay.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/ethtool.h> | ||
33 | #include <linux/bitops.h> | 32 | #include <linux/bitops.h> |
34 | 33 | ||
35 | #include <asm/uaccess.h> | 34 | #include <asm/uaccess.h> |
@@ -181,19 +180,6 @@ static void print_binary(unsigned int number) | |||
181 | } | 180 | } |
182 | #endif | 181 | #endif |
183 | 182 | ||
184 | static void netdev_get_drvinfo(struct net_device *dev, | ||
185 | struct ethtool_drvinfo *info) | ||
186 | { | ||
187 | struct xircom_private *private = netdev_priv(dev); | ||
188 | |||
189 | strcpy(info->driver, "xircom_cb"); | ||
190 | strcpy(info->bus_info, pci_name(private->pdev)); | ||
191 | } | ||
192 | |||
193 | static const struct ethtool_ops netdev_ethtool_ops = { | ||
194 | .get_drvinfo = netdev_get_drvinfo, | ||
195 | }; | ||
196 | |||
197 | static const struct net_device_ops netdev_ops = { | 183 | static const struct net_device_ops netdev_ops = { |
198 | .ndo_open = xircom_open, | 184 | .ndo_open = xircom_open, |
199 | .ndo_stop = xircom_close, | 185 | .ndo_stop = xircom_close, |
@@ -279,7 +265,6 @@ static int __devinit xircom_probe(struct pci_dev *pdev, const struct pci_device_ | |||
279 | setup_descriptors(private); | 265 | setup_descriptors(private); |
280 | 266 | ||
281 | dev->netdev_ops = &netdev_ops; | 267 | dev->netdev_ops = &netdev_ops; |
282 | SET_ETHTOOL_OPS(dev, &netdev_ethtool_ops); | ||
283 | pci_set_drvdata(pdev, dev); | 268 | pci_set_drvdata(pdev, dev); |
284 | 269 | ||
285 | if (register_netdev(dev)) { | 270 | if (register_netdev(dev)) { |