diff options
Diffstat (limited to 'cpukit/libnetworking/net/if_media.h')
-rw-r--r-- | cpukit/libnetworking/net/if_media.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/libnetworking/net/if_media.h b/cpukit/libnetworking/net/if_media.h index 63f2775f29..d55a6e8f60 100644 --- a/cpukit/libnetworking/net/if_media.h +++ b/cpukit/libnetworking/net/if_media.h @@ -253,8 +253,12 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, /* * Status bits */ -#define IFM_AVALID 0x00000001 /* Active bit valid */ -#define IFM_ACTIVE 0x00000002 /* Interface attached to working net */ +/* + * FIXME: This is a hack to get the libbsdport interface drivers working. See + * also rtems_mii_ioctl.h. + */ +#define IFM_AVALID IFM_FLAG0 /* Active bit valid */ +#define IFM_ACTIVE IFM_FLAG0 /* Interface attached to working net */ /* * Macros to extract various bits of information from the media word. |