Deleted Added
full compact
e1000_82543.h (173788) e1000_82543.h (176667)
1/*******************************************************************************
2
1/*******************************************************************************
2
3 Copyright (c) 2001-2007, Intel Corporation
3 Copyright (c) 2001-2008, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32*******************************************************************************/
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32*******************************************************************************/
33/* $FreeBSD: head/sys/dev/em/e1000_82543.h 173788 2007-11-20 21:41:22Z jfv $ */
33/* $FreeBSD: head/sys/dev/em/e1000_82543.h 176667 2008-02-29 21:50:11Z jfv $ */
34
35
36#ifndef _E1000_82543_H_
37#define _E1000_82543_H_
38
39#define PHY_PREAMBLE 0xFFFFFFFF
40#define PHY_PREAMBLE_SIZE 32
41#define PHY_SOF 0x1
42#define PHY_OP_READ 0x2
43#define PHY_OP_WRITE 0x1
44#define PHY_TURNAROUND 0x2
45
46#define TBI_COMPAT_ENABLED 0x1 /* Global "knob" for the workaround */
47/* If TBI_COMPAT_ENABLED, then this is the current state (on/off) */
48#define TBI_SBP_ENABLED 0x2
49
50
51#endif
34
35
36#ifndef _E1000_82543_H_
37#define _E1000_82543_H_
38
39#define PHY_PREAMBLE 0xFFFFFFFF
40#define PHY_PREAMBLE_SIZE 32
41#define PHY_SOF 0x1
42#define PHY_OP_READ 0x2
43#define PHY_OP_WRITE 0x1
44#define PHY_TURNAROUND 0x2
45
46#define TBI_COMPAT_ENABLED 0x1 /* Global "knob" for the workaround */
47/* If TBI_COMPAT_ENABLED, then this is the current state (on/off) */
48#define TBI_SBP_ENABLED 0x2
49
50
51#endif