kernel-ark/drivers/ide/pci
Jeff Garzik 9d43481364 drivers/ide/pci/sc1200.c: fix suspend/resume buglets and warnings
* We shouldn't bother with dev->current_state, the PCI API functions we
  call manage this for us (and do a far better job at it too).

* Remove pci_set_power_state(dev, PCI_D0) call in resume, as
  pci_enable_device() does the same thing.

* Check pci_enable_device() return value.  If it failed, fail
  the entire resume and avoid programming timings into the [potentially
  dead/asleep] chip.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-26 20:31:15 +02:00
..
aec62xx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
alim15x3.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
amd74xx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
atiixp.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cmd64x.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cmd640.c ide: take ide_lock for prefetch disable/enable in do_special() 2007-10-20 00:32:36 +02:00
cs5520.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cs5530.c cs5530: remove needless ide_lock taking 2007-10-20 00:32:36 +02:00
cs5535.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cy82c693.c cy82c693: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
delkin_cb.c ide: add ->fixup method to ide_hwif_t 2007-10-20 00:32:31 +02:00
generic.c drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
hpt34x.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
hpt366.c hpt366: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
it821x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
it8213.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
jmicron.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
Makefile
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: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
pdc202xx_old.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
piix.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
rz1000.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sc1200.c drivers/ide/pci/sc1200.c: fix suspend/resume buglets and warnings 2007-10-26 20:31:15 +02:00
scc_pata.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
serverworks.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sgiioc4.c ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00
siimage.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
sis5513.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sl82c105.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
slc90e66.c slc90e66: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
tc86c001.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
triflex.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
trm290.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
via82cxxx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00