From: Dominik Brodowski Date: Mon, 13 Sep 2010 18:23:12 +0000 (+0200) Subject: pcmcia pcnet_cs: try setting io_lines to 16 if card setup fails X-Git-Tag: v2.6.36-rc5~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b76dc0546709aef18f123847680108c2fd33f203;p=pandora-kernel.git pcmcia pcnet_cs: try setting io_lines to 16 if card setup fails Some pcnet_cs compatible cards require an exact 16-lines match of the ioport areas specified in CIS, but set the "iolines" value in the CIS incorrectly. We can easily work around this issue -- same as we do in serial_cs -- by first trying setting iolines to the CIS-specified value, and then trying a 16-line match. Reported-and-tested-by: Wolfram Sang Hardware-supplied-by: Jochen Frieling CC: netdev@vger.kernel.org Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed