kernel-fxtec-pro1x/drivers/ide
Bartlomiej Zolnierkiewicz 9e47be0c97 ide: remove broken disk byte-swapping support
Remove broken disk byte-swapping support:
- it can cause a data corruption on SMP (or if using PREEMPT on UP)
- all data coming from disk are byte-swapped by taskfile_*_data() which
  results in incorrect identify data being reported by /proc/ide/ and IOCTLs
- "hdx=bswap/byteswap" kernel parameter has been broken on m68k host drivers
  (including Atari/Q40 ones) since 2.5.x days (because of 'hwif' zero-ing)
- byte-swapping is limited to PIO transfers (for working with TiVo disks on
  x86 machines using user-space solutions or dm-byteswap should result in
  much better performance because DMA can be used)

For previous discussions please see:

http://www.ussg.iu.edu/hypermail/linux/kernel/0201.0/0768.html
http://lkml.org/lkml/2004/2/28/111

[ I have dm-byteswap device mapper target if somebody is interested
  (patch is for 2.6.4 though but I'll dust it off if needed). ]

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-26 20:13:09 +01:00
..
arm rapide: remove write-only hwif->hwif_data 2008-01-26 20:13:08 +01:00
cris ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
h8300 ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
legacy ide: print banner message once per controller in m68k host drivers 2008-01-26 20:13:09 +01:00
mips au1xxx-ide: use ide_init_port_hw() 2008-01-26 20:13:08 +01:00
pci ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
ppc ide-pmac: use custom hwif->sg_max_nents only if DMA support is enabled 2008-01-26 20:13:08 +01:00
ide-acpi.c ide: remove unnecessary writes to HOB taskfile registers 2008-01-25 22:17:10 +01:00
ide-cd.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide: remove broken disk byte-swapping support 2008-01-26 20:13:09 +01:00
ide-dma.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
ide-floppy.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-generic.c ide: remove ideprobe_init() 2008-01-26 20:13:05 +01:00
ide-io.c ide: add ide_set_irq() inline helper 2008-01-26 20:13:08 +01:00
ide-iops.c ide: add ide_set_irq() inline helper 2008-01-26 20:13:08 +01:00
ide-lib.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
ide-pnp.c ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
ide-probe.c ide: add ide_busy_sleep() helper 2008-01-26 20:13:09 +01:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-scan-pci.c ide: move CONFIG_IDEPCI_PCIBUS_ORDER code to ide-scan-pci.c 2008-01-26 20:13:09 +01:00
ide-tape.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-taskfile.c ide: remove broken disk byte-swapping support 2008-01-26 20:13:09 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove broken disk byte-swapping support 2008-01-26 20:13:09 +01:00
Kconfig ide: make CONFIG_IDEPCI_PCIBUS_ORDER visible and deprecate it 2008-01-26 20:13:09 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
setup-pci.c ide: move CONFIG_IDEPCI_PCIBUS_ORDER code to ide-scan-pci.c 2008-01-26 20:13:09 +01:00