Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mii/miivar.h
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | |||||
#define MIIF_DOINGAUTO 0x00000008 /* doing autonegotiation (mii_softc) */ | #define MIIF_DOINGAUTO 0x00000008 /* doing autonegotiation (mii_softc) */ | ||||
#define MIIF_AUTOTSLEEP 0x00000010 /* use tsleep(), not callout() */ | #define MIIF_AUTOTSLEEP 0x00000010 /* use tsleep(), not callout() */ | ||||
#define MIIF_HAVEFIBER 0x00000020 /* from parent: has fiber interface */ | #define MIIF_HAVEFIBER 0x00000020 /* from parent: has fiber interface */ | ||||
#define MIIF_HAVE_GTCR 0x00000040 /* has 100base-T2/1000base-T CR */ | #define MIIF_HAVE_GTCR 0x00000040 /* has 100base-T2/1000base-T CR */ | ||||
#define MIIF_IS_1000X 0x00000080 /* is a 1000BASE-X device */ | #define MIIF_IS_1000X 0x00000080 /* is a 1000BASE-X device */ | ||||
#define MIIF_DOPAUSE 0x00000100 /* advertise PAUSE capability */ | #define MIIF_DOPAUSE 0x00000100 /* advertise PAUSE capability */ | ||||
#define MIIF_IS_HPNA 0x00000200 /* is a HomePNA device */ | #define MIIF_IS_HPNA 0x00000200 /* is a HomePNA device */ | ||||
#define MIIF_FORCEANEG 0x00000400 /* force auto-negotiation */ | #define MIIF_FORCEANEG 0x00000400 /* force auto-negotiation */ | ||||
#define MIIF_RXID 0x00002000 /* add RX delay */ | |||||
karels: My only quibble with the changes is the naming of MIIF_RXID and MIIF_TXID, although they are… | |||||
crowston_protonmail.comAuthorUnsubmitted Done Inline ActionsFixed crowston_protonmail.com: Fixed | |||||
#define MIIF_TXID 0x00004000 /* add TX delay */ | |||||
#define MIIF_NOMANPAUSE 0x00100000 /* no manual PAUSE selection */ | #define MIIF_NOMANPAUSE 0x00100000 /* no manual PAUSE selection */ | ||||
#define MIIF_FORCEPAUSE 0x00200000 /* force PAUSE advertisement */ | #define MIIF_FORCEPAUSE 0x00200000 /* force PAUSE advertisement */ | ||||
#define MIIF_MACPRIV0 0x01000000 /* private to the MAC driver */ | #define MIIF_MACPRIV0 0x01000000 /* private to the MAC driver */ | ||||
#define MIIF_MACPRIV1 0x02000000 /* private to the MAC driver */ | #define MIIF_MACPRIV1 0x02000000 /* private to the MAC driver */ | ||||
#define MIIF_MACPRIV2 0x04000000 /* private to the MAC driver */ | #define MIIF_MACPRIV2 0x04000000 /* private to the MAC driver */ | ||||
#define MIIF_PHYPRIV0 0x10000000 /* private to the PHY driver */ | #define MIIF_PHYPRIV0 0x10000000 /* private to the PHY driver */ | ||||
#define MIIF_PHYPRIV1 0x20000000 /* private to the PHY driver */ | #define MIIF_PHYPRIV1 0x20000000 /* private to the PHY driver */ | ||||
#define MIIF_PHYPRIV2 0x40000000 /* private to the PHY driver */ | #define MIIF_PHYPRIV2 0x40000000 /* private to the PHY driver */ | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |
My only quibble with the changes is the naming of MIIF_RXID and MIIF_TXID, although they are the same as NetBSD and OpenBSD. I don't know which is better, compatibility or clarity. MIIF_xDELAY would be much more obvious. Any other opinions? They could also be numbered sequentially.