aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_type.h
blob: cd018f81b5c7c320ed566a132d5161cbea6fb149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2018, Intel Corporation. */

#ifndef _ICE_TYPE_H_
#define _ICE_TYPE_H_

/* Bus parameters */
struct ice_bus_info {
	u16 device;
	u8 func;
};

/* Port hardware description */
struct ice_hw {
	u8 __iomem *hw_addr;
	void *back;

	/* pci info */
	u16 device_id;
	u16 vendor_id;
	u16 subsystem_device_id;
	u16 subsystem_vendor_id;
	u8 revision_id;

	struct ice_bus_info bus;
};

#endif /* _ICE_TYPE_H_ */