diff options
| author | Andy Fleming <[email protected]> | 2008-08-31 16:33:26 -0500 |
|---|---|---|
| committer | Ben Warren <[email protected]> | 2008-09-02 21:18:15 -0700 |
| commit | 75b9d4ae0d69f214eab641caf12ce8af83a39a42 (patch) | |
| tree | 61614a99bcfc7389d0c337edde151dac29a98af5 /include/netdev.h | |
| parent | dd3d1f56a01f460d560766126ee7dfed2ea9bc10 (diff) | |
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 <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
Diffstat (limited to 'include/netdev.h')
0 files changed, 0 insertions, 0 deletions
