iPXE
rtl8180.c File Reference
#include <ipxe/pci.h>
#include "rtl818x.h"

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 FILE_SECBOOT (FORBIDDEN)
 REQUIRING_SYMBOL (rtl8180_driver)
 REQUIRE_OBJECT (rtl8180_grf5101)
 REQUIRE_OBJECT (rtl8180_max2820)
 REQUIRE_OBJECT (rtl8180_sa2400)

Variables

static struct pci_device_id rtl8180_nics []
struct pci_driver rtl8180_driver __pci_driver

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER )

◆ FILE_SECBOOT()

FILE_SECBOOT ( FORBIDDEN )

◆ REQUIRING_SYMBOL()

REQUIRING_SYMBOL ( rtl8180_driver )

◆ REQUIRE_OBJECT() [1/3]

REQUIRE_OBJECT ( rtl8180_grf5101 )

◆ REQUIRE_OBJECT() [2/3]

REQUIRE_OBJECT ( rtl8180_max2820 )

◆ REQUIRE_OBJECT() [3/3]

REQUIRE_OBJECT ( rtl8180_sa2400 )

Variable Documentation

◆ rtl8180_nics

struct pci_device_id rtl8180_nics[]
static
Initial value:
= {
PCI_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
PCI_ROM(0x1186, 0x3300, "dwl510", "D-Link DWL-510", 0),
PCI_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
PCI_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
}
#define PCI_ROM(_vendor, _device, _name, _description, _data)
Definition pci.h:308

Definition at line 9 of file rtl8180.c.

9 {
10 PCI_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
11 PCI_ROM(0x1186, 0x3300, "dwl510", "D-Link DWL-510", 0),
12 PCI_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
13 PCI_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
14};

◆ __pci_driver

struct pci_driver rtl8180_driver __pci_driver
Initial value:
= {
.ids = rtl8180_nics,
.id_count = sizeof(rtl8180_nics) / sizeof(rtl8180_nics[0]),
.probe = rtl818x_probe,
.remove = rtl818x_remove,
}
static struct pci_device_id rtl8180_nics[]
Definition rtl8180.c:9
int rtl818x_probe(struct pci_device *pdev)
Definition rtl818x.c:654
void rtl818x_remove(struct pci_device *pdev)
Definition rtl818x.c:829

Definition at line 16 of file rtl8180.c.

16 {
17 .ids = rtl8180_nics,
18 .id_count = sizeof(rtl8180_nics) / sizeof(rtl8180_nics[0]),
19 .probe = rtl818x_probe,
20 .remove = rtl818x_remove,
21};