aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pci-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pci-skeleton.c')
-rw-r--r--drivers/net/pci-skeleton.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/pci-skeleton.c b/drivers/net/pci-skeleton.c
index e0e29396404..dea843a62d3 100644
--- a/drivers/net/pci-skeleton.c
+++ b/drivers/net/pci-skeleton.c
@@ -98,7 +98,7 @@ IVc. Errata
98#include <linux/crc32.h> 98#include <linux/crc32.h>
99#include <asm/io.h> 99#include <asm/io.h>
100 100
101#define NETDRV_VERSION "1.0.0" 101#define NETDRV_VERSION "1.0.1"
102#define MODNAME "netdrv" 102#define MODNAME "netdrv"
103#define NETDRV_DRIVER_LOAD_MSG "MyVendor Fast Ethernet driver " NETDRV_VERSION " loaded" 103#define NETDRV_DRIVER_LOAD_MSG "MyVendor Fast Ethernet driver " NETDRV_VERSION " loaded"
104#define PFX MODNAME ": " 104#define PFX MODNAME ": "
@@ -1853,9 +1853,6 @@ static void netdrv_set_rx_mode (struct net_device *dev)
1853 1853
1854 /* Note: do not reorder, GCC is clever about common statements. */ 1854 /* Note: do not reorder, GCC is clever about common statements. */
1855 if (dev->flags & IFF_PROMISC) { 1855 if (dev->flags & IFF_PROMISC) {
1856 /* Unconditionally log net taps. */
1857 printk (KERN_NOTICE "%s: Promiscuous mode enabled.\n",
1858 dev->name);
1859 rx_mode = 1856 rx_mode =
1860 AcceptBroadcast | AcceptMulticast | AcceptMyPhys | 1857 AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
1861 AcceptAllPhys; 1858 AcceptAllPhys;
@@ -1963,7 +1960,7 @@ static int __init netdrv_init_module (void)
1963#ifdef MODULE 1960#ifdef MODULE
1964 printk(version); 1961 printk(version);
1965#endif 1962#endif
1966 return pci_module_init (&netdrv_pci_driver); 1963 return pci_register_driver(&netdrv_pci_driver);
1967} 1964}
1968 1965
1969 1966