linux-mips
[Top] [All Lists]

[PATCH] RBTX4938: make RTL8019AS work when CONFIG_PCI=n

To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: [PATCH] RBTX4938: make RTL8019AS work when CONFIG_PCI=n
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Mon, 08 May 2006 22:19:20 +0400
Cc: Manish Lachwani <mlachwani@mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
This patch should make the on-board Ethernet chip (Realtek RTL8019AS) work when CONFIG_PCI is disabled...

Signed-off-by: Yuri Shpilevsky <yshpilevsky@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c 
b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
index 5c7ace9..a96d442 100644
--- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c
+++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
@@ -918,7 +918,7 @@ void __init toshiba_rbtx4938_setup(void)
        TX4938_WR(0xff1ff414, 0x00000000);      /* h/w flow control off */
 
 #ifndef CONFIG_PCI
-       set_io_port_base(RBTX4938_ETHER_BASE);
+       set_io_port_base(KSEG1);
 #endif
 
 #ifdef CONFIG_SERIAL_TXX9


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] RBTX4938: make RTL8019AS work when CONFIG_PCI=n, Sergei Shtylyov <=