diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-01 03:35:15 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-01 03:35:15 +0200 |
commit | 656762ae986c830e205ff8fed5d3455f584f0deb (patch) | |
tree | d9da893d01bf08a084b40f10bd6d9f61d64af305 /sys/src/9/pc/devarch.c | |
parent | b20ed3c1f5774fd333e889c72d2dbdfdeae02195 (diff) |
cardbus io reservation
Diffstat (limited to 'sys/src/9/pc/devarch.c')
-rw-r--r-- | sys/src/9/pc/devarch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/devarch.c b/sys/src/9/pc/devarch.c index c68fc4d1a..5c714984b 100644 --- a/sys/src/9/pc/devarch.c +++ b/sys/src/9/pc/devarch.c @@ -238,7 +238,7 @@ ioalloc(int port, int size, int align, char *tag) m = *l; if(m->end <= port) continue; - if(m->reserved && m->start == port && m->end == port + size) { + if(m->reserved && m->start == port && m->end >= port + size) { m->reserved = 0; unlock(&iomap); return m->start; |