]> err.no Git - linux-2.6/commitdiff
[PATCH] NEx000: fix RTL8019AS base address for RBTX4938
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 16 Apr 2006 15:42:35 +0000 (19:42 +0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 20 Apr 2006 21:28:57 +0000 (17:28 -0400)
Correct the base address of the Realtek RTL8019AS chip on the Toshiba RBTX4938
board -- this should make the driver work at least when CONFIG_PCI is enabled.

Signed-off-by: Yuri Shpilevsky <yshpilevsky@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ne.c

index 08b218c5bfbc372186f8102a4d112cedde2ea938..93c494bcd18d67beaf035473f37a77dd7c45171b 100644 (file)
@@ -226,7 +226,7 @@ struct net_device * __init ne_probe(int unit)
        netdev_boot_setup_check(dev);
 
 #ifdef CONFIG_TOSHIBA_RBTX4938
-       dev->base_addr = 0x07f20280;
+       dev->base_addr = RBTX4938_RTL_8019_BASE;
        dev->irq = RBTX4938_RTL_8019_IRQ;
 #endif
        err = do_ne_probe(dev);