iPXE
Functions | Variables
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)
 
 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  )

◆ 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:303

Definition at line 8 of file rtl8180.c.

◆ __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:8
void rtl818x_remove(struct pci_device *pdev)
Definition: rtl818x.c:827
int rtl818x_probe(struct pci_device *pdev)
Definition: rtl818x.c:652

Definition at line 15 of file rtl8180.c.