Rearrange the code a bit, rename a few functions and make brgphy(4) use the bge(4) PHY flags, to ensure errata workarounds are being applied to the PHY on the appropriate chipsets.
Rearrange the code a bit, rename a few functions and make brgphy(4) use
the bge(4) PHY flags, to ensure errata workarounds are being applied to
the PHY on the appropriate chipsets.

Tested on bnx/gem/sk and a wide range of bge's.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars