diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-28 01:28:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-28 03:03:18 +0200 |
commit | 3c29976a6469b81a7858812dc2d4b8430d74004a (patch) | |
tree | 2a8baf9ad5ffe36b55fd5c0b9f8fcf0e2c67e2f6 /drivers/pcmcia/rsrc_mgr.c | |
parent | [PATCH] pcmcia: update resource database adjust routines to use unsigned long... (diff) | |
download | linux-3c29976a6469b81a7858812dc2d4b8430d74004a.tar.xz linux-3c29976a6469b81a7858812dc2d4b8430d74004a.zip |
[PATCH] pcmcia: mark parent bridge windows as resources available for PCMCIA devices
Automatically mark the parent PCI-PCI bridge windows as resources available
for PCMCIA usage.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index b6843f8d300d..b9269e66281a 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c @@ -72,7 +72,7 @@ int pcmcia_adjust_resource_info(adjust_t *adj) /* you can't use the old interface if the new * one was used before */ spin_lock_irqsave(&s->lock, flags); - if ((s->resource_setup_done) && + if ((s->resource_setup_new) && !(s->resource_setup_old)) { spin_unlock_irqrestore(&s->lock, flags); continue; |