]> err.no Git - linux-2.6/blobdiff - drivers/ide/ide-timing.h
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-2.6] / drivers / ide / ide-timing.h
index adeda7626529eaa15ca17baa51d83f43a4cd8e3a..2e91c5870b4c8afe240b0a2ec826e57c554aef16 100644 (file)
@@ -95,7 +95,6 @@ static struct ide_timing ide_timing[] = {
 #define IDE_TIMING_UDMA                0x80
 #define IDE_TIMING_ALL         0xff
 
-#define FIT(v,vmin,vmax)       max_t(short,min_t(short,v,vmax),vmin)
 #define ENOUGH(v,unit)         (((v)-1)/(unit)+1)
 #define EZ(v,unit)             ((v)?ENOUGH(v,unit):0)
 
@@ -199,7 +198,7 @@ static int ide_timing_compute(ide_drive_t *drive, short speed, struct ide_timing
        }
 
 /*
- * Lenghten active & recovery time so that cycle time is correct.
+ * Lengthen active & recovery time so that cycle time is correct.
  */
 
        if (t->act8b + t->rec8b < t->cyc8b) {