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:
parent
a5f76f1911
commit
49bf3e26d1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user