Deleted Added
full compact
e1000_82543.h (169589) e1000_82543.h (173788)
1/*******************************************************************************
2
3 Copyright (c) 2001-2007, 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

--- 16 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*******************************************************************************/
1/*******************************************************************************
2
3 Copyright (c) 2001-2007, 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

--- 16 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 169589 2007-05-16 00:14:23Z jfv $*/
33/* $FreeBSD: head/sys/dev/em/e1000_82543.h 173788 2007-11-20 21:41:22Z 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 */
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#define TBI_SBP_ENABLED 0x2 /* If TBI_COMPAT_ENABLED,
48 * then this is the current state (on/off) */
47/* If TBI_COMPAT_ENABLED, then this is the current state (on/off) */
48#define TBI_SBP_ENABLED 0x2
49
49
50#endif
50
51#endif