NSA310 + DT
From: Finn Hoffmann <hidden>
Date: 2013-08-02 08:35:37
Am 31.07.2013 11:51, schrieb Thomas Petazzoni:
Dear Finn Hoffmann, On Wed, 31 Jul 2013 11:43:22 +0200, Finn Hoffmann wrote:quoted
Hi Thomas, here you are. Network is working.Excellent, thanks!quoted
# cat /sys/kernel/debug/mvebu-mbus/devices [00] 00000000e8010000 - 00000000e8020000 : pcie0.0 (remap 0000000000010000) [01] disabled [02] disabled [03] disabled [04] 00000000f4000000 - 00000000f4010000 : nand [05] 00000000f5000000 - 00000000f5010000 : sram [06] 00000000e0000000 - 00000000e0100000 : pcie0.0 [07] disabledNow this looks good, we have both the PCIe memory and PCIe I/O windows created. I'll clean up the patch and send it, hopefully for the final 3.11. Thanks again for all your testing! Best regards, Thomas
Thomas,
I just came across one thing. Is it ok that I have different Marvell
device with patched 3.11.0-rc3?
With 3.10.2 it has pci id 11ab:6281, with 3.11.0-rc3 and your patch it
has 11ab:7846.
Finn
3.10.2:
# lspci -vnn
00:00.0 Host bridge [0600]: Marvell Technology Group Ltd. 88F6281
[Kirkwood] ARM SoC [11ab:6281] (rev 03)
Subsystem: Marvell Technology Group Ltd. Device [11ab:11ab]
Flags: bus master, fast devsel, latency 0, IRQ 9
Memory at <ignored> (64-bit, prefetchable)
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [60] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
00:01.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E
Adapter [Trendnet] [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 9
I/O ports at 1000 [size=256]
Memory at e0014000 (64-bit, prefetchable) [size=4K]
Memory at e0010000 (64-bit, prefetchable) [size=16K]
[virtual] Expansion ROM at e0000000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [ac] MSI-X: Enable- Count=4 Masked-
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: r8169
3.11.0-rc3:
lspci -vnn
00:01.0 PCI bridge [0604]: Marvell Technology Group Ltd. Device
[11ab:7846] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00010000-00010fff
Memory behind bridge: e0000000-e00fffff
Prefetchable memory behind bridge: 00000000-000fffff
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E
Adapter [Trendnet] [10ec:8168]
Flags: bus master, fast devsel, latency 0, IRQ 9
I/O ports at 10000 [size=256]
Memory at e0014000 (64-bit, prefetchable) [size=4K]
Memory at e0010000 (64-bit, prefetchable) [size=16K]
[virtual] Expansion ROM at e0000000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [ac] MSI-X: Enable- Count=4 Masked-
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: r8169