Skip to content
This repository
Browse code

ide: remove no longer used ide_pio_timings[]

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information...
commit 3e153cfb5e38ae237ff27a10a833946ac95db8a4 1 parent c9d6c1a
bzolnier bzolnier authored

Showing 2 changed files with 0 additions and 25 deletions. Show diff stats Hide diff stats

  1. +0 17 drivers/ide/ide-lib.c
  2. +0 8 include/linux/ide.h
17 drivers/ide/ide-lib.c
@@ -76,23 +76,6 @@ static u8 ide_rate_filter(ide_drive_t *drive, u8 speed)
76 76 }
77 77
78 78 /*
79   - * Standard (generic) timings for PIO modes, from ATA2 specification.
80   - * These timings are for access to the IDE data port register *only*.
81   - * Some drives may specify a mode, while also specifying a different
82   - * value for cycle_time (from drive identification data).
83   - */
84   -const ide_pio_timings_t ide_pio_timings[6] = {
85   - { 70, 165, 600 }, /* PIO Mode 0 */
86   - { 50, 125, 383 }, /* PIO Mode 1 */
87   - { 30, 100, 240 }, /* PIO Mode 2 */
88   - { 30, 80, 180 }, /* PIO Mode 3 with IORDY */
89   - { 25, 70, 120 }, /* PIO Mode 4 with IORDY */
90   - { 20, 50, 100 } /* PIO Mode 5 with IORDY (nonstandard) */
91   -};
92   -
93   -EXPORT_SYMBOL_GPL(ide_pio_timings);
94   -
95   -/*
96 79 * Shared data/functions for determining best PIO mode for an IDE drive.
97 80 * Most of this stuff originally lived in cmd640.c, and changes to the
98 81 * ide_pio_blacklist[] table should be made with EXTREME CAUTION to avoid
8 include/linux/ide.h
@@ -1305,15 +1305,7 @@ void ide_timing_merge(struct ide_timing *, struct ide_timing *,
1305 1305 struct ide_timing *, unsigned int);
1306 1306 int ide_timing_compute(ide_drive_t *, u8, struct ide_timing *, int, int);
1307 1307
1308   -typedef struct ide_pio_timings_s {
1309   - int setup_time; /* Address setup (ns) minimum */
1310   - int active_time; /* Active pulse (ns) minimum */
1311   - int cycle_time; /* Cycle time (ns) minimum = */
1312   - /* active + recovery (+ setup for some chips) */
1313   -} ide_pio_timings_t;
1314   -
1315 1308 u8 ide_get_best_pio_mode(ide_drive_t *, u8, u8);
1316   -extern const ide_pio_timings_t ide_pio_timings[6];
1317 1309
1318 1310 int ide_set_pio_mode(ide_drive_t *, u8);
1319 1311 int ide_set_dma_mode(ide_drive_t *, u8);

0 comments on commit 3e153cf

Please sign in to comment.
Something went wrong with that request. Please try again.