iPXE
rtl8185.c
Go to the documentation of this file.
1 /* Realtek 8185 card: rtl818x driver + rtl8185_rtl8225 RF module */
2 
3 FILE_LICENCE(GPL2_OR_LATER);
4 
5 #include <ipxe/pci.h>
6 #include "rtl818x.h"
7 
8 static struct pci_device_id rtl8185_nics[] __unused = {
9  PCI_ROM(0x10ec, 0x8185, "rtl8185", "Realtek 8185", 0),
10  PCI_ROM(0x1799, 0x700f, "f5d7000", "Belkin F5D7000", 0),
11  PCI_ROM(0x1799, 0x701f, "f5d7010", "Belkin F5D7010", 0),
12 };
13 
14 struct pci_driver rtl8185_driver __pci_driver = {
15  .ids = rtl8185_nics,
16  .id_count = sizeof(rtl8185_nics) / sizeof(rtl8185_nics[0]),
17  .probe = rtl818x_probe,
18  .remove = rtl818x_remove,
19 };
20 
21 REQUIRING_SYMBOL(rtl8185_driver);
22 REQUIRE_OBJECT(rtl8185_rtl8225);
A PCI driver.
Definition: pci.h:247
REQUIRE_OBJECT(rtl8185_rtl8225)
struct pci_device_id * ids
PCI ID table.
Definition: pci.h:249
struct pci_driver rtl8185_driver __pci_driver
Definition: rtl8185.c:14
PCI bus.
A PCI device ID list entry.
Definition: pci.h:170
FILE_LICENCE(GPL2_OR_LATER)
void rtl818x_remove(struct pci_device *pdev)
Definition: rtl818x.c:827
static struct pci_device_id rtl8185_nics [] __unused
Definition: rtl8185.c:8
REQUIRING_SYMBOL(rtl8185_driver)
#define PCI_ROM(_vendor, _device, _name, _description, _data)
Definition: pci.h:303
int rtl818x_probe(struct pci_device *pdev)
Definition: rtl818x.c:652