From a07f1c4d689bde1eb060afcd656ce8bb1450c825 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 20 Oct 2009 04:54:43 +0000 Subject: 2009-10-20 Chris Johns * 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. --- cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libnetworking') 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)) { -- cgit v1.2.3