* libnetworking/rtems/rtems_mii_ioctl_kern.c:

fixed wrong calculation of 1000baseTx autonegotiation
	result.
This commit is contained in:
Till Straumann
2006-08-10 22:04:07 +00:00
parent 94690433ea
commit 8f6c409e41
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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;