Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
30 lines
636 B
C
30 lines
636 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* -*- mode: c; c-basic-offset: 8 -*- */
|
|
|
|
/* NCR Quad 720 MCA SCSI Driver
|
|
*
|
|
* Copyright (C) 2003 by James.Bottomley@HansenPartnership.com
|
|
*/
|
|
|
|
#ifndef _NCR_Q720_H
|
|
#define _NCR_Q720_H
|
|
|
|
/* The MCA identifier */
|
|
#define NCR_Q720_MCA_ID 0x0720
|
|
|
|
#define NCR_Q720_CLOCK_MHZ 30
|
|
|
|
#define NCR_Q720_POS2_BOARD_ENABLE 0x01
|
|
#define NCR_Q720_POS2_INTERRUPT_ENABLE 0x02
|
|
#define NCR_Q720_POS2_PARITY_DISABLE 0x04
|
|
#define NCR_Q720_POS2_IO_MASK 0xf8
|
|
#define NCR_Q720_POS2_IO_SHIFT 8
|
|
|
|
#define NCR_Q720_CHIP_REGISTER_OFFSET 0x200
|
|
#define NCR_Q720_SCSR_OFFSET 0x070
|
|
#define NCR_Q720_SIOP_SHIFT 0x080
|
|
|
|
#endif
|
|
|
|
|