Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/dev/mii



Module Name:    src
Committed By:   martin
Date:           Tue Jan 28 11:04:14 UTC 2020

Modified Files:
        src/sys/dev/mii [netbsd-9]: makphy.c makphyreg.h

Log Message:
Pull up the following, requested by msaitoh in ticket #663:

        sys/dev/mii/makphy.c                    1.61, 1.63-1.64 via patch
        sys/dev/mii/makphyreg.h                 1.10

- Remove ESSR_FIBER_LINK bit check in makphyattach(). This bit is
  valid only when the link is up, so it's not good to check in the
  attach function.
- There is an environment that both copper and fiber bits are set in
  EXTSR but it support copper only. To resolve this problem, check the
  ESSR register's HWCFG_MODE bit and drop unsupported bits.
- If the chip is in Fiber/Copper auto select mode, check which media is
  selected. Currently, the code supports 88E1011, 88E1111 and 88E1112
  only.
- Fix comment. KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.60.2.1 src/sys/dev/mii/makphy.c
cvs rdiff -u -r1.9 -r1.9.6.1 src/sys/dev/mii/makphyreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index