diff options
| author | 2007-02-07 18:18:28 +0100 | |
|---|---|---|
| committer | 2007-02-07 18:18:28 +0100 | |
| commit | 30dfd12f5384d30c0d0de05eb34d0e26352a20ff (patch) | |
| tree | c89ce02f1082b9017e7ab0977600624c142a77e8 /scripts | |
| parent | piix: fix 82371MX enablebits (diff) | |
piix: tuneproc() fixes/cleanups
Fix/cleanup the driver's tuneproc() and ratemask() methods:
- PPE, IE, and TIME bits need to be cleared beforehand for the slave drive as
well as master (Alan probably just forgot about it);
- this driver only supports PIO modes up to 4, so must pass the correct limit
to ide_get_best_pio_mode();
- use min_t() macro instead of min();
- simplify slave vs master drive evaluation;
- do come coding and formatting cleanups...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
