ruephyreg.h revision 114577
1114577Sakiyama/*- 2114577Sakiyama * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@FreeBSD.org>. 3114577Sakiyama * All rights reserved. 4114577Sakiyama * 5114577Sakiyama * Redistribution and use in source and binary forms, with or without 6114577Sakiyama * modification, are permitted provided that the following conditions 7114577Sakiyama * are met: 8114577Sakiyama * 1. Redistributions of source code must retain the above copyright 9114577Sakiyama * notice, this list of conditions and the following disclaimer. 10114577Sakiyama * 2. Redistributions in binary form must reproduce the above copyright 11114577Sakiyama * notice, this list of conditions and the following disclaimer in the 12114577Sakiyama * documentation and/or other materials provided with the distribution. 13114577Sakiyama * 14114577Sakiyama * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15114577Sakiyama * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16114577Sakiyama * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17114577Sakiyama * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18114577Sakiyama * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19114577Sakiyama * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20114577Sakiyama * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21114577Sakiyama * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22114577Sakiyama * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23114577Sakiyama * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24114577Sakiyama * SUCH DAMAGE. 25114577Sakiyama * 26114577Sakiyama * $FreeBSD: head/sys/dev/mii/ruephyreg.h 114577 2003-05-03 10:16:56Z akiyama $ 27114577Sakiyama */ 28114577Sakiyama 29114577Sakiyama#ifndef _RUEPHYREG_H_ 30114577Sakiyama#define _RUEPHYREG_H_ 31114577Sakiyama 32114577Sakiyama#define RUEPHY_MII_MSR 0x0137 /* B, R/W */ 33114577Sakiyama#define RUEPHY_MSR_RXFCE 0x40 34114577Sakiyama#define RUEPHY_MSR_DUPLEX 0x10 35114577Sakiyama#define RUEPHY_MSR_SPEED100 0x08 36114577Sakiyama#define RUEPHY_MSR_LINK 0x04 37114577Sakiyama 38114577Sakiyama#endif /* _RUEPHYREG_H_ */ 39