diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-05-22 03:57:43 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-24 09:51:03 -0400 |
commit | 54fbcb0c04923704898913e0e6e316063e4e631e (patch) | |
tree | 12696eca2fdcf93bdc90b95146923ca3fdc74d40 /include/gt64120.h | |
parent | 518d4385375d6f9b8da2e395ac85482809f137d1 (diff) | |
download | u-boot-imx-54fbcb0c04923704898913e0e6e316063e4e631e.zip u-boot-imx-54fbcb0c04923704898913e0e6e316063e4e631e.tar.gz u-boot-imx-54fbcb0c04923704898913e0e6e316063e4e631e.tar.bz2 |
net: pcnet: use pci_virt_to_mem to obtain buffer addresses
The pcnet driver uses the pci_phys_to_mem function
to get the memory address of the DMA buffers. This
This assumes an 1:1 mapping between the PCI and
physical memory which is not true on all platforms.
On MIPS platform U-Boot is running within a mapped
memory region, and the pci_phys_to_mem macro can't
be used to obtain the memory address of the buffers.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'include/gt64120.h')
0 files changed, 0 insertions, 0 deletions