[RFC PATCHv1 0/5] Use the mvebu PCIe driver on Kirkwood

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 27 14:11:14 EDT 2013


Dear Arnd Bergmann,

On Wed, 27 Mar 2013 18:07:50 +0000, Arnd Bergmann wrote:

> > # /usr/sbin/lspci
> > 00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 7846
> > 00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 7846
> > 01:00.0 SCSI storage controller: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II (rev 02)
> > 02:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)
> > 
> > # cat /proc/cpuinfo | grep ^Hardware
> > Hardware        : Marvell Kirkwood (Flattened Device Tree)
> 
> Very nice!

Yeah, I find it quite nice too :)

> > I've tested both the e1000e NIC card and the SATA 4 ports card and
> > they work fine.
> 
> I assume it works with PIO, but does the SATA card use the I/O
> space registers, or just memory space?

Both cards only use memory space. I have a quick and dirty patch for
the e1000e driver that makes it read/write one particular register from
the I/O space to test that it works, but I haven't checked this yet on
Kirkwood. I don't expect much troubles, but who knows.

As I said, this patch set is for now just to show that it works, there
are some adjustments to be made here and there before those patches are
ready to be merged.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list