]> git.baikalelectronics.ru Git - kernel.git/commit
[AGPGART] intel_agp: fix device probe
authorWang Zhenyu <zhenyu.z.wang@intel.com>
Thu, 14 Jun 2007 02:01:04 +0000 (10:01 +0800)
committerDave Jones <davej@redhat.com>
Thu, 14 Jun 2007 22:08:51 +0000 (18:08 -0400)
commit36aaf142e3ddf9ec490e49095b7e61640a777c9d
treeda3ecf1eb2236e15e63ac5453369b10408a7598b
parentbb533b78805ae221b2219c88467cff85eb6600c1
[AGPGART] intel_agp: fix device probe

This patch trys to fix device probe in two cases. First we should
correctly detect device if integrated graphics device is not enabled
or exists, like an add-in card is plugged. Second on some type of intel
GMCH, it might have multiple graphic chip models, like 945GME case, so
we should be sure the detect works through the whole table.

Signed-off-by: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/intel-agp.c