linux/drivers/ide
Sergei Shtylyov 2648e5d9a8 hpt366: simplify UltraDMA filtering (take 4)
Simplify UltraDMA mode filtering in the driver:

- make use of the newly introduced 'udma_mask' field of 'ide_pci_device_t' to
  set the correct hwif->ultra_mask, modifying init_setup_hpt366() to select
  the correct mask based on the chip revision;

- replace 'max_mode' field of the 'struct hpt_info' with 'max_ultra' specifying
  the maximum UltraDMA mode allowed;

- rewrite hpt3xx_udma_filter() to differ the filters based on the 'chip_type'
  field, and only use it for HPT366 and HPT370[A] where it's really necessary.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-07-09 23:17:55 +02:00
..
arm ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
cris ide: use ide_tune_dma() part #2 2007-05-16 00:51:43 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy qd65xx: fix PIO mode selection 2007-07-08 15:21:58 +02:00
mips ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
pci hpt366: simplify UltraDMA filtering (take 4) 2007-07-09 23:17:55 +02:00
ppc ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
ide-acpi.c
ide-cd.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-cd.h
ide-disk.c ide: HPA detect from resume 2007-06-08 15:14:30 +02:00
ide-dma.c ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
ide-floppy.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
ide-iops.c ide: cable detection fixes (take 2) 2007-05-10 00:01:10 +02:00
ide-lib.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
ide-pnp.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
ide-probe.c ide: use mutex instead of ide_cfg_sem semaphore in IDE driver 2007-07-09 23:17:55 +02:00
ide-proc.c Add two missing chipsets to drivers/ide/ide-proc.c 2007-05-24 02:42:38 +02:00
ide-tape.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-taskfile.c ide: never called printk statement in ide-taskfile.c::wait_drive_not_busy 2007-07-03 22:28:34 +02:00
ide-timing.h
ide.c ide: use mutex instead of ide_cfg_sem semaphore in IDE driver 2007-07-09 23:17:55 +02:00
Kconfig Use menuconfig objects: IDE 2007-05-16 00:51:46 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: ide_scan_pcibus(): check __pci_register_driver return value 2007-07-03 22:28:36 +02:00