igc.h (d89f88419f999f03af2282789f2d2eea6468c00a) igc.h (146740f9abc4976e4f0af1aa302efee1c699d2e4)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (c) 2018 Intel Corporation */
3
4#ifndef _IGC_H_
5#define _IGC_H_
6
7#include <linux/kobject.h>
8

--- 8 unchanged lines hidden (view full) ---

17#define IGC_ERR(args...) pr_err("igc: " args)
18
19#define PFX "igc: "
20
21#include <linux/timecounter.h>
22#include <linux/net_tstamp.h>
23#include <linux/ptp_clock_kernel.h>
24
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (c) 2018 Intel Corporation */
3
4#ifndef _IGC_H_
5#define _IGC_H_
6
7#include <linux/kobject.h>
8

--- 8 unchanged lines hidden (view full) ---

17#define IGC_ERR(args...) pr_err("igc: " args)
18
19#define PFX "igc: "
20
21#include <linux/timecounter.h>
22#include <linux/net_tstamp.h>
23#include <linux/ptp_clock_kernel.h>
24
25#include "igc_hw.h"
26
25/* main */
26extern char igc_driver_name[];
27extern char igc_driver_version[];
28
27/* main */
28extern char igc_driver_name[];
29extern char igc_driver_version[];
30
31/* Board specific private data structure */
32struct igc_adapter {
33 u8 __iomem *io_addr;
34
35 /* OS defined structs */
36 struct pci_dev *pdev;
37
38 /* structs defined in igc_hw.h */
39 struct igc_hw hw;
40};
41
29#endif /* _IGC_H_ */
42#endif /* _IGC_H_ */