Module Name: src Committed By: martin Date: Thu Oct 24 16:23:17 UTC 2019
Modified Files: src/share/man/man4 [netbsd-9]: alc.4 src/sys/dev/pci [netbsd-9]: if_alc.c if_alcreg.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #375): sys/dev/pci/if_alc.c: revision 1.40 sys/dev/pci/if_alc.c: revision 1.41 sys/dev/pci/if_alc.c: revision 1.42 sys/dev/pci/if_alc.c: revision 1.39 sys/dev/pci/if_alcreg.h: revision 1.8 share/man/man4/alc.4: revision 1.6 Apply FreeBSD r218141: > alc_rev was used without initialization such that it failed to > apply AR8152 v1.0 specific initialization code. Fix this bug by > explicitly reading PCI device revision id via PCI accessor. > > Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) Move PCIe initialization code from alc_attach() to alc_init_pcie(). No functional change. Some alc(4) fixes: - Apply FreeBSD r218141: > alc_rev was used without initialization such that it failed to > apply AR8152 v1.0 specific initialization code. Fix this bug by > explicitly reading PCI device revision id via PCI accessor. > > Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) - Apply FreeBSD r304574: > Correct DMA channel number selection on AR816x family of > controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x > except L1D controller, use vendor recommended ASPM parameters. > While here, increase alc_dma_burst array size. Broken H/W can > return bogus value in theory. - Use static. - Whitespace fix. Remove extra backslash. Add support for Killer E2400 and E2500. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.18.1 src/share/man/man4/alc.4 cvs rdiff -u -r1.38 -r1.38.2.1 src/sys/dev/pci/if_alc.c cvs rdiff -u -r1.6 -r1.6.22.1 src/sys/dev/pci/if_alcreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.