• Michael Buesch's avatar
    b44: Truncate PHY address · 5ea79631
    Michael Buesch authored
    Some ROMs on embedded devices store incorrect values for
    the PHY address of the ethernet device.
    It looks like the number is sign-extended.
    Truncate the value by applying the PHY-address mask to it.
    The patch was tested on a bcm47xx embedded system (where the bug
    triggers) and a bcm4400 PCI card.
    Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    5ea79631
b44.c 57.3 KB