iPXE
rtl8180.c
Go to the documentation of this file.
00001 /* Realtek 8180 card: rtl818x driver + rtl8180 RF modules */
00002 
00003 FILE_LICENCE(GPL2_OR_LATER);
00004 
00005 #include <ipxe/pci.h>
00006 #include "rtl818x.h"
00007 
00008 static struct pci_device_id rtl8180_nics[] = {
00009         PCI_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
00010         PCI_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
00011         PCI_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
00012         PCI_ROM(0x1186, 0x3300, "dwl510",  "D-Link DWL-510", 0),
00013 };
00014 
00015 struct pci_driver rtl8180_driver __pci_driver = {
00016         .ids            = rtl8180_nics,
00017         .id_count       = sizeof(rtl8180_nics) / sizeof(rtl8180_nics[0]),
00018         .probe          = rtl818x_probe,
00019         .remove         = rtl818x_remove,
00020 };
00021 
00022 REQUIRING_SYMBOL(rtl8180_driver);
00023 REQUIRE_OBJECT(rtl8180_grf5101);
00024 REQUIRE_OBJECT(rtl8180_max2820);
00025 REQUIRE_OBJECT(rtl8180_sa2400);