summaryrefslogtreecommitdiff
path: root/sys/dev/pci/cs4281reg.h
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-02-09 21:15:24 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-02-09 21:15:24 +0000
commit1bd4318d2c2bcdc45b4f63692b4d7af75ca821de (patch)
treec3cbe816029a75f771fdea7102721aa37eefa0c6 /sys/dev/pci/cs4281reg.h
parent23b15947b95f88bf6700bb11501da91c07aa4b14 (diff)
Tickle D0 power state so the cs4281 works after reboots from Windows 2000.
From NetBSD, tested on a dual-boot IBM ThinkPad X20.
Diffstat (limited to 'sys/dev/pci/cs4281reg.h')
-rw-r--r--sys/dev/pci/cs4281reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/cs4281reg.h b/sys/dev/pci/cs4281reg.h
index 73f2c39118e..4e8230a209b 100644
--- a/sys/dev/pci/cs4281reg.h
+++ b/sys/dev/pci/cs4281reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4281reg.h,v 1.1 2001/01/13 19:53:50 aaron Exp $ */
+/* $OpenBSD: cs4281reg.h,v 1.2 2001/02/09 21:15:23 aaron Exp $ */
/* $Tera: cs4281reg.h,v 1.9 2000/12/31 10:52:25 tacha Exp $ */
/*
@@ -161,6 +161,7 @@
#define CS4281_PMCS 0x344 /* Power Management Control/Status */
#define CS4281_CWPR 0x3E0 /* Configuration Write Protect Register */
#define CS4281_EPPMC 0x3E4 /* Extended PCI Power Management Control */
+#define EPPMC_FPDN (0x1 << 14)
#define CS4281_GPIOR 0x3E8 /* GPIO Pin Interface Register */
#define CS4281_SPMC 0x3EC /* Serial Port Power Management Control (& ASDIN2 enable) */
#define SPMC_RSTN 0x00000001