Skip to content
Commit b76dc054 authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

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: default avatarWolfram Sang <w.sang@pengutronix.de>
Hardware-supplied-by: default avatarJochen Frieling <j.frieling@pengutronix.de>
CC: netdev@vger.kernel.org
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent eb838fe1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment