2 * Kurt Mahan kmahan@freescale.com
4 * Copyright Freescale Semiconductor, Inc. 2007
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.
12 #ifndef __MCF5445X_PCIARB_H__
13 #define __MCF5445X_PCIARB_H__
15 /*********************************************************************
17 * PCI Arbiter Module (PCIARB)
19 *********************************************************************/
21 /* Register read/write macros */
22 #define MCF_PCIARB_PACR MCF_REG32(0xFC0AC000)
23 #define MCF_PCIARB_PASR MCF_REG32(0xFC0AC004)
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)
34 /* Bit definitions and macros for PASR */
35 #define MCF_PCIARB_PASR_ITLMBK (0x00010000)
36 #define MCF_PCIARB_PASR_EXTMBK(x) (((x)&0x0000001F)<<17)
38 /********************************************************************/
40 #endif /* __MCF5445X_PCIARB_H__ */