diff options
author | Chris Johns <chrisj@rtems.org> | 2009-10-20 04:54:43 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-10-20 04:54:43 +0000 |
commit | a07f1c4d689bde1eb060afcd656ce8bb1450c825 (patch) | |
tree | 9aed55c0e299592dca64cde57fab9f03813869e7 /cpukit | |
parent | Remove. (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index ae3500276d..fd2366548f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +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. + 2009-10-16 Sebastian Huber <sebastian.huber@embedded-brains.de> * libblock/src/ramdisk.c: Removed file. 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)) { |