ide: Fix IDE PIO size calculation
authorSteven J. Hill <sjhill@mips.com>
Thu, 20 Jun 2013 15:30:37 +0000 (10:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jul 2013 19:09:10 +0000 (12:09 -0700)
commit1581208b2f0643eebfa7a3fbe5bad831c0bb7f0e
treea8c4e201e65c58587fca8776c5c0258edae08215
parent99bfdd878693f440e723a7b33ccedd0b9dc1ca16
ide: Fix IDE PIO size calculation

IDE PIO calculates the size wrong when passing the parameter
"ide-core.nodma=0.0" to the kernel.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-taskfile.c