aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/cdl.h
blob: 6f551e1ca85a332ac239eaad5c5c625e205778d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* $Id$
 *
 * 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) 1992-1997,2000-2003 Silicon Graphics, Inc. All rights reserved.
 */
#ifndef _ASM_IA64_SN_CDL_H
#define _ASM_IA64_SN_CDL_H

#include <asm/sn/sgi.h>

struct cdl {
	int part_num;			/* Part part number */
	int mfg_num;			/* Part MFG number */
	int (*attach)(vertex_hdl_t);	/* Attach routine */
};


/*
 *	cdl: connection/driver list
 *
 *	support code for bus infrastructure for busses
 *	that have self-identifying devices; initially
 *	constructed for xtalk, pciio and gioio modules.
 */
typedef struct cdl     *cdl_p;

/*
 *	cdl_add_connpt: add a connection point
 *
 *	Calls the attach routines of all the drivers on
 *	the list that match this connection point, in
 *	the order that they were added to the list.
 */
extern int		cdl_add_connpt(int key1,
				       int key2,
				       vertex_hdl_t conn,
				       int drv_flags);
#endif /* _ASM_IA64_SN_CDL_H */