diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-01-25 23:51:05 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-01-25 23:51:05 +0000 |
commit | 2b59eae3b8db23809a51fbe53b84ac7e3f07d330 (patch) | |
tree | 830c6be9554ad3da33aed498a54c5bd7c18c5361 /sys/arch/sparc64/dev | |
parent | 0b6708cba8d42d7e97fb1e524dd2398b389f5c08 (diff) |
CEAFSR defns
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/psychoreg.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/psychoreg.h b/sys/arch/sparc64/dev/psychoreg.h index 90280e79348..2eaa0ac2785 100644 --- a/sys/arch/sparc64/dev/psychoreg.h +++ b/sys/arch/sparc64/dev/psychoreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psychoreg.h,v 1.6 2002/01/25 23:47:44 jason Exp $ */ +/* $OpenBSD: psychoreg.h,v 1.7 2002/01/25 23:51:04 jason Exp $ */ /* $NetBSD: psychoreg.h,v 1.6.4.2 2001/09/13 01:14:40 thorpej Exp $ */ /* @@ -274,6 +274,16 @@ struct psychoreg { #define PSY_UEAFSR_OFF 0x00000000e0000000 /* offset (afar [5:3]) */ #define PSY_UEAFSR_BLK 0x0000000000800000 /* block operation */ +/* correctable error fault status */ +#define PSY_CEAFSR_PDRD 0x4000000000000000 /* primary pci dma read */ +#define PSY_CEAFSR_PDWR 0x2000000000000000 /* primary pci dma write */ +#define PSY_CEAFSR_SDRD 0x0800000000000000 /* secondary pci dma read */ +#define PSY_CEAFSR_SDWR 0x0400000000000000 /* secondary pci dma write */ +#define PSY_CEAFSR_SYND 0x00ff000000000000 /* ecc syndrome */ +#define PSY_CEAFSR_MASK 0x0000ffff00000000 /* byte mask */ +#define PSY_CEAFSR_OFF 0x00000000e0000000 /* offset (afar [5:3]) */ +#define PSY_CEAFSR_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 */ |