1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2001 - 2015 Intel Corporation
3  */
4 /*$FreeBSD$*/
5 
6 #include "e1000_api.h"
7 
8 /*
9  * NOTE: the following routines using the e1000
10  * 	naming style are provided to the shared
11  *	code but are OS specific
12  */
13 
14 void
e1000_write_pci_cfg(struct e1000_hw * hw,u32 reg,u16 * value)15 e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
16 {
17 	return;
18 }
19 
20 void
e1000_read_pci_cfg(struct e1000_hw * hw,u32 reg,u16 * value)21 e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
22 {
23 	*value = 0;
24 	return;
25 }
26 
27 void
e1000_pci_set_mwi(struct e1000_hw * hw)28 e1000_pci_set_mwi(struct e1000_hw *hw)
29 {
30 }
31 
32 void
e1000_pci_clear_mwi(struct e1000_hw * hw)33 e1000_pci_clear_mwi(struct e1000_hw *hw)
34 {
35 }
36 
37 
38 /*
39  * Read the PCI Express capabilities
40  */
41 int32_t
e1000_read_pcie_cap_reg(struct e1000_hw * hw,u32 reg,u16 * value)42 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
43 {
44 	return E1000_NOT_IMPLEMENTED;
45 }
46 
47 /*
48  * Write the PCI Express capabilities
49  */
50 int32_t
e1000_write_pcie_cap_reg(struct e1000_hw * hw,u32 reg,u16 * value)51 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
52 {
53 	return E1000_NOT_IMPLEMENTED;
54 }
55