linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz 9ffcf364f9 ide: remove ->init_setup_dma from ide_pci_device_t (take 2)
* Make ide_pci_device_t.host_flags u32 and add IDE_HFLAG_CS5520 host flag.

* Pass ide_pci_device_t *d to setup-pci.c::ide_get_or_set_dma_base()
  and use d->name instead of hwif->cds->name.

* Set IDE_HFLAG_CS5520 host flag in cs5520 host driver and use it in
  ide_get_or_set_dma_base() to find out which PCI BAR to use, remove no longer
  needed cs5520.c::cs5520_init_setup_dma() and ide_pci_device_t.init_setup_dma.

  This fixes PCI bus-mastering not being checked for CS5510/CS5520 hosts.

v2:
* It is wrong to check simplex bits on CS5510/CS5520 as v1 did.
  (Noticed by Alan).

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-19 00:30:07 +02:00
..
aec62xx.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
alim15x3.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
amd74xx.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
atiixp.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
cmd64x.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
cmd640.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
cs5520.c ide: remove ->init_setup_dma from ide_pci_device_t (take 2) 2007-10-19 00:30:07 +02:00
cs5530.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
cs5535.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
cy82c693.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +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_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
hpt34x.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
hpt366.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
it821x.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
it8213.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
jmicron.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +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: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
pdc202xx_new.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
pdc202xx_old.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
piix.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
rz1000.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
sc1200.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
scc_pata.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
serverworks.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
sgiioc4.c ide: add IDE_HFLAG_NO_ATAPI_DMA host flag 2007-10-19 00:30:06 +02:00
siimage.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
sis5513.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
sl82c105.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
slc90e66.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
tc86c001.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
triflex.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
trm290.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00
via82cxxx.c ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags 2007-10-19 00:30:06 +02:00