Hey Josh!
I have been testing your fix on our BBB setup and got to the point where it hangs in retrieving the registry values.
Launched directly from the command line - the output looks like this:
root@blackbone-board:~# phyreg test 18 13
Alive bits:0000-0000-0000-0100
First PHY found at address 2.
PHY=02 REG=18 : IDLE READ
And it never finishes...
When the PHY is initialized properly and ETH is working just fine - the phyreg command finishes and exits properly.
Any idea?