diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-10-13 17:24:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-10-13 17:24:04 +0000 |
commit | 053a21c71b26449c6a03ade4d739daf766fa08bd (patch) | |
tree | 3fbf098e2bb5ef3d40670c70b7b4cab0d691ddb6 | |
parent | 271374d53264dfe04f070e072b32a7fdfbd1538e (diff) |
This device should not put itself into D3 by itself when going to WOL;
allow the pci subsystem to do that based on BIOS information if it needs.
Tested by stsp
-rw-r--r-- | sys/dev/pci/if_xl_pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_xl_pci.c b/sys/dev/pci/if_xl_pci.c index 9d135d7c4f3..f4701177675 100644 --- a/sys/dev/pci/if_xl_pci.c +++ b/sys/dev/pci/if_xl_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl_pci.c,v 1.38 2011/10/13 13:09:29 kettenis Exp $ */ +/* $OpenBSD: if_xl_pci.c,v 1.39 2012/10/13 17:24:03 deraadt Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -374,7 +374,5 @@ xl_pci_wol_power(void *ppsc) command = pci_conf_read(psc->psc_pc, psc->psc_tag, XL_PCI_PWRMGMTCTRL); command |= XL_PME_EN; pci_conf_write(psc->psc_pc, psc->psc_tag, XL_PCI_PWRMGMTCTRL, command); - - pci_set_powerstate(psc->psc_pc, psc->psc_tag, PCI_PMCSR_STATE_D3); } #endif |