flaniganr@intel.co.jp wrote:
> not sure if i did this right, so if you
> have any suggestions/comments please tell me.
>
> Basically 2.5.8-pre1 fails to compile with:
>
> In file included from wavelan_cs.c:59:
> wavelan_cs.p.h:495:33: warning: extra tokens at end of #undef directive
> wavelan_cs.c: In function `wv_pcmcia_config':
> wavelan_cs.c:4480: structure has no member named `rmem_start'
> wavelan_cs.c:4482: structure has no member named `rmem_end'
> make[3]: *** [wavelan_cs.o] Error 1
not needed, just delete the unused references to rmem_{start,end}.
(see attached patch)
Jeff
--------------060002050801010507000008
Content-Type: text/plain;
name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch"
diff -Nru a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c
--- a/drivers/net/wireless/wavelan_cs.c Thu Apr 4 02:17:38 2002
+++ b/drivers/net/wireless/wavelan_cs.c Thu Apr 4 02:17:38 2002
@@ -4477,9 +4477,8 @@
break;
}
- dev->rmem_start = dev->mem_start =
- (u_long)ioremap(req.Base, req.Size);
- dev->rmem_end = dev->mem_end = dev->mem_start + req.Size;
+ dev->mem_start = (u_long)ioremap(req.Base, req.Size);
+ dev->mem_end = dev->mem_start + req.Size;
mem.CardOffset = 0; mem.Page = 0;
i = CardServices(MapMemPage, link->win, &mem);
--------------060002050801010507000008--
-
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/