Deleted Added
full compact
ncr53c9xreg.h (146392) ncr53c9xreg.h (182876)
1/* $NetBSD: ncr53c9xreg.h,v 1.14 2005/02/27 00:27:02 perry Exp $ */
2
3/*-
4 * Copyright (c) 1994 Peter Galbavy. 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:

--- 15 unchanged lines hidden (view full) ---

24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
1/* $NetBSD: ncr53c9xreg.h,v 1.14 2005/02/27 00:27:02 perry Exp $ */
2
3/*-
4 * Copyright (c) 1994 Peter Galbavy. 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:

--- 15 unchanged lines hidden (view full) ---

24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32/* $FreeBSD: head/sys/dev/esp/ncr53c9xreg.h 146392 2005-05-19 14:51:10Z marius $ */
32/* $FreeBSD: head/sys/dev/esp/ncr53c9xreg.h 182876 2008-09-08 20:20:44Z marius $ */
33
34/*
35 * Register addresses, relative to some base address
36 */
37
38#define NCR_TCL 0x00 /* RW - Transfer Count Low */
39#define NCR_TCM 0x01 /* RW - Transfer Count Mid */
40#define NCR_TCH 0x0e /* RW - Transfer Count High */

--- 38 unchanged lines hidden (view full) ---

79#define NCRSTAT_INT 0x80 /* Interrupt */
80#define NCRSTAT_GE 0x40 /* Gross Error */
81#define NCRSTAT_PE 0x20 /* Parity Error */
82#define NCRSTAT_TC 0x10 /* Terminal Count */
83#define NCRSTAT_VGC 0x08 /* Valid Group Code */
84#define NCRSTAT_PHASE 0x07 /* Phase bits */
85
86#define NCR_SELID 0x04 /* WO - Select/Reselect Bus ID */
33
34/*
35 * Register addresses, relative to some base address
36 */
37
38#define NCR_TCL 0x00 /* RW - Transfer Count Low */
39#define NCR_TCM 0x01 /* RW - Transfer Count Mid */
40#define NCR_TCH 0x0e /* RW - Transfer Count High */

--- 38 unchanged lines hidden (view full) ---

79#define NCRSTAT_INT 0x80 /* Interrupt */
80#define NCRSTAT_GE 0x40 /* Gross Error */
81#define NCRSTAT_PE 0x20 /* Parity Error */
82#define NCRSTAT_TC 0x10 /* Terminal Count */
83#define NCRSTAT_VGC 0x08 /* Valid Group Code */
84#define NCRSTAT_PHASE 0x07 /* Phase bits */
85
86#define NCR_SELID 0x04 /* WO - Select/Reselect Bus ID */
87#define NCR_BUSID_HME 0x10 /* XXX HME reselect ID */
88#define NCR_BUSID_HME32 0x40 /* XXX HME to select more than 16 */
87#define NCR_BUSID_HMEXC32 0x40 /* HME xfer counter is 32bit */
88#define NCR_BUSID_HMEENCID 0x10 /* HME encode reselection ID */
89
90#define NCR_INTR 0x05 /* RO - Interrupt */
91#define NCRINTR_SBR 0x80 /* SCSI Bus Reset */
92#define NCRINTR_ILL 0x40 /* Illegal Command */
93#define NCRINTR_DIS 0x20 /* Disconnect */
94#define NCRINTR_BS 0x10 /* Bus Service */
95#define NCRINTR_FC 0x08 /* Function Complete */
96#define NCRINTR_RESEL 0x04 /* Reselected */

--- 194 unchanged lines hidden ---
89
90#define NCR_INTR 0x05 /* RO - Interrupt */
91#define NCRINTR_SBR 0x80 /* SCSI Bus Reset */
92#define NCRINTR_ILL 0x40 /* Illegal Command */
93#define NCRINTR_DIS 0x20 /* Disconnect */
94#define NCRINTR_BS 0x10 /* Bus Service */
95#define NCRINTR_FC 0x08 /* Function Complete */
96#define NCRINTR_RESEL 0x04 /* Reselected */

--- 194 unchanged lines hidden ---