mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
* libnetworking/rtems/rtems_mii_ioctl_kern.c:
fixed wrong calculation of 1000baseTx autonegotiation result.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-08-10 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* libnetworking/rtems/rtems_mii_ioctl_kern.c:
|
||||
fixed wrong calculation of 1000baseTx autonegotiation
|
||||
result.
|
||||
|
||||
2006-08-09 Kolja Waschk <waschk@telos.de>
|
||||
|
||||
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: New
|
||||
|
||||
@@ -109,7 +109,7 @@ rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
|
||||
options |= IFM_ANEG_DIS;
|
||||
}
|
||||
|
||||
tmp = ((bmcr2 >> 2) & bmsr2) & (GTSR_LP_1000THDX | GTSR_LP_1000TFDX);
|
||||
tmp = ((bmcr2 << 2) & bmsr2) & (GTSR_LP_1000THDX | GTSR_LP_1000TFDX);
|
||||
if (tmp) {
|
||||
if (GTSR_LP_1000TFDX & tmp)
|
||||
options |= IFM_FDX;
|
||||
|
||||
Reference in New Issue
Block a user