]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 18 Oct 2007 22:30:07 +0000 (00:30 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 18 Oct 2007 22:30:07 +0000 (00:30 +0200)
commit238e4f142c33bb34440cc64029dde7b9fbc4e65f
tree5fc96f650cf6d326a4bc1e0026cd8ddeb9b9aa94
parent9ffcf364f9d0aca3ea79e9987c368eb75925460e
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>
drivers/ide/ide-disk.c
drivers/ide/ide-probe.c
drivers/ide/ide.c
drivers/ide/pci/alim15x3.c
drivers/ide/pci/trm290.c
include/linux/ide.h