Sergei Shtylyov
c9ff9e7b64
ide: refactor tf_load() method
...
Simplify tf_load() method, making it deal only with 'struct ide_taskfile' and
the validity flags that the upper layer passes, and moving the code that deals
with the high order bytes into the only function interested, do_rw_taskfile().
This should stop the needless code duplication in this method and so make
it about twice smaller than it was; along with simplifying the setup for the
method call, this should save both time and space...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com >
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
2009-04-08 14:13:03 +02:00
..
2009-03-24 23:22:53 +01:00
2009-03-31 20:15:21 +02:00
2009-03-24 23:22:53 +01:00
2009-04-08 14:12:53 +02:00
2009-03-24 23:22:52 +01:00
2009-03-31 20:15:32 +02:00
2009-03-27 12:46:27 +01:00
2009-03-31 20:15:22 +02:00
2009-01-06 17:20:55 +01:00
2009-04-07 08:31:11 -07:00
2009-03-31 20:15:27 +02:00
2009-03-31 20:15:19 +02:00
2009-01-06 17:20:52 +01:00
2009-03-27 12:46:27 +01:00
2009-03-27 12:46:28 +01:00
2009-04-08 14:12:48 +02:00
2009-03-31 20:15:26 +02:00
2009-03-31 20:15:19 +02:00
2009-03-31 20:15:32 +02:00
2009-03-31 20:15:22 +02:00
2009-03-27 12:46:28 +01:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:01 +02:00
2009-04-08 14:12:54 +02:00
2009-03-27 12:46:24 +01:00
2009-03-27 12:46:27 +01:00
2009-03-27 12:46:45 +01:00
2009-04-08 14:13:01 +02:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:12:49 +02:00
2009-03-31 20:15:28 +02:00
2009-03-31 20:15:33 +02:00
2009-03-31 20:15:25 +02:00
2009-03-05 16:10:56 +01:00
2009-03-31 20:15:26 +02:00
2009-03-27 12:46:36 +01:00
2009-03-27 12:46:34 +01:00
2009-03-31 20:15:24 +02:00
2009-04-08 14:12:51 +02:00
2009-04-08 14:13:03 +02:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:03 +02:00
2008-12-29 20:27:37 +01:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:01 +02:00
2009-03-24 23:22:52 +01:00
2009-04-08 14:13:01 +02:00
2009-03-27 12:46:18 +01:00
2009-04-08 14:13:03 +02:00
2009-04-08 14:13:01 +02:00
2009-01-02 16:12:48 +01:00
2009-03-31 20:15:26 +02:00
2009-04-08 14:13:03 +02:00
2009-03-31 20:15:28 +02:00
2009-03-31 20:15:28 +02:00
2009-03-24 23:22:44 +01:00
2009-03-31 20:15:19 +02:00
2009-01-06 17:21:01 +01:00
2009-01-06 17:20:52 +01:00
2009-03-31 20:15:34 +02:00
2009-03-27 12:46:27 +01:00
2009-03-31 20:15:24 +02:00
2009-04-08 14:13:02 +02:00
2009-03-27 12:46:23 +01:00
2009-03-24 23:22:53 +01:00
2009-03-31 20:15:19 +02:00
2009-03-24 23:22:53 +01:00
2009-03-31 20:15:34 +02:00
2009-04-08 14:12:48 +02:00
2009-03-31 20:15:32 +02:00
2009-02-03 16:53:56 -08:00
2008-12-29 20:27:33 +01:00
2009-03-31 20:15:27 +02:00
2009-04-08 14:13:03 +02:00
2009-03-24 23:22:53 +01:00
2009-04-07 08:31:11 -07:00
2009-03-31 20:15:32 +02:00
2009-03-31 20:15:19 +02:00
2009-03-24 23:22:53 +01:00
2009-03-31 20:15:28 +02:00
2009-03-24 23:22:52 +01:00
2009-03-31 20:15:19 +02:00
2009-01-06 17:20:52 +01:00
2009-03-31 20:15:32 +02:00
2009-04-08 14:12:52 +02:00
2009-04-08 14:13:03 +02:00
2009-01-06 17:20:50 +01:00
2009-03-24 23:22:53 +01:00