Deleted Added
full compact
xmphyreg.h (139749) xmphyreg.h (220938)
1/*-
2 * Copyright (c) 2000
3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
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
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 2000
3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
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
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/dev/mii/xmphyreg.h 139749 2005-01-06 01:43:34Z imp $
32 * $FreeBSD: head/sys/dev/mii/xmphyreg.h 220938 2011-04-22 09:22:27Z marius $
33 */
34
35#ifndef _DEV_MII_XMPHYREG_H_
36#define _DEV_MII_XMPHYREG_H_
37
38/*
39 * XaQti XMAC II PHY registers
40 */

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

46#define XMPHY_BMCR_PDOWN 0x0800 /* Power down */
47#define XMPHY_BMCR_ISO 0x0400 /* Isolate */
48#define XMPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */
49#define XMPHY_BMCR_FDX 0x0100 /* Duplex mode */
50
51#define XMPHY_MII_BMSR 0x01
52#define XMPHY_BMSR_EXTSTS 0x0100 /* Extended status present */
53#define XMPHY_BMSR_ACOMP 0x0020 /* Autoneg complete */
33 */
34
35#ifndef _DEV_MII_XMPHYREG_H_
36#define _DEV_MII_XMPHYREG_H_
37
38/*
39 * XaQti XMAC II PHY registers
40 */

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

46#define XMPHY_BMCR_PDOWN 0x0800 /* Power down */
47#define XMPHY_BMCR_ISO 0x0400 /* Isolate */
48#define XMPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */
49#define XMPHY_BMCR_FDX 0x0100 /* Duplex mode */
50
51#define XMPHY_MII_BMSR 0x01
52#define XMPHY_BMSR_EXTSTS 0x0100 /* Extended status present */
53#define XMPHY_BMSR_ACOMP 0x0020 /* Autoneg complete */
54#define XMPHY_BMSR_RFAULT 0x0010 /* Remote fault condition occured */
54#define XMPHY_BMSR_RFAULT 0x0010 /* Remote fault condition occurred */
55#define XMPHY_BMSR_ANEG 0x0008 /* Autoneg capable */
56#define XMPHY_BMSR_LINK 0x0004 /* Link status */
57#define XMPHY_BMSR_EXT 0x0001 /* Extended capability */
58
59#define XMPHY_MII_ANAR 0x04
60#define XMPHY_ANAR_NP 0x8000 /* Next page */
61#define XMPHY_ANAR_ACK 0x4000 /* Next page or base received */
62#define XMPHY_ANAR_RFBITS 0x3000 /* Remote fault bits */

--- 55 unchanged lines hidden ---
55#define XMPHY_BMSR_ANEG 0x0008 /* Autoneg capable */
56#define XMPHY_BMSR_LINK 0x0004 /* Link status */
57#define XMPHY_BMSR_EXT 0x0001 /* Extended capability */
58
59#define XMPHY_MII_ANAR 0x04
60#define XMPHY_ANAR_NP 0x8000 /* Next page */
61#define XMPHY_ANAR_ACK 0x4000 /* Next page or base received */
62#define XMPHY_ANAR_RFBITS 0x3000 /* Remote fault bits */

--- 55 unchanged lines hidden ---