Commit d080de18 authored by Linus Torvalds's avatar Linus Torvalds

We need to assign resources to cardbus cards _regardless_ of whether

probing tells us they already have a range. The old information is
stale.
parent 4edfd8c3
...@@ -291,7 +291,7 @@ int cb_alloc(socket_info_t * s) ...@@ -291,7 +291,7 @@ int cb_alloc(socket_info_t * s)
/* We need to assign resources for expansion ROM. */ /* We need to assign resources for expansion ROM. */
for (r = 0; r < 7; r++) { for (r = 0; r < 7; r++) {
struct resource *res = dev->resource + r; struct resource *res = dev->resource + r;
if (!res->start && res->end) if (res->flags)
pci_assign_resource(dev, r); pci_assign_resource(dev, r);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment