fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver
[deliverable/linux.git] / drivers / net / ethernet / intel / fm10k / fm10k_main.c
CommitLineData
b3890e30
AD
1/* Intel Ethernet Switch Host Interface Driver
2 * Copyright(c) 2013 - 2014 Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * The full GNU General Public License is included in this distribution in
14 * the file called "COPYING".
15 *
16 * Contact Information:
17 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
18 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
19 */
20
21#include <linux/types.h>
22#include <linux/module.h>
23#include <net/ipv6.h>
24#include <net/ip.h>
25#include <net/tcp.h>
26#include <linux/if_macvlan.h>
27
28#include "fm10k.h"
29
30#define DRV_VERSION "0.12.2-k"
31const char fm10k_driver_version[] = DRV_VERSION;
32char fm10k_driver_name[] = "fm10k";
33static const char fm10k_driver_string[] =
34 "Intel(R) Ethernet Switch Host Interface Driver";
35static const char fm10k_copyright[] =
36 "Copyright (c) 2013 Intel Corporation.";
37
38MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
39MODULE_DESCRIPTION("Intel(R) Ethernet Switch Host Interface Driver");
40MODULE_LICENSE("GPL");
41MODULE_VERSION(DRV_VERSION);
42
43/** fm10k_init_module - Driver Registration Routine
44 *
45 * fm10k_init_module is the first routine called when the driver is
46 * loaded. All it does is register with the PCI subsystem.
47 **/
48static int __init fm10k_init_module(void)
49{
50 pr_info("%s - version %s\n", fm10k_driver_string, fm10k_driver_version);
51 pr_info("%s\n", fm10k_copyright);
52
53 return fm10k_register_pci_driver();
54}
55module_init(fm10k_init_module);
56
57/**
58 * fm10k_exit_module - Driver Exit Cleanup Routine
59 *
60 * fm10k_exit_module is called just before the driver is removed
61 * from memory.
62 **/
63static void __exit fm10k_exit_module(void)
64{
65 fm10k_unregister_pci_driver();
66}
67module_exit(fm10k_exit_module);
This page took 0.03029 seconds and 5 git commands to generate.