]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve detection of addressing mode in e6000sw
authormw <mw@FreeBSD.org>
Tue, 10 Apr 2018 08:35:43 +0000 (08:35 +0000)
committermw <mw@FreeBSD.org>
Tue, 10 Apr 2018 08:35:43 +0000 (08:35 +0000)
commit879cf7c79fa3a9a665515dc5f832a185f8927295
treed738629f444128b663fc6b21ab52dca3e1ae0447
parent72609e5c8e29af83672bd6b2c9698c234890f637
Improve detection of addressing mode in e6000sw

Some devices cannot rely on the switch MDIO address passed in the DTB
for specifying single/multi-chip addressing mode. Introduce new property
"single-chip-addressing" which added to DTS will force single-chip mode.

Submitted by: Michal Mazur <mkm@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14800
sys/dev/etherswitch/e6000sw/e6000sw.c