]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blob - arch/m68k/include/asm/mcf5445x_pciarb.h
Current (FEC from 2.6.31 port, no CAN, no I2C, no PCI)
[mcf548x/linux.git] / arch / m68k / include / asm / mcf5445x_pciarb.h
1 /*
2  * Kurt Mahan kmahan@freescale.com
3  *
4  * Copyright Freescale Semiconductor, Inc. 2007
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of  the GNU General  Public License as published by the
8  * Free Software Foundation;  either version 2 of the  License, or (at your
9  * option) any later version.
10  */
11
12 #ifndef __MCF5445X_PCIARB_H__
13 #define __MCF5445X_PCIARB_H__
14
15 /*********************************************************************
16 *
17 * PCI Arbiter Module (PCIARB)
18 *
19 *********************************************************************/
20
21 /* Register read/write macros */
22 #define MCF_PCIARB_PACR                 MCF_REG32(0xFC0AC000)
23 #define MCF_PCIARB_PASR                 MCF_REG32(0xFC0AC004)
24
25 /* Bit definitions and macros for PACR */
26 #define MCF_PCIARB_PACR_INTMPRI         (0x00000001)
27 #define MCF_PCIARB_PACR_EXTMPRI(x)      (((x)&0x0000001F)<<1)
28 #define MCF_PCIARB_PACR_RA              (0x00008000)
29 #define MCF_PCIARB_PACR_INTMINTEN       (0x00010000)
30 #define MCF_PCIARB_PACR_EXTMINTEN(x)    (((x)&0x0000001F)<<17)
31 #define MCF_PCIARB_PACR_PKMD            (0x40000000)
32 #define MCF_PCIARB_PACR_DS              (0x80000000)
33
34 /* Bit definitions and macros for PASR */
35 #define MCF_PCIARB_PASR_ITLMBK          (0x00010000)
36 #define MCF_PCIARB_PASR_EXTMBK(x)       (((x)&0x0000001F)<<17)
37
38 /********************************************************************/
39
40 #endif /* __MCF5445X_PCIARB_H__ */