diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-06 23:56:10 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-06 23:56:10 +0200 |
commit | 5eec707368a91687c5e8ff7941ab6df5bf9e7fa3 (patch) | |
tree | e982874be2214429d81b0a4972f37b465bde6406 /sys/src/9/pc/pci.c | |
parent | cd99666815cb7918d73b73059f9a6398a5b2b601 (diff) |
pci.c: reserve pci membars after assinging them for *nobios= option
Diffstat (limited to 'sys/src/9/pc/pci.c')
-rw-r--r-- | sys/src/9/pc/pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/9/pc/pci.c b/sys/src/9/pc/pci.c index 370a7bd50..a2915da1d 100644 --- a/sys/src/9/pc/pci.c +++ b/sys/src/9/pc/pci.c @@ -1050,11 +1050,10 @@ pcicfginit(void) pcibusmap(pciroot, &mema, &ioa, 1); DBG("Sizes2: mem=%lux io=%lux\n", mema, ioa); - unlock(&pcicfginitlock); - return; + goto out; } - if (!nopcirouting) + if(!nopcirouting) pcirouting(); out: |