diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-01-25 23:47:45 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-01-25 23:47:45 +0000 |
commit | 0b6708cba8d42d7e97fb1e524dd2398b389f5c08 (patch) | |
tree | f8a56ab238bf15f7f4b02fe0180da7db76dae0a3 /sys/arch/sparc64/dev/psychoreg.h | |
parent | 1c76b4b6ed726cf3c49d099ec491045e88bd5b6f (diff) |
Reg defs for UEAFSR
Diffstat (limited to 'sys/arch/sparc64/dev/psychoreg.h')
-rw-r--r-- | sys/arch/sparc64/dev/psychoreg.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/psychoreg.h b/sys/arch/sparc64/dev/psychoreg.h index e2b9c8ae50f..90280e79348 100644 --- a/sys/arch/sparc64/dev/psychoreg.h +++ b/sys/arch/sparc64/dev/psychoreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psychoreg.h,v 1.5 2001/09/15 07:08:04 jason Exp $ */ +/* $OpenBSD: psychoreg.h,v 1.6 2002/01/25 23:47:44 jason Exp $ */ /* $NetBSD: psychoreg.h,v 1.6.4.2 2001/09/13 01:14:40 thorpej Exp $ */ /* @@ -263,6 +263,17 @@ struct psychoreg { /* what the bits mean! */ +/* uncorrectable error fault status */ +#define PSY_UEAFSR_PDRD 0x4000000000000000 /* primary pci dma read */ +#define PSY_UEAFSR_PDWR 0x2000000000000000 /* primary pci dma write */ +#define PSY_UEAFSR_SDRD 0x0800000000000000 /* secondary pci dma read */ +#define PSY_UEAFSR_SDWR 0x0400000000000000 /* secondary pci dma write */ +#define PSY_UEAFSR_SDTE 0x0200000000000000 /* secondary dma translation error */ +#define PSY_UEAFSR_PDTE 0x0100000000000000 /* primary dma translation error */ +#define PSY_UEAFSR_MASK 0x0000ffff00000000 /* byte mask */ +#define PSY_UEAFSR_OFF 0x00000000e0000000 /* offset (afar [5:3]) */ +#define PSY_UEAFSR_BLK 0x0000000000800000 /* block operation */ + /* PCI [a|b] control/status register */ /* note that the sabre only has one set of PCI control/status registers */ #define PCICTL_MRLM 0x0000001000000000 /* Memory Read Line/Multiple */ |