[PATCH] bcm43xx: basic ethtool support
This patch contains the beginnings of ethtool support for bcm43xx. It only implements get_drvinfo and get_link, but that's enough for ifplugd to use ethtool to know whether we're associated or not and then start or stop dhcp as necessary. Signed-off-by: Jason Lunz <lunz@falooley.org> Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
9e4a375b15
commit
6465ce1bbf
@ -49,6 +49,7 @@
|
||||
#include "bcm43xx_pio.h"
|
||||
#include "bcm43xx_power.h"
|
||||
#include "bcm43xx_wx.h"
|
||||
#include "bcm43xx_ethtool.h"
|
||||
|
||||
|
||||
MODULE_DESCRIPTION("Broadcom BCM43xx wireless driver");
|
||||
@ -4249,6 +4250,7 @@ static int __devinit bcm43xx_init_one(struct pci_dev *pdev,
|
||||
#endif
|
||||
net_dev->wireless_handlers = &bcm43xx_wx_handlers_def;
|
||||
net_dev->irq = pdev->irq;
|
||||
SET_ETHTOOL_OPS(net_dev, &bcm43xx_ethtool_ops);
|
||||
|
||||
/* initialize the bcm43xx_private struct */
|
||||
bcm = bcm43xx_priv(net_dev);
|
||||
|
Reference in New Issue
Block a user