diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-26 21:38:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-10-26 21:38:29 +0000 |
commit | 903e614ba4b014ff7618bfa1df44617cccae7978 (patch) | |
tree | b23cbcdc7ce5e3fdf60c1a457c9c47a3257edc3d /sys | |
parent | 836b6a8a9579be321afbb2a847edeaf28a53ace9 (diff) |
fix 8237 trigger mask
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/pci/via8231reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/via8231reg.h b/sys/arch/i386/pci/via8231reg.h index 216773cce86..cc705ddd341 100644 --- a/sys/arch/i386/pci/via8231reg.h +++ b/sys/arch/i386/pci/via8231reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: via8231reg.h,v 1.3 2005/10/26 01:41:36 mickey Exp $ */ +/* $OpenBSD: via8231reg.h,v 1.4 2005/10/26 21:38:28 mickey Exp $ */ /* * Copyright (c) 2005, by Michael Shalayeff @@ -75,11 +75,11 @@ #define VIA8231_TRIGGER_CNFG_MASK 0x000000ff #define VIA8231_TRIGGER_CNFG_SHFT 0 -#define VIA8237_TRIGGER_CNFG_MASK 0x00ff0000 +#define VIA8237_TRIGGER_CNFG_MASK 0x000f0000 #define VIA8237_TRIGGER_CNFG_SHFT 16 #define VIA8231_TRIGGER_CNFG_LEVEL 0 #define VIA8231_TRIGGER_CNFG_EDGE 1 -#define VIA8237_TRIGGER_CNFG_ENA 0x100000 +#define VIA8237_TRIGGER_CNFG_ENA 0x00100000 #define VIA8231_GET_TRIGGER(ph) \ ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ |