John W. Linville
6ba98d311d
[PATCH] via-rhine: change mdelay to msleep and remove from ISR path
...
Get rid of the mdelay call in rhine_disable_linkmon. The function
is called from the via-rhine versions of mdio_read and mdio_write.
Those functions are indirectly called from rhine_check_media and
rhine_tx_timeout, both of which can be called in interrupt context.
So, create tx_timeout_task and check_media_task as instances of struct
work_struct inside of rhine_private. Then, change rhine_tx_timeout to
invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task),
moving the work to process context. Also, change rhine_error (invoked
from rhine_interrupt) to invoke schedule_work for check_media_task
(i.e. rhine_check_media_task), which simply calls rhine_check media
in process context. Finally, add a call to flush_scheduled_work in
rhine_close to avoid any resource conflicts with pending work items.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-18 22:26:01 -04:00
..
2005-07-11 21:13:56 -07:00
2005-09-13 08:22:29 -07:00
2005-10-02 18:12:03 +01:00
2005-10-13 21:22:27 -04:00
2005-09-05 17:57:22 -04:00
2005-09-09 14:03:48 -07:00
2005-10-18 18:32:34 -04:00
2005-04-16 15:20:36 -07:00
2005-10-18 17:03:28 -04:00
2005-10-03 22:21:33 -04:00
2005-10-03 22:06:19 -04:00
2005-09-21 22:34:08 -04:00
2005-10-03 22:03:28 -04:00
2005-09-23 22:58:49 -04:00
2005-09-29 08:46:26 -07:00
2005-06-27 00:19:53 -04:00
2005-10-05 02:11:33 -04:00
2005-10-18 18:03:47 -04:00
2005-10-03 22:06:19 -04:00
2005-10-18 17:14:17 -04:00
2005-09-07 16:57:30 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-12 20:11:55 -04:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-26 18:33:33 -04:00
2005-06-28 15:25:31 -07:00
2005-06-27 00:41:51 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-21 22:34:08 -04:00
2005-09-14 08:29:31 -04:00
2005-09-23 05:18:45 -04:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:25:31 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-06 22:17:12 -04:00
2005-04-16 15:20:36 -07:00
2005-06-26 18:22:14 -04:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-27 23:23:05 -04:00
2005-09-09 14:03:48 -07:00
2005-09-09 14:03:48 -07:00
2005-09-06 22:47:00 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-18 18:03:47 -04:00
2005-04-16 15:20:36 -07:00
2005-09-14 08:29:31 -04:00
2005-04-16 15:20:36 -07:00
2005-09-30 08:42:24 -07:00
2005-04-16 15:20:36 -07:00
2005-05-26 13:03:09 -07:00
2005-09-12 14:45:08 -07:00
2005-09-08 13:15:32 -07:00
2005-09-10 10:06:30 -07:00
2005-10-03 14:01:37 -07:00
2005-09-27 15:24:13 -07:00
2005-09-26 18:29:49 -07:00
2005-08-01 19:14:01 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-18 18:03:48 -04:00
2005-06-26 18:37:25 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:25:31 -07:00
2005-04-16 15:20:36 -07:00
2005-09-06 22:17:12 -04:00
2005-05-15 18:31:07 -04:00
2005-04-16 15:20:36 -07:00
2005-10-13 21:22:27 -04:00
2005-05-12 20:11:55 -04:00
2005-08-19 03:52:49 -04:00
2005-05-12 20:11:55 -04:00
2005-05-12 20:11:55 -04:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:25:31 -07:00
2005-07-21 14:16:54 -07:00
2005-05-12 20:11:55 -04:00
2005-05-12 20:11:55 -04:00
2005-06-26 18:29:26 -04:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:25:31 -07:00
2005-09-11 20:43:46 -07:00
2005-09-11 20:43:47 -07:00
2005-09-21 23:22:10 -04:00
2005-09-23 22:54:21 -04:00
2005-09-23 22:54:21 -04:00
2005-09-23 22:54:21 -04:00
2005-09-23 22:54:21 -04:00
2005-09-23 22:54:21 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:09 -07:00
2005-09-07 17:17:33 -07:00
2005-09-14 08:33:24 -04:00
2005-04-16 15:20:36 -07:00
2005-05-12 20:11:55 -04:00
2005-05-12 20:11:55 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-29 08:46:26 -07:00
2005-04-16 15:20:36 -07:00
2005-08-18 16:59:14 -04:00
2005-05-12 20:11:55 -04:00
2005-09-06 22:17:12 -04:00
2005-08-23 01:32:12 -04:00
2005-10-18 18:03:48 -04:00
2005-06-28 15:25:31 -07:00
2005-06-28 15:25:31 -07:00
2005-04-16 15:20:36 -07:00
2005-09-14 08:37:31 -04:00
2005-08-18 22:14:39 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-06 12:55:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-23 01:32:12 -04:00
2005-10-18 18:03:48 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-14 08:46:21 -04:00
2005-10-18 18:03:48 -04:00
2005-10-18 18:03:48 -04:00
2005-09-09 14:03:48 -07:00
2005-09-05 18:08:30 -04:00
2005-04-16 15:20:36 -07:00
2005-05-12 22:22:36 -04:00
2005-07-12 12:08:43 -07:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:25:31 -07:00
2005-05-12 20:11:55 -04:00
2005-09-14 08:29:32 -04:00
2005-09-05 18:02:31 -04:00
2005-05-12 20:11:55 -04:00
2005-10-18 18:03:48 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-13 21:22:27 -04:00
2005-04-16 15:20:36 -07:00
2005-07-31 00:54:14 -04:00
2005-09-16 02:43:23 -04:00
2005-07-27 16:26:20 -07:00
2005-07-08 14:57:23 -07:00
2005-05-03 14:38:09 -07:00
2005-09-10 10:06:32 -07:00
2005-07-08 14:57:23 -07:00
2005-09-29 08:46:26 -07:00
2005-04-16 15:20:36 -07:00
2005-10-03 22:06:19 -04:00
2005-09-14 09:18:21 -04:00
2005-08-29 15:31:42 -07:00
2005-04-16 15:20:36 -07:00
2005-10-18 16:58:27 -04:00
2005-10-18 18:33:42 -04:00
2005-10-04 06:41:24 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-26 23:47:57 -04:00
2005-10-18 18:03:47 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-18 18:03:47 -04:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:31:14 -07:00
2005-09-05 18:06:53 -04:00
2005-06-28 15:25:31 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-03 22:06:19 -04:00
2005-09-21 22:32:50 -04:00
2005-04-16 15:20:36 -07:00
2005-06-28 16:27:32 -07:00
2005-04-16 15:20:36 -07:00
2005-06-27 23:08:09 -04:00
2005-09-07 17:17:34 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-12 22:24:39 -04:00
2005-04-16 15:20:36 -07:00
2005-08-29 10:42:40 -07:00
2005-08-23 01:32:12 -04:00
2005-08-23 01:32:12 -04:00
2005-08-23 01:32:12 -04:00
2005-09-06 22:35:30 -04:00
2005-09-16 03:23:12 -04:00
2005-09-06 22:17:49 -04:00
2005-05-12 20:16:24 -04:00
2005-04-16 15:20:36 -07:00
2005-10-03 22:31:36 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-06 22:47:00 -04:00
2005-04-24 20:35:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-14 08:30:02 -04:00
2005-07-07 18:23:36 -07:00
2005-07-07 18:23:36 -07:00
2005-09-11 09:26:20 -07:00
2005-10-08 15:00:57 -07:00
2005-09-11 09:28:17 -07:00
2005-04-16 15:20:36 -07:00
2005-04-24 20:35:20 -07:00
2005-04-24 20:35:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-03 16:25:23 -07:00
2005-09-27 12:12:42 -07:00
2005-06-26 18:22:14 -04:00
2005-04-16 15:20:36 -07:00
2005-09-01 17:40:05 -07:00
2005-04-16 15:20:36 -07:00
2005-09-14 08:33:24 -04:00
2005-04-16 15:20:36 -07:00
2005-10-18 22:26:01 -04:00
2005-06-28 15:25:31 -07:00
2005-07-27 16:26:20 -07:00
2005-05-12 20:11:55 -04:00
2005-06-28 15:25:31 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00