mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
IXP42x: add NPE support for IXP425 rev. A0 processors.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
This commit is contained in:
parent
8a4fe82497
commit
61a5ccc85a
1 changed files with 0 additions and 9 deletions
|
@ -386,15 +386,6 @@ static int npe_reset(struct npe *npe)
|
|||
/* reset the NPE */
|
||||
ixp4xx_write_feature_bits(val &
|
||||
~(IXP4XX_FEATURE_RESET_NPEA << npe->id));
|
||||
for (i = 0; i < MAX_RETRIES; i++) {
|
||||
if (!(ixp4xx_read_feature_bits() &
|
||||
(IXP4XX_FEATURE_RESET_NPEA << npe->id)))
|
||||
break; /* reset completed */
|
||||
udelay(1);
|
||||
}
|
||||
if (i == MAX_RETRIES)
|
||||
return -ETIMEDOUT;
|
||||
|
||||
/* deassert reset */
|
||||
ixp4xx_write_feature_bits(val |
|
||||
(IXP4XX_FEATURE_RESET_NPEA << npe->id));
|
||||
|
|
Loading…
Reference in a new issue