Hi all,

I'm using DENX linux-2.6.19.2, trying to send a SIOCGMIIREG to a socket
causes the following message:

Badness in local_bh_enable at kernel/softirq.c:137

The call trace shows the phy_read function that has the following body:

int phy_read(struct phy_device *phydev, u16 regnum)
{
        int retval;
        struct mii_bus *bus = phydev->bus;

        spin_lock_bh(&bus->mdio_lock);
        retval = bus->read(bus, phydev->addr, regnum);
        spin_unlock_bh(&bus->mdio_lock);

        return retval;
}

Bye,
Antonio.
 
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to