aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-03-25 13:04:46 -0400
committerJeff Garzik <jeff@garzik.org>2008-03-25 23:42:07 -0400
commit5ea79631c0c47d28831a0635e8af9da539d449cd (patch)
tree3d653580fd3a52c600c0f7b02c45236b76a5ce24 /drivers/net/s2io.c
parent6ef2977d414cc196baba0fb53509c5f8cd9154b4 (diff)
b44: Truncate PHY address
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: Michael Buesch <mb@bu3sch.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.c')
0 files changed, 0 insertions, 0 deletions