diff options
author | nate <nate@FreeBSD.org> | 1997-10-06 03:17:36 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-10-06 03:17:36 +0000 |
commit | 6bcfcc579293be49da5cb38468d2cfe9d800380d (patch) | |
tree | 5179fb8547151247d76a7e24e93af36820b5fbac /sys/pccard/i82365.h | |
parent | 46da712d6600d7a42389e5dac4e818d86fd0abb9 (diff) | |
download | FreeBSD-src-6bcfcc579293be49da5cb38468d2cfe9d800380d.zip FreeBSD-src-6bcfcc579293be49da5cb38468d2cfe9d800380d.tar.gz |
Modem cards send the speaker audio (dialing noises) to the host's
speaker. Cirrus Logic PCIC chips must enable this. There is also a Low
Power Dynamic Mode bit that claims to reduce power consumption by 30%,
so enable it and hope for the best.
PR: 4650
Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Diffstat (limited to 'sys/pccard/i82365.h')
-rw-r--r-- | sys/pccard/i82365.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h index 93f5047..b457539 100644 --- a/sys/pccard/i82365.h +++ b/sys/pccard/i82365.h @@ -76,7 +76,9 @@ #define PCIC_IO1 0x0c /* I/O Address 1 */ #define PCIC_MEMBASE 0x10 /* Base of memory window registers */ #define PCIC_CDGC 0x16 /* Card Detect and General Control */ +#define PCIC_MISC1 0x16 /* PD672x: Misc control register 1 per slot */ #define PCIC_GLO_CTRL 0x1e /* Global Control Register */ +#define PCIC_MISC2 0x1e /* PD672x: Misc control register 2 per chip */ #define PCIC_TIME_SETUP0 0x3a #define PCIC_TIME_CMD0 0x3b @@ -197,6 +199,9 @@ #define PCIC_CDRES_EN 0x10 /* card detect resume enable */ #define PCIC_SW_CD_INT 0x20 /* s/w card detect interrupt */ +/* For Misc. Control Register 1 */ +#define PCIC_SPKR_EN 0x10 /* Cirrus PD672x: speaker enable */ + /* For Global Control register (PCIC_GLO_CTRL) */ #define PCIC_PWR_DOWN 0x01 /* power down */ #define PCIC_LVL_MODE 0x02 /* level mode interrupt enable */ @@ -204,6 +209,9 @@ #define PCIC_IRQ0_LEVEL 0x08 /* irq 14 pulse mode enable */ #define PCIC_IRQ1_LEVEL 0x10 +/* For Misc. Control Register 2 */ +#define PCIC_LPDM_EN 0x02 /* Cirrus PD672x: low power dynamic mode */ + /* * Mask of allowable interrupts. * Ints are 3,4,5,7,9,10,11,12,14,15 |