The link status code operates from a timer, and writes the index register without first taking a lock. A well-placed interrupt between writing the index register and reading the data register could change the index register on us, which will return wrong data. Add the necessary lock. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
|---|---|---|
| .. | ||
| am79c961a.c | ||
| am79c961a.h | ||
| at91_ether.c | ||
| at91_ether.h | ||
| ep93xx_eth.c | ||
| ether1.c | ||
| ether1.h | ||
| ether3.c | ||
| ether3.h | ||
| etherh.c | ||
| ixp4xx_eth.c | ||
| Kconfig | ||
| ks8695net.c | ||
| ks8695net.h | ||
| Makefile | ||
| w90p910_ether.c | ||