📄 cvmesqsys3.h
字号:
/* cvmeSqsys3.h - Cyclone Squall Sys-3 module header *//* Copyright 1984-2002 Wind River Systems, Inc. *//*modification history--------------------01b,26apr02,dat Adding cplusplus protection, SPR 7501701a,02mar93,ccc created.*//*This file contains the configuration parameters for the Cyclone Squall Sys-3module.*/#ifndef __INCcvmeSqsys3h#define __INCcvmeSqsys3h/* includes */#include "drv/scsi/ncr710.h"#ifdef __cplusplusextern "C" {#endif/* defines */#define INCLUDE_EI /* include 82596 driver */#undef IO_ADRS_EI#define IO_ADRS_EI ((char *) 0x000fff00) /* 32A,32D i82596CA Ethernet */#undef INT_LVL_EI#define INT_LVL_EI 0x0#undef INT_VEC_EI#define INT_VEC_EI CVME960_VEC_XINT4#define CVME960_EI_CA ((volatile UINT8 *) 0xc0000040)#define CVME960_EI_PORT ((volatile UINT8 *) 0xc0000030)#define CVME960_EI_UNUSED ((volatile UINT8 *) 0xc0000020)#define EI_SYSBUS 0x6c#define EI_POOL_ADRS NONE#undef DEFAULT_BOOT_LINE#define DEFAULT_BOOT_LINE \"ei(0,0)host:/usr/vw/config/cvme960/vxWorks h=90.0.0.3 e=90.0.0.50 u=target"/* NCR53C710 definitions */#define CVME960_SIOP_BASE_ADRS ((volatile UINT8 *) 0xc0000100)#define CVME960_SIOP_FREQ NCR710_25MHZ /* 25-37.5 MHz chip */#define CVME960_SIOP_HW_REGS { 0,0,0,0,1,0,0,1,0,0,0,0,0,0,0}#ifdef INCLUDE_SCSI_MODULE /* change FALSE to TRUE for SCSI interface */#define INCLUDE_SCSI /* include wd33c93 SCSI interface */#define INCLUDE_SCSI_BOOT /* include ability to boot from SCSI */#define INCLUDE_DOSFS /* file system to be used */#define INT_VEC_SCSI CVME960_VEC_XINT3#define INCLUDE_SCSI_DMA#endif /* INCLUDE_SCSI_MODULE *//* * 0xc0000010 is the Squall module status register on a read, * and the SCSI bus reset control register on a write. */#define SQ_STATUS_REG ((volatile unsigned char *) 0xc0000010)#define SCSI_BUS_RESET_CTRL SQ_STATUS_REG/* bit definitions of status register (0xc0000010) - bits are active low */#define SCSI_BUS_RESET_BIT 2#define SCSI_IRQ_BIT 1#define SCC_IRQ_BIT 0/* writes to SCSI_BUS_RESET_CTRL - assert/deassert RST* */#define ASSERT_SCSI_BUS_RESET 0x06#define DEASSERT_SCSI_BUS_RESET 0x02#define CLEAR_SCSI_RESET_IRQ 0x00/* SCSI DMA channel */#define SCSI_DMA_CHANNEL 0#ifdef __cplusplus}#endif#endif /* __INCcvmeSqsys3h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -