Bartlomiej Zolnierkiewicz 2a2ca6a961 ide: replace the global ide_lock spinlock by per-hwgroup spinlocks (v2)
Now that (almost) all host drivers have been fixed not to abuse ide_lock
and core code usage of ide_lock has been sanitized we may safely replace
ide_lock by per-hwgroup locks.

This patch is partially based on earlier patch from Ravikiran G Thirumalai.

While at it:
- don't use deprecated HWIF() and HWGROUP() macros
- update locking documentation in ide.h

v2:
Add missing spin_lock_init(&hwgroup->lock).  (Noticed by Elias Oltmanns)

Cc: Vaibhav V. Nivargi <vaibhav.nivargi@gmail.com>
Cc: Alok N. Kataria <alokk@calsoftinc.com>
Cc: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Cc: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-12-29 20:27:31 +01:00
..
2008-01-11 18:22:30 -06:00
2008-11-30 10:03:36 -08:00
2008-10-16 16:52:06 +02:00
2008-01-30 13:14:02 -06:00
2008-08-29 02:13:10 -07:00
2008-11-30 10:03:36 -08:00
2008-10-09 08:56:13 +02:00
2008-01-30 13:14:02 -06:00
2008-10-09 08:56:13 +02:00
2008-10-14 10:23:27 -07:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2008-01-30 13:14:02 -06:00
2008-10-23 11:42:17 -05:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2008-12-04 04:22:57 -05:00
2008-07-30 10:21:56 -05:00
2008-11-01 09:49:46 -07:00
2008-12-04 04:22:57 -05:00
2008-02-07 18:02:44 -06:00
2008-12-01 11:16:27 -06:00
2008-10-23 11:42:19 -05:00
2007-10-19 23:22:55 +02:00