iPXE
Functions | Variables
rtl8185.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 (rtl8185_driver)
 
 REQUIRE_OBJECT (rtl8185_rtl8225)
 

Variables

static struct pci_device_id rtl8185_nics [] __unused
 
struct pci_driver rtl8185_driver __pci_driver
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER  )

◆ REQUIRING_SYMBOL()

REQUIRING_SYMBOL ( rtl8185_driver  )

◆ REQUIRE_OBJECT()

REQUIRE_OBJECT ( rtl8185_rtl8225  )

Variable Documentation

◆ __unused

struct pci_device_id rtl8185_nics [] __unused
static
Initial value:
= {
PCI_ROM(0x10ec, 0x8185, "rtl8185", "Realtek 8185", 0),
PCI_ROM(0x1799, 0x700f, "f5d7000", "Belkin F5D7000", 0),
PCI_ROM(0x1799, 0x701f, "f5d7010", "Belkin F5D7010", 0),
}
#define PCI_ROM(_vendor, _device, _name, _description, _data)
Definition: pci.h:303

Definition at line 8 of file rtl8185.c.

◆ __pci_driver

struct pci_driver rtl8185_driver __pci_driver
Initial value:
= {
.ids = rtl8185_nics,
.id_count = sizeof(rtl8185_nics) / sizeof(rtl8185_nics[0]),
.probe = rtl818x_probe,
.remove = rtl818x_remove,
}
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 14 of file rtl8185.c.