1a551c94aSIdo Barnea/******************************************************************************
2a551c94aSIdo Barnea
3a551c94aSIdo Barnea  Copyright (c) 2001-2014, Intel Corporation
4a551c94aSIdo Barnea  All rights reserved.
5a551c94aSIdo Barnea
6a551c94aSIdo Barnea  Redistribution and use in source and binary forms, with or without
7a551c94aSIdo Barnea  modification, are permitted provided that the following conditions are met:
8a551c94aSIdo Barnea
9a551c94aSIdo Barnea   1. Redistributions of source code must retain the above copyright notice,
10a551c94aSIdo Barnea      this list of conditions and the following disclaimer.
11a551c94aSIdo Barnea
12a551c94aSIdo Barnea   2. Redistributions in binary form must reproduce the above copyright
13a551c94aSIdo Barnea      notice, this list of conditions and the following disclaimer in the
14a551c94aSIdo Barnea      documentation and/or other materials provided with the distribution.
15a551c94aSIdo Barnea
16a551c94aSIdo Barnea   3. Neither the name of the Intel Corporation nor the names of its
17a551c94aSIdo Barnea      contributors may be used to endorse or promote products derived from
18a551c94aSIdo Barnea      this software without specific prior written permission.
19a551c94aSIdo Barnea
20a551c94aSIdo Barnea  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21a551c94aSIdo Barnea  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22a551c94aSIdo Barnea  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23a551c94aSIdo Barnea  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24a551c94aSIdo Barnea  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25a551c94aSIdo Barnea  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26a551c94aSIdo Barnea  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27a551c94aSIdo Barnea  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28a551c94aSIdo Barnea  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29a551c94aSIdo Barnea  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30a551c94aSIdo Barnea  POSSIBILITY OF SUCH DAMAGE.
31a551c94aSIdo Barnea
32a551c94aSIdo Barnea******************************************************************************/
33a551c94aSIdo Barnea/*$FreeBSD$*/
34a551c94aSIdo Barnea
35a551c94aSIdo Barnea#include "e1000_api.h"
36a551c94aSIdo Barnea
37a551c94aSIdo Barnea/*
38a551c94aSIdo Barnea * NOTE: the following routines using the e1000
39a551c94aSIdo Barnea * 	naming style are provided to the shared
40a551c94aSIdo Barnea *	code but are OS specific
41a551c94aSIdo Barnea */
42a551c94aSIdo Barnea
43a551c94aSIdo Barneavoid
44a551c94aSIdo Barneae1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
45a551c94aSIdo Barnea{
46a551c94aSIdo Barnea	return;
47a551c94aSIdo Barnea}
48a551c94aSIdo Barnea
49a551c94aSIdo Barneavoid
50a551c94aSIdo Barneae1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
51a551c94aSIdo Barnea{
52a551c94aSIdo Barnea	*value = 0;
53a551c94aSIdo Barnea	return;
54a551c94aSIdo Barnea}
55a551c94aSIdo Barnea
56a551c94aSIdo Barneavoid
57a551c94aSIdo Barneae1000_pci_set_mwi(struct e1000_hw *hw)
58a551c94aSIdo Barnea{
59a551c94aSIdo Barnea}
60a551c94aSIdo Barnea
61a551c94aSIdo Barneavoid
62a551c94aSIdo Barneae1000_pci_clear_mwi(struct e1000_hw *hw)
63a551c94aSIdo Barnea{
64a551c94aSIdo Barnea}
65a551c94aSIdo Barnea
66a551c94aSIdo Barnea
67a551c94aSIdo Barnea/*
68a551c94aSIdo Barnea * Read the PCI Express capabilities
69a551c94aSIdo Barnea */
70a551c94aSIdo Barneaint32_t
71a551c94aSIdo Barneae1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
72a551c94aSIdo Barnea{
73a551c94aSIdo Barnea	return E1000_NOT_IMPLEMENTED;
74a551c94aSIdo Barnea}
75a551c94aSIdo Barnea
76a551c94aSIdo Barnea/*
77a551c94aSIdo Barnea * Write the PCI Express capabilities
78a551c94aSIdo Barnea */
79a551c94aSIdo Barneaint32_t
80a551c94aSIdo Barneae1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
81a551c94aSIdo Barnea{
82a551c94aSIdo Barnea	return E1000_NOT_IMPLEMENTED;
83a551c94aSIdo Barnea}
84