Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |