Module Name: src Committed By: jym Date: Mon May 2 09:03:10 UTC 2011
Modified Files: src/sys/dev/mii: brgphy.c src/sys/dev/pci: if_bge.c if_bnx.c if_bnxreg.h Log Message: Fix BCM5709 PHY detection for ethernet PHYs (the SerDes case being already handled): - export bge(4) and bnx(4) CHIP ID and PHY flags to brgphy(4). Move to "unsigned int" rather than "int", and reuse the same softc members for chipid and phyflags (behavior controlled by the sc_isbge/isbnx boolean). - apply bug fix for revisions A and B, so that autonegotiation can complete (from OpenBSD). Bug reported by Rivo Nurges via private mail, patch tested and confirmed working by him (with thanks!) To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/dev/mii/brgphy.c cvs rdiff -u -r1.194 -r1.195 src/sys/dev/pci/if_bge.c cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/if_bnx.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_bnxreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.