From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Apr 2008 15:36:43 +0000 (+0200) Subject: ide: sanitize handling of IDE_HFLAG_NO_SET_MODE host flag X-Git-Tag: v2.6.26-rc1~1044^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784506cbddd17bcd5929f827df39b0c7014e3f1e;p=pandora-kernel.git ide: sanitize handling of IDE_HFLAG_NO_SET_MODE host flag * Check for IDE_HFLAG_NO_SET_MODE host flag in ide_set_pio(), ide_set_[pio,dma]_mode(), ide_set_xfer_rate() and set_pio_mode(). * Remove no longer needed IDE_HFLAG_NO_SET_MODE host flag checking from ide_tune_dma(). * Remove superfluous ->set_pio_mode checking from do_special(). This is a part of preparations for adding 'struct ide_port_ops'. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed