ide: Remove ide_spin_wait_hwgroup() and use special requests instead

Use a special request for serialisation purposes and get rid of the
awkward ide_spin_wait_hwgroup(). This also involves converting the
ide_devset structure so it can be shared by the /proc and the ioctl code.

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
[bart: use rq->cmd[] directly]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tento commit je obsažen v:
Elias Oltmanns
2008-10-10 22:39:40 +02:00
odevzdal Bartlomiej Zolnierkiewicz
rodič d6e2955a6b
revize 92f1f8fd80
10 změnil soubory, kde provedl 271 přidání a 281 odebrání

Zobrazit soubor

@@ -1809,11 +1809,11 @@ static ide_proc_entry_t idecd_proc[] = {
{ NULL, 0, NULL, NULL }
};
ide_devset_rw(dsc_overlap, 0, 1, dsc_overlap);
ide_devset_rw_field(dsc_overlap, dsc_overlap);
static const struct ide_devset *idecd_settings[] = {
&ide_devset_dsc_overlap,
NULL
static const struct ide_proc_devset idecd_settings[] = {
IDE_PROC_DEVSET(dsc_overlap, 0, 1),
{ 0 },
};
#endif