PCMCIA in 2.6.7-mm1

Komuro komuro4649 at nifty.com
Fri Jun 25 20:04:05 EDT 2004


> I'd just like to check whether anyone has tested PCMCIA in 2.6.7-mm1 yet?
> It has PD6729 merged, and a few other bits from my 12-pcmcia-resource-2
> patch series.

It works properly.
( ,need following patch in my configuration)

Best Regards
Komuro


--- linux/kernel/resource.c.orig	2004-06-24 21:02:38.000000000 +0900
+++ linux/kernel/resource.c	2004-06-24 21:03:59.000000000 +0900
@@ -261,7 +261,8 @@
 			new->start = min;
 		if (new->end > max)
 			new->end = max;
-		new->start = (new->start + align - 1) & ~(align - 1);
+		if (align)
+			new->start = (new->start + align - 1) & ~(align - 1);
 		if (alignf)
 			alignf(alignf_data, new, size, align);
 		if (new->start < new->end && new->end - new->start + 1 >= size) {




More information about the linux-pcmcia mailing list