From: Bartlomiej Zolnierkiewicz Date: Fri, 25 Jan 2008 21:17:09 +0000 (+0100) Subject: ide: fix registers loading order for IDE_NSECTOR_REG in execute_drive_cmd() X-Git-Tag: v2.6.25-rc1~1236^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd87233bccc6416dac3b78ac912fd017918efe6;p=pandora-kernel.git ide: fix registers loading order for IDE_NSECTOR_REG in execute_drive_cmd() Move loading of IDE_NSECTOR_REG from ide_cmd() to execute_drive_cmd() (load the IDE_NSECTOR_REG just after IDE_FEATURE_REG). This also allows us to drop 'nsect' argument from ide_cmd() and simplify execute_drive_cmd() code for REQ_TYPE_ATA_CMD case a bit. It shouldn't affect anything (just a usual paranoia to separate changes which change the way in which hardware is accessed from code cleanups). Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed