SVNews r318524

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-19 08:24:23 - r318524 by wma (wma)

Complete list of files affected by revision r318524:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/etherswitch/e6000sw/e6000sw.c  
  History   Contents   Diff   MODIFY   /head/sys/dev/etherswitch/e6000sw/e6000swreg.h  

Commit message:

Poll PHY status using internal e6000sw registers

e6000sw family automatically reflects PHY status in each port's registers.
Therefore it is not necessary to do a full PHY polling squence, which
results in much quicker operation and much less significant usage of
the SMI bus.

Care must be taken that the resulting ifmedia_active is identical to
what the PHY will compute, or gratuitous link status changes will
occur whenever the PHYs update function is called.

This patch implements above improvement. On the occasion set a pointer to
the proc structure to be part of software context instead of being
a global variable.

Submitted by: Marcin Wojtas <>
Obtained from: Semihalf
Sponsored by: Stormshield
Reviewed by: loos
Differential revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 18 ms, 2 files printed. Current time is 2018-05-23 05:21:19. All times are in UTC/GMT.