psychoreg.h (107471) | psychoreg.h (108800) |
---|---|
1/* 2 * Copyright (c) 1998, 1999 Eduardo E. Horvath 3 * Copyright (c) 1999 Matthew R. Green 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * from: NetBSD: psychoreg.h,v 1.8 2001/09/10 16:17:06 eeh Exp 30 * | 1/* 2 * Copyright (c) 1998, 1999 Eduardo E. Horvath 3 * Copyright (c) 1999 Matthew R. Green 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * from: NetBSD: psychoreg.h,v 1.8 2001/09/10 16:17:06 eeh Exp 30 * |
31 * $FreeBSD: head/sys/sparc64/pci/psychoreg.h 107471 2002-12-01 23:00:41Z tmm $ | 31 * $FreeBSD: head/sys/sparc64/pci/psychoreg.h 108800 2003-01-06 16:51:06Z tmm $ |
32 */ 33 34#ifndef _SPARC64_PCI_PSYCHOREG_H_ 35#define _SPARC64_PCI_PSYCHOREG_H_ 36 37/* 38 * Sun4u PCI definitions. Here's where we deal w/the machine 39 * dependencies of psycho and the PCI controller on the UltraIIi. --- 195 unchanged lines hidden (view full) --- 235#define UEAFSR_BLK (1UL << 22) /* pri. error caused by read */ 236#define UEAFSR_P_DTE (1UL << 56) /* pri. DMA translation error */ 237#define UEAFSR_S_DTE (1UL << 57) /* sec. DMA translation error */ 238#define UEAFSR_S_DWR (1UL << 58) /* sec. error during write */ 239#define UEAFSR_S_DRD (1UL << 59) /* sec. error during read */ 240#define UEAFSR_P_DWR (1UL << 61) /* pri. error during write */ 241#define UEAFSR_P_DRD (1UL << 62) /* pri. error during read */ 242 | 32 */ 33 34#ifndef _SPARC64_PCI_PSYCHOREG_H_ 35#define _SPARC64_PCI_PSYCHOREG_H_ 36 37/* 38 * Sun4u PCI definitions. Here's where we deal w/the machine 39 * dependencies of psycho and the PCI controller on the UltraIIi. --- 195 unchanged lines hidden (view full) --- 235#define UEAFSR_BLK (1UL << 22) /* pri. error caused by read */ 236#define UEAFSR_P_DTE (1UL << 56) /* pri. DMA translation error */ 237#define UEAFSR_S_DTE (1UL << 57) /* sec. DMA translation error */ 238#define UEAFSR_S_DWR (1UL << 58) /* sec. error during write */ 239#define UEAFSR_S_DRD (1UL << 59) /* sec. error during read */ 240#define UEAFSR_P_DWR (1UL << 61) /* pri. error during write */ 241#define UEAFSR_P_DRD (1UL << 62) /* pri. error during read */ 242 |
243/* Definitions for the target address space register. */ 244#define PCITAS_ADDR_SHIFT 29 245 |
|
243/* Definitions for the psycho configuration space */ 244#define PCS_DEVICE 0 /* Device number of psycho CS entry */ 245#define PCS_FUNC 0 /* Function number of psycho CS entry */ 246 247/* Non-Standard registers in the configration space */ 248#define PCSR_SECBUS 0x40 /* Secondary bus number register */ 249#define PCSR_SUBBUS 0x41 /* Subordinate bus number register */ 250 --- 49 unchanged lines hidden --- | 246/* Definitions for the psycho configuration space */ 247#define PCS_DEVICE 0 /* Device number of psycho CS entry */ 248#define PCS_FUNC 0 /* Function number of psycho CS entry */ 249 250/* Non-Standard registers in the configration space */ 251#define PCSR_SECBUS 0x40 /* Secondary bus number register */ 252#define PCSR_SUBBUS 0x41 /* Subordinate bus number register */ 253 --- 49 unchanged lines hidden --- |