forked from Imagelibrary/rtems
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:
@@ -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.
|
||||||
|
|||||||
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user