qe: Pass in uec_info struct through uec_initialize
authorHaiying Wang <Haiying.Wang@freescale.com>
Thu, 4 Jun 2009 20:12:41 +0000 (16:12 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 12 Jun 2009 22:17:02 +0000 (17:17 -0500)
commit8e55258f144764de8902e9f078a7ad4c6c022c2f
treec5571e534bb60e01ba69f8eab774f0d5abf417f4
parent9a6110897fc9282ade598bbba70ad72b940436e3
qe: Pass in uec_info struct through uec_initialize

The uec driver contains code to hard code configuration information for the uec
ethernet controllers. This patch creates an array of uec_info structures, which
are then parsed by the corresponding driver instance to determine configuration.
It also creates function uec_standard_init() to initialize all UEC interfaces
for 83xx and 85xx.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc83xx/cpu.c
cpu/mpc85xx/cpu.c
drivers/qe/uec.c
drivers/qe/uec.h