1BEGIN { 2 print("/* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. */"); 3 print("static const struct pci_matchid radeon_devices[] = {"); 4} 5/0, CHIP/ { 6 val = substr($0, 3, 14); 7 printf("\t{ " val " },\n"); 8} 9END { 10 print("};"); 11} 12