summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.c
diff options
context:
space:
mode:
authorKumar Gala2006-03-24 12:18:21 +0100
committerLinus Torvalds2006-03-24 16:33:28 +0100
commit208a08f7cc2a8932ed76162d9844f9ae7d7fc015 (patch)
tree6f0eb837cf8c1ce131c93ecf52476046519c5969 /drivers/ide/ide-disk.c
parent[PATCH] show MCP menu only on ARCH_SA1100 (diff)
downloadkernel-qcow2-linux-208a08f7cc2a8932ed76162d9844f9ae7d7fc015.tar.gz
kernel-qcow2-linux-208a08f7cc2a8932ed76162d9844f9ae7d7fc015.tar.xz
kernel-qcow2-linux-208a08f7cc2a8932ed76162d9844f9ae7d7fc015.zip
[PATCH] ide: Allow IDE interface to specify its not capable of 32-bit operations
In some embedded systems the IDE hardware interface may only support 16-bit or smaller accesses. Allow the interface to specify if this is the case and don't allow the drive or user to override the setting. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r--drivers/ide/ide-disk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index e238b7da824b..ccf528d733bf 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -978,8 +978,6 @@ static void idedisk_setup (ide_drive_t *drive)
ide_dma_verbose(drive);
printk("\n");
- drive->no_io_32bit = id->dword_io ? 1 : 0;
-
/* write cache enabled? */
if ((id->csfo & 1) || (id->cfs_enable_1 & (1 << 5)))
drive->wcache = 1;