summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/drivers/net/rtl818x/rtl8180.c
blob: 5f97480fa6c1bce450127afa91ab872a3041f9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Realtek 8180 card: rtl818x driver + rtl8180 RF modules */

FILE_LICENCE(GPL2_OR_LATER);

#include <ipxe/pci.h>
#include "rtl818x.h"

static struct pci_device_id rtl8180_nics[] = {
	PCI_ROM(0x10ec, 0x8180, "rtl8180", "Realtek 8180", 0),
	PCI_ROM(0x1799, 0x6001, "f5d6001", "Belkin F5D6001", 0),
	PCI_ROM(0x1799, 0x6020, "f5d6020", "Belkin F5D6020", 0),
	PCI_ROM(0x1186, 0x3300, "dwl510",  "D-Link DWL-510", 0),
};

struct pci_driver rtl8180_driver __pci_driver = {
	.ids            = rtl8180_nics,
	.id_count       = sizeof(rtl8180_nics) / sizeof(rtl8180_nics[0]),
	.probe		= rtl818x_probe,
	.remove		= rtl818x_remove,
};

REQUIRING_SYMBOL(rtl8180_driver);
REQUIRE_OBJECT(rtl8180_grf5101);
REQUIRE_OBJECT(rtl8180_max2820);
REQUIRE_OBJECT(rtl8180_sa2400);