shithub: riscv

Download patch

ref: 8e654cf76112ffe67ff1649fd0e570975a08a823
parent: 891a8c4f2c3a18c60cbfb3b15a67be32937fbfad
parent: 53e1708bcbe910ddf5a548de0b2db0fda911de84
author: cinap_lenrek <[email protected]>
date: Sun Mar 4 01:12:37 EST 2018

merge

--- a/lib/vgadb
+++ b/lib/vgadb
@@ -430,6 +430,8 @@
 	ctlr=geode linear=1
 
 ctlr
+	vid=0x8086 did=0x0046	# Intel Ironlake Arrandale
+	vid=0x8086 did=0x0102	# Intel 2nd Gen Core (HD 2000)
 	vid=0x8086 did=0x0126	# Intel 2nd Gen Core (HD 3000)
 	vid=0x8086 did=0x0166	# Intel 3rd Gen Core
 	vid=0x8086 did=0x2a42	# Intel 4 Series Mobile
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -371,6 +371,7 @@
 	case 0x0166:	/* 3rd Gen Core - ThinkPad X230 */
 	case 0x0152:	/* 2nd/3rd Gen Core - Core-i3 */
 		return TypeIVB;
+	case 0x0046:	/* Thinkpad T510 */
 	case 0x0102:	/* Dell Optiplex 790 */
 	case 0x0126:	/* Thinkpad X220 */
 		return TypeSNB;