From: Ben Hutchings Date: Wed, 24 Mar 2010 03:36:31 +0000 (+0000) Subject: amd64-agp: Probe unknown AGP devices the right way X-Git-Tag: v2.6.27.49~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fcaa5075b5996a7e5f6ea11dec855f7dcb3976;p=pandora-kernel.git amd64-agp: Probe unknown AGP devices the right way commit 6fd024893911dcb51b4a0aa71971db5ba38f7071 upstream. The current initialisation code probes 'unsupported' AGP devices simply by calling its own probe function. It does not lock these devices or even check whether another driver is already bound to them. We must use the device core to manage this. So if the specific device id table didn't match anything and agp_try_unsupported=1, switch the device id table and call driver_attach() again. Signed-off-by: Ben Hutchings Signed-off-by: Dave Airlie Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed