kernel_optimize_test/drivers/ide/pci
Bartlomiej Zolnierkiewicz 993da8f9ea amd74xx: remove amd_ide_chips table
* Remove no longer needed assertion from amd74xx_probe().

* Factor out cable detection for AMD7409 to amd7409_cable_detect() and for
  chipsets >= AMD7411 to amd7411_cable_detect().

* Use dev->vendor and dev->device instead of amd_config->udma_mask when
  selecting cable detection method and checking for broken FIFO support in
  init_chipset_amd74xx().

* Remove no longer needed AMD_BAD_FIFO define.

* Add 'swdma' parameter for setting .swdma_mask to DECLARE_AMD_DEV() macro.

* Add 'udma' parameter for setting .udma_mask to DECLARE_{AMD,NV}_DEV() macro.

* Keep a copy of a current amd74xx_chipsets[] entry in amd74xx_probe()
  in order to fix ->swdma_mask on early AMD7409 revisions and ->udma_mask
  on Serenade mainboards.

* Remove no longer needed fixups from init_chipset_amd74xx()
  and AMD_CHECK_{SWDMA,SERENADE} defines.

* Move printing banner message from init_chipset_amd74xx() to amd74xx_probe(),
  also remove incorrect comment while at it.

* Use hwif->ultra_mask instead of amd_config->udma_mask in amd_set_drive().

* Add 'udma_mask' argument to amd_set_speed() and pass UDMA mask from
  amd_set_drive() instead of using amd_config->udma_mask.

* Move amd_config->base from AMD_* defines to users of these defines and add
  0x40 the defined values.  Then add amd_offset() inline helper for selecting
  offset from 0x40 base (needed for nVidia controllers) and finally use it in
  amd_set_speed(), amd7411_cable_detect() and init_chipset_amd74xx() instead
  of amd_config->base.

* Remove no longer needed AMD_BAD_SWDMA define, ->{swdma,ultra}_mask setup
  from init_hwif_amd74xx(), amd_{config,chipset} variables and amd_ide_chips
  table.

* Fix init_chipset_amd74xx() comment.

* Bump driver version.

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-01 23:09:30 +01:00
..
aec62xx.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
alim15x3.c ide: ide_setup_dma() assumes 8 ports 2008-02-01 23:09:30 +01:00
amd74xx.c amd74xx: remove amd_ide_chips table 2008-02-01 23:09:30 +01:00
atiixp.c atiixp: remove ->dma_host_on and ->dma_host_off methods 2008-01-26 20:13:02 +01:00
cmd64x.c cmd64x: remove /proc/ide/cmd64x 2008-01-26 20:13:09 +01:00
cmd640.c ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
cs5520.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
cs5530.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
cs5535.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
cy82c693.c cy82c693: add ->set_dma_mode method 2008-01-26 20:13:00 +01:00
delkin_cb.c ide: drop 'initializing' argument from ide_register_hw() 2008-01-26 20:13:06 +01:00
generic.c drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
hpt34x.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
hpt366.c ide: ide_setup_dma() assumes 8 ports 2008-02-01 23:09:30 +01:00
it821x.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
it8213.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
jmicron.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
ns87415.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
opti621.c opti621: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
pdc202xx_new.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
pdc202xx_old.c ide: ide_setup_dma() assumes 8 ports 2008-02-01 23:09:30 +01:00
piix.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
rz1000.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sc1200.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
scc_pata.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
serverworks.c serverworks: cleanup ->set_dma_mode method 2008-01-26 20:12:59 +01:00
sgiioc4.c ide: add ide_init_port_hw() helper 2008-01-26 20:13:05 +01:00
siimage.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
sis5513.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
sl82c105.c sl82c105: remove no longer needed ->selectproc method 2008-01-26 20:12:59 +01:00
slc90e66.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
tc86c001.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
triflex.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
trm290.c trm290: cannot call ide_setup_dma() 2008-02-01 23:09:29 +01:00
via82cxxx.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00