Mikael Pettersson
03116d67e0
sata_promise: fix endianess bug in ASIC PRD bug workaround
...
The original workaround for the Promise ASIC PRD bug
contained an endianess bug which I failed to detect:
the adjustment of the last PRD entry's length field
applied host arithmetic to little-endian data, which
is incorrect on big-endian machines.
We have the length available in host-endian format, so
do the adjustment on host-endian data and then convert
and store it in the PRD entry's little-endian data field.
Thanks to an anonymous reviewer for detecting this bug.
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se >
Signed-off-by: Jeff Garzik <jeff@garzik.org >
2007-11-03 08:46:54 -04:00
..
2007-10-29 11:00:35 -04:00
2007-10-12 14:55:36 -04:00
2007-10-23 20:59:42 -04:00
2007-10-17 20:49:02 -04:00
2007-10-23 20:59:42 -04:00
2007-11-03 08:46:53 -04:00
2007-10-30 09:59:43 -04:00
2007-10-12 14:55:47 -04:00
2007-11-03 08:46:29 -04:00
2007-10-23 20:59:42 -04:00
2007-10-29 11:00:35 -04:00
2007-10-17 20:49:02 -04:00
2007-10-29 06:15:27 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:37 -04:00
2007-10-12 14:55:42 -04:00
2007-10-17 20:49:02 -04:00
2007-10-20 01:02:48 +02:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:47 -04:00
2007-10-19 23:10:43 +02:00
2007-10-19 23:10:43 +02:00
2007-10-19 22:55:03 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:37 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-25 02:05:26 -04:00
2007-10-12 14:55:37 -04:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:37 -04:00
2007-10-12 14:55:46 -04:00
2007-10-12 14:55:37 -04:00
2007-10-12 14:55:36 -04:00
2007-10-14 08:57:30 -07:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-19 23:10:43 +02:00
2007-10-29 06:21:33 -04:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-12 14:55:37 -04:00
2007-10-12 14:55:37 -04:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-19 23:10:43 +02:00
2007-10-29 06:15:27 -04:00
2007-10-12 14:55:36 -04:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-11-03 08:46:29 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:49:24 -04:00
2007-11-03 08:46:54 -04:00
2006-08-10 07:31:37 -04:00
2007-10-29 06:15:27 -04:00
2007-10-30 09:59:42 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-07-02 10:17:42 -04:00