1 /* $Id$ 2 * 3 * This file is subject to the terms and conditions of the GNU General Public 4 * License. See the file "COPYING" in the main directory of this archive 5 * for more details. 6 * 7 * Copyright (C) 1992-1997,2000-2003 Silicon Graphics, Inc. All rights reserved. 8 */ 9 #ifndef _ASM_IA64_SN_CDL_H 10 #define _ASM_IA64_SN_CDL_H 11 12 #ifdef __KERNEL__ 13 #include <asm/sn/sgi.h> 14 #endif 15 16 struct cdl { 17 int part_num; /* Part part number */ 18 int mfg_num; /* Part MFG number */ 19 int (*attach)(vertex_hdl_t); /* Attach routine */ 20 }; 21 22 23 /* 24 * cdl: connection/driver list 25 * 26 * support code for bus infrastructure for busses 27 * that have self-identifying devices; initially 28 * constructed for xtalk, pciio and gioio modules. 29 */ 30 typedef struct cdl *cdl_p; 31 32 /* 33 * cdl_add_connpt: add a connection point 34 * 35 * Calls the attach routines of all the drivers on 36 * the list that match this connection point, in 37 * the order that they were added to the list. 38 */ 39 extern int cdl_add_connpt(int key1, 40 int key2, 41 vertex_hdl_t conn, 42 int drv_flags); 43 #endif /* _ASM_IA64_SN_CDL_H */ 44