Ignore all config entries which have a non-zero start I/O address.

This is a bandaid which makes some more PCCards work under NEWCARD
which would otherwise not work.

Cards with only fixed address windows still loose.
This commit is contained in:
Poul-Henning Kamp 2002-08-31 14:38:24 +00:00
parent a5f76f1911
commit 49bf3e26d1

View File

@ -404,7 +404,11 @@ pccard_function_init(struct pccard_function *pf)
for (i = 0; i < cfe->num_iospace; i++) {
start = cfe->iospace[i].start;
if (start)
#ifdef COOKIE_FOR_IMP
end = start + cfe->iospace[i].length - 1;
#else
goto not_this_one;
#endif
else
end = ~0;
cfe->iorid[i] = i;