Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / i386 / pci_via.h @ 14

History | View | Annotate | Download (945 Bytes)

1
/*
2
pci_via.h
3

4
Created:        Jun 2001 by Philip Homburg <philip@cs.vu.nl>
5
*/
6

    
7
#define VIA_ISABR_EL        0x54        /* Edge or level triggered */
8
#define                VIA_ISABR_EL_INTA        0x08        /* Edge (1) or level (0) */
9
#define                VIA_ISABR_EL_INTB        0x04
10
#define                VIA_ISABR_EL_INTC        0x02
11
#define                VIA_ISABR_EL_INTD        0x01
12

    
13
#define VIA_ISABR_IRQ_R1 0x55        /* IRQ routing 1 */
14
#define                VIA_ISABR_IRQ_INTD        0xf0        /* routing for INTD */
15
#define                VIA_ISABR_IRQ_INT0        0x0f        /* routing for INT0 */
16
#define VIA_ISABR_IRQ_R2 0x56        /* IRQ routing 2 */
17
#define                VIA_ISABR_IRQ_INTA        0xf0        /* routing for INTA */
18
#define                VIA_ISABR_IRQ_INTB        0x0f        /* routing for INTB */
19
#define VIA_ISABR_IRQ_R3 0x57        /* IRQ routing 3 */
20
#define                VIA_ISABR_IRQ_INTC        0xf0        /* routing for INTC */
21
#define                VIA_ISABR_IRQ_INT1        0x0f        /* routing for INT1 */
22
#define VIA_ISABR_IRQ_R4 0x58        /* IRQ routing 4 */
23
#define                VIA_ISABR_IRQ_INT2        0x0f        /* routing for INT2 */
24

    
25
/*
26
 * $PchId: pci_via.h,v 1.1 2001/06/20 15:50:25 philip Exp $
27
 */