Module Name: src Committed By: bouyer Date: Sun Nov 17 18:24:05 UTC 2013
Modified Files: src/sys/dev/mii [netbsd-6]: brgphy.c src/sys/dev/pci [netbsd-6]: if_bge.c if_bgereg.h if_bgevar.h Log Message: Apply patch, requested by msaitoh in ticket #983: sys/dev/mii/brgphy.c 1.68 via patch sys/dev/pci/if_bge.c 1.260-1.262 via patch sys/dev/pci/if_bgereg.h 1.85-1.86 via patch sys/dev/pci/if_bgevar.h 1.17 via patch Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices. For PCI-X BCM5704, set maximum outstanding split transactions to 0. Same as Linux tg3 and FreeBSD (part of FreeBSD r204978). Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD (part of r199670). This workaround is for 5714/5715 controllers and is not actually a MAC controller bug but an issue with the embedded PCIe to PCI-X bridge in the device. This change uses bus_dmatag_subregion(), so this workaround won't work on some archs which doesn't support bus_dmatag_subregion(). To generate a diff of this commit: cvs rdiff -u -r1.59.8.2 -r1.59.8.3 src/sys/dev/mii/brgphy.c cvs rdiff -u -r1.200.2.2 -r1.200.2.3 src/sys/dev/pci/if_bge.c cvs rdiff -u -r1.56.18.2 -r1.56.18.3 src/sys/dev/pci/if_bgereg.h cvs rdiff -u -r1.9.2.1 -r1.9.2.2 src/sys/dev/pci/if_bgevar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.