commit | 5ea79631c0c47d28831a0635e8af9da539d449cd | [log] [tgz] |
---|---|---|
author | Michael Buesch <mb@bu3sch.de> | Tue Mar 25 18:04:46 2008 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Mar 25 23:42:07 2008 -0400 |
tree | 3d653580fd3a52c600c0f7b02c45236b76a5ce24 | |
parent | 6ef2977d414cc196baba0fb53509c5f8cd9154b4 [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>