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
This commit is contained in:
Jérôme Duval 2006-01-25 17:09:12 +00:00
parent 6f896d56e2
commit 1571b4c958
1 changed files with 2 additions and 2 deletions

View File

@ -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"