Bartlomiej Zolnierkiewicz fa56d4cb40 ide: allow ide_dev_read_id() to be called from the IRQ context
* Un-static __ide_wait_stat().

* Allow ide_dev_read_id() helper to be called from the IRQ context by
  adding irq_ctx flag and using mdelay()/__ide_wait_stat() when needed.

* Switch ide_driveid_update() to set irq_ctx flag.

This change is needed for the consecutive patch which fixes races in
handling of user-space SET XFER commands but for improved bisectability
and clarity it is better to do it in a separate patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-07 10:42:59 -07:00
..
2009-06-15 18:52:53 +02:00
2009-05-17 19:12:25 +02:00
2009-06-21 22:48:03 -07:00
2009-06-15 18:52:58 +02:00
2009-01-06 17:20:52 +01:00
2009-05-17 19:12:25 +02:00
2009-03-27 12:46:28 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-05-15 06:44:38 +02:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-04-08 14:13:03 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 18:52:53 +02:00
2009-06-15 18:52:53 +02:00
2008-11-02 21:40:08 +01:00
2009-04-08 14:13:03 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 18:52:53 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-06-15 18:52:55 +02:00
2009-06-15 18:53:00 +02:00
2009-06-15 18:52:53 +02:00
2009-01-06 17:20:52 +01:00
2009-05-17 19:12:25 +02:00