From: Jin Zhengxiong-R64188 Date: Tue, 27 Jun 2006 10:12:10 +0000 (+0800) Subject: Fix RTL8139 in big endian X-Git-Tag: v2008.10-rc1~1125^2~1^2~53^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc09cf3c2bfb8d54c659cbb332f79d0950982fd0;p=platform%2Fkernel%2Fu-boot.git Fix RTL8139 in big endian signed-off-by: Jason Jin signed-off-by: Wei Zhang --- diff --git a/drivers/rtl8139.c b/drivers/rtl8139.c index a95f84e..848d1d1 100644 --- a/drivers/rtl8139.c +++ b/drivers/rtl8139.c @@ -196,6 +196,7 @@ static void rtl_disable(struct eth_device *dev); static struct pci_device_id supported[] = { {PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139}, + {0x1186, 0x1300}, {} }; diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index 4453171..b089769 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -304,6 +304,7 @@ #define CFG_PCI_MEMORY_SIZE 0x80000000 /* For RTL8139 */ +#define KSEG1ADDR(x) ({u32 _x=le32_to_cpu(*(u32 *)(x)); (&_x);}) #define _IO_BASE 0x00000000 #define CFG_PCI2_MEM_BASE 0xa0000000