android_kernel_xiaomi_sm8350/drivers/ide/pci
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
..
aec62xx.c aec62xx: remove aec62xx_dma_lost_irq() 2007-10-20 00:32:31 +02:00
alim15x3.c alim15x3: use ->host_flags and ->udma_mask fields from ide_pci_device_t 2007-10-20 00:32:30 +02:00
amd74xx.c ide: add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flags 2007-10-20 00:32:30 +02:00
atiixp.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
cmd64x.c ide: add ->chipset field to ide_pci_device_t 2007-10-20 00:32:30 +02:00
cmd640.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
cs5520.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
cs5530.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
cs5535.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
cy82c693.c ide: add ->chipset field to ide_pci_device_t 2007-10-20 00:32:30 +02:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: add IDE_HFLAG_FORCE_LEGACY_IRQS host flag 2007-10-20 00:32:30 +02:00
hpt34x.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
hpt366.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
it821x.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
it8213.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
jmicron.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
opti621.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
pdc202xx_new.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
pdc202xx_old.c ide: add IDE_HFLAG_RQSIZE_256 host flag 2007-10-20 00:32:30 +02:00
piix.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
rz1000.c ide: add ->chipset field to ide_pci_device_t 2007-10-20 00:32:30 +02:00
sc1200.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
scc_pata.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
serverworks.c serverworks: remove dead code from svwks_set_dma_mode() 2007-10-20 00:32:29 +02:00
sgiioc4.c ide: use pci_dev->revision 2007-10-19 00:30:08 +02:00
siimage.c siimage: separate PATA and SATA methods 2007-10-20 00:32:31 +02:00
sis5513.c ide/pci/sis5513.c: add missing "else" 2007-10-20 00:32:29 +02:00
sl82c105.c ide: add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flags 2007-10-20 00:32:30 +02:00
slc90e66.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
tc86c001.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
triflex.c ide: set drive->autotune in ide_pci_setup_ports() 2007-10-19 00:30:12 +02:00
trm290.c ide: add ->chipset field to ide_pci_device_t 2007-10-20 00:32:30 +02:00
via82cxxx.c ide: add IDE_HFLAG_{IO_32BIT,UNMASK_IRQS} host flags 2007-10-20 00:32:30 +02:00