]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/dc2114x.c
* Patches by Xianghua Xiao, 15 Oct 2003:
[karo-tx-uboot.git] / drivers / dc2114x.c
index e1147c00974cbbf4aff5a5b9cc3f62410bd8ec2d..75bc618502bcdb01225becea528b75f24b8061d7 100644 (file)
@@ -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)
 {