hi
2.6.16 kernel (from linux-mips) build is failing when enabled the support for eepro100 ethernet driver (error is given below). But, I don't see the same problem, if the kernel from kernel.org
is used. I guess the problem is due to the changes in the files arch/mips/lib/iomap.c and include/asm-mips/io.h. In general, the problem is observed for all the drivers which use ioread*, iowrite* calls.
I observe that changes are minimal between
kernel.org and linux-mips branches for 2.6.16. May, I know, what is the current procedure being followed for taking the mips kernels? Is it from linux-mips or kernel.org
? Could you please advise.
drivers/built-in.o(.text+0x27b8c): In function `do_slow_command':
: undefined reference to `ioread8'
drivers/built-in.o(.text+0x27bb4): In function `do_slow_command':
: undefined reference to `ioread8'
drivers/built-in.o(.text+0x27bd4): In function `do_slow_command':
: undefined reference to `iowrite8'
drivers/built-in.o(.text+0x27be4): In function `do_slow_command':
: undefined reference to `ioread8'
drivers/built-
in.o(.text+0x27c08): In function `do_slow_command':
: undefined reference to `ioread8'
drivers/built-in.o(.text+0x27c44): In function `do_slow_command':
: undefined reference to `ioread32'
drivers/built-in.o(.text+0x27cb8): In function `mdio_read':
: undefined reference to `iowrite32'
drivers/built-in.o(.text+0x27cc0): In function `mdio_read':
: undefined reference to `ioread32'
drivers/built-in.o(.text+0x27d50): In function `mdio_write':
: undefined reference to `iowrite32'
drivers/built-in.o(.text+0x27d58): In function `mdio_write':
: undefined reference to `ioread32'
drivers/built-in.o(.text+0x27e48): In function `speedo_open':
: undefined reference to `iowrite16'
drivers/built-
in.o(.text+0x27ed4): In function `speedo_open':
: undefined reference to `ioread16'
drivers/built-in.o(.text+0x27fbc): In function `speedo_resume':
: undefined reference to `ioread8'
drivers/built-in.o(.text+0x28008): In function `speedo_resume':
: undefined reference to `iowrite32'
drivers/built-in.o(.text+0x28038): In function `speedo_resume':
: undefined reference to `iowrite32'
drivers/built-in.o(.text+0x28040): In function `speedo_resume':
: undefined reference to `ioread32'
drivers/built-in.o(.text+0x28090): In function `speedo_resume':
: undefined reference to `iowrite32'
drivers/built-in.o(.text+0x28098): In function `speedo_resume':
: undefined reference to `ioread32'
drivers/built-
in.o(.text+0x280a4): In function `speedo_resume':
: undefined reference to `iowrite8'
drivers/built-in.o(.text+0x280dc): In function `speedo_resume':
Thanks,
--kishore