]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
video: vesa_fb: Look up VGA device by class instead of id
authorBin Meng <bmeng.cn@gmail.com>
Mon, 6 Jul 2015 08:31:26 +0000 (16:31 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:25 +0000 (13:29 +0200)
commit020d2b293046db93c278a8af32d2d5c14ba6289b
tree697c61d4f804e55b3d4f493d2edcdd6f010db7f7
parent3bf36637b6eaa9dadf87920a86e9cf02024075b1
video: vesa_fb: Look up VGA device by class instead of id

Per PCI spec, VGA device reports its class as standard 030000h in
its configuration space, so we can use it to determine if we need
run option rom instead of testing the supported vendor/device ids.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/video/vesa_fb.c