kernel_optimize_test/drivers/ide
Sergei Shtylyov 30dfd12f53 piix: tuneproc() fixes/cleanups
Fix/cleanup the driver's tuneproc() and ratemask() methods:

- PPE, IE, and TIME bits need to be cleared beforehand for the slave drive as
  well as master (Alan probably just forgot about it);

- this driver only supports PIO modes up to 4, so must pass the correct limit
  to ide_get_best_pio_mode();

- use min_t() macro instead of min();

- simplify slave vs master drive evaluation;

- do come coding and formatting cleanups...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-02-07 18:18:28 +01:00
..
arm
cris
h8300
legacy
mips
pci piix: tuneproc() fixes/cleanups 2007-02-07 18:18:28 +01:00
ppc
ide-cd.c [PATCH] ide-cd: Handle strange interrupt on the Intel ESB2 2006-12-10 09:57:20 -08:00
ide-cd.h
ide-disk.c
ide-dma.c
ide-floppy.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ide-generic.c
ide-io.c
ide-iops.c
ide-lib.c
ide-pnp.c ide: unregister idepnp driver on unload 2007-01-27 13:47:02 +01:00
ide-probe.c [PATCH] remove blk_queue_activity_fn 2006-12-12 10:22:23 +01:00
ide-proc.c
ide-tape.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ide-taskfile.c
ide-timing.h
ide.c [PATCH] ide section fixes 2007-02-01 16:17:06 -08:00
Kconfig kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
Makefile
setup-pci.c [PATCH] ide: complete switch to pci_get 2006-12-10 09:55:40 -08:00