[pci] Add driver_data field to struct pci_device_id
[people/lynusvaz/gpxe.git] / src / drivers / net / e1000 / e1000.c
index c1a4a52..3461ee5 100644 (file)
@@ -1039,68 +1039,68 @@ e1000_io_write ( struct e1000_hw *hw  __unused, unsigned long port, uint32_t val
 }
 
 static struct pci_device_id e1000_nics[] = {
-       PCI_ROM(0x8086, 0x1000, "e1000-0x1000", "e1000-0x1000"),
-       PCI_ROM(0x8086, 0x1001, "e1000-0x1001", "e1000-0x1001"),
-       PCI_ROM(0x8086, 0x1004, "e1000-0x1004", "e1000-0x1004"),
-       PCI_ROM(0x8086, 0x1008, "e1000-0x1008", "e1000-0x1008"),
-       PCI_ROM(0x8086, 0x1009, "e1000-0x1009", "e1000-0x1009"),
-       PCI_ROM(0x8086, 0x100c, "e1000-0x100c", "e1000-0x100c"),
-       PCI_ROM(0x8086, 0x100d, "e1000-0x100d", "e1000-0x100d"),
-       PCI_ROM(0x8086, 0x100e, "e1000-0x100e", "e1000-0x100e"),
-       PCI_ROM(0x8086, 0x100f, "e1000-0x100f", "e1000-0x100f"),
-       PCI_ROM(0x8086, 0x1010, "e1000-0x1010", "e1000-0x1010"),
-       PCI_ROM(0x8086, 0x1011, "e1000-0x1011", "e1000-0x1011"),
-       PCI_ROM(0x8086, 0x1012, "e1000-0x1012", "e1000-0x1012"),
-       PCI_ROM(0x8086, 0x1013, "e1000-0x1013", "e1000-0x1013"),
-       PCI_ROM(0x8086, 0x1014, "e1000-0x1014", "e1000-0x1014"),
-       PCI_ROM(0x8086, 0x1015, "e1000-0x1015", "e1000-0x1015"),
-       PCI_ROM(0x8086, 0x1016, "e1000-0x1016", "e1000-0x1016"),
-       PCI_ROM(0x8086, 0x1017, "e1000-0x1017", "e1000-0x1017"),
-       PCI_ROM(0x8086, 0x1018, "e1000-0x1018", "e1000-0x1018"),
-       PCI_ROM(0x8086, 0x1019, "e1000-0x1019", "e1000-0x1019"),
-       PCI_ROM(0x8086, 0x101a, "e1000-0x101a", "e1000-0x101a"),
-       PCI_ROM(0x8086, 0x101d, "e1000-0x101d", "e1000-0x101d"),
-       PCI_ROM(0x8086, 0x101e, "e1000-0x101e", "e1000-0x101e"),
-       PCI_ROM(0x8086, 0x1026, "e1000-0x1026", "e1000-0x1026"),
-       PCI_ROM(0x8086, 0x1027, "e1000-0x1027", "e1000-0x1027"),
-       PCI_ROM(0x8086, 0x1028, "e1000-0x1028", "e1000-0x1028"),
-       PCI_ROM(0x8086, 0x1049, "e1000-0x1049", "e1000-0x1049"),
-       PCI_ROM(0x8086, 0x104a, "e1000-0x104a", "e1000-0x104a"),
-       PCI_ROM(0x8086, 0x104b, "e1000-0x104b", "e1000-0x104b"),
-       PCI_ROM(0x8086, 0x104c, "e1000-0x104c", "e1000-0x104c"),
-       PCI_ROM(0x8086, 0x104d, "e1000-0x104d", "e1000-0x104d"),
-       PCI_ROM(0x8086, 0x105e, "e1000-0x105e", "e1000-0x105e"),
-       PCI_ROM(0x8086, 0x105f, "e1000-0x105f", "e1000-0x105f"),
-       PCI_ROM(0x8086, 0x1060, "e1000-0x1060", "e1000-0x1060"),
-       PCI_ROM(0x8086, 0x1075, "e1000-0x1075", "e1000-0x1075"),
-       PCI_ROM(0x8086, 0x1076, "e1000-0x1076", "e1000-0x1076"),
-       PCI_ROM(0x8086, 0x1077, "e1000-0x1077", "e1000-0x1077"),
-       PCI_ROM(0x8086, 0x1078, "e1000-0x1078", "e1000-0x1078"),
-       PCI_ROM(0x8086, 0x1079, "e1000-0x1079", "e1000-0x1079"),
-       PCI_ROM(0x8086, 0x107a, "e1000-0x107a", "e1000-0x107a"),
-       PCI_ROM(0x8086, 0x107b, "e1000-0x107b", "e1000-0x107b"),
-       PCI_ROM(0x8086, 0x107c, "e1000-0x107c", "e1000-0x107c"),
-       PCI_ROM(0x8086, 0x107d, "e1000-0x107d", "e1000-0x107d"),
-       PCI_ROM(0x8086, 0x107e, "e1000-0x107e", "e1000-0x107e"),
-       PCI_ROM(0x8086, 0x107f, "e1000-0x107f", "e1000-0x107f"),
-       PCI_ROM(0x8086, 0x108a, "e1000-0x108a", "e1000-0x108a"),
-       PCI_ROM(0x8086, 0x108b, "e1000-0x108b", "e1000-0x108b"),
-       PCI_ROM(0x8086, 0x108c, "e1000-0x108c", "e1000-0x108c"),
-       PCI_ROM(0x8086, 0x1096, "e1000-0x1096", "e1000-0x1096"),
-       PCI_ROM(0x8086, 0x1098, "e1000-0x1098", "e1000-0x1098"),
-       PCI_ROM(0x8086, 0x1099, "e1000-0x1099", "e1000-0x1099"),
-       PCI_ROM(0x8086, 0x109a, "e1000-0x109a", "e1000-0x109a"),
-       PCI_ROM(0x8086, 0x10a4, "e1000-0x10a4", "e1000-0x10a4"),
-       PCI_ROM(0x8086, 0x10a5, "e1000-0x10a5", "e1000-0x10a5"),
-       PCI_ROM(0x8086, 0x10b5, "e1000-0x10b5", "e1000-0x10b5"),
-       PCI_ROM(0x8086, 0x10b9, "e1000-0x10b9", "e1000-0x10b9"),
-       PCI_ROM(0x8086, 0x10ba, "e1000-0x10ba", "e1000-0x10ba"),
-       PCI_ROM(0x8086, 0x10bb, "e1000-0x10bb", "e1000-0x10bb"),
-       PCI_ROM(0x8086, 0x10bc, "e1000-0x10bc", "e1000-0x10bc"),
-       PCI_ROM(0x8086, 0x10c4, "e1000-0x10c4", "e1000-0x10c4"),
-       PCI_ROM(0x8086, 0x10c5, "e1000-0x10c5", "e1000-0x10c5"),
-       PCI_ROM(0x8086, 0x10d9, "e1000-0x10d9", "e1000-0x10d9"),
-       PCI_ROM(0x8086, 0x10da, "e1000-0x10da", "e1000-0x10da"),
+       PCI_ROM(0x8086, 0x1000, "e1000-0x1000", "e1000-0x1000", 0),
+       PCI_ROM(0x8086, 0x1001, "e1000-0x1001", "e1000-0x1001", 0),
+       PCI_ROM(0x8086, 0x1004, "e1000-0x1004", "e1000-0x1004", 0),
+       PCI_ROM(0x8086, 0x1008, "e1000-0x1008", "e1000-0x1008", 0),
+       PCI_ROM(0x8086, 0x1009, "e1000-0x1009", "e1000-0x1009", 0),
+       PCI_ROM(0x8086, 0x100c, "e1000-0x100c", "e1000-0x100c", 0),
+       PCI_ROM(0x8086, 0x100d, "e1000-0x100d", "e1000-0x100d", 0),
+       PCI_ROM(0x8086, 0x100e, "e1000-0x100e", "e1000-0x100e", 0),
+       PCI_ROM(0x8086, 0x100f, "e1000-0x100f", "e1000-0x100f", 0),
+       PCI_ROM(0x8086, 0x1010, "e1000-0x1010", "e1000-0x1010", 0),
+       PCI_ROM(0x8086, 0x1011, "e1000-0x1011", "e1000-0x1011", 0),
+       PCI_ROM(0x8086, 0x1012, "e1000-0x1012", "e1000-0x1012", 0),
+       PCI_ROM(0x8086, 0x1013, "e1000-0x1013", "e1000-0x1013", 0),
+       PCI_ROM(0x8086, 0x1014, "e1000-0x1014", "e1000-0x1014", 0),
+       PCI_ROM(0x8086, 0x1015, "e1000-0x1015", "e1000-0x1015", 0),
+       PCI_ROM(0x8086, 0x1016, "e1000-0x1016", "e1000-0x1016", 0),
+       PCI_ROM(0x8086, 0x1017, "e1000-0x1017", "e1000-0x1017", 0),
+       PCI_ROM(0x8086, 0x1018, "e1000-0x1018", "e1000-0x1018", 0),
+       PCI_ROM(0x8086, 0x1019, "e1000-0x1019", "e1000-0x1019", 0),
+       PCI_ROM(0x8086, 0x101a, "e1000-0x101a", "e1000-0x101a", 0),
+       PCI_ROM(0x8086, 0x101d, "e1000-0x101d", "e1000-0x101d", 0),
+       PCI_ROM(0x8086, 0x101e, "e1000-0x101e", "e1000-0x101e", 0),
+       PCI_ROM(0x8086, 0x1026, "e1000-0x1026", "e1000-0x1026", 0),
+       PCI_ROM(0x8086, 0x1027, "e1000-0x1027", "e1000-0x1027", 0),
+       PCI_ROM(0x8086, 0x1028, "e1000-0x1028", "e1000-0x1028", 0),
+       PCI_ROM(0x8086, 0x1049, "e1000-0x1049", "e1000-0x1049", 0),
+       PCI_ROM(0x8086, 0x104a, "e1000-0x104a", "e1000-0x104a", 0),
+       PCI_ROM(0x8086, 0x104b, "e1000-0x104b", "e1000-0x104b", 0),
+       PCI_ROM(0x8086, 0x104c, "e1000-0x104c", "e1000-0x104c", 0),
+       PCI_ROM(0x8086, 0x104d, "e1000-0x104d", "e1000-0x104d", 0),
+       PCI_ROM(0x8086, 0x105e, "e1000-0x105e", "e1000-0x105e", 0),
+       PCI_ROM(0x8086, 0x105f, "e1000-0x105f", "e1000-0x105f", 0),
+       PCI_ROM(0x8086, 0x1060, "e1000-0x1060", "e1000-0x1060", 0),
+       PCI_ROM(0x8086, 0x1075, "e1000-0x1075", "e1000-0x1075", 0),
+       PCI_ROM(0x8086, 0x1076, "e1000-0x1076", "e1000-0x1076", 0),
+       PCI_ROM(0x8086, 0x1077, "e1000-0x1077", "e1000-0x1077", 0),
+       PCI_ROM(0x8086, 0x1078, "e1000-0x1078", "e1000-0x1078", 0),
+       PCI_ROM(0x8086, 0x1079, "e1000-0x1079", "e1000-0x1079", 0),
+       PCI_ROM(0x8086, 0x107a, "e1000-0x107a", "e1000-0x107a", 0),
+       PCI_ROM(0x8086, 0x107b, "e1000-0x107b", "e1000-0x107b", 0),
+       PCI_ROM(0x8086, 0x107c, "e1000-0x107c", "e1000-0x107c", 0),
+       PCI_ROM(0x8086, 0x107d, "e1000-0x107d", "e1000-0x107d", 0),
+       PCI_ROM(0x8086, 0x107e, "e1000-0x107e", "e1000-0x107e", 0),
+       PCI_ROM(0x8086, 0x107f, "e1000-0x107f", "e1000-0x107f", 0),
+       PCI_ROM(0x8086, 0x108a, "e1000-0x108a", "e1000-0x108a", 0),
+       PCI_ROM(0x8086, 0x108b, "e1000-0x108b", "e1000-0x108b", 0),
+       PCI_ROM(0x8086, 0x108c, "e1000-0x108c", "e1000-0x108c", 0),
+       PCI_ROM(0x8086, 0x1096, "e1000-0x1096", "e1000-0x1096", 0),
+       PCI_ROM(0x8086, 0x1098, "e1000-0x1098", "e1000-0x1098", 0),
+       PCI_ROM(0x8086, 0x1099, "e1000-0x1099", "e1000-0x1099", 0),
+       PCI_ROM(0x8086, 0x109a, "e1000-0x109a", "e1000-0x109a", 0),
+       PCI_ROM(0x8086, 0x10a4, "e1000-0x10a4", "e1000-0x10a4", 0),
+       PCI_ROM(0x8086, 0x10a5, "e1000-0x10a5", "e1000-0x10a5", 0),
+       PCI_ROM(0x8086, 0x10b5, "e1000-0x10b5", "e1000-0x10b5", 0),
+       PCI_ROM(0x8086, 0x10b9, "e1000-0x10b9", "e1000-0x10b9", 0),
+       PCI_ROM(0x8086, 0x10ba, "e1000-0x10ba", "e1000-0x10ba", 0),
+       PCI_ROM(0x8086, 0x10bb, "e1000-0x10bb", "e1000-0x10bb", 0),
+       PCI_ROM(0x8086, 0x10bc, "e1000-0x10bc", "e1000-0x10bc", 0),
+       PCI_ROM(0x8086, 0x10c4, "e1000-0x10c4", "e1000-0x10c4", 0),
+       PCI_ROM(0x8086, 0x10c5, "e1000-0x10c5", "e1000-0x10c5", 0),
+       PCI_ROM(0x8086, 0x10d9, "e1000-0x10d9", "e1000-0x10d9", 0),
+       PCI_ROM(0x8086, 0x10da, "e1000-0x10da", "e1000-0x10da", 0),
 };
 
 struct pci_driver e1000_driver __pci_driver = {