diff options
author | oleg <oleg@FreeBSD.org> | 2006-05-16 12:23:57 +0000 |
---|---|---|
committer | oleg <oleg@FreeBSD.org> | 2006-05-16 12:23:57 +0000 |
commit | ff949f629730395a82ffa07f0787df4dc5af8a16 (patch) | |
tree | c21667b41ef37daa077776ef1611aa0723e29b91 /sys/dev/mii | |
parent | c249b5bd389e4db44f3aafb9eee33b30d07c94ee (diff) | |
download | FreeBSD-src-ff949f629730395a82ffa07f0787df4dc5af8a16.zip FreeBSD-src-ff949f629730395a82ffa07f0787df4dc5af8a16.tar.gz |
Introduce MII_ANEGTICKS and MII_ANEGTICKS_GIGE defines.
(How many ticks should we wait before retrying autonegotiation process).
Approved by: glebius (mentor)
MFC after: 1 month
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/miivar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index a1017a0..b9b7318 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -139,6 +139,10 @@ typedef struct mii_softc mii_softc_t; #define MIIF_DOPAUSE 0x0100 /* advertise PAUSE capability */ #define MIIF_IS_HPNA 0x0200 /* is a HomePNA device */ +/* Default mii_anegticks values */ +#define MII_ANEGTICKS 5 +#define MII_ANEGTICKS_GIGE 17 + #define MIIF_INHERIT_MASK (MIIF_NOISOLATE|MIIF_NOLOOP|MIIF_AUTOTSLEEP) /* |