From 7ecb0539247bd28e20478740d86ace43ef70f717 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 6 Nov 2006 20:10:59 +0000 Subject: noone needs to know about the D0 state change; ok miod --- sys/dev/pci/if_re_pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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. */ -- cgit v1.2.3