bios_reader: Fix to work on non-Intel machines
authorAdam Jackson <ajax@redhat.com>
Wed, 8 Sep 2010 18:39:12 +0000 (14:39 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 8 Sep 2010 18:39:12 +0000 (14:39 -0400)
commit4f12d8acbaa3a253d8b21d04bbfe17ed9ede6158
tree4a7fb22141d74f1f8999565391516d58c4bb92a4
parentc09fa38c01e44581db37703bb6b8cf1b60b2d09f
bios_reader: Fix to work on non-Intel machines

Actually, fix to work on _any_ machine where the ROM file doesn't match
the GPU.  Just extract the device ID from the ROM itself rather than
look at the running system.

Signed-off-by: Adam Jackson <ajax@redhat.com>
tools/intel_bios_reader.c