summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/devarch.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-05-01 03:35:15 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-05-01 03:35:15 +0200
commit656762ae986c830e205ff8fed5d3455f584f0deb (patch)
treed9da893d01bf08a084b40f10bd6d9f61d64af305 /sys/src/9/pc/devarch.c
parentb20ed3c1f5774fd333e889c72d2dbdfdeae02195 (diff)
cardbus io reservation
Diffstat (limited to 'sys/src/9/pc/devarch.c')
-rw-r--r--sys/src/9/pc/devarch.c2
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;