#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/module.h>
#include <sys/socket.h>
#include <sys/bus.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include "miidevs.h"
#include <dev/usb/net/ruephyreg.h>
#include "miibus_if.h"
Go to the source code of this file.
◆ __FBSDID()
◆ DRIVER_MODULE()
◆ ruephy_attach()
static int ruephy_attach |
( |
device_t |
dev | ) |
|
|
static |
◆ ruephy_probe()
static int ruephy_probe |
( |
device_t |
dev | ) |
|
|
static |
◆ ruephy_reset()
static void ruephy_reset |
( |
struct mii_softc * |
sc | ) |
|
|
static |
◆ ruephy_service()
static int ruephy_service |
( |
struct mii_softc * |
sc, |
|
|
struct mii_data * |
mii, |
|
|
int |
cmd |
|
) |
| |
|
static |
◆ ruephy_status()
static void ruephy_status |
( |
struct mii_softc * |
phy | ) |
|
|
static |
◆ ruephy_devclass
devclass_t ruephy_devclass |
|
static |
◆ ruephy_driver
Initial value:= {
.name = "ruephy",
.size = sizeof(struct mii_softc)
}
static device_method_t ruephy_methods[]
Definition at line 71 of file ruephy.c.
◆ ruephy_funcs
const struct mii_phy_funcs ruephy_funcs |
|
static |
Initial value:= {
}
static void ruephy_status(struct mii_softc *)
static void ruephy_reset(struct mii_softc *)
static int ruephy_service(struct mii_softc *, struct mii_data *, int)
Definition at line 92 of file ruephy.c.
Referenced by ruephy_attach().
◆ ruephy_methods
device_method_t ruephy_methods[] |
|
static |
Initial value:= {
DEVMETHOD(device_detach, mii_phy_detach),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD_END
}
static int ruephy_probe(device_t)
static int ruephy_attach(device_t)
Definition at line 60 of file ruephy.c.
◆ ruephys
const struct mii_phydesc ruephys[] |
|
static |
Initial value:= {
{ 0, 0, "RealTek RTL8150 internal media interface" },
MII_PHY_END
}
Definition at line 87 of file ruephy.c.
Referenced by ruephy_probe().