summaryrefslogtreecommitdiff
path: root/drivers/net/pcnet.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-07-24 09:30:46 -0400
committerTom Rini <trini@ti.com>2013-07-25 08:51:48 -0400
commit230187ce266889ad465b39ded6717805379e7ffe (patch)
treeda91d96b28eba97d7e14ffee800fc1003dac880d /drivers/net/pcnet.c
parent8dde4ca90ee12a9dd40f42b80e51107ecd26ebe0 (diff)
parentdb2c86d7d71d1be0ac0fe702493faf9302639235 (diff)
downloadolio-uboot-2014.01-230187ce266889ad465b39ded6717805379e7ffe.tar.xz
olio-uboot-2014.01-230187ce266889ad465b39ded6717805379e7ffe.zip
Merge branch 'master' of git://git.denx.de/u-boot-mips
Conflict over SPDX changes means that one change was effectively dropped as it was fixing typos in a removed hunk of text. Conflicts: arch/mips/cpu/mips64/start.S Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/net/pcnet.c')
-rw-r--r--drivers/net/pcnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index aa6929840..283cb48b4 100644
--- a/drivers/net/pcnet.c
+++ b/drivers/net/pcnet.c
@@ -130,7 +130,7 @@ static int pcnet_recv (struct eth_device *dev);
static void pcnet_halt (struct eth_device *dev);
static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num);
-#define PCI_TO_MEM(d,a) pci_phys_to_mem((pci_dev_t)d->priv, (u_long)(a))
+#define PCI_TO_MEM(d, a) pci_virt_to_mem((pci_dev_t)d->priv, (a))
#define PCI_TO_MEM_LE(d,a) (u32)(cpu_to_le32(PCI_TO_MEM(d,a)))
static struct pci_device_id supported[] = {