Skip to contentSkip to conversation

r2dplus: fix cannot work rtl8139

PATCH New Yoshihiro Shimoda 2 participants 2 messages Feb 25, 2009 – Feb 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r2dplus: fix cannot work rtl8139

The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory registration.

---
This patch depend on as follows patch.
http://www.mail-archive.com/u-boot at lists.denx.de/msg09816.html

 include/configs/r2dplus.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/r2dplus.h +3 -0
index 6921759..6fa1eaf 100644
@@ -114,6 +114,9 @@
 #define CONFIG_PCI_IO_BUS	0xFE240000	/* IO space base address */
 #define CONFIG_PCI_IO_PHYS	CONFIG_PCI_IO_BUS
 #define CONFIG_PCI_IO_SIZE	0x00040000	/* Size of IO window */
+#define CONFIG_PCI_SYS_BUS	(CONFIG_SYS_SDRAM_BASE & 0x1fffffff)
+#define CONFIG_PCI_SYS_PHYS	(CONFIG_SYS_SDRAM_BASE & 0x1fffffff)
+#define CONFIG_PCI_SYS_SIZE	CONFIG_SYS_SDRAM_SIZE
 
 /*
  * Network device (RTL8139) support
Signature · 1 line
1.5.5
#1 lore raw

PATCH 1/1 r2dplus: fix cannot work rtl8139

Quoted 4 lines · On Wed, 25 Feb 2009 16:04:26 +0900 Yoshihiro Shimoda…

The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory registration.

Applied, thanks.

Best regards,
Nobuhiro

Signature · 5 lines
Nobuhiro Iwamatsu
	hemamu at t-base.ne.jp
	iwamatsu at debian.or.jp

	GPG ID : 3170EBE9