Re: kern/42314: ipgphy support

Felix Deichmann <[email protected]> Wed, 19 Aug 2015 08:05:20 +0200
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.ports.sandpoint
Message-ID <CALX=d=fRCCMbkvKuqVvtfoXfJmj0zCcsZnpd_zbPwBb4B5GKVA@mail.gmail.com>
2015-08-18 23:41 GMT+02:00 Frank Wille <[email protected]>:
> Indeed... there seems to be a problem. No media selected?

If a more recent phy driver doesn't fix it, I also found special
handling for IP1000 in FreeBSD's stge_miibus_readreg():

if (reg == STGE_PhyCtrl) {
    /* XXX allow ip1000phy read STGE_PhyCtrl register. */
    STGE_MII_LOCK(sc);
    error = CSR_READ_1(sc, STGE_PhyCtrl);
    STGE_MII_UNLOCK(sc);
    return (error);
}