174131Sjlemon/*- 274131Sjlemon * Copyright (c) 2001 Jonathan Lemon 374131Sjlemon * All rights reserved. 474131Sjlemon * 574131Sjlemon * Redistribution and use in source and binary forms, with or without 674131Sjlemon * modification, are permitted provided that the following conditions 774131Sjlemon * are met: 874131Sjlemon * 1. Redistributions of source code must retain the above copyright 974131Sjlemon * notice, this list of conditions and the following disclaimer. 1074131Sjlemon * 2. Redistributions in binary form must reproduce the above copyright 1174131Sjlemon * notice, this list of conditions and the following disclaimer in the 1274131Sjlemon * documentation and/or other materials provided with the distribution. 1374131Sjlemon * 3. Neither the name of the author nor the names of any co-contributors 1474131Sjlemon * may be used to endorse or promote products derived from this software 1574131Sjlemon * without specific prior written permission. 1674131Sjlemon * 1774131Sjlemon * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1874131Sjlemon * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1974131Sjlemon * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2074131Sjlemon * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2174131Sjlemon * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2274131Sjlemon * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2374131Sjlemon * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2474131Sjlemon * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2574131Sjlemon * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2674131Sjlemon * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2774131Sjlemon * SUCH DAMAGE. 2874131Sjlemon * 2974131Sjlemon * $FreeBSD: releng/10.2/sys/dev/fxp/inphyreg.h 226154 2011-10-08 12:33:10Z marius $ 3074131Sjlemon */ 3174131Sjlemon 32226154Smarius#ifndef _INPHYREG_H 33226154Smarius#define _INPHYREG_H 34226154Smarius 35226154Smarius#define MII_INPHY_SCR 0x10 /* status and control register */ 36226154Smarius#define SCR_FLOWCTL 0x8000 37226154Smarius#define SCR_S100 0x0002 /* autonegotiated speed */ 38226154Smarius#define SCR_FDX 0x0001 /* autonegotiated duplex */ 39226154Smarius 40226154Smarius#endif 41