ide: add drive->pio_mode field
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:20:28 +0000 (07:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:42:00 +0000 (01:42 -0800)
commitd2d4e780aff2fab46a792ebc89f80d1a6872b325
treee4ec30ac3d5e5c43a4a11769440a8d18d5be98de
parent68d0a036162f12d8be07c9fc140507cc1c8c6120
ide: add drive->pio_mode field

Add pio_mode field to ide_drive_t matching pio_mode field used in
struct ata_device.

The validity of the field is restricted to ->set_pio_mode method
only currently in IDE subsystem.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-devsets.c
drivers/ide/ide-probe.c
drivers/ide/ide-xfer-mode.c
include/linux/ide.h