diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-08-02 21:53:32 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-08-02 21:53:32 +0000 |
commit | 16864ab061f41f531e180c37b7fda194da118cbf (patch) | |
tree | e8336ac6584f87c1daadc0b6af9d2c982918c96b /sys | |
parent | c55a322fe028d3542e8feb9fad2693c2461765ea (diff) |
more MII flags
From NetBSD
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/miivar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index 5fd2b94469d..368792fd4db 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: miivar.h,v 1.17 2003/10/13 16:18:56 krw Exp $ */ +/* $OpenBSD: miivar.h,v 1.18 2004/08/02 21:53:31 brad Exp $ */ /* $NetBSD: miivar.h,v 1.17 2000/03/06 20:56:57 thorpej Exp $ */ /*- @@ -163,6 +163,10 @@ typedef struct mii_softc mii_softc_t; #define MIIF_AUTOTSLEEP 0x0010 /* use tsleep(), not timeout() */ #define MIIF_HAVEFIBER 0x0020 /* from parent: has fiber interface */ #define MIIF_HAVE_GTCR 0x0040 /* has 100base-T2/1000base-T CR */ +#define MIIF_IS_1000X 0x0080 /* is a 1000BASE-X device */ +#define MIIF_DOPAUSE 0x0100 /* advertise PAUSE capability */ +#define MIIF_IS_HPNA 0x0200 /* is a HomePNA device */ +#define MIIF_FORCEANEG 0x0400 /* force autonegotiation */ #define MIIF_INHERIT_MASK (MIIF_NOISOLATE|MIIF_NOLOOP|MIIF_AUTOTSLEEP) |