9
0
Fork 0

Fix RTL8139 in big endian

signed-off-by: Jason Jin <Jason.Jin@freescale.com>
signed-off-by: Wei Zhang <wei.zhang@freescale.com>
This commit is contained in:
Jin Zhengxiong-R64188 2006-06-27 18:12:10 +08:00 committed by Jon Loeliger
parent fcfb9a5794
commit bc09cf3c2b
2 changed files with 2 additions and 0 deletions

View File

@ -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},
{}
};

View File

@ -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