[PATCH] yenta: allocate resource fixes
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 12 Jul 2005 20:58:17 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:01:00 +0000 (16:01 -0700)
commiteb0a90b4970d667e9ae9df538710f12b8e78e442
tree341f050368edbe235e3515032d5b6797545b7745
parent278798357d4a8658067dc9ac399d8ffba8389f03
[PATCH] yenta: allocate resource fixes

The current CardBus window allocation code in yenta_socket is unable to handle
the transparent PCI-bridge handling update in 2.6.13.  We need to check _all_
resources of a given type to find the best one suitable for CardBus windows,
not just the first one.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/yenta_socket.c