ide: add IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags
Add IDE_HFLAG_NO_LBA48[_DMA] host flags, use it instead of hwif->no_lba48[_dma] and then remove no longer needed hwif->no_lba48[_dma]. As a side-effect this change fixes hwif->no_lba48_dma not being restored by ide_hwif_restore(). Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -437,7 +437,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
|
||||
|
||||
hwif->mmio = tmp_hwif->mmio;
|
||||
hwif->rqsize = tmp_hwif->rqsize;
|
||||
hwif->no_lba48 = tmp_hwif->no_lba48;
|
||||
|
||||
#ifndef CONFIG_BLK_DEV_IDECS
|
||||
hwif->irq = tmp_hwif->irq;
|
||||
|
Reference in New Issue
Block a user