lkml.org 
[lkml]   [2005]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatch for iomap on MIPS was Re: Build issue current MIPS - RaQ2
Jim Gifford wrote:

> I have not been able to build kernels since 2.6.9 on my RaQ2 for some
> time. I have tried the linux-mips.org port and the current 2.6.11.5
> release. I keep getting the same error.
>
> Building modules, stage 2.
> MODPOST
> *** Warning: "pci_iounmap" [drivers/net/tulip/tulip.ko] undefined!
> *** Warning: "pci_iomap" [drivers/net/tulip/tulip.ko] undefined!
>
>
I Finally figured it out, Here is a patch

diff -Naur linux-2.6.11/arch/mips/lib/Makefile
linux-mips-2.6.11/arch/mips/lib/Makefile
--- linux-2.6.11/arch/mips/lib/Makefile 2005-03-01 23:37:48 -0800
+++ linux-mips-2.6.11/arch/mips/lib/Makefile 2005-03-19 21:49:03 -0800
@@ -2,7 +2,10 @@
# Makefile for MIPS-specific library files..
#

-lib-y += csum_partial_copy.o dec_and_lock.o iomap.o memcpy.o promlib.o \
+lib-y += csum_partial_copy.o dec_and_lock.o memcpy.o promlib.o \
strlen_user.o strncpy_user.o strnlen_user.o

+
+obj-y += iomap.o
+
EXTRA_AFLAGS := $(CFLAGS)
--
----
Jim Gifford
maillist@jg555.com
-
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 14:11    [W:0.058 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site