opnsense-src/sys/dev/bge
Pyun YongHyeon b9d2edd7c8 Do not report current link status if driver is not running.
Reporting link status in driver has a side-effect that makes mii(4)
check current link status.  mii(4) will call link status change
callback when it sees link state change.  Normally this wouldn't
have problems. However, ASF/IPMI firmware can actively access PHY
regardless of driver's running state such that reporting link
status for not-running interface can generate meaningless link
UP/DOWN messages.

This change also makes dhclient think driver got a valid link
regardless of link establishment so it will bypass dhclient's
initial link status check. I think that wouldn't be issue
though.

Tested by:	Daniel Braniss <danny@cs.huji.ac.il>
2013-06-07 01:01:39 +00:00
..
if_bge.c Do not report current link status if driver is not running. 2013-06-07 01:01:39 +00:00
if_bgereg.h Add preliminary support for BCM57766 ASIC. 2012-11-30 01:38:00 +00:00