|
@@ -649,7 +649,7 @@ struct net80211_device_operations rtl818x_operations = {
|
649
|
649
|
.config = rtl818x_config,
|
650
|
650
|
};
|
651
|
651
|
|
652
|
|
-static int rtl818x_probe(struct pci_device *pdev )
|
|
652
|
+int rtl818x_probe(struct pci_device *pdev )
|
653
|
653
|
{
|
654
|
654
|
struct net80211_device *dev;
|
655
|
655
|
struct rtl818x_priv *priv;
|
|
@@ -820,7 +820,7 @@ static int rtl818x_probe(struct pci_device *pdev )
|
820
|
820
|
return err;
|
821
|
821
|
}
|
822
|
822
|
|
823
|
|
-static void rtl818x_remove(struct pci_device *pdev)
|
|
823
|
+void rtl818x_remove(struct pci_device *pdev)
|
824
|
824
|
{
|
825
|
825
|
struct net80211_device *dev = pci_get_drvdata(pdev);
|
826
|
826
|
|
|
@@ -830,25 +830,3 @@ static void rtl818x_remove(struct pci_device *pdev)
|
830
|
830
|
net80211_unregister(dev);
|
831
|
831
|
net80211_free(dev);
|
832
|
832
|
}
|
833
|
|
-
|
834
|
|
-/* Hide PCI_ROM definitions in here from parserom.pl; the definitions
|
835
|
|
- that should be used are in rtl8180.c and rtl8185.c. */
|
836
|
|
-#define RTL_ROM PCI_ROM
|
837
|
|
-
|
838
|
|
-static struct pci_device_id rtl818x_nics[] = {
|
839
|
|
- RTL_ROM(0x10ec, 0x8185, "rtl8185", "Realtek 8185", 0),
|
840
|
|
- RTL_ROM(0x1799, 0x700f, "f5d7000", "Belkin F5D7000", 0),
|
841
|
|
- RTL_ROM(0x1799, 0x701f, "f5d7010", "Belkin F5D7010", 0),
|
842
|
|
-
|
843
|
|
- RTL_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
|
844
|
|
- RTL_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
|
845
|
|
- RTL_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
|
846
|
|
- RTL_ROM(0x1186, 0x3300, "dwl510", "D-Link DWL-510", 0),
|
847
|
|
-};
|
848
|
|
-
|
849
|
|
-struct pci_driver rtl818x_driver __pci_driver = {
|
850
|
|
- .ids = rtl818x_nics,
|
851
|
|
- .id_count = sizeof(rtl818x_nics) / sizeof(rtl818x_nics[0]),
|
852
|
|
- .probe = rtl818x_probe,
|
853
|
|
- .remove = rtl818x_remove,
|
854
|
|
-};
|