[PATCH 2.4] PCI 1/2 update pci.ids

From: Grant Coady
Date: Mon Apr 04 2005 - 17:27:23 EST


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 <gcoady@xxxxxxxxx>


--- 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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/