mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
[PATCH] NEx000: fix RTL8019AS base address for RBTX4938
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>
This commit is contained in:
parent
402a26f0c0
commit
17c281ab3e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user