Skip to contentSkip to conversation

PCI 1/2 update pci.ids

PATCH New Grant Coady 1 participant 1 message Apr 4, 2005 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI 1/2 update pci.ids

Hi Marcelo,

Found the size of pci.ids strings (MAX_NAME_SIZE) needed increasing to accommodate latest pci.ids snapshot, compile failed at 140, succeeded at 150, so I went 160.

This patch is required for the update to latest pci.ids snapshot patch 2/2.

drivers/pci/gen-devlist.c +1 -1
@@ -7,7 +7,7 @@
 #include <stdio.h>
 #include <string.h>
 
-#define MAX_NAME_SIZE 79
+#define MAX_NAME_SIZE 160
 
 static void
 pq(FILE *f, const char *c)