The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/mii/miibus_if.m

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: releng/8.4/sys/dev/mii/miibus_if.m 84140 2001-09-29 18:40:06Z jlemon $
    2 
    3 #include <sys/bus.h>
    4 
    5 INTERFACE miibus;
    6 
    7 #
    8 # Read register from device on MII bus
    9 #
   10 METHOD int readreg {
   11         device_t                dev;
   12         int                     phy;
   13         int                     reg;
   14 };
   15 
   16 #
   17 # Write register to device on MII bus
   18 #
   19 METHOD int writereg {
   20         device_t                dev;
   21         int                     phy;
   22         int                     reg;
   23         int                     val;
   24 };
   25 
   26 #
   27 # Notify bus about PHY status change.
   28 #
   29 METHOD void statchg {
   30         device_t                dev;
   31 };
   32 
   33 #
   34 # Notify bus about PHY link change.
   35 #
   36 METHOD void linkchg {
   37         device_t                dev;
   38 };
   39 
   40 #
   41 # Notify bus that media has been set.
   42 #
   43 METHOD void mediainit {
   44         device_t                dev;
   45 };

Cache object: ea0aac6825c5c024a1721ce5021a0f45


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.