]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Remove obsolete IDE timing hack
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 27 Mar 2003 02:02:53 +0000 (18:02 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 27 Mar 2003 02:02:53 +0000 (18:02 -0800)
Vojtech Pavlik

The ide fixes for the VIA8235 obsolete this hack

drivers/ide/ide-timing.h

index cb42f1180b860076c583c2de98c417c7cdc585f5..c1196ce15b4d465ba3eaa91be1d3210d99d69b6d 100644 (file)
@@ -244,14 +244,6 @@ static int ide_timing_compute(ide_drive_t *drive, short speed, struct ide_timing
                ide_timing_merge(&p, t, t, IDE_TIMING_CYCLE | IDE_TIMING_CYC8B);
        }
 
-/*
- * If the drive is an ATAPI device it may need slower address setup timing,
- * so we stay on the safe side.
- */
-
-       if (drive->media != ide_disk)
-               p.setup = 120;
-
 /*
  * Convert the timing to bus clock counts.
  */