svn commit: r257184 - in head/sys/dev: mii usb/net xl

Gleb Smirnoff glebius at FreeBSD.org
Sun Oct 27 07:19:12 UTC 2013


On Sat, Oct 26, 2013 at 06:57:04PM -0700, Adrian Chadd wrote:
A> hm, so none of the modified PHYs nor their consumers will get upset?
A> Eg, if the NIC is down, is touching the PHY registers going to be a
A> problem?

The IFF_UP was always an administrative flag. I believe drivers initialize
all their resources before being set an address with SIOCSIFADDR.

If a driver doesn't, then the previous code still was racy.

Anyway, I am going to handle any fallouts.


-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list