Russell King 1df726ef0a NET: am79c961: fix race in link status code
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>
2011-09-05 08:58:29 +01:00
..
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:53 -07:00
2011-07-21 13:47:55 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:56 -07:00
2011-07-23 20:01:15 -07:00
2011-07-21 13:47:57 -07:00
2011-07-26 16:49:47 -07:00
2011-07-25 16:16:00 -07:00
2011-07-25 16:16:00 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-27 09:31:08 +08:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-07-27 22:39:31 -07:00
2011-08-01 02:27:21 -07:00
2011-07-21 13:47:56 -07:00
2011-08-11 07:42:45 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:55 -07:00
2011-08-26 12:48:24 -04:00
2011-07-21 13:47:56 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:56 -07:00