diff options
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r-- | sys/dev/pci/drm/i915/Makefile | 7 | ||||
-rw-r--r-- | sys/dev/pci/drm/i915/devlist.awk | 11 | ||||
-rw-r--r-- | sys/dev/pci/drm/i915/i915_devlist.h | 107 |
3 files changed, 125 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/Makefile b/sys/dev/pci/drm/i915/Makefile new file mode 100644 index 00000000000..04fcb527b6a --- /dev/null +++ b/sys/dev/pci/drm/i915/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.1 2014/07/12 23:16:23 jsg Exp $ + +AWK= awk + +i915_devlist.h: i915_drv.c devlist.awk + /bin/rm -f i915_devlist.h + ${AWK} -f devlist.awk i915_drv.c > i915_devlist.h diff --git a/sys/dev/pci/drm/i915/devlist.awk b/sys/dev/pci/drm/i915/devlist.awk new file mode 100644 index 00000000000..fd05f021e48 --- /dev/null +++ b/sys/dev/pci/drm/i915/devlist.awk @@ -0,0 +1,11 @@ +BEGIN { + print("/* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. */"); + print("static const struct pci_matchid i915_devices[] = {"); +} +/INTEL_VGA_DEVICE\(0x/ { + val = substr($0, 19, 5); + print "\t{ 0x8086,", val " },"; +} +END { + print("};"); +} diff --git a/sys/dev/pci/drm/i915/i915_devlist.h b/sys/dev/pci/drm/i915/i915_devlist.h new file mode 100644 index 00000000000..44d5c6097be --- /dev/null +++ b/sys/dev/pci/drm/i915/i915_devlist.h @@ -0,0 +1,107 @@ +/* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. */ +static const struct pci_matchid i915_devices[] = { + { 0x8086, 0x357 }, + { 0x8086, 0x256 }, + { 0x8086, 0x358 }, + { 0x8086, 0x358 }, + { 0x8086, 0x257 }, + { 0x8086, 0x258 }, + { 0x8086, 0x258 }, + { 0x8086, 0x259 }, + { 0x8086, 0x277 }, + { 0x8086, 0x27a }, + { 0x8086, 0x27a }, + { 0x8086, 0x297 }, + { 0x8086, 0x298 }, + { 0x8086, 0x299 }, + { 0x8086, 0x29a }, + { 0x8086, 0x29b }, + { 0x8086, 0x29c }, + { 0x8086, 0x29d }, + { 0x8086, 0x2a0 }, + { 0x8086, 0x2a1 }, + { 0x8086, 0x2a4 }, + { 0x8086, 0x2e0 }, + { 0x8086, 0x2e1 }, + { 0x8086, 0x2e2 }, + { 0x8086, 0x2e3 }, + { 0x8086, 0x2e4 }, + { 0x8086, 0x2e9 }, + { 0x8086, 0xa00 }, + { 0x8086, 0xa01 }, + { 0x8086, 0x004 }, + { 0x8086, 0x004 }, + { 0x8086, 0x010 }, + { 0x8086, 0x011 }, + { 0x8086, 0x012 }, + { 0x8086, 0x010 }, + { 0x8086, 0x011 }, + { 0x8086, 0x012 }, + { 0x8086, 0x010 }, + { 0x8086, 0x015 }, + { 0x8086, 0x016 }, + { 0x8086, 0x015 }, + { 0x8086, 0x016 }, + { 0x8086, 0x015 }, + { 0x8086, 0x016 }, + { 0x8086, 0x040 }, + { 0x8086, 0x041 }, + { 0x8086, 0x042 }, + { 0x8086, 0x040 }, + { 0x8086, 0x041 }, + { 0x8086, 0x042 }, + { 0x8086, 0x040 }, + { 0x8086, 0x041 }, + { 0x8086, 0x042 }, + { 0x8086, 0x040 }, + { 0x8086, 0x041 }, + { 0x8086, 0x042 }, + { 0x8086, 0x040 }, + { 0x8086, 0x041 }, + { 0x8086, 0x042 }, + { 0x8086, 0x0C0 }, + { 0x8086, 0x0C1 }, + { 0x8086, 0x0C2 }, + { 0x8086, 0x0C0 }, + { 0x8086, 0x0C1 }, + { 0x8086, 0x0C2 }, + { 0x8086, 0x0C0 }, + { 0x8086, 0x0C1 }, + { 0x8086, 0x0C2 }, + { 0x8086, 0x0C0 }, + { 0x8086, 0x0C1 }, + { 0x8086, 0x0C2 }, + { 0x8086, 0x0C0 }, + { 0x8086, 0x0C1 }, + { 0x8086, 0x0C2 }, + { 0x8086, 0x0A0 }, + { 0x8086, 0x0A1 }, + { 0x8086, 0x0A2 }, + { 0x8086, 0x0A0 }, + { 0x8086, 0x0A1 }, + { 0x8086, 0x0A2 }, + { 0x8086, 0x0A0 }, + { 0x8086, 0x0A1 }, + { 0x8086, 0x0A2 }, + { 0x8086, 0x0A0 }, + { 0x8086, 0x0A1 }, + { 0x8086, 0x0A2 }, + { 0x8086, 0x0A0 }, + { 0x8086, 0x0A1 }, + { 0x8086, 0x0A2 }, + { 0x8086, 0x0D0 }, + { 0x8086, 0x0D1 }, + { 0x8086, 0x0D2 }, + { 0x8086, 0x0D0 }, + { 0x8086, 0x0D1 }, + { 0x8086, 0x0D2 }, + { 0x8086, 0x0D0 }, + { 0x8086, 0x0D1 }, + { 0x8086, 0x0D2 }, + { 0x8086, 0x0D0 }, + { 0x8086, 0x0D1 }, + { 0x8086, 0x0D2 }, + { 0x8086, 0x0D0 }, + { 0x8086, 0x0D1 }, + { 0x8086, 0x0D2 }, +}; |