Path: blob/master/arch/mips/include/asm/dec/ioasic_ints.h
26495 views
/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Definitions for the interrupt related bits in the I/O ASIC6* interrupt status register (and the interrupt mask register, of course)7*8* Created with Information from:9*10* "DEC 3000 300/400/500/600/700/800/900 AXP Models System Programmer's Manual"11*12* and the Mach Sources13*14* Copyright (C) 199x the Anonymous15* Copyright (C) 2002 Maciej W. Rozycki16*/1718#ifndef __ASM_DEC_IOASIC_INTS_H19#define __ASM_DEC_IOASIC_INTS_H2021/*22* The upper 16 bits are a part of the I/O ASIC's internal DMA engine23* and thus are common to all I/O ASIC machines. The exception is24* the Maxine, which makes use of the FLOPPY and ISDN bits (otherwise25* unused) and has a different SCC wiring.26*/27/* all systems */28#define IO_INR_SCC0A_TXDMA 31 /* SCC0A transmit page end */29#define IO_INR_SCC0A_TXERR 30 /* SCC0A transmit memory read error */30#define IO_INR_SCC0A_RXDMA 29 /* SCC0A receive half page */31#define IO_INR_SCC0A_RXERR 28 /* SCC0A receive overrun */32#define IO_INR_ASC_DMA 19 /* ASC buffer pointer loaded */33#define IO_INR_ASC_ERR 18 /* ASC page overrun */34#define IO_INR_ASC_MERR 17 /* ASC memory read error */35#define IO_INR_LANCE_MERR 16 /* LANCE memory read error */3637/* except Maxine */38#define IO_INR_SCC1A_TXDMA 27 /* SCC1A transmit page end */39#define IO_INR_SCC1A_TXERR 26 /* SCC1A transmit memory read error */40#define IO_INR_SCC1A_RXDMA 25 /* SCC1A receive half page */41#define IO_INR_SCC1A_RXERR 24 /* SCC1A receive overrun */42#define IO_INR_RES_23 23 /* unused */43#define IO_INR_RES_22 22 /* unused */44#define IO_INR_RES_21 21 /* unused */45#define IO_INR_RES_20 20 /* unused */4647/* Maxine */48#define IO_INR_AB_TXDMA 27 /* ACCESS.bus transmit page end */49#define IO_INR_AB_TXERR 26 /* ACCESS.bus xmit memory read error */50#define IO_INR_AB_RXDMA 25 /* ACCESS.bus receive half page */51#define IO_INR_AB_RXERR 24 /* ACCESS.bus receive overrun */52#define IO_INR_FLOPPY_ERR 23 /* FDC error */53#define IO_INR_ISDN_TXDMA 22 /* ISDN xmit buffer pointer loaded */54#define IO_INR_ISDN_RXDMA 21 /* ISDN recv buffer pointer loaded */55#define IO_INR_ISDN_ERR 20 /* ISDN memory read/overrun error */5657#define IO_INR_DMA 16 /* first DMA IRQ */5859/*60* The lower 16 bits are system-specific and thus defined in61* system-specific headers.62*/636465#define IO_IRQ_BASE 8 /* first IRQ assigned to I/O ASIC */66#define IO_IRQ_LINES 32 /* number of I/O ASIC interrupts */6768#define IO_IRQ_NR(n) ((n) + IO_IRQ_BASE)69#define IO_IRQ_MASK(n) (1 << (n))70#define IO_IRQ_ALL 0x0000ffff71#define IO_IRQ_DMA 0xffff00007273#endif /* __ASM_DEC_IOASIC_INTS_H */747576