404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.59.147.113: ~ $
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (c) 2003-2005 Silicon Graphics, Inc. All rights reserved.
 */

#ifndef _ASM_IA64_SN_CE_PROVIDER_H
#define _ASM_IA64_SN_CE_PROVIDER_H

#include <asm/sn/pcibus_provider_defs.h>
#include <asm/sn/tioce.h>

/*
 * Common TIOCE structure shared between the prom and kernel
 *
 * DO NOT CHANGE THIS STRUCT WITHOUT MAKING CORRESPONDING CHANGES TO THE
 * PROM VERSION.
 */
struct tioce_common {
	struct pcibus_bussoft	ce_pcibus;	/* common pciio header */

	u32		ce_rev;
	u64		ce_kernel_private;
	u64		ce_prom_private;
};

struct tioce_kernel {
	struct tioce_common	*ce_common;
	spinlock_t		ce_lock;
	struct list_head	ce_dmamap_list;

	u64		ce_ate40_shadow[TIOCE_NUM_M40_ATES];
	u64		ce_ate3240_shadow[TIOCE_NUM_M3240_ATES];
	u32		ce_ate3240_pagesize;

	u8			ce_port1_secondary;

	/* per-port resources */
	struct {
		int 		dirmap_refcnt;
		u64	dirmap_shadow;
	} ce_port[TIOCE_NUM_PORTS];
};

struct tioce_dmamap {
	struct list_head	ce_dmamap_list;	/* headed by tioce_kernel */
	u32		refcnt;

	u64		nbytes;		/* # bytes mapped */

	u64		ct_start;	/* coretalk start address */
	u64		pci_start;	/* bus start address */

	u64		__iomem *ate_hw;/* hw ptr of first ate in map */
	u64		*ate_shadow;	/* shadow ptr of firat ate */
	u16		ate_count;	/* # ate's in the map */
};

extern int tioce_init_provider(void);

#endif  /* __ASM_IA64_SN_CE_PROVIDER_H */

Filemanager

Name Type Size Permission Actions
sn2 Folder 0755
acpi.h File 423 B 0644
addrs.h File 9.69 KB 0644
arch.h File 2.72 KB 0644
bte.h File 7.61 KB 0644
clksupport.h File 844 B 0644
geo.h File 3.51 KB 0644
intr.h File 2.24 KB 0644
io.h File 5.68 KB 0644
ioc3.h File 7.91 KB 0644
klconfig.h File 10.15 KB 0644
l1.h File 2.28 KB 0644
leds.h File 819 B 0644
module.h File 4.01 KB 0644
mspec.h File 1.78 KB 0644
nodepda.h File 2.21 KB 0644
pcibr_provider.h File 5.52 KB 0644
pcibus_provider_defs.h File 2.16 KB 0644
pcidev.h File 3.05 KB 0644
pda.h File 1.94 KB 0644
pic.h File 9.06 KB 0644
rw_mmr.h File 944 B 0644
shub_mmr.h File 26.25 KB 0644
shubio.h File 127.34 KB 0644
simulator.h File 917 B 0644
sn_cpuid.h File 4.24 KB 0644
sn_feature_sets.h File 1.61 KB 0644
sn_sal.h File 33.14 KB 0644
tioca.h File 20.21 KB 0644
tioca_provider.h File 6 KB 0644
tioce.h File 29.87 KB 0644
tioce_provider.h File 1.49 KB 0644
tiocp.h File 8.3 KB 0644
tiocx.h File 2.24 KB 0644
types.h File 957 B 0644