Add delay to Octeon MDIO access routines.

Prevent saturattion of the bus by constant polling which in
extreme cases can cause interface lockup. This makes FreeBSD
match similar case in the executive.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix RTC clock writes on many Octeon boards.

The struct clocktime uses 0-based week day number, so back out part of
r229161 by gonzo, which actually broke the RTC clock writes on Sundays.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271562 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f