NET: Move MDIO regs out of TSEC Space
authorSandeep Gopalpet <sandeep.kumar@freescale.com>
Fri, 30 Oct 2009 19:05:04 +0000 (00:35 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 5 Jan 2010 19:49:04 +0000 (13:49 -0600)
commitb9e186fc31683a4f1b6880c086950b2270e62e24
treefe3740edf04b05af3c0ebe9d39071069237b1f1b
parentbcad21fda187f7d8d5d2c026c395cca35a9c700e
NET: Move MDIO regs out of TSEC Space

Moved the mdio regs out of the tsec structure,and
provided different offsets for tsec base and mdio
base so that provision for etsec2.0 can be provided.

This patch helps in providing the support for etsec2.0
In etsec2.0, the MDIO register space and the etsec reg
space are different.

Also, moved the TSEC_BASE_ADDR and MDIO_BASE_ADDR definitons into
platform specific files.

Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/net/tsec.c
include/asm-ppc/immap_83xx.h
include/asm-ppc/immap_85xx.h
include/asm-ppc/immap_86xx.h
include/tsec.h