powerpc/85xx: introduce function serdes_device_from_fm_port()
authorTimur Tabi <timur@freescale.com>
Tue, 14 Aug 2012 06:47:23 +0000 (06:47 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:18 +0000 (10:24 -0500)
commit45b092d3010caa8d9a1f8c4f89afcbb6c5e5bee6
treeef24b84c5bc82fc26ae8cc51eb796b00b9c0c921
parentae2291fbe0f9858d332423a97c6b09157005050f
powerpc/85xx: introduce function serdes_device_from_fm_port()

In order to figure out which SerDes lane a given Fman port is connected
to, we need a function that maps the fm_port namespace to the srds_prtcl
namespace.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/common/fman.c
board/freescale/common/fman.h