1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3 * Copyright(c) 2010-2017 Intel Corporation
9 #include "ngbe_status.h"
10 #include "ngbe_osdep.h"
11 #include "ngbe_devids.h"
32 enum ngbe_media_type {
33 ngbe_media_type_unknown = 0,
34 ngbe_media_type_fiber,
35 ngbe_media_type_fiber_qsfp,
36 ngbe_media_type_copper,
37 ngbe_media_type_backplane,
39 ngbe_media_type_virtual
45 struct ngbe_bus_info {
46 void (*set_lan_id)(struct ngbe_hw *hw);
52 struct ngbe_mac_info {
53 enum ngbe_mac_type type;
56 struct ngbe_phy_info {
57 enum ngbe_media_type media_type;
58 enum ngbe_phy_type type;
64 struct ngbe_mac_info mac;
65 struct ngbe_phy_info phy;
66 struct ngbe_bus_info bus;
75 #include "ngbe_regs.h"
76 #include "ngbe_dummy.h"
78 #endif /* _NGBE_TYPE_H_ */