diff options
author | cg <cg@FreeBSD.org> | 2001-02-13 21:00:22 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-02-13 21:00:22 +0000 |
commit | 0c712ef5600e5fba33972c06caab287f56c7b7ec (patch) | |
tree | aec7312b5c54c1a584ff8890d2675ab9025c7720 /sys/dev/sound/pci/cs4281.h | |
parent | be551fabe782f964e6105f41296debea0ad47c28 (diff) | |
download | FreeBSD-src-0c712ef5600e5fba33972c06caab287f56c7b7ec.zip FreeBSD-src-0c712ef5600e5fba33972c06caab287f56c7b7ec.tar.gz |
add power management support.
Submitted by: Orion Hodson <O.Hodson@cs.ucl.ac.uk>
Diffstat (limited to 'sys/dev/sound/pci/cs4281.h')
-rw-r--r-- | sys/dev/sound/pci/cs4281.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/sound/pci/cs4281.h b/sys/dev/sound/pci/cs4281.h index fa10cba..09802ac 100644 --- a/sys/dev/sound/pci/cs4281.h +++ b/sys/dev/sound/pci/cs4281.h @@ -49,7 +49,7 @@ #define CS4281PCI_IIER 0x010 -#define CS4281PCI_HDSR(x) (0x0f0 + (x)*0x004) +#define CS4281PCI_HDSR(x) (0x0f0 + (x)*0x004) # define CS4281PCI_HDSR_CH1P 0x02000000 # define CS4281PCI_HDSR_CH2P 0x01000000 # define CS4281PCI_HDSR_HDTC 0x00020000 @@ -101,15 +101,17 @@ #define CS4281PCI_FCHS 0x20c #define CS4281PCI_FSIC(x) (0x210 + (x) * 0x004) -#define CS4281PCI_PMCS 0x344 +#define CS4281PCI_PMCS 0x344 +# define CS4281PCI_PMCS_PS_MASK 0x00000003 #define CS4281PCI_CWPR 0x3e0 # define CS4281PCI_CWPR_MAGIC 0x00004281 #define CS4281PCI_EPPMC 0x3e4 +# define CS4281PCI_EPPMC_FPDN 0x00004000 #define CS4281PCI_GPIOR 0x3e8 -#define CS4281PCI_SPMC 0x3ec +#define CS4281PCI_SPMC 0x3ec # define CS4281PCI_SPMC_RSTN 0x00000001 # define CS4281PCI_SPMC_ASYN 0x00000002 # define CS4281PCI_SPMC_WUP1 0x00000004 @@ -159,7 +161,7 @@ # define CS4281PCI_ACSTS_VSTS 0x00000002 #define CS4281PCI_ACOSV 0x468 -# define CS4281PCI_ACOSV_SLV(x) (1 << (x - 3)) +# define CS4281PCI_ACOSV_SLV(x) (1 << (x - 3)) #define CS4281PCI_ACCAD 0x46c #define CS4281PCI_ACCDA 0x470 #define CS4281PCI_ACISV 0x474 |