1/* $Id: hcl_util.h,v 1.1.1.1 2008/10/15 03:29:03 james26_jang Exp $ 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-2002 Silicon Graphics, Inc. All rights reserved. 8 */ 9 10#ifndef _ASM_IA64_SN_HCL_UTIL_H 11#define _ASM_IA64_SN_HCL_UTIL_H 12 13#include <linux/devfs_fs_kernel.h> 14 15extern char * dev_to_name(devfs_handle_t, char *, uint); 16extern int device_master_set(devfs_handle_t, devfs_handle_t); 17extern devfs_handle_t device_master_get(devfs_handle_t); 18extern cnodeid_t master_node_get(devfs_handle_t); 19extern cnodeid_t nodevertex_to_cnodeid(devfs_handle_t); 20extern void mark_nodevertex_as_node(devfs_handle_t, cnodeid_t); 21 22#endif /* _ASM_IA64_SN_HCL_UTIL_H */ 23