drivers/net: Remove deprecated use of pci_module_init()
[deliverable/linux.git] / drivers / net / sis900.c
index d058741722091c3555f1b3cf0f399c0a67b83a6e..6af50286349de02374a8a217797dd9e75cd543c8 100644 (file)
@@ -134,6 +134,7 @@ static const struct mii_chip_info {
        { "AMD 79C901 10BASE-T PHY",            0x0000, 0x6B70, LAN },
        { "AMD 79C901 HomePNA PHY",             0x0000, 0x6B90, HOME},
        { "ICS LAN PHY",                        0x0015, 0xF440, LAN },
+       { "ICS LAN PHY",                        0x0143, 0xBC70, LAN },
        { "NS 83851 PHY",                       0x2000, 0x5C20, MIX },
        { "NS 83847 PHY",                       0x2000, 0x5C30, MIX },
        { "Realtek RTL8201 PHY",                0x0000, 0x8200, LAN },
@@ -1013,7 +1014,7 @@ sis900_open(struct net_device *net_dev)
        /* Equalizer workaround Rule */
        sis630_set_eq(net_dev, sis_priv->chipset_rev);
 
-       ret = request_irq(net_dev->irq, &sis900_interrupt, SA_SHIRQ,
+       ret = request_irq(net_dev->irq, &sis900_interrupt, IRQF_SHARED,
                                                net_dev->name, net_dev);
        if (ret)
                return ret;
@@ -2495,7 +2496,7 @@ static int __init sis900_init_module(void)
        printk(version);
 #endif
 
-       return pci_module_init(&sis900_pci_driver);
+       return pci_register_driver(&sis900_pci_driver);
 }
 
 static void __exit sis900_cleanup_module(void)
This page took 0.024353 seconds and 5 git commands to generate.