kernel-fxtec-pro1x/drivers/ide
Quentin Lambert d681f11669 ide: remove deprecated use of pci api
Replace occurences of the pci api by appropriate call to the dma api.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr)

@deprecated@
idexpression id;
position p;
@@

(
  pci_dma_supported@p ( id, ...)
|
  pci_alloc_consistent@p ( id, ...)
)

@bad1@
idexpression id;
position deprecated.p;
@@
...when != &id->dev
   when != pci_get_drvdata ( id )
   when != pci_enable_device ( id )
(
  pci_dma_supported@p ( id, ...)
|
  pci_alloc_consistent@p ( id, ...)
)

@depends on !bad1@
idexpression id;
expression direction;
position deprecated.p;
@@

(
- pci_dma_supported@p ( id,
+ dma_supported ( &id->dev,
...
+ , GFP_ATOMIC
  )
|
- pci_alloc_consistent@p ( id,
+ dma_alloc_coherent ( &id->dev,
...
+ , GFP_ATOMIC
  )
)

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-17 15:32:07 -04:00
..
aec62xx.c
ali14xx.c
alim15x3.c
amd74xx.c
atiixp.c Drivers: ide: Remove typedef atiixp_ide_timing 2014-10-15 14:27:38 -04:00
au1xxx-ide.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
buddha.c zorro: ZTWO_VADDR() should return "void __iomem *" 2013-11-26 11:09:07 +01:00
cmd64x.c
cmd640.c
cs5520.c ide: remove deprecated use of pci api 2015-04-17 15:32:07 -04:00
cs5530.c
cs5535.c
cs5536.c ide: cs5536: use module_pci_driver() 2013-11-14 18:21:25 -05:00
cy82c693.c
delkin_cb.c drivers/ide/delkin_cb: Convert to module_pci_driver 2013-07-10 12:09:10 -07:00
dtc2278.c
falconide.c
gayle.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
hpt366.c
ht6560b.c
icside.c
ide-4drives.c
ide-acpi.c ACPI / bind: Move acpi_get_child() to drivers/ide/ide-acpi.c 2013-12-07 01:05:50 +01:00
ide-atapi.c
ide-cd.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
ide-cd.h
ide-cd_ioctl.c
ide-cd_verbose.c drivers: ide: Include appropriate header file in ide-cd_verbose.c 2014-01-28 23:35:09 -08:00
ide-cs.c
ide-devsets.c
ide-disk.c block: disable entropy contributions for nonrot devices 2014-10-04 10:55:32 -06:00
ide-disk.h
ide-disk_ioctl.c
ide-disk_proc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
ide-dma-sff.c
ide-dma.c
ide-eh.c
ide-floppy.c drivers: ide: Fix mostly harmless off-by-one hardcoded value 2014-12-12 15:26:31 -05:00
ide-floppy.h
ide-floppy_ioctl.c
ide-floppy_proc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
ide-gd.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
ide-gd.h
ide-generic.c
ide-io-std.c
ide-io.c
ide-ioctls.c ide-disk_proc: use macro to replace magic number 2013-09-05 15:21:29 -04:00
ide-iops.c
ide-legacy.c
ide-lib.c ide,ata: Rename ATA_IDX to ATA_SENSE 2015-03-27 11:59:22 -04:00
ide-park.c block,scsi: fixup blk_get_request dead queue scenarios 2014-08-28 10:03:46 -06:00
ide-pci-generic.c
ide-pio-blacklist.c drivers: ide: Include appropriate header file in ide-pio-blacklist.c 2014-01-28 23:35:09 -08:00
ide-pm.c
ide-pnp.c PNP: ide/ide-pnp: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
ide-probe.c ide,ata: Rename ATA_IDX to ATA_SENSE 2015-03-27 11:59:22 -04:00
ide-proc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
ide-scan-pci.c
ide-sysfs.c ide: convert bus code to use dev_groups 2013-10-16 18:40:57 -07:00
ide-tape.c ide_tape: convert jiffies with jiffies_to_msecs 2015-03-18 23:25:57 -04:00
ide-taskfile.c ide: Fix IDE PIO size calculation 2013-07-10 12:09:10 -07:00
ide-timings.c
ide-xfer-mode.c
ide.c IDE: Deletion of an unnecessary check before the function call "module_put" 2014-12-12 15:26:31 -05:00
ide_platform.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
it821x.c
it8172.c
it8213.c
jmicron.c
Kconfig ide: Fix SC1200 dependencies 2014-03-17 15:57:28 -04:00
macide.c
Makefile ide: Drop H8/300 driver 2013-09-16 18:19:04 -07:00
ns87415.c
opti621.c
palm_bk3710.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
pdc202xx_new.c
pdc202xx_old.c
piix.c
pmac.c ide: remove deprecated use of pci api 2015-04-17 15:32:07 -04:00
q40ide.c
qd65xx.c
qd65xx.h
rapide.c
rz1000.c
sc1200.c
scc_pata.c
serverworks.c
setup-pci.c ide: remove deprecated use of pci api 2015-04-17 15:32:07 -04:00
sgiioc4.c ide: remove deprecated use of pci api 2015-04-17 15:32:07 -04:00
siimage.c
sis5513.c
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
trm290.c
tx4938ide.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
tx4939ide.c ide: drop owner assignment from platform_drivers 2014-10-20 16:20:38 +02:00
umc8672.c
via82cxxx.c