lkml.org 
[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPCMCIA PATCHES: rsrc_mgr.c
I have three patches which I'm intending pushing to Linus tonight.  They
are:

http://patches.arm.linux.org.uk/pcmcia/pcmcia-20030615-1.diff

Remove the racy check_mem_resource() function. Instead, claim
the region while we check it, passing a resource structure to
the core validation functions.

http://patches.arm.linux.org.uk/pcmcia/pcmcia-20030615-2.diff

We must always allocate windows below 1MB when a socket driver indicates
that it does not have "page registers". Handle this case in rsrc_mgr.c
within find_mem_region rather than each use of find_mem_region().

http://patches.arm.linux.org.uk/pcmcia/pcmcia-20030615-3.diff

Turn the resource management on its head. Rather than using PCMCIA's
resource database as the primary object to allocate resources, use
Linux's standard resource allocation instead.

When we have a socket on a PCI bus, we always use the PCI resource
allocation functions rather than the kernels core resource allocation,
so that we can take account of any bridges.

The first two should be mostly harmless. The third patch needs greater
testing. Unfortunately, the PCI groundwork for this patch was recently
reversed, so I just can't be bothered to separate out that change again
from the other PCI changes I have. You basically need to make the
function non-static, add a declaration to include/linux/pci.h and
re-export it.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.023 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site