diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-15 02:12:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-15 02:12:19 -0800 |
| commit | d080de18235565ec3fbcfd5a45a341f86b9ebbd0 (patch) | |
| tree | 7a6128b5b526631e35aea3eeba2c8e2f6707a799 | |
| parent | 4edfd8c3964ffb7568c33279a7466ffb6a8a3b82 (diff) | |
We need to assign resources to cardbus cards _regardless_ of whether
probing tells us they already have a range. The old information is
stale.
| -rw-r--r-- | drivers/pcmcia/cardbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c index a823f54bc593..adbecd752174 100644 --- a/drivers/pcmcia/cardbus.c +++ b/drivers/pcmcia/cardbus.c @@ -291,7 +291,7 @@ int cb_alloc(socket_info_t * s) /* We need to assign resources for expansion ROM. */ for (r = 0; r < 7; r++) { struct resource *res = dev->resource + r; - if (!res->start && res->end) + if (res->flags) pci_assign_resource(dev, r); } |
