Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /drivers/net/dmfe.c

Filename:/drivers/net/dmfe.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.1-pre9  2.4.1-pre8  2.4.1-pre6 
(Following) 2.4.1-ac1  2.4.1-ac2  2.4.1-ac3  2.4.1-ac4  2.4.1-ac5  2.4.1-ac6 

Location
[  2.4.1
  [  drivers
    [  net
       o  dmfe.c

Patch

diff -u --recursive --new-file v2.4.0/linux/drivers/net/dmfe.c linux/drivers/net/dmfe.c
--- v2.4.0/linux/drivers/net/dmfe.c   Tue Dec  5 12:29:38 2000
+++ linux/drivers/net/dmfe.c   Mon Jan  8 09:09:36 2001
@@ -1596,10 +1596,10 @@
       break;
    }
 
-   rc = pci_register_driver(&dmfe_driver);
+   rc = pci_module_init(&dmfe_driver);
    if (rc < 0)
       return rc;
-   if (rc > 0) {
+   if (rc >= 0) {
       printk (KERN_INFO "Davicom DM91xx net driver loaded, version "
          DMFE_VERSION "\n");
       return 0;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.