blob: 1e7f5c59a9e72c7701f444feeb973093bcb22d67 [file] [log] [blame]
swissChilica268482021-05-28 18:31:46 -07001BEGIN {
2 FS="\t"
3
4 print "#include <dri/pci/vendors.h>"
5 print ""
6 print "struct pci_vendor pci_vendors[] ="
7 print "{"
8}
9
10{
11 print "\t(struct pci_vendor){ .id = " $1 ", .name = \"" $2 "\" },"
12}
13
14END {
15 print "};"
16 print ""
17 print "int pci_num_vendors = " NR ";";
18}