david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Make PCI ID tables const so as not to trigger a warning about a large

symbol.
This commit is contained in:
Michael Brown 2005-05-03 12:36:06 +00:00
parent cc73bba7ba
commit e91c65bea1
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ struct pci_id_info {
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,
{0xae340e11, 0xffffffff, 0, 0, 0, 0},
TLAN_ADAPTER_ACTIVITY_LED, 0x83},

View File

@ -180,7 +180,7 @@ struct pci_id_info {
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 },
TULIP_IOTYPE, 0x80, DC21040 },
{ "Digital DC21041 Tulip", { 0x00141011, 0xffffffff, 0, 0, 0, 0 },