2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (c) 2003-2005 Silicon Graphics, Inc. All rights reserved.
9 #ifndef _ASM_IA64_SN_CE_PROVIDER_H
10 #define _ASM_IA64_SN_CE_PROVIDER_H
12 #include <asm/sn/pcibus_provider_defs.h>
13 #include <asm/sn/tioce.h>
16 * Common TIOCE structure shared between the prom and kernel
18 * DO NOT CHANGE THIS STRUCT WITHOUT MAKING CORRESPONDING CHANGES TO THE
22 struct pcibus_bussoft ce_pcibus
; /* common pciio header */
25 u64 ce_kernel_private
;
30 struct tioce_common
*ce_common
;
32 struct list_head ce_dmamap_list
;
34 u64 ce_ate40_shadow
[TIOCE_NUM_M40_ATES
];
35 u64 ce_ate3240_shadow
[TIOCE_NUM_M3240_ATES
];
36 u32 ce_ate3240_pagesize
;
38 u8 ce_port1_secondary
;
40 /* per-port resources */
44 } ce_port
[TIOCE_NUM_PORTS
];
48 struct list_head ce_dmamap_list
; /* headed by tioce_kernel */
51 u64 nbytes
; /* # bytes mapped */
53 u64 ct_start
; /* coretalk start address */
54 u64 pci_start
; /* bus start address */
56 u64 __iomem
*ate_hw
;/* hw ptr of first ate in map */
57 u64
*ate_shadow
; /* shadow ptr of firat ate */
58 u16 ate_count
; /* # ate's in the map */
61 extern int tioce_init_provider(void);
63 #endif /* __ASM_IA64_SN_CE_PROVIDER_H */