Current Path : /sys/dev/mii/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/dev/mii/miibus_if.m |
# $FreeBSD: release/9.1.0/sys/dev/mii/miibus_if.m 84140 2001-09-29 18:40:06Z jlemon $ #include <sys/bus.h> INTERFACE miibus; # # Read register from device on MII bus # METHOD int readreg { device_t dev; int phy; int reg; }; # # Write register to device on MII bus # METHOD int writereg { device_t dev; int phy; int reg; int val; }; # # Notify bus about PHY status change. # METHOD void statchg { device_t dev; }; # # Notify bus about PHY link change. # METHOD void linkchg { device_t dev; }; # # Notify bus that media has been set. # METHOD void mediainit { device_t dev; };