[PATCHES] 11-pcmciaresource
Dominik Brodowski
linux at dominikbrodowski.de
Fri Mar 26 10:15:50 GMT 2004
On Fri, Mar 26, 2004 at 07:49:01AM +0000, Russell King wrote:
> On Thu, Mar 25, 2004 at 08:23:36PM -0500, Pavel Roskin wrote:
> > Is my understanding correct that PCMCIA drivers will use resources already
> > allocated for the bridges (with the exceptions for pcnet_cs and
> > serial_cs)? That would be great.
>
> No. Not yet at least.
Once the ioresource_t length is resolved, and the handle argument of
int pcmcia_adjust_resource_info(client_handle_t handle, adjust_t *adj)
is removed, we can try out a couple of things to adjust the resources the
PCMCIA subsystem offers to its "clients", e.g. PCMCIA card drivers. Of
course these are only valid for non-static sockets:
a) use the iomem and ioports reserved for CardBus cards,
b) use the iomem and ioport "behind" the parent PCI bridge, if such a bridge
exists,
c) parse the ACPI tables for all _CRS or similar settings, and include all
resources except those mentioned in the ACPI tables [x86, x86_64 only?]
d) same as c), but with PnP settings [x86, x86_64 only?]
e) trust /proc/io{mem,ports}
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20040326/a87593e0/attachment.bin
More information about the linux-pcmcia
mailing list