Browse Source

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

symbol.
tags/v0.9.3
Michael Brown 19 years ago
parent
commit
e91c65bea1
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/drivers/net/tlan.c
  2. 1
    1
      src/drivers/net/tulip.c

+ 1
- 1
src/drivers/net/tlan.c View File

125
 	u16 addrOfs;		/* Address Offset */
125
 	u16 addrOfs;		/* Address Offset */
126
 };
126
 };
127
 
127
 
128
-static struct pci_id_info tlan_pci_tbl[] = {
128
+static const struct pci_id_info tlan_pci_tbl[] = {
129
 	{"Compaq Netelligent 10 T PCI UTP", NETEL10,
129
 	{"Compaq Netelligent 10 T PCI UTP", NETEL10,
130
 	 {0xae340e11, 0xffffffff, 0, 0, 0, 0},
130
 	 {0xae340e11, 0xffffffff, 0, 0, 0, 0},
131
 	 TLAN_ADAPTER_ACTIVITY_LED, 0x83},
131
 	 TLAN_ADAPTER_ACTIVITY_LED, 0x83},

+ 1
- 1
src/drivers/net/tulip.c View File

180
     int drv_flags;                              /* Driver use, intended as capability flags. */
180
     int drv_flags;                              /* Driver use, intended as capability flags. */
181
 };
181
 };
182
 
182
 
183
-static struct pci_id_info pci_id_tbl[] = {
183
+static const struct pci_id_info pci_id_tbl[] = {
184
     { "Digital DC21040 Tulip", { 0x00021011, 0xffffffff, 0, 0, 0, 0 },
184
     { "Digital DC21040 Tulip", { 0x00021011, 0xffffffff, 0, 0, 0, 0 },
185
       TULIP_IOTYPE, 0x80, DC21040 },
185
       TULIP_IOTYPE, 0x80, DC21040 },
186
     { "Digital DC21041 Tulip", { 0x00141011, 0xffffffff, 0, 0, 0, 0 },
186
     { "Digital DC21041 Tulip", { 0x00141011, 0xffffffff, 0, 0, 0, 0 },

Loading…
Cancel
Save