Refine pci id detecting.
authorJunyan He <junyan.he@linux.intel.com>
Mon, 26 May 2014 15:57:32 +0000 (23:57 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 27 May 2014 02:37:06 +0000 (10:37 +0800)
commit650cf848d8148ff286ffdc5f37c4f92cb6902771
tree4ecb9068fa197ecda8392e40642c399d9053e89e
parent99d079552ecfca2611b94a1fe51da181b2dd7d9d
Refine pci id detecting.

Some platforms do not have key word "Gen" or "Graphic" when run the
lspci command. So we failed to get the pci id in such cases.
We now just use the 8086 key word and get the sub pci id, and compare
it to all the gen known gen pci ids. This can be safe in all platforms.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/gbe_bin_generater.cpp
src/GetGenID.sh