diff options
| author | Emil Medve <[email protected]> | 2010-08-31 22:57:36 -0500 |
|---|---|---|
| committer | Kumar Gala <[email protected]> | 2011-04-27 22:29:04 -0500 |
| commit | 3d28c5c8ed84c47314fcc447c86964e7c898a1d5 (patch) | |
| tree | 5369a0d43f54c9454692e8d5355d5f4e8dcb8066 /arch/powerpc/include | |
| parent | 02bb49891eb68739b38fa7d0b1480a00e81558d0 (diff) | |
powerpc/85xx: fsl_corenet_serdes code rework
Rework and add some new APIs to the fsl_corenet_serdes code for use by
erratum and drivers.
* Rename serdes_get_bank() to serdes_get_bank_by_lane()
* Add serdes_get_first_lane returns which SERDES lane is used by device
Signed-off-by: Emil Medve <[email protected]>
Signed-off-by: Timur Tabi <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'arch/powerpc/include')
| -rw-r--r-- | arch/powerpc/include/asm/fsl_serdes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_serdes.h b/arch/powerpc/include/asm/fsl_serdes.h index 85518eb6e71..9d9f2e4cce1 100644 --- a/arch/powerpc/include/asm/fsl_serdes.h +++ b/arch/powerpc/include/asm/fsl_serdes.h @@ -53,4 +53,8 @@ enum srds_prtcl { int is_serdes_configured(enum srds_prtcl device); void fsl_serdes_init(void); +#ifdef CONFIG_FSL_CORENET +int serdes_get_first_lane(enum srds_prtcl device); +#endif + #endif /* __FSL_SERDES_H */ |
