1,5 → 1,5 |
/* |
* $Id: pci.c,v 1.7 2004-03-19 16:30:11 giacomo Exp $ |
* $Id: pci.c,v 1.8 2004-03-29 18:19:41 giacomo Exp $ |
* |
* PCI Bus Services, see include/linux/pci.h for further explanation. |
* |
270,7 → 270,7 |
/* see PCI PM 1.1 5.6.1 table 18 */ |
if(state == 3 || dev->current_state == 3) |
{ |
set_current_state(TASK_UNINTERRUPTIBLE); |
//set_current_state(TASK_UNINTERRUPTIBLE); |
schedule_timeout(HZ/100); |
} |
else if(state == 2 || dev->current_state == 2) |
349,6 → 349,7 |
pci_set_power_state(dev, 0); |
if ((err = pcibios_enable_device(dev, bars)) < 0) |
return err; |
|
return 0; |
} |
|