iPXE
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)
 FILE_SECBOOT (FORBIDDEN)
 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 )

◆ FILE_SECBOOT()

FILE_SECBOOT ( FORBIDDEN )

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

Definition at line 9 of file rtl8185.c.

9 {
10 PCI_ROM(0x10ec, 0x8185, "rtl8185", "Realtek 8185", 0),
11 PCI_ROM(0x1799, 0x700f, "f5d7000", "Belkin F5D7000", 0),
12 PCI_ROM(0x1799, 0x701f, "f5d7010", "Belkin F5D7010", 0),
13};

◆ __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,
}
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 15 of file rtl8185.c.

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