summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-10-20 04:54:43 +0000
committerChris Johns <chrisj@rtems.org>2009-10-20 04:54:43 +0000
commita07f1c4d689bde1eb060afcd656ce8bb1450c825 (patch)
tree9aed55c0e299592dca64cde57fab9f03813869e7 /cpukit/libnetworking
parentRemove. (diff)
downloadrtems-a07f1c4d689bde1eb060afcd656ce8bb1450c825.tar.bz2
2009-10-20 Chris Johns <chrisj@rtems.org>
* libnetworking/rtems/rtems_mii_ioctl_kern.c: Added IFM_ACTIVE and IFM_AVALID to the status for a link up. These are the supported but in the BSD stack. Before IFM_LINK_OK was set and this is a spare bit.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
index 1b036d6a96..0f9e61f174 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
@@ -118,7 +118,7 @@ rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
/* link status */
if (BMSR_LINK & bmsr)
- options |= IFM_LINK_OK;
+ options |= IFM_LINK_OK | IFM_ACTIVE | IFM_AVALID;
/* do we have autonegotiation disabled ? */
if (!(BMCR_AUTOEN & bmcr)) {