d5f46cdb736e05263cdab4b0b27423d249873e9c
[linux-2.6-block.git] / drivers / scsi / NCR_Q720.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* -*- mode: c; c-basic-offset: 8 -*- */
3
4 /* NCR Quad 720 MCA SCSI Driver
5  *
6  * Copyright (C) 2003 by James.Bottomley@HansenPartnership.com
7  */
8
9 #ifndef _NCR_Q720_H
10 #define _NCR_Q720_H
11
12 /* The MCA identifier */
13 #define NCR_Q720_MCA_ID         0x0720
14
15 #define NCR_Q720_CLOCK_MHZ      30
16
17 #define NCR_Q720_POS2_BOARD_ENABLE      0x01
18 #define NCR_Q720_POS2_INTERRUPT_ENABLE  0x02
19 #define NCR_Q720_POS2_PARITY_DISABLE    0x04
20 #define NCR_Q720_POS2_IO_MASK           0xf8
21 #define NCR_Q720_POS2_IO_SHIFT          8
22
23 #define NCR_Q720_CHIP_REGISTER_OFFSET   0x200
24 #define NCR_Q720_SCSR_OFFSET            0x070
25 #define NCR_Q720_SIOP_SHIFT             0x080
26
27 #endif
28
29