summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-08-07 12:19:20 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-08-07 12:19:20 +0000
commit808847db08cd382dd5a8e893f1935625eb2680b8 (patch)
tree7964aa870c8c84953c54f62529a8f1b047c3cc94 /sys
parente00cd91c1e2defe9f133c7f6a268244fa59afa5f (diff)
Correct value for power state D1.
While this duplicates the values specified in the PCI headers and is currently unused, correcting this arguably makes more sense than breaking diffability with FreeBSD. Invalid value pointed out by Maxim Bourmistrov <maxim@unixconn.com> API change discussed with deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rtl81x9reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h
index 2720b106ec7..d9c737d31f5 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.40 2007/07/16 19:15:01 millert Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.41 2007/08/07 12:19:19 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -894,7 +894,7 @@ struct rl_softc {
#define RL_PSTATE_MASK 0x0003
#define RL_PSTATE_D0 0x0000
-#define RL_PSTATE_D1 0x0002
+#define RL_PSTATE_D1 0x0001
#define RL_PSTATE_D2 0x0002
#define RL_PSTATE_D3 0x0003
#define RL_PME_EN 0x0010