diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-08-06 01:01:22 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-08-06 01:01:22 +0000 |
commit | 04fd45602d6da56eae8ce3173e8179cb6546fc07 (patch) | |
tree | 339c11242034f6b4754b72d9286fd1542a7870e4 /sys/dev/pci | |
parent | 1aa16203e19d749b83f4b4d45e7ea56f3d644dc4 (diff) |
fix message printing when resetting the power state.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_re_pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_re_pci.c b/sys/dev/pci/if_re_pci.c index 933837c263f..2795f1acedc 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.15 2006/07/01 21:48:08 brad Exp $ */ +/* $OpenBSD: if_re_pci.c,v 1.16 2006/08/06 01:01:21 brad Exp $ */ /* * Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org> @@ -146,9 +146,8 @@ re_pci_attach(struct device *parent, struct device *self, void *aux) irq = pci_conf_read(pc, pa->pa_tag, RL_PCI_INTLINE); /* Reset the power state. */ - printf("%s: chip is is in D%d power mode " - "-- setting to D0\n", sc->sc_dev.dv_xname, - command & RL_PSTATE_MASK); + printf(": chip is is in D%d power mode " + "-- setting to D0", command & RL_PSTATE_MASK); command &= 0xFFFFFFFC; /* Restore PCI config data. */ |