These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / drivers / net / rtl818x / rtl8180.c
1 /* Realtek 8180 card: rtl818x driver + rtl8180 RF modules */
2
3 FILE_LICENCE(GPL2_OR_LATER);
4
5 #include <ipxe/pci.h>
6 #include "rtl818x.h"
7
8 static struct pci_device_id rtl8180_nics[] = {
9         PCI_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
10         PCI_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
11         PCI_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
12         PCI_ROM(0x1186, 0x3300, "dwl510",  "D-Link DWL-510", 0),
13 };
14
15 struct pci_driver rtl8180_driver __pci_driver = {
16         .ids            = rtl8180_nics,
17         .id_count       = sizeof(rtl8180_nics) / sizeof(rtl8180_nics[0]),
18         .probe          = rtl818x_probe,
19         .remove         = rtl818x_remove,
20 };
21
22 REQUIRING_SYMBOL(rtl8180_driver);
23 REQUIRE_OBJECT(rtl8180_grf5101);
24 REQUIRE_OBJECT(rtl8180_max2820);
25 REQUIRE_OBJECT(rtl8180_sa2400);