aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sis190.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sis190.c')
-rw-r--r--drivers/net/sis190.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index df0cbebb327..7c1982af2a4 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -821,9 +821,6 @@ static void sis190_set_rx_mode(struct net_device *dev)
821 u16 rx_mode; 821 u16 rx_mode;
822 822
823 if (dev->flags & IFF_PROMISC) { 823 if (dev->flags & IFF_PROMISC) {
824 /* Unconditionally log net taps. */
825 net_drv(tp, KERN_NOTICE "%s: Promiscuous mode enabled.\n",
826 dev->name);
827 rx_mode = 824 rx_mode =
828 AcceptBroadcast | AcceptMulticast | AcceptMyPhys | 825 AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
829 AcceptAllPhys; 826 AcceptAllPhys;
@@ -1871,7 +1868,7 @@ static struct pci_driver sis190_pci_driver = {
1871 1868
1872static int __init sis190_init_module(void) 1869static int __init sis190_init_module(void)
1873{ 1870{
1874 return pci_module_init(&sis190_pci_driver); 1871 return pci_register_driver(&sis190_pci_driver);
1875} 1872}
1876 1873
1877static void __exit sis190_cleanup_module(void) 1874static void __exit sis190_cleanup_module(void)