1112a855dSMarius Strobl /*- 24d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3718cf2ccSPedro F. Giffuni * 4112a855dSMarius Strobl * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@FreeBSD.org>. 5112a855dSMarius Strobl * All rights reserved. 6112a855dSMarius Strobl * 7112a855dSMarius Strobl * Redistribution and use in source and binary forms, with or without 8112a855dSMarius Strobl * modification, are permitted provided that the following conditions 9112a855dSMarius Strobl * are met: 10112a855dSMarius Strobl * 1. Redistributions of source code must retain the above copyright 11112a855dSMarius Strobl * notice, this list of conditions and the following disclaimer. 12112a855dSMarius Strobl * 2. Redistributions in binary form must reproduce the above copyright 13112a855dSMarius Strobl * notice, this list of conditions and the following disclaimer in the 14112a855dSMarius Strobl * documentation and/or other materials provided with the distribution. 15112a855dSMarius Strobl * 16112a855dSMarius Strobl * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17112a855dSMarius Strobl * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18112a855dSMarius Strobl * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19112a855dSMarius Strobl * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20112a855dSMarius Strobl * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21112a855dSMarius Strobl * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22112a855dSMarius Strobl * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23112a855dSMarius Strobl * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24112a855dSMarius Strobl * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25112a855dSMarius Strobl * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26112a855dSMarius Strobl * SUCH DAMAGE. 27112a855dSMarius Strobl */ 28112a855dSMarius Strobl 29112a855dSMarius Strobl #ifndef _RUEPHYREG_H_ 30112a855dSMarius Strobl #define _RUEPHYREG_H_ 31112a855dSMarius Strobl 32112a855dSMarius Strobl #define RUEPHY_MII_MSR 0x0137 /* B, R/W */ 33112a855dSMarius Strobl #define RUEPHY_MSR_RXFCE 0x40 34112a855dSMarius Strobl #define RUEPHY_MSR_DUPLEX 0x10 35112a855dSMarius Strobl #define RUEPHY_MSR_SPEED100 0x08 36112a855dSMarius Strobl #define RUEPHY_MSR_LINK 0x04 37112a855dSMarius Strobl 38112a855dSMarius Strobl #endif /* _RUEPHYREG_H_ */ 39