alistair23-linux/drivers/ide
Sergei Shtylyov 5826b318aa cmd64x: procfs code fixes/cleanups (take 2)
Fix several issues with the driver's procfs output:

- when testing if channel is enabled, the code looks at the "simplex" bits, not
  at the real enable bits -- add #define for the primary channel enable bit;

- UltraDMA modes 0, 1, 3 for slave drive reported incorrectly due to using the
  master drive's clock cycle resolution bit.

While at it, also perform the following cleanups:

- don't print extra newline before the first controller's dump;

- correct the chipset names (from CMDxxx to PCI-xxx)

- don't read from the registers which aren't used for dump;

- better align the table column sizes;

- rework UltraDMA mode dump code;

- remove PIO mode dump code that has never been finished;

- remove the duplicate interrupt status (the MRDMODE register bits mirror those
  those in the CFR and ARTTIM23 registers) and fold the dump into single line;

- correct the style of the ?: operators...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-05-05 22:03:50 +02:00
..
arm ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options 2007-03-17 21:57:41 +01:00
cris ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
h8300 ide: convert ide_hwif_t.mmio into flag (v2) 2007-02-17 02:40:25 +01:00
legacy ide: make legacy IDE VLB modules check for the "probe" kernel params (v2) 2007-03-03 17:48:55 +01:00
mips ide: au1xxx: fix use of mixed declarations and code 2007-03-17 21:57:24 +01:00
pci cmd64x: procfs code fixes/cleanups (take 2) 2007-05-05 22:03:50 +02:00
ppc scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c ide: ugly messages trying to open CD drive with no media present 2007-04-10 22:38:43 +02:00
ide-cd.h
ide-disk.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
ide-dma.c ide: don't allow DMA to be enabled if CONFIG_IDEDMA_{ICS,PCI}_AUTO=n 2007-03-17 21:57:39 +01:00
ide-floppy.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01:00
ide-generic.c
ide-io.c ide: correctly prevent IDE timer expiry function to run if request was already handled 2007-04-10 22:38:37 +02:00
ide-iops.c ide: correctly prevent IDE timer expiry function to run if request was already handled 2007-04-10 22:38:37 +02:00
ide-lib.c ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2) 2007-03-03 17:48:53 +01:00
ide-pnp.c ide: unregister idepnp driver on unload 2007-01-27 13:47:02 +01:00
ide-probe.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
ide-proc.c IDE: remove rwsem use from ide-proc core 2007-04-27 10:57:30 -07:00
ide-tape.c ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) 2007-02-17 02:40:26 +01:00
ide-taskfile.c [PATCH] ide: add sanity checking to ide taskfile ioctl 2006-10-16 08:27:54 -07:00
ide-timing.h
ide.c ide: add "optical" to sysfs "media" attribute 2007-04-10 22:39:14 +02:00
Kconfig ide/Kconfig: add missing range check for IDE_MAX_HWIFS 2007-04-20 22:16:58 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
setup-pci.c ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options 2007-03-17 21:57:41 +01:00