Hi, After setting start = 0x100, size becomes wrong value...
unsigned long size = end - start + 1; <=== HERE
int ret = 0;
+#if defined(CONFIG_X86)
+ /* on x86, avoid anything < 0x100 for it is often used for
+ * legacy platform devices */
+ if (start < 0x100)
+ start = 0x100; <=== HERE
+#endif
+
if (end < start)
return -EINVAL;
_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
