View | Details | Raw Unified | Return to bug 194884 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/pci/pci.c (-1 / +1 lines)
Lines 3651-3657 Link Here
3651
	dinfo = device_get_ivars(child);
3651
	dinfo = device_get_ivars(child);
3652
	dstate = state;
3652
	dstate = state;
3653
	if (device_is_attached(child) &&
3653
	if (device_is_attached(child) &&
3654
	    PCIB_POWER_FOR_SLEEP(pcib, dev, &dstate) == 0)
3654
	    PCIB_POWER_FOR_SLEEP(pcib, child, &dstate) == 0)
3655
		pci_set_powerstate(child, dstate);
3655
		pci_set_powerstate(child, dstate);
3656
}
3656
}
3657
3657

Return to bug 194884