1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (c) 2003 Los Alamos National Laboratory (LANL)
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.
32 CDEBUG(D_TRACE, "This is the gmnal module initialisation routine\n");
35 CDEBUG(D_NET, "Calling gmnal_init\n");
36 status = gmnal_init();
37 if (status == PTL_OK) {
38 CDEBUG(D_NET, "Portals GMNAL initialised ok\n");
40 CDEBUG(D_NET, "Portals GMNAL Failed to initialise\n");
44 CDEBUG(D_NET, "This is the end of the gmnal init routine");
58 module_init(gmnal_load);
59 module_exit(gmnal_unload);
61 MODULE_PARM(num_rx_threads, "i");
62 MODULE_PARM(num_txds, "i");
63 MODULE_PARM(gm_port_id, "i");
65 MODULE_AUTHOR("Morgan Doyle");
67 MODULE_DESCRIPTION("A Portals kernel NAL for Myrinet GM.");
69 MODULE_LICENSE("GPL");