summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/devlist.awk
blob: ab21768bdfbc95cce1c08a22fabf1a2746ac3396 (plain)
1
2
3
4
5
6
7
8
9
10
11
BEGIN {
	print("/* THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT. */");
	print("static const struct pci_matchid radeon_devices[] = {");
}
/0, CHIP/ {
	val = substr($0, 3, 14);
	printf("\t{ " val " },\n");
}
END {
	print("};");
}