It states that accessing the io/mm spaces during the transition times
is undefined..
--- linux.vanilla/drivers/pci/pci.c Mon Jul 23 22:28:24 2001
+++ linux.ac/drivers/pci/pci.c Sat Aug 11 22:55:04 2001
@@ -290,6 +290,15 @@
/* enter specified state */
pci_write_config_word(dev, pm + PCI_PM_CTRL, pmcsr);
+ /* Mandatory power management transition delays */
+ /* see PCI PM 1.1 5.6.1 table 18 */
+ if(state == 3 || dev->current_state == 3)
+ {
+ set_current_state(TASK_UNINTERRUPTIBLE);
+ schedule_timeout(HZ/100);
+ }
+ else if(state == 2 || dev->current_state == 2)
+ udelay(200);
dev->current_state = state;
return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/