PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/scsi/NCR_Q720.h

https://bitbucket.org/slukk/jb-tsm-kernel-4.2
C Header | 28 lines | 13 code | 9 blank | 6 comment | 0 complexity | 09149099670ad38cc73035cec19d5a72 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/* -*- mode: c; c-basic-offset: 8 -*- */
 2
 3/* NCR Quad 720 MCA SCSI Driver
 4 *
 5 * Copyright (C) 2003 by James.Bottomley@HansenPartnership.com
 6 */
 7
 8#ifndef _NCR_Q720_H
 9#define _NCR_Q720_H
10
11/* The MCA identifier */
12#define NCR_Q720_MCA_ID		0x0720
13
14#define NCR_Q720_CLOCK_MHZ	30
15
16#define NCR_Q720_POS2_BOARD_ENABLE	0x01
17#define NCR_Q720_POS2_INTERRUPT_ENABLE	0x02
18#define NCR_Q720_POS2_PARITY_DISABLE	0x04
19#define NCR_Q720_POS2_IO_MASK		0xf8
20#define NCR_Q720_POS2_IO_SHIFT		8
21
22#define NCR_Q720_CHIP_REGISTER_OFFSET	0x200
23#define NCR_Q720_SCSR_OFFSET		0x070
24#define NCR_Q720_SIOP_SHIFT		0x080
25
26#endif
27
28