Skip to contentSkip to conversation

RBTX4938: make RTL8019AS work when CONFIG_PCI=n

PATCH New Sergei Shtylyov 1 participant 1 message May 8, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RBTX4938: make RTL8019AS work when CONFIG_PCI=n

This patch should make the on-board Ethernet chip (Realtek RTL8019AS) work when CONFIG_PCI is disabled...

arch/mips/tx4938/toshiba_rbtx4938/setup.c +1 -1
index 5c7ace9..a96d442 100644
@@ -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