git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
ide
/
ide-timing.h
diff --git
a/drivers/ide/ide-timing.h
b/drivers/ide/ide-timing.h
index
c0864b1
..
2fcfac6
100644
(file)
--- a/
drivers/ide/ide-timing.h
+++ b/
drivers/ide/ide-timing.h
@@
-219,12
+219,6
@@
static int ide_timing_compute(ide_drive_t *drive, short speed, struct ide_timing
if (!(s = ide_timing_find_mode(speed)))
return -EINVAL;
if (!(s = ide_timing_find_mode(speed)))
return -EINVAL;
-/*
- * Copy the timing from the table.
- */
-
- *t = *s;
-
/*
* If the drive is an EIDE drive, it can tell us it needs extended
* PIO/MWDMA cycle timing.
/*
* If the drive is an EIDE drive, it can tell us it needs extended
* PIO/MWDMA cycle timing.
@@
-253,7
+247,7
@@
static int ide_timing_compute(ide_drive_t *drive, short speed, struct ide_timing
* Convert the timing to bus clock counts.
*/
* Convert the timing to bus clock counts.
*/
- ide_timing_quantize(
t
, t, T, UT);
+ ide_timing_quantize(
s
, t, T, UT);
/*
* Even in DMA/UDMA modes we still use PIO access for IDENTIFY, S.M.A.R.T
/*
* Even in DMA/UDMA modes we still use PIO access for IDENTIFY, S.M.A.R.T