mirror of https://github.com/ipxe/ipxe.git
Make PCI ID tables const so as not to trigger a warning about a large
symbol.pull/1/head
parent
cc73bba7ba
commit
e91c65bea1
|
@ -125,7 +125,7 @@ struct pci_id_info {
|
||||||
u16 addrOfs; /* Address Offset */
|
u16 addrOfs; /* Address Offset */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pci_id_info tlan_pci_tbl[] = {
|
static const struct pci_id_info tlan_pci_tbl[] = {
|
||||||
{"Compaq Netelligent 10 T PCI UTP", NETEL10,
|
{"Compaq Netelligent 10 T PCI UTP", NETEL10,
|
||||||
{0xae340e11, 0xffffffff, 0, 0, 0, 0},
|
{0xae340e11, 0xffffffff, 0, 0, 0, 0},
|
||||||
TLAN_ADAPTER_ACTIVITY_LED, 0x83},
|
TLAN_ADAPTER_ACTIVITY_LED, 0x83},
|
||||||
|
|
|
@ -180,7 +180,7 @@ struct pci_id_info {
|
||||||
int drv_flags; /* Driver use, intended as capability flags. */
|
int drv_flags; /* Driver use, intended as capability flags. */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pci_id_info pci_id_tbl[] = {
|
static const struct pci_id_info pci_id_tbl[] = {
|
||||||
{ "Digital DC21040 Tulip", { 0x00021011, 0xffffffff, 0, 0, 0, 0 },
|
{ "Digital DC21040 Tulip", { 0x00021011, 0xffffffff, 0, 0, 0, 0 },
|
||||||
TULIP_IOTYPE, 0x80, DC21040 },
|
TULIP_IOTYPE, 0x80, DC21040 },
|
||||||
{ "Digital DC21041 Tulip", { 0x00141011, 0xffffffff, 0, 0, 0, 0 },
|
{ "Digital DC21041 Tulip", { 0x00141011, 0xffffffff, 0, 0, 0, 0 },
|
||||||
|
|
Loading…
Reference in New Issue