/* Here's 3 ways to calculate the OUI from the ID registers.  */
static int mii_get_oui(u_char phyaddr, u_long ioaddr)
/* Here's 3 ways to calculate the OUI from the ID registers.  */
static int mii_get_oui(u_char phyaddr, u_long ioaddr)
{
    int r2, r3;
    r2 = mii_rd(MII_ID0, phyaddr, ioaddr);
    r3 = mii_rd(MII_ID1, phyaddr, ioaddr);
    return r2;
}