Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46500
b: refs/heads/master
c: ff86a54
h: refs/heads/master
v: v3
  • Loading branch information
Kai Engert authored and Jeff Garzik committed Feb 5, 2007
1 parent d441c46 commit 5bcf1fb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01917382865bb640fc00df7ea476a14c8c539ec3
refs/heads/master: ff86a543e9de35c5b17a289a58aed0be4e7b9d22
13 changes: 13 additions & 0 deletions trunk/drivers/net/wireless/prism54/islpci_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/module.h>

#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -787,6 +788,17 @@ islpci_set_multicast_list(struct net_device *dev)
}
#endif

static void islpci_ethtool_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
strcpy(info->driver, DRV_NAME);
strcpy(info->version, DRV_VERSION);
}

static struct ethtool_ops islpci_ethtool_ops = {
.get_drvinfo = islpci_ethtool_get_drvinfo,
};

struct net_device *
islpci_setup(struct pci_dev *pdev)
{
Expand All @@ -813,6 +825,7 @@ islpci_setup(struct pci_dev *pdev)
ndev->do_ioctl = &prism54_ioctl;
ndev->wireless_handlers =
(struct iw_handler_def *) &prism54_handler_def;
ndev->ethtool_ops = &islpci_ethtool_ops;

ndev->hard_start_xmit = &islpci_eth_transmit;
/* ndev->set_multicast_list = &islpci_set_multicast_list; */
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/prism54/islpci_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,8 @@ islpci_trigger(islpci_private *priv)

int islpci_free_memory(islpci_private *);
struct net_device *islpci_setup(struct pci_dev *);

#define DRV_NAME "prism54"
#define DRV_VERSION "1.2"

#endif /* _ISLPCI_DEV_H */
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/prism54/islpci_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
#include "islpci_mgt.h" /* for pc_debug */
#include "isl_oid.h"

#define DRV_NAME "prism54"
#define DRV_VERSION "1.2"

MODULE_AUTHOR("[Intersil] R.Bastings and W.Termorshuizen, The prism54.org Development Team <prism54-devel@prism54.org>");
MODULE_DESCRIPTION("The Prism54 802.11 Wireless LAN adapter");
MODULE_LICENSE("GPL");
Expand Down

0 comments on commit 5bcf1fb

Please sign in to comment.