mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
a30ecd6149
description file which slipped through the cracks. Pointed out by: Doug <Doug@gorean.org>
37 lines
424 B
Mathematica
37 lines
424 B
Mathematica
# $Id$
|
|
|
|
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 that media has been set.
|
|
#
|
|
METHOD void mediainit {
|
|
device_t dev;
|
|
};
|