fm10k: Add support for basic interaction with hardware
[deliverable/linux.git] / drivers / net / ethernet / intel / fm10k / fm10k.h
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 #ifndef _FM10K_H_
22 #define _FM10K_H_
23
24 #include <linux/types.h>
25 #include <linux/etherdevice.h>
26 #include <linux/rtnetlink.h>
27 #include <linux/if_vlan.h>
28 #include <linux/pci.h>
29
30 #include "fm10k_common.h"
31
32 struct fm10k_intfc {
33 struct pci_dev *pdev;
34
35 struct fm10k_hw hw;
36 u32 __iomem *uc_addr;
37 };
38
39 /* main */
40 extern char fm10k_driver_name[];
41 extern const char fm10k_driver_version[];
42
43 /* PCI */
44 int fm10k_register_pci_driver(void);
45 void fm10k_unregister_pci_driver(void);
46 #endif /* _FM10K_H_ */
This page took 0.068957 seconds and 6 git commands to generate.