2005-04-04 22:24:39

by Grant Coady

[permalink] [raw]
Subject: [PATCH 2.4] 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.

Signed-off-by: Grant Coady <[email protected]>


--- linux-2.4.30/drivers/pci/gen-devlist.c 2002-08-03 10:39:44.000000000 +1000
+++ linux-2.4.30c/drivers/pci/gen-devlist.c 2005-04-05 07:59:20.000000000 +1000
@@ -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)