diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-06 20:10:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-06 20:10:59 +0000 |
commit | 7ecb0539247bd28e20478740d86ace43ef70f717 (patch) | |
tree | bb11c32f8eaaaec6ccf4830a03d7dba82ba085f2 /sys/dev/pci | |
parent | 655ac86a4709e4bc33b362eea750db20c8bb4d94 (diff) |
noone needs to know about the D0 state change; ok miod
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_re_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c index de2f10d5a35..cc9cb19d0cc 100644 --- a/sys/dev/pci/if_re_pci.c +++ b/sys/dev/pci/if_re_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_re_pci.c,v 1.17 2006/10/16 12:30:08 tom Exp $ */ +/* $OpenBSD: if_re_pci.c,v 1.18 2006/11/06 20:10:58 deraadt Exp $ */ /* * Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org> @@ -145,9 +145,11 @@ re_pci_attach(struct device *parent, struct device *self, void *aux) membase = pci_conf_read(pc, pa->pa_tag, RL_PCI_LOMEM); irq = pci_conf_read(pc, pa->pa_tag, RL_PCI_INTLINE); +#if 0 /* Reset the power state. */ printf(": chip is in D%d power mode " "-- setting to D0", command & RL_PSTATE_MASK); +#endif command &= 0xFFFFFFFC; /* Restore PCI config data. */ |