Add power-management register definitions.
This commit is contained in:
parent
98219f2782
commit
8eadd119b9
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ydsreg.h,v 1.1 2001/03/30 14:32:09 minoura Exp $ */
|
||||
/* $NetBSD: ydsreg.h,v 1.2 2002/11/04 14:56:10 kent Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
|
||||
@ -84,8 +84,28 @@
|
||||
# define YDS_PCI_EX_LEGACY_IMOD (0x8000 << 16)
|
||||
|
||||
#define YDS_PCI_DSCTRL 0x48
|
||||
# define YDS_DSCTRL_CRST 0x00000001
|
||||
# define YDS_DSCTRL_WRST 0x00000004
|
||||
# define YDS_DSCTRL_CRST 0x0001
|
||||
# define YDS_DSCTRL_WRST 0x0004
|
||||
# define YDS_DSCTRL_ACLS 0x0008
|
||||
#define YDS_PCI_DSPOWER1 0x4a
|
||||
# define YDS_DSPOWER1_DMC 0x0001
|
||||
# define YDS_DSPOWER1_DPLL 0x0002
|
||||
# define YDS_DSPOWER1_JSR 0x0040
|
||||
#define YDS_PCI_DISTDMA 0x4c
|
||||
#define YDS_PCI_DSPOWER2 0x4e
|
||||
# define YDS_DSPOWER2_CMCD 0x0001
|
||||
# define YDS_DSPOWER2_PSFM 0x0002
|
||||
# define YDS_DSPOWER2_PSSB 0x0004
|
||||
# define YDS_DSPOWER2_PSMPU 0x0008
|
||||
# define YDS_DSPOWER2_PSJOY 0x0010
|
||||
# define YDS_DSPOWER2_PSPCA 0x0020
|
||||
# define YDS_DSPOWER2_PSSRC 0x0040
|
||||
# define YDS_DSPOWER2_PSZV 0x0080
|
||||
# define YDS_DSPOWER2_PSDIT 0x0100
|
||||
# define YDS_DSPOWER2_PSDIR 0x0200
|
||||
# define YDS_DSPOWER2_PSACL 0x0400
|
||||
# define YDS_DSPOWER2_PSIO 0x0800
|
||||
# define YDS_DSPOWER2_PSHWV 0x1000
|
||||
|
||||
#define YDS_PCI_FM_BA 0x60
|
||||
#define YDS_PCI_SB_BA 0x62
|
||||
@ -157,6 +177,12 @@
|
||||
#define AC97_STAT_DATA2 0x0068
|
||||
#define AC97_STAT_ADDR2 0x006a
|
||||
# define AC97_BUSY 0x8000
|
||||
#define AC97_SECONDARY_CONF 0x0070
|
||||
# define AC97_SECONDARY_RSOC 0x0001
|
||||
# define AC97_SECONDARY_PHWV 0x0002
|
||||
# define AC97_SECONDARY_SHWV 0x0004
|
||||
# define AC97_SECONDARY_4CHEN 0x0010
|
||||
# define AC97_SECONDARY_4CHSEL 0x0020
|
||||
|
||||
#define YDS_LEGACY_OUT_VOLUME 0x0080
|
||||
#define YDS_DAC_OUT_VOLUME 0x0084
|
||||
|
Loading…
Reference in New Issue
Block a user