android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 438c470261 siimage: separate PATA and SATA methods
* Split off sil_sata_udma_filter() from sil_udma_filter()
  and rename sil_udma_filter() to sil_pata_udma_filter().

* Rename siimage_busproc() to sil_sata_busproc().

* Rename siimage_reset_poll() to sil_sata_reset_poll()
  and in init_hwif_siimage() set ->reset_poll method only
  for SATA controllers.

* Rename siimage_pre_reset() to sil_sata_pre_reset(),
  in init_hwif_siimage() set ->pre_reset method only for
  SATA controllers and remove redundant is_sata() call.

* Add CONFIG_BLK_DEV_IDE_SATA #ifdef/#endif to pdev_is_sata()
  so compiler will know to throw out unused SATA code for
  CONFIG_BLK_DEV_IDE_SATA=n case (830 bytes saved on x86-32).

* Bump driver version.

Some minor cleanups while at it:

* Convert sil_{pata,sata}_udma_filter() to use ATA_UDMA* defines.

* In siimage_mmio_ide_dma_test_irq() move 'base' variable
  under 'if (SATA_ERROR_REG)' block.

* Simplify sil_sata_reset_poll() a bit.

* Cache is_sata() result in init_hwif_siimage() 

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-20 00:32:31 +02:00
..
arm ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
cris ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy ide-cs: Add additional id string (corsair, 1GB) 2007-10-16 22:29:52 +02:00
mips ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
pci siimage: separate PATA and SATA methods 2007-10-20 00:32:31 +02:00
ppc ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
ide-acpi.c ide: unexport ide_acpi_set_state 2007-10-13 17:47:48 +02:00
ide-cd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +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: add IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags 2007-10-19 00:30:07 +02:00
ide-dma.c ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
ide-iops.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ide-lib.c ide: remove ide_use_fast_pio() 2007-10-16 22:29:54 +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: add hwif_register_devices() helper 2007-10-20 00:32:29 +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: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c IDE: sg chaining support 2007-10-16 11:21:00 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: add IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags 2007-10-19 00:30:07 +02:00
Kconfig ide: remove CONFIG_IDEDMA_ONLYDISK 2007-10-16 22:29:58 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flags 2007-10-20 00:32:30 +02:00