diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:32 -0500 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:32 -0500 |
| commit | 27c01c2db05c3cf8824975e50403cd4fd9356dca (patch) | |
| tree | 5032c9b77971778c7e76722d0e86fa66a3a6dc1b /include/linux/ide.h | |
| parent | 08cd1dca00f7c84c8b30c2726e078529d4ebc93f (diff) | |
ide-cd: remove obsolete seek optimization
It doesn't make much sense nowadays and is problematic on some drives.
Cc: Borislav Petkov <petkovbb@googlemail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index c871d325cedb..0b8af0535d85 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -122,8 +122,6 @@ struct ide_io_ports { | |||
| 122 | #define MAX_DRIVES 2 /* per interface; 2 assumed by lots of code */ | 122 | #define MAX_DRIVES 2 /* per interface; 2 assumed by lots of code */ |
| 123 | #define SECTOR_SIZE 512 | 123 | #define SECTOR_SIZE 512 |
| 124 | 124 | ||
| 125 | #define IDE_LARGE_SEEK(b1,b2,t) (((b1) > (b2) + (t)) || ((b2) > (b1) + (t))) | ||
| 126 | |||
| 127 | /* | 125 | /* |
| 128 | * Timeouts for various operations: | 126 | * Timeouts for various operations: |
| 129 | */ | 127 | */ |
| @@ -496,8 +494,6 @@ enum { | |||
| 496 | * when more than one interrupt is needed. | 494 | * when more than one interrupt is needed. |
| 497 | */ | 495 | */ |
| 498 | IDE_AFLAG_LIMIT_NFRAMES = (1 << 7), | 496 | IDE_AFLAG_LIMIT_NFRAMES = (1 << 7), |
| 499 | /* Seeking in progress. */ | ||
| 500 | IDE_AFLAG_SEEKING = (1 << 8), | ||
| 501 | /* Saved TOC information is current. */ | 497 | /* Saved TOC information is current. */ |
| 502 | IDE_AFLAG_TOC_VALID = (1 << 9), | 498 | IDE_AFLAG_TOC_VALID = (1 << 9), |
| 503 | /* We think that the drive door is locked. */ | 499 | /* We think that the drive door is locked. */ |
