From: Dominik Brodowski Date: Tue, 7 Nov 2006 02:52:16 +0000 (-0500) Subject: [PATCH] pcmcia: multifunction card handling fixes X-Git-Tag: v2.6.20-rc1~34^2~20^2~42^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d2c90425d5b0dcbf4a0fab2053d5087758b76a0;p=pandora-kernel.git [PATCH] pcmcia: multifunction card handling fixes s->functions needs to be initialized earlier, for the "let's see how high it increases" approach means that pcmcia_request_irq() (which makes use of this value) is confused, and might request an exclusive IRQ first even though it is not supposed to. Also, a CIS override autoloaded using the firmware loader may allow for the use of more or less functions in a multifunction card. Therefore, we may need to schedule a call to add this second function later on, or simply remove the other function (it's always the first -valid- function which reaches this codepath). Many thanks to Fabrice Bellet for debugging and testing patches. Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed