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-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-21 21:32:54 -07:00
2011-07-23 20:01:15 -07:00
2011-08-11 07:14:53 -07:00
2011-08-17 20:12:06 -07:00
2011-08-26 12:48:24 -04: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-08-04 04:59:07 -07:00
2011-08-13 02:15:38 -07:00
2011-07-21 13:47:53 -07:00
2011-07-21 13:47:55 -07:00
2011-07-25 13:56:39 -07:00
2011-07-26 16:49:47 -07:00
2011-07-27 09:31:02 +08:00
2011-08-04 05:01:59 -07:00
2011-08-04 04:59:07 -07:00
2011-08-11 05:52:57 -07:00
2011-08-04 04:59:07 -07:00
2011-08-13 02:10:27 -07:00
2011-07-21 13:47:56 -07:00
2011-08-05 03:36:07 -07:00
2011-07-21 21:32:54 -07:00
2011-07-29 18:27:34 +02:00
2011-08-26 12:48:24 -04:00
2011-07-21 13:47:57 -07:00
2011-07-23 20:01:15 -07:00
2011-07-21 15:29:16 -07:00
2011-07-21 13:38:42 -07:00
2011-08-13 18:00:32 -07:00
2011-08-13 18:00:32 -07:00
2011-07-21 13:47:57 -07:00
2011-07-27 22:39:30 -07:00
2011-07-26 16:49:47 -07:00
2011-08-26 10:33:51 -04: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-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-07-21 12:38:32 -07:00
2011-08-26 12:49:03 -04:00
2011-07-21 12:38:32 -07:00
2011-07-21 12:38:32 -07:00
2011-07-26 16:49:47 -07:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-07-27 09:31:08 +08:00
2011-08-17 23:50:37 -07:00
2011-08-13 18:00:33 -07:00
2011-08-07 22:53:22 -07:00
2011-08-13 18:00:33 -07:00
2011-07-21 13:47:55 -07:00
2011-08-24 17:56:15 -07:00
2011-07-27 22:39:30 -07:00
2011-07-21 20:21:27 -07:00
2011-07-21 13:47:55 -07:00
2011-08-04 02:04:32 -07:00
2011-07-27 22:39:30 -07:00
2011-07-27 22:39:31 -07:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -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-25 13:56:39 -07:00
2011-07-21 13:38:42 -07:00
2011-08-02 17:08:58 -07:00
2011-08-25 16:25:34 -07:00
2011-07-21 13:47:55 -07:00
2011-07-25 13:56:39 -07:00
2011-08-26 12:48:24 -04:00
2011-07-28 18:11:51 -07:00
2011-08-07 22:14:45 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:56 -07:00
2011-07-29 17:31:16 +02:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-07-27 22:39:32 -07:00
2011-07-27 22:39:32 -07:00
2011-07-27 22:39:30 -07:00
2011-07-27 22:39:30 -07:00
2011-08-17 20:13:39 -07:00
2011-07-21 13:47:56 -07:00
2011-07-21 21:29:34 -07:00