diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-06-23 23:26:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-06-23 23:26:21 +0000 |
commit | 83d706d47d4c14d3e0e370eceabc8de6c4eeb9ef (patch) | |
tree | 8d8b450dd6216cb4e53869484152d82abea6729c /sys/dev/pci | |
parent | 351550b5b41dbb080576cd5472d08ac390823420 (diff) |
add some constant macros for unsolicited response and jack sense.
From kent NetBSD
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/azalia.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.h b/sys/dev/pci/azalia.h index 580637c9f94..c4e445dbbc7 100644 --- a/sys/dev/pci/azalia.h +++ b/sys/dev/pci/azalia.h @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.h,v 1.8 2006/06/16 06:00:46 brad Exp $ */ +/* $OpenBSD: azalia.h,v 1.9 2006/06/23 23:26:20 brad Exp $ */ /* $NetBSD: azalia.h,v 1.6 2006/01/16 14:15:26 kent Exp $ */ /*- @@ -339,8 +339,13 @@ #define CORB_PWC_VREF_100 0x05 #define CORB_GET_UNSOLICITED_RESPONSE 0xf08 #define CORB_SET_UNSOLICITED_RESPONSE 0x708 +#define CORB_UNSOL_ENABLE 0x80 +#define CORB_UNSOL_TAG(x) (x & 0x3f) #define CORB_GET_PIN_SENSE 0xf09 +#define CORB_PS_PRESENSE 0x80000000 +#define CORB_PS_IMPEDANCE(x) (x & 0x7fffffff) #define CORB_EXECUTE_PIN_SENSE 0x709 +#define CORB_PS_RIGHT 0x1 #define CORB_GET_EAPD_BTL_ENABLE 0xf0c #define CORB_SET_EAPD_BTL_ENABLE 0x70c #define CORB_GET_GPI_DATA 0xf10 |