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.
This commit is contained in:
Chris Johns
2009-10-20 04:54:43 +00:00
parent 0a95359625
commit a07f1c4d68
2 changed files with 8 additions and 1 deletions

View File

@@ -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> 2009-10-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/ramdisk.c: Removed file. * libblock/src/ramdisk.c: Removed file.

View File

@@ -118,7 +118,7 @@ rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
/* link status */ /* link status */
if (BMSR_LINK & bmsr) if (BMSR_LINK & bmsr)
options |= IFM_LINK_OK; options |= IFM_LINK_OK | IFM_ACTIVE | IFM_AVALID;
/* do we have autonegotiation disabled ? */ /* do we have autonegotiation disabled ? */
if (!(BMCR_AUTOEN & bmcr)) { if (!(BMCR_AUTOEN & bmcr)) {