Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |