1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2004 Cluster File Systems, Inc.
6 * This file is part of Lustre, http://www.lustre.org.
8 * Lustre is free software; you can redistribute it and/or
9 * modify it under the terms of version 2 of the GNU General Public
10 * License as published by the Free Software Foundation.
12 * Lustre is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Lustre; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 # define EXPORT_SYMTAB
28 #include <linux/config.h>
29 #include <linux/module.h>
30 #include <linux/kernel.h>
32 #include <linux/string.h>
33 #include <linux/stat.h>
34 #include <linux/errno.h>
35 #include <linux/uio.h>
36 #include <linux/init.h>
38 #define DEBUG_SUBSYSTEM S_NAL
40 #include <linux/kp30.h>
41 #include <portals/p30.h>
42 #include <portals/lib-p30.h>
43 #include <portals/nal.h>
45 #define KLOD_IOV 153401
46 #define KLOD_KIOV 153402
50 unsigned int klod_type;
51 unsigned int klod_niov;
62 char klo_init; /* what's been initialised */
66 #define KLO_INIT_NOTHING 0 /* MUST BE ZERO so zeroed state is initialised OK */
67 #define KLO_INIT_LIB 1
68 #define KLO_INIT_ALL 2
70 extern lib_nal_t klonal_lib;
71 extern nal_t klonal_api;
72 extern klonal_data_t klonal_data;