android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 49521f97cc ide: add short cables support
This patch allows users to override both host and device side cable detection
with "ideX=ata66" kernel parameter.  Thanks to this it should be now possible
to use UDMA > 2 modes on systems (laptops mainly) which use short 40-pin cable
instead of 80-pin one.

Next patches add automatic detection of some systems using short cables.

Changes:

* Rename hwif->udma_four to hwif->cbl and make it u8.

* Convert all existing users accordingly (use ATA_CBL_* defines while at it).  

* Add ATA_CBL_PATA40_SHORT support to ide-iops.c:eighty_ninty_three().

* Use ATA_CBL_PATA40_SHORT for "ideX=ata66" kernel parameter.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
2007-07-09 23:17:58 +02:00
..
arm ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
cris ide: add short cables support 2007-07-09 23:17:58 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy drivers/ide/legacy/hd.c: Array size calculation using sizeof replaced with ARRAY_SIZE 2007-07-09 23:17:57 +02:00
mips ide: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
pci ide: add short cables support 2007-07-09 23:17:58 +02:00
ppc ide: add short cables support 2007-07-09 23:17:58 +02:00
ide-acpi.c
ide-cd.c ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-disk.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-dma.c ide: fix pre-EIDE SWDMA support 2007-07-09 23:17:57 +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: add short cables support 2007-07-09 23:17:58 +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: remove references to the non-existent CONFIG_SCSI_EATA_DMA 2007-07-09 23:17:57 +02:00
ide-proc.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +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: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
ide.c ide: add short cables support 2007-07-09 23:17:58 +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