Module Name: src Committed By: martin Date: Sun Dec 7 16:39:55 UTC 2014
Modified Files: src/sys/dev/mii [netbsd-6]: brgphy.c brgphyreg.h src/sys/dev/pci [netbsd-6]: if_bge.c if_bgereg.h if_bnx.c if_bnxreg.h if_bnxvar.h Log Message: Pull up the following, requested by msaitoh in #1207: sys/dev/mii/brgphy.c 1.69, 1.71-1.76 via patch sys/dev/mii/brgphyreg.h 1.6-1.7, 1.9 sys/dev/pci/if_bge.c 1.259,1.267-1.276 via patch sys/dev/pci/if_bgereg.h 1.87-1.88 sys/dev/pci/if_bnx.c 1.48, 1.49, 1.52-1.57 via patch sys/dev/pci/if_bnxreg.h 1.15-1.18 sys/dev/pci/if_bnxvar.h 1.4-1.6 Changes for bge(4), bnx(4) and brgphy(4): - Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and BCM5719 into pcidevs. - Change BCM5720's device ID from 0x1658 to 0x165f. 0x1658 is only for the pre-product and not released to public. - Fix detection of BGEPHYF_FIBER_{MII|TBI} - Fix typo in comment. - KNF - brgphy(4): - Add BCM5708S support. - Add 2500SX support. - Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD. - Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD. - Fix media detect on some Fiber chips. - Add BCM5706. - bge(4): - Print yet another hardware config word in SRAM(BGE_SRAM_DATA_CFG_5) for BCM5717 and newer devices. - Fix a trivial bug in #ifdef NOTYET. - Add BGEPHYF_NO_WIRESPEED flag for fiber devices. - Print APE firmware correctly. - Don't use the PHY Auto Poll Mode on many chips. This fixes a bug that MII Fiber NIC drop packets about 50%. Same as {Free,Open}BSD. Tested on HP Moonshot. - Add workaround for PR#48451. Some BCM5717-5720 based systems get NMI on boot. This problem doesn't occur when we don't use prefetchable memory in the APE area. I don't know the reason... Tested with HP MicroServer Gen8. - Fix a bug that bge can't be initialized correctly on some sparc64 systems (PR#49018). - Change initializaton order as the same as the document, Linux tg3 and FreeBSD (part of r241436). - In the BCM5703, the DMA read watermark should be set to less than or equal to the maximum memory read byte count of the PCI-X command register. Same as FreeBSD r204978 and Linux tg3 driver. - bnx(4): - Enclose #ifdef BNX_DEBUG correctly. - Add 2500SX support. - Print some information (ASCI revision, PCI status, etc). From FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.59.8.6 -r1.59.8.7 src/sys/dev/mii/brgphy.c cvs rdiff -u -r1.5.14.1 -r1.5.14.2 src/sys/dev/mii/brgphyreg.h cvs rdiff -u -r1.200.2.3 -r1.200.2.4 src/sys/dev/pci/if_bge.c cvs rdiff -u -r1.56.18.3 -r1.56.18.4 src/sys/dev/pci/if_bgereg.h cvs rdiff -u -r1.45.8.1 -r1.45.8.2 src/sys/dev/pci/if_bnx.c cvs rdiff -u -r1.14 -r1.14.10.1 src/sys/dev/pci/if_bnxreg.h cvs rdiff -u -r1.2.8.1 -r1.2.8.2 src/sys/dev/pci/if_bnxvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.