From 42d1f0394bef0624fc9664714d54bb137931d6a6 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 15 Oct 2003 23:53:47 +0000 Subject: * Patches by Xianghua Xiao, 15 Oct 2003: - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup --- drivers/dc2114x.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/dc2114x.c') diff --git a/drivers/dc2114x.c b/drivers/dc2114x.c index e1147c0097..75bc618502 100644 --- a/drivers/dc2114x.c +++ b/drivers/dc2114x.c @@ -169,7 +169,11 @@ static void dc21x4x_halt(struct eth_device* dev); extern void dc21x4x_select_media(struct eth_device* dev); #endif +#if defined(CONFIG_E500) +#define phys_to_bus(a) (a) +#else #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) +#endif static int INL(struct eth_device* dev, u_long addr) { -- cgit v1.2.1