Hi Thomas,
Thomas Chou wrote:
This patch fixed the compiler error from smc91x in nios2 arch setup.
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
Patch rejected this one...
(Quite aside from that the include logic below looks mighty odd.
But its your architecture code, so I won't complain about it...)
Regards
Greg
linux-2.6.x/arch/nios2nommu/kernel/setup.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/setup.c
b/linux-2.6.x/arch/nios2nommu/kernel/setup.c
index 934e3a1..db25899 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/setup.c
+++ b/linux-2.6.x/arch/nios2nommu/kernel/setup.c
@@ -537,6 +537,7 @@ static struct platform_device smc91x_device = {
static int __init smc91x_device_init(void)
{
#define SMC_DEBUG 0
+#include <linux/mii.h>
#include "../../../drivers/net/smc91x.h"
/* write eth hardware address to MAC */
void __iomem *ioaddr = (void *)(na_enet + LAN91C111_REGISTERS_OFFSET);
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev