summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/pxa_pcmcia.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-08-31 16:33:26 -0500
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:15 -0700
commit75b9d4ae0d69f214eab641caf12ce8af83a39a42 (patch)
tree61614a99bcfc7389d0c337edde151dac29a98af5 /drivers/pcmcia/pxa_pcmcia.c
parentdd3d1f56a01f460d560766126ee7dfed2ea9bc10 (diff)
downloadu-boot-imx-75b9d4ae0d69f214eab641caf12ce8af83a39a42.zip
u-boot-imx-75b9d4ae0d69f214eab641caf12ce8af83a39a42.tar.gz
u-boot-imx-75b9d4ae0d69f214eab641caf12ce8af83a39a42.tar.bz2
Pass in tsec_info struct through tsec_initialize
The tsec driver contains a hard-coded array of configuration information for the tsec ethernet controllers. We create a default function that works for most tsecs, and allow that to be overridden by board code. It creates an array of tsec_info structures, which are then parsed by the corresponding driver instance to determine configuration. Also, add regs, miiregs, and devname fields to the tsec_info structure, so that we don't need the kludgy "index" parameter. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/pcmcia/pxa_pcmcia.c')
0 files changed, 0 insertions, 0 deletions