From 1571b4c95854a1b02563951914986a34f814b7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 25 Jan 2006 17:09:12 +0000 Subject: [PATCH] added Chip and VendorShort fields to fix the build They should be checked to see if they're useful at all. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16085 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/devices/pci-clean.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preferences/devices/pci-clean.awk b/src/preferences/devices/pci-clean.awk index 26ce1932f9..d7613a0e2f 100644 --- a/src/preferences/devices/pci-clean.awk +++ b/src/preferences/devices/pci-clean.awk @@ -17,7 +17,7 @@ BEGIN { print "#\tHeader created on " strftime( "%A, %d %b %Y %H:%M:%S %Z", systime() ) print "#endif" - print "typedef struct _PCI_DEVTABLE\n{\n\tunsigned short VenId ;\n\tunsigned short DevId ;\n\tchar *\tChipDesc ;\n} PCI_DEVTABLE, *PPCI_DEVTABLE ;\n" + print "typedef struct _PCI_DEVTABLE\n{\n\tunsigned short VenId ;\n\tunsigned short DevId ;\n\tchar *\tChipDesc ;\n\tchar *\tChip ;\n} PCI_DEVTABLE, *PPCI_DEVTABLE ;\n" print "PCI_DEVTABLE\tPciDevTable [] =\n{" } @@ -84,7 +84,7 @@ END { print "} ;\n\n// Use this value for loop control during searching:\n#define PCI_DEVTABLE_LEN (sizeof(PciDevTable)/sizeof(PCI_DEVTABLE))\n"; if ( length( vendor ) > 0 ) { - print "\ntypedef struct _PCI_VENTABLE\n{\n\tunsigned short\tVenId ;\n\tchar *\tVenFull ;\n} PCI_VENTABLE, *PPCI_VENTABLE ;\n" + print "\ntypedef struct _PCI_VENTABLE\n{\n\tunsigned short\tVenId ;\n\tchar *\tVenFull ;\n\tchar *\tVenShort ;\n} PCI_VENTABLE, *PPCI_VENTABLE ;\n" print "PCI_VENTABLE\tPciVenTable [] =\n{" print vendor print "};\n\n// Use this value for loop control during searching:\n#define\tPCI_VENTABLE_LEN\t(sizeof(PciVenTable)/sizeof(PCI_VENTABLE))\n"