brgphyreg.h (212342) | brgphyreg.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/brgphyreg.h 212342 2010-09-08 21:08:54Z yongari $ | 32 * $FreeBSD: head/sys/dev/mii/brgphyreg.h 220938 2011-04-22 09:22:27Z marius $ |
33 */ 34 35#ifndef _DEV_MII_BRGPHYREG_H_ 36#define _DEV_MII_BRGPHYREG_H_ 37 38/* 39 * Broadcom BCM5400 registers 40 */ --- 13 unchanged lines hidden (view full) --- 54#define BRGPHY_S1000 BRGPHY_BMCR_SPD1 /* 1000mbps */ 55#define BRGPHY_S100 BRGPHY_BMCR_SPD0 /* 100mpbs */ 56#define BRGPHY_S10 0 /* 10mbps */ 57 58#define BRGPHY_MII_BMSR 0x01 59#define BRGPHY_BMSR_EXTSTS 0x0100 /* Extended status present */ 60#define BRGPHY_BMSR_PRESUB 0x0040 /* Preamble surpression */ 61#define BRGPHY_BMSR_ACOMP 0x0020 /* Autoneg complete */ | 33 */ 34 35#ifndef _DEV_MII_BRGPHYREG_H_ 36#define _DEV_MII_BRGPHYREG_H_ 37 38/* 39 * Broadcom BCM5400 registers 40 */ --- 13 unchanged lines hidden (view full) --- 54#define BRGPHY_S1000 BRGPHY_BMCR_SPD1 /* 1000mbps */ 55#define BRGPHY_S100 BRGPHY_BMCR_SPD0 /* 100mpbs */ 56#define BRGPHY_S10 0 /* 10mbps */ 57 58#define BRGPHY_MII_BMSR 0x01 59#define BRGPHY_BMSR_EXTSTS 0x0100 /* Extended status present */ 60#define BRGPHY_BMSR_PRESUB 0x0040 /* Preamble surpression */ 61#define BRGPHY_BMSR_ACOMP 0x0020 /* Autoneg complete */ |
62#define BRGPHY_BMSR_RFAULT 0x0010 /* Remote fault condition occured */ | 62#define BRGPHY_BMSR_RFAULT 0x0010 /* Remote fault condition occurred */ |
63#define BRGPHY_BMSR_ANEG 0x0008 /* Autoneg capable */ 64#define BRGPHY_BMSR_LINK 0x0004 /* Link status */ 65#define BRGPHY_BMSR_JABBER 0x0002 /* Jabber detected */ 66#define BRGPHY_BMSR_EXT 0x0001 /* Extended capability */ 67 68#define BRGPHY_MII_ANAR 0x04 69#define BRGPHY_ANAR_NP 0x8000 /* Next page */ 70#define BRGPHY_ANAR_RF 0x2000 /* Remote fault */ --- 350 unchanged lines hidden --- | 63#define BRGPHY_BMSR_ANEG 0x0008 /* Autoneg capable */ 64#define BRGPHY_BMSR_LINK 0x0004 /* Link status */ 65#define BRGPHY_BMSR_JABBER 0x0002 /* Jabber detected */ 66#define BRGPHY_BMSR_EXT 0x0001 /* Extended capability */ 67 68#define BRGPHY_MII_ANAR 0x04 69#define BRGPHY_ANAR_NP 0x8000 /* Next page */ 70#define BRGPHY_ANAR_RF 0x2000 /* Remote fault */ --- 350 unchanged lines hidden --- |