From: Denis Vlasenko Date: Mon, 25 Sep 2006 23:57:42 +0000 (-0700) Subject: [SCSI] aic7xxx: fix byte I/O order in ahd_inw X-Git-Tag: v2.6.19-rc1~4^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b75b990e3cb33fd529640d589e77950e72a607c;p=pandora-kernel.git [SCSI] aic7xxx: fix byte I/O order in ahd_inw Comment says "Read high byte first as some registers increment..." but code doesn't guarantee that, I think: return ((ahd_inb(ahd, port+1) << 8) | ahd_inb(ahd, port)); Compiler can reorder it. Make the order explicit. Signed-off-by: Denis Vlasenko Signed-off-by: Andrew Morton Fixed rejections and added aic7xxx code Signed-off-by: James Bottomley --- Reading git-diff-tree failed