ide: use PIO/MMIO operations directly where possible (v2)
This results in smaller/faster/simpler code and allows future optimizations. Also remove no longer needed ide[_mm]_{inl,outl}() and ide_hwif_t.{INL,OUTL}. v2: * updated for scc_pata Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@ -518,13 +518,11 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
|
||||
hwif->OUTB = tmp_hwif->OUTB;
|
||||
hwif->OUTBSYNC = tmp_hwif->OUTBSYNC;
|
||||
hwif->OUTW = tmp_hwif->OUTW;
|
||||
hwif->OUTL = tmp_hwif->OUTL;
|
||||
hwif->OUTSW = tmp_hwif->OUTSW;
|
||||
hwif->OUTSL = tmp_hwif->OUTSL;
|
||||
|
||||
hwif->INB = tmp_hwif->INB;
|
||||
hwif->INW = tmp_hwif->INW;
|
||||
hwif->INL = tmp_hwif->INL;
|
||||
hwif->INSW = tmp_hwif->INSW;
|
||||
hwif->INSL = tmp_hwif->INSL;
|
||||
|
||||
|
Reference in New Issue
Block a user