| Home | Sort by: relevance | last modified time | path |
| /src/tests/usr.bin/xlint/lint1/ | |
| msg_215.c | 1.11 Sun Aug 29 17:01:27 UTC 2021 rillig lint: in C99 mode, make implicit function declarations an error In tree.c 1.294 from 2021-06-28, I had already tried this, but at that time, there were too many implicit function definitions in the NetBSD tree. Most of them were GCC builtins, which lint did not recognize. Therefore I had to revert to a warning in tree.c 1.302 from 2021-06-30. In the meantime, lint has learnt to recognize compiler builtins, see is_compiler_builtin, so try again now. The build logs from x86_64, i386, sparc and sparc64 show no more implicit function declarations. 1.8 Wed Jun 30 14:32:41 UTC 2021 rillig lint: in C99 mode, only warn about implicit function declarations Since tree.c 1.294 from 2021-06-28 (two days ago), lint errored out on an implicit function declaration. In principle it is correct to do so since C99 requires it, but in practice there are a several functions that are not declared in the translation unit itself since they are provided by the compiler. Typical examples for GCC and Clang are the various functions named '__builtin_*' and '__atomic_*'. For now, only warn about these but don't error out. |
| decl.c | 1.3 Sun Jul 11 00:12:30 UTC 2021 rillig tests/lint: parse error for unused variable (since 2021-07-10) Since cgram.y 1.294 from 2021-07-10. |
| /src/tests/fs/vfs/ | |
| t_rmdirrace.c | 1.8.4.1 Sat Mar 17 17:40:07 UTC 2012 bouyer Pull up following revision(s) (requested by perseant in ticket #116): sys/ufs/lfs/lfs_alloc.c: revision 1.112 tests/fs/vfs/t_rmdirrace.c: revision 1.9 tests/fs/vfs/t_renamerace.c: revision 1.25 sys/ufs/lfs/lfs_vnops.c: revision 1.240 sys/ufs/lfs/lfs_segment.c: revision 1.224 sys/ufs/lfs/lfs_bio.c: revision 1.122 sys/ufs/lfs/lfs_vfsops.c: revision 1.294 sbin/newfs_lfs/make_lfs.c: revision 1.19 sys/ufs/lfs/lfs.h: revision 1.136 Pass t_renamerace and t_rmdirrace tests. Adapt dholland@'s fix to ufs_rename to fix PR kern/43582. Address several other MP locking issues discovered during the course of investigating the same problem. Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes are controlled by the segment lock. Fix PR kern/45982 by deemphasizing the estimate of how much metadata will fill the empty space on disk when the disk is nearly empty (t_renamerace crates a lot of inode blocks on a tiny empty disk). |
| /src/external/mit/expat/ | |
| Makefile | 1.1.2.2 Fri Mar 02 18:27:51 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| Makefile.inc | 1.1.2.2 Fri Mar 02 18:27:51 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/external/mit/expat/bin/ | |
| Makefile | 1.1.2.2 Fri Mar 02 18:27:56 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| Makefile.inc | 1.1.2.2 Fri Mar 02 18:27:56 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/external/mit/expat/bin/xmlwf/ | |
| Makefile | 1.1.2.2 Fri Mar 02 18:27:55 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/external/mit/expat/lib/ | |
| Makefile | 1.1.2.2 Fri Mar 02 18:27:46 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| Makefile.inc | 1.1.2.2 Fri Mar 02 18:27:47 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/external/mit/xorg/bin/xmlwf/ | |
| Makefile | 1.3.6.1 Fri Mar 02 18:27:53 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/external/mit/ | |
| Makefile | 1.1.8.1 Fri Mar 02 18:27:53 UTC 2012 riz Pull up following revision(s) (requested by tron in ticket #72): external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8 distrib/sets/lists/xbase/shl.mi: revision 1.45 distrib/sets/lists/comp/ad.mips64eb: revision 1.72 external/mit/expat/lib/Makefile: revision 1.1 external/mit/xorg/tools/fc-cache/Makefile: revision 1.6 x11/lib/fontconfig/src/Makefile: revision 1.11 distrib/sets/lists/xcomp/mi: revision 1.134 distrib/sets/lists/base/md.amd64: revision 1.159 distrib/sets/lists/base/ad.mips64eb: revision 1.85 external/mit/xorg/lib/dri/dri.mk: revision 1.11 external/mit/expat/lib/Makefile.inc: revision 1.1 external/mit/expat/Makefile.inc: revision 1.1 distrib/sets/lists/base/shl.mi: revision 1.619 distrib/sets/lists/comp/shl.mi: revision 1.212 distrib/sets/lists/man/mi: revision 1.1382 distrib/sets/lists/comp/mi: revision 1.1743 x11/lib/expat/Makefile: file removal lib/Makefile: revision 1.182 external/mit/expat/Makefile: revision 1.1 external/mit/Makefile: revision 1.2 distrib/sets/lists/xcomp/shl.mi: revision 1.31 external/mit/xorg/bin/xmlwf/Makefile: revision 1.4 external/mit/xorg/lib/Makefile: revision 1.25 external/mit/expat/lib/libexpat/Makefile: revision 1.1 distrib/sets/lists/comp/ad.mips64el: revision 1.72 x11/lib/expat/shlib_version: file removal external/mit/xorg/lib/expat/expat_config.h: file removal external/mit/expat/bin/xmlwf/Makefile: revision 1.1 share/mk/bsd.prog.mk: revision 1.274 distrib/sets/lists/base/ad.mips64el: revision 1.84 x11/lib/Makefile: revision 1.11 external/mit/xorg/lib/expat/Makefile: file removal external/mit/xorg/lib/expat/shlib_version: file removal distrib/sets/lists/comp/md.amd64: revision 1.158 distrib/sets/lists/base/mi: revision 1.987 distrib/sets/lists/base/md.sparc64: revision 1.150 share/mk/bsd.README: revision 1.294 external/mit/expat/bin/Makefile.inc: revision 1.1 distrib/sets/lists/xbase/mi: revision 1.113 external/mit/expat/lib/libexpat/shlib_version: revision 1.1 external/mit/expat/lib/libexpat/expat_config.h: revision 1.1 distrib/sets/lists/comp/md.sparc64: revision 1.141 share/mk/bsd.hostprog.mk: revision 1.67 external/mit/expat/bin/Makefile: revision 1.1 Move "libexpat" from X11 into base which fixes PR lib/40346. This change was approved by the Core Group. |
| /src/share/misc/ | |
| inter.phone | 1.31.2.1 Tue Apr 28 18:00:56 UTC 2020 martin Pull up following revision(s) (requested by sevan): share/misc/acronyms.comp: revision 1.295 share/misc/acronyms.comp: revision 1.296 share/misc/acronyms.comp: revision 1.297 share/misc/acronyms.comp: revision 1.298 share/misc/acronyms.comp: revision 1.299 share/misc/acronyms: revision 1.292 share/misc/acronyms: revision 1.293 share/misc/acronyms: revision 1.294 share/misc/acronyms: revision 1.295 share/misc/acronyms: revision 1.296 share/misc/acronyms: revision 1.297 share/misc/acronyms: revision 1.298 share/misc/acronyms: revision 1.299 share/misc/acronyms.comp: revision 1.300 share/misc/acronyms.comp: revision 1.301 share/misc/inter.phone: revision 1.33 Add WP From Rocky Hotas, thanks! CCC, CPA, MDMA, SEO, WLW SEO - already in comp move some more to comp Typo - heads up by Thorsten Glaser LAG, MLAG, the G is for group, adjust MCLAG Add RIF (reduction in force). SSTP Add TLDW From Rocky Hotas, thanks! Add HPD From Rocky Hotas, thanks! New Greek National Numbering Plan, according to the EETT decision published in the Greek Government Gazette 127 B/8.2.2001 Add RFI, RFP EPT extended page tables SCSI OSD PCBC |
| acronyms | 1.294 Mon Jan 27 10:35:20 UTC 2020 nia SEO - already in comp 1.287.2.2 Tue Apr 28 18:00:56 UTC 2020 martin Pull up following revision(s) (requested by sevan): share/misc/acronyms.comp: revision 1.295 share/misc/acronyms.comp: revision 1.296 share/misc/acronyms.comp: revision 1.297 share/misc/acronyms.comp: revision 1.298 share/misc/acronyms.comp: revision 1.299 share/misc/acronyms: revision 1.292 share/misc/acronyms: revision 1.293 share/misc/acronyms: revision 1.294 share/misc/acronyms: revision 1.295 share/misc/acronyms: revision 1.296 share/misc/acronyms: revision 1.297 share/misc/acronyms: revision 1.298 share/misc/acronyms: revision 1.299 share/misc/acronyms.comp: revision 1.300 share/misc/acronyms.comp: revision 1.301 share/misc/inter.phone: revision 1.33 Add WP From Rocky Hotas, thanks! CCC, CPA, MDMA, SEO, WLW SEO - already in comp move some more to comp Typo - heads up by Thorsten Glaser LAG, MLAG, the G is for group, adjust MCLAG Add RIF (reduction in force). SSTP Add TLDW From Rocky Hotas, thanks! Add HPD From Rocky Hotas, thanks! New Greek National Numbering Plan, according to the EETT decision published in the Greek Government Gazette 127 B/8.2.2001 Add RFI, RFP EPT extended page tables SCSI OSD PCBC 1.287.2.1 Tue Dec 24 17:42:18 UTC 2019 martin Pull up following revision(s) (requested by sevan in ticket #579): share/misc/acronyms: revision 1.290 share/misc/acronyms: revision 1.291 share/misc/acronyms.comp: revision 1.284 share/misc/acronyms.comp: revision 1.285 share/misc/acronyms.comp: revision 1.286 share/misc/acronyms.comp: revision 1.287 share/misc/acronyms.comp: revision 1.288 share/misc/acronyms.comp: revision 1.289 share/misc/acronyms: revision 1.288 share/misc/acronyms: revision 1.289 share/misc/acronyms.comp: revision 1.290 share/misc/acronyms.comp: revision 1.291 share/misc/acronyms.comp: revision 1.292 share/misc/acronyms.comp: revision 1.293 share/misc/acronyms.comp: revision 1.294 RDP RFB VNC ATF NURBS SICP GECOS http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf PPT INODE STM GFCI, RCD CSU UTS SDR DAAP DLNA AWDL, BLE, another NAN CIA ISMS Add UPC - universal product code AVB |
| acronyms.comp | 1.294 Sun Oct 20 21:53:42 UTC 2019 sevan CIA ISMS 1.283.2.2 Tue Apr 28 18:00:56 UTC 2020 martin Pull up following revision(s) (requested by sevan): share/misc/acronyms.comp: revision 1.295 share/misc/acronyms.comp: revision 1.296 share/misc/acronyms.comp: revision 1.297 share/misc/acronyms.comp: revision 1.298 share/misc/acronyms.comp: revision 1.299 share/misc/acronyms: revision 1.292 share/misc/acronyms: revision 1.293 share/misc/acronyms: revision 1.294 share/misc/acronyms: revision 1.295 share/misc/acronyms: revision 1.296 share/misc/acronyms: revision 1.297 share/misc/acronyms: revision 1.298 share/misc/acronyms: revision 1.299 share/misc/acronyms.comp: revision 1.300 share/misc/acronyms.comp: revision 1.301 share/misc/inter.phone: revision 1.33 Add WP From Rocky Hotas, thanks! CCC, CPA, MDMA, SEO, WLW SEO - already in comp move some more to comp Typo - heads up by Thorsten Glaser LAG, MLAG, the G is for group, adjust MCLAG Add RIF (reduction in force). SSTP Add TLDW From Rocky Hotas, thanks! Add HPD From Rocky Hotas, thanks! New Greek National Numbering Plan, according to the EETT decision published in the Greek Government Gazette 127 B/8.2.2001 Add RFI, RFP EPT extended page tables SCSI OSD PCBC 1.283.2.1 Tue Dec 24 17:42:18 UTC 2019 martin Pull up following revision(s) (requested by sevan in ticket #579): share/misc/acronyms: revision 1.290 share/misc/acronyms: revision 1.291 share/misc/acronyms.comp: revision 1.284 share/misc/acronyms.comp: revision 1.285 share/misc/acronyms.comp: revision 1.286 share/misc/acronyms.comp: revision 1.287 share/misc/acronyms.comp: revision 1.288 share/misc/acronyms.comp: revision 1.289 share/misc/acronyms: revision 1.288 share/misc/acronyms: revision 1.289 share/misc/acronyms.comp: revision 1.290 share/misc/acronyms.comp: revision 1.291 share/misc/acronyms.comp: revision 1.292 share/misc/acronyms.comp: revision 1.293 share/misc/acronyms.comp: revision 1.294 RDP RFB VNC ATF NURBS SICP GECOS http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf PPT INODE STM GFCI, RCD CSU UTS SDR DAAP DLNA AWDL, BLE, another NAN CIA ISMS Add UPC - universal product code AVB |
| /src/share/man/man4/ | |
| bge.4 | 1.12.10.1 Sat Sep 07 16:39:32 UTC 2013 bouyer sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch sys/dev/pci/if_bgevar.h 1.10-1.16 via patch sys/dev/pci/pcidevs 1.1149 via patch sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch sys/dev/mii/miivar.h 1.61 via patch sys/dev/mii/miidevs 1.112-1.113 via patch sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen share/man/man4/bge.4 1.13-1.15 via patch Add some device support, fix a lot of bugs and add some enahcements. - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F, BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780. - Add some bugfixes and enhancement from FreeBSD: - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292) - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. From Linux tg3 driver. - Sync with *BSD. No functional change: - make bge_chipid() and use it. - use switch() instead of a lot of if()s. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. FreeBSD has the same delay(). - Rename PHY related flags for the consistency. It's the same as FreeBSD. - Remove BGE_10_100_ONLY flag because this was not used. For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to not to check Gigabit flags. It's the same as FreeBSD. - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325: - Sync the ring setup code closer to FreeBSD's driver - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support - Wait for the bootcode to complete initialization for 5717 and newer devices. See BCM5718 programmer's guide's "step 13, Device reset Procedure, Section7". 57781's document has the same note. - 5718 and 57785 document say we should wait 100us. - Change the order of register settings a little to match both Broadcom's document and Linux tg3. - Add detach function. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge. - Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd (OpenBSD rev. 1.327). - Fix the setting of Tx Random Backoff Register. - Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE register correctly. - Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf. - Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area. Same as other *BSDs. - Check the hardware config words and print them. This change only read them and print the values. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT. Same as OpenBSD's if_bge.c rev. 1.86. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Call bge_poll_fw() before writing BGE_MODE_CTL register like the latest linux tg3 dirver. - Set DMA watermark depend on the PCI max payload size. - Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714, 5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are added to support jumbo frame. - Fix the setting of sc->bge_flags for 5717 and newer devices. - Fix a link detect bug on non-autopoll systems. Same as OpenBSD (rev.1.329 and 1.336) and FreeBSD (r213710). - 57765 series is not based on 5717 series. 5717 series is based on 57765 series. - Set the TX DMA segment size based on the MTU size. - Change the TX ring size for 5717 series and 57764 series. - For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame. Same as Linux tg3. - For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1. This value is recommended by the document. - Change sysctl related functions for consistency. - Style change. - Use macro. Remove duplicated macro. Remove unused variable. - Fix comments. Add comments. - Remove extra semicolon. Remove unused code. [msaitoh, ticket #939] |
| /src/sys/dev/pci/ | |
| if_bnxvar.h | 1.6.8.2 Mon Nov 09 00:35:32 UTC 2015 sborrill Pull up the following revisions(s) (requested by msaitoh in ticket #1983): sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151 sys/dev/pci/pcidevs.h: regen sys/dev/pci/pcidevs_data.h: regen sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52 sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14 sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3 sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch sys/dev/mii/brgphyreg.h: revisions 1.5-1.8 sys/dev/mii/miivar.h: revisions 1.61 sys/dev/pci/pcireg.h: patch Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74. Fix some bugs on bnx(4). Common: - Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and BCM57766 (pcidevs only). - Fix BCM5709 PHY detection. - Fix detection of BGEPHYF_FIBER_{MII|TBI} - Add BCM5708S support in brgphy(4). - Don't use the WIRESPEED function for fiber devices. bge(4): - Add some Fujitsu's device support from Michael Moll. - Add BCM57762 support (PR#46961 from Ryo Onodera). - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - Fix DMA setting for read/write on conventional PCI bus devices. This bug was added in rev. 1.166. - Fix printing "discarding oversize frame (len=-4)" message and crash by NULL pointer dereferencing. - The BCM5785 is a PCIe chip but does not report PCIe capabilities. Check for this chip explicitely and enable PCIe. Fixes 'firmware handshake timeout'. - Allow disabling interrupt mitigation. - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292). - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support. - Wait for the bootcode to complete initialization for 5717 and newer devices. - 5718 and 57785 document say we should wait 100us in init. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix the setting of Tx Random Backoff Register. - Check the hardware config words and print them. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). Fixes PR#47716. - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Set DMA watermark depend on the PCI max payload size. - Set BGE_JUMBO_CAPABLE correctly. - Fix a link detect bug on non-autopoll systems. - Change the TX ring size for 5717 series and 57764 series. - Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices. - For PCI-X BCM5704, set maximum outstanding split transactions to 0. - Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD. 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(). - Add 2500SX support (not tested). - Don't use the PHY Auto Poll Mode on many chips. This fixes a bug that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot. - Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI on boot. This problem doesn't occur when we don't use prefetchable memory in the APE area. Tested with HP MicroServer Gen8. - 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. - Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some PCIe devices. - Use another firmware command in bge_asf_driver_up(). Same as Linux. This change fixes a bug that watchdog timeout occurs every 25-30 minutes on HP ML110 G6 reported enami@ in PR#49657. - Fix mbuf leak on failure. - Remove PCI_PRODUCT_BROADCOM_BCM5724 and PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to public. - Add some workaround code for BGE_ASICREV_BCM5784 from Linux. - Change some printf() to aprint_*(). - Fix typo in comments. - Cleanup. brgphy(4): - Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD. - Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785, BCM57765(PR#46961), BCM57780 - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD. bnx(4): - Add missing ifmedia_delete_instance() in bnx_detach(). - Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips. Reported by From Henning Petersen in PR#44151. - Fix SERDES initialization. - Get out of the interrupt handler early if !IFF_RUNNING. |
| if_bgevar.h | 1.1.8.4 Mon Nov 09 00:33:01 UTC 2015 sborrill Pull up the following revisions(s) (requested by msaitoh in ticket #1983): sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151 sys/dev/pci/pcidevs.h: regen sys/dev/pci/pcidevs_data.h: regen sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52 sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14 sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3 sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch sys/dev/mii/brgphyreg.h: revisions 1.5-1.8 sys/dev/mii/miivar.h: revisions 1.61 sys/dev/pci/pcireg.h: patch Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74. Fix some bugs on bnx(4). Common: - Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and BCM57766 (pcidevs only). - Fix BCM5709 PHY detection. - Fix detection of BGEPHYF_FIBER_{MII|TBI} - Add BCM5708S support in brgphy(4). - Don't use the WIRESPEED function for fiber devices. bge(4): - Add some Fujitsu's device support from Michael Moll. - Add BCM57762 support (PR#46961 from Ryo Onodera). - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - Fix DMA setting for read/write on conventional PCI bus devices. This bug was added in rev. 1.166. - Fix printing "discarding oversize frame (len=-4)" message and crash by NULL pointer dereferencing. - The BCM5785 is a PCIe chip but does not report PCIe capabilities. Check for this chip explicitely and enable PCIe. Fixes 'firmware handshake timeout'. - Allow disabling interrupt mitigation. - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292). - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support. - Wait for the bootcode to complete initialization for 5717 and newer devices. - 5718 and 57785 document say we should wait 100us in init. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix the setting of Tx Random Backoff Register. - Check the hardware config words and print them. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). Fixes PR#47716. - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Set DMA watermark depend on the PCI max payload size. - Set BGE_JUMBO_CAPABLE correctly. - Fix a link detect bug on non-autopoll systems. - Change the TX ring size for 5717 series and 57764 series. - Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices. - For PCI-X BCM5704, set maximum outstanding split transactions to 0. - Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD. 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(). - Add 2500SX support (not tested). - Don't use the PHY Auto Poll Mode on many chips. This fixes a bug that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot. - Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI on boot. This problem doesn't occur when we don't use prefetchable memory in the APE area. Tested with HP MicroServer Gen8. - 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. - Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some PCIe devices. - Use another firmware command in bge_asf_driver_up(). Same as Linux. This change fixes a bug that watchdog timeout occurs every 25-30 minutes on HP ML110 G6 reported enami@ in PR#49657. - Fix mbuf leak on failure. - Remove PCI_PRODUCT_BROADCOM_BCM5724 and PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to public. - Add some workaround code for BGE_ASICREV_BCM5784 from Linux. - Change some printf() to aprint_*(). - Fix typo in comments. - Cleanup. brgphy(4): - Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD. - Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785, BCM57765(PR#46961), BCM57780 - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD. bnx(4): - Add missing ifmedia_delete_instance() in bnx_detach(). - Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips. Reported by From Henning Petersen in PR#44151. - Fix SERDES initialization. - Get out of the interrupt handler early if !IFF_RUNNING. 1.9.2.1 Sat Sep 07 16:39:32 UTC 2013 bouyer sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch sys/dev/pci/if_bgevar.h 1.10-1.16 via patch sys/dev/pci/pcidevs 1.1149 via patch sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch sys/dev/mii/miivar.h 1.61 via patch sys/dev/mii/miidevs 1.112-1.113 via patch sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen share/man/man4/bge.4 1.13-1.15 via patch Add some device support, fix a lot of bugs and add some enahcements. - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F, BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780. - Add some bugfixes and enhancement from FreeBSD: - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292) - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. From Linux tg3 driver. - Sync with *BSD. No functional change: - make bge_chipid() and use it. - use switch() instead of a lot of if()s. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. FreeBSD has the same delay(). - Rename PHY related flags for the consistency. It's the same as FreeBSD. - Remove BGE_10_100_ONLY flag because this was not used. For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to not to check Gigabit flags. It's the same as FreeBSD. - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325: - Sync the ring setup code closer to FreeBSD's driver - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support - Wait for the bootcode to complete initialization for 5717 and newer devices. See BCM5718 programmer's guide's "step 13, Device reset Procedure, Section7". 57781's document has the same note. - 5718 and 57785 document say we should wait 100us. - Change the order of register settings a little to match both Broadcom's document and Linux tg3. - Add detach function. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge. - Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd (OpenBSD rev. 1.327). - Fix the setting of Tx Random Backoff Register. - Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE register correctly. - Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf. - Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area. Same as other *BSDs. - Check the hardware config words and print them. This change only read them and print the values. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT. Same as OpenBSD's if_bge.c rev. 1.86. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Call bge_poll_fw() before writing BGE_MODE_CTL register like the latest linux tg3 dirver. - Set DMA watermark depend on the PCI max payload size. - Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714, 5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are added to support jumbo frame. - Fix the setting of sc->bge_flags for 5717 and newer devices. - Fix a link detect bug on non-autopoll systems. Same as OpenBSD (rev.1.329 and 1.336) and FreeBSD (r213710). - 57765 series is not based on 5717 series. 5717 series is based on 57765 series. - Set the TX DMA segment size based on the MTU size. - Change the TX ring size for 5717 series and 57764 series. - For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame. Same as Linux tg3. - For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1. This value is recommended by the document. - Change sysctl related functions for consistency. - Style change. - Use macro. Remove duplicated macro. Remove unused variable. - Fix comments. Add comments. - Remove extra semicolon. Remove unused code. [msaitoh, ticket #939] |
| if_bgereg.h | 1.60 Tue Feb 26 11:06:23 UTC 2013 msaitoh Add some bugfixes and enhancement from FreeBSD: - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292) - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) 1.48.4.3 Mon Nov 09 00:33:01 UTC 2015 sborrill Pull up the following revisions(s) (requested by msaitoh in ticket #1983): sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151 sys/dev/pci/pcidevs.h: regen sys/dev/pci/pcidevs_data.h: regen sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52 sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14 sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3 sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch sys/dev/mii/brgphyreg.h: revisions 1.5-1.8 sys/dev/mii/miivar.h: revisions 1.61 sys/dev/pci/pcireg.h: patch Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74. Fix some bugs on bnx(4). Common: - Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and BCM57766 (pcidevs only). - Fix BCM5709 PHY detection. - Fix detection of BGEPHYF_FIBER_{MII|TBI} - Add BCM5708S support in brgphy(4). - Don't use the WIRESPEED function for fiber devices. bge(4): - Add some Fujitsu's device support from Michael Moll. - Add BCM57762 support (PR#46961 from Ryo Onodera). - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - Fix DMA setting for read/write on conventional PCI bus devices. This bug was added in rev. 1.166. - Fix printing "discarding oversize frame (len=-4)" message and crash by NULL pointer dereferencing. - The BCM5785 is a PCIe chip but does not report PCIe capabilities. Check for this chip explicitely and enable PCIe. Fixes 'firmware handshake timeout'. - Allow disabling interrupt mitigation. - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292). - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support. - Wait for the bootcode to complete initialization for 5717 and newer devices. - 5718 and 57785 document say we should wait 100us in init. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix the setting of Tx Random Backoff Register. - Check the hardware config words and print them. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). Fixes PR#47716. - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Set DMA watermark depend on the PCI max payload size. - Set BGE_JUMBO_CAPABLE correctly. - Fix a link detect bug on non-autopoll systems. - Change the TX ring size for 5717 series and 57764 series. - Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices. - For PCI-X BCM5704, set maximum outstanding split transactions to 0. - Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD. 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(). - Add 2500SX support (not tested). - Don't use the PHY Auto Poll Mode on many chips. This fixes a bug that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot. - Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI on boot. This problem doesn't occur when we don't use prefetchable memory in the APE area. Tested with HP MicroServer Gen8. - 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. - Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some PCIe devices. - Use another firmware command in bge_asf_driver_up(). Same as Linux. This change fixes a bug that watchdog timeout occurs every 25-30 minutes on HP ML110 G6 reported enami@ in PR#49657. - Fix mbuf leak on failure. - Remove PCI_PRODUCT_BROADCOM_BCM5724 and PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to public. - Add some workaround code for BGE_ASICREV_BCM5784 from Linux. - Change some printf() to aprint_*(). - Fix typo in comments. - Cleanup. brgphy(4): - Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD. - Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785, BCM57765(PR#46961), BCM57780 - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD. bnx(4): - Add missing ifmedia_delete_instance() in bnx_detach(). - Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips. Reported by From Henning Petersen in PR#44151. - Fix SERDES initialization. - Get out of the interrupt handler early if !IFF_RUNNING. 1.56.18.2 Sat Sep 07 16:39:32 UTC 2013 bouyer sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch sys/dev/pci/if_bgevar.h 1.10-1.16 via patch sys/dev/pci/pcidevs 1.1149 via patch sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch sys/dev/mii/miivar.h 1.61 via patch sys/dev/mii/miidevs 1.112-1.113 via patch sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen share/man/man4/bge.4 1.13-1.15 via patch Add some device support, fix a lot of bugs and add some enahcements. - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F, BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780. - Add some bugfixes and enhancement from FreeBSD: - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292) - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. From Linux tg3 driver. - Sync with *BSD. No functional change: - make bge_chipid() and use it. - use switch() instead of a lot of if()s. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. FreeBSD has the same delay(). - Rename PHY related flags for the consistency. It's the same as FreeBSD. - Remove BGE_10_100_ONLY flag because this was not used. For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to not to check Gigabit flags. It's the same as FreeBSD. - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325: - Sync the ring setup code closer to FreeBSD's driver - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support - Wait for the bootcode to complete initialization for 5717 and newer devices. See BCM5718 programmer's guide's "step 13, Device reset Procedure, Section7". 57781's document has the same note. - 5718 and 57785 document say we should wait 100us. - Change the order of register settings a little to match both Broadcom's document and Linux tg3. - Add detach function. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge. - Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd (OpenBSD rev. 1.327). - Fix the setting of Tx Random Backoff Register. - Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE register correctly. - Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf. - Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area. Same as other *BSDs. - Check the hardware config words and print them. This change only read them and print the values. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT. Same as OpenBSD's if_bge.c rev. 1.86. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Call bge_poll_fw() before writing BGE_MODE_CTL register like the latest linux tg3 dirver. - Set DMA watermark depend on the PCI max payload size. - Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714, 5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are added to support jumbo frame. - Fix the setting of sc->bge_flags for 5717 and newer devices. - Fix a link detect bug on non-autopoll systems. Same as OpenBSD (rev.1.329 and 1.336) and FreeBSD (r213710). - 57765 series is not based on 5717 series. 5717 series is based on 57765 series. - Set the TX DMA segment size based on the MTU size. - Change the TX ring size for 5717 series and 57764 series. - For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame. Same as Linux tg3. - For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1. This value is recommended by the document. - Change sysctl related functions for consistency. - Style change. - Use macro. Remove duplicated macro. Remove unused variable. - Fix comments. Add comments. - Remove extra semicolon. Remove unused code. [msaitoh, ticket #939] |
| /src/sys/dev/scsipi/ | |
| sd.c | 1.294 Sat Jul 30 00:08:37 UTC 2011 jmcneill branches: 1.294.2; Add an FSILENT flag and use it to suppress "Medium Not Present" scsipi spam when trying to access offline drives at boot. Sat Jul 30 00:08:37 UTC 2011 jmcneill branches: 1.294.2; Add an FSILENT flag and use it to suppress "Medium Not Present" scsipi spam when trying to access offline drives at boot. 1.294.2.3 Thu May 22 11:40:35 UTC 2014 yamt sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") 1.294.2.2 Wed May 23 10:08:05 UTC 2012 yamt sync with head. 1.294.2.1 Tue Apr 17 00:08:02 UTC 2012 yamt sync with head |
| /src/sys/arch/mips/adm5120/dev/ | |
| ahci.c | 1.14.2.1 Tue Feb 25 18:52:44 UTC 2020 martin Pull up following revision(s) (requested by skrll in ticket #1507): sys/dev/usb/ohci.c: revision 1.296 sys/dev/usb/uhci.c: revision 1.294 sys/external/bsd/dwc2/dwc2.c: revision 1.72 sys/arch/mips/adm5120/dev/ahci.c: revision 1.21 sys/dev/usb/ehci.c: revision 1.274 Fix a memory leak. Spotted by nat@ 1.17.4.2 Sun Mar 01 00:35:16 UTC 2020 martin Pull up following revision(s) (requested by riastradh in ticket #744): sys/dev/usb/uhci.c: revision 1.292 sys/dev/usb/uhci.c: revision 1.293 sys/dev/usb/usbdi.h: revision 1.99 sys/dev/usb/motg.c: revision 1.26 sys/dev/usb/motg.c: revision 1.27 sys/dev/usb/motg.c: revision 1.28 sys/dev/usb/motg.c: revision 1.29 sys/external/bsd/dwc2/dwc2.c: revision 1.70 sys/external/bsd/dwc2/dwc2.c: revision 1.71 sys/dev/usb/usb.c: revision 1.181 sys/arch/mips/adm5120/dev/ahci.c: revision 1.20 sys/dev/usb/usb.c: revision 1.182 sys/dev/usb/xhci.c: revision 1.116 sys/dev/usb/xhci.c: revision 1.117 sys/dev/usb/xhci.c: revision 1.118 sys/dev/usb/uhci.c: revision 1.289 sys/dev/usb/usbdivar.h: revision 1.121 sys/dev/usb/usbdi.c: revision 1.190 sys/dev/usb/usbdivar.h: revision 1.122 sys/dev/usb/usbdi.c: revision 1.191 sys/dev/usb/usbdi.c: revision 1.192 sys/external/bsd/dwc2/dwc2var.h: revision 1.7 sys/dev/usb/motg.c: revision 1.30 sys/dev/usb/motg.c: revision 1.31 sys/dev/usb/motg.c: revision 1.32 sys/dev/usb/motg.c: revision 1.33 sys/external/bsd/dwc2/dwc2.c: revision 1.67 sys/external/bsd/dwc2/dwc2.c: revision 1.68 sys/dev/usb/ehci.c: revision 1.270 sys/external/bsd/dwc2/dwc2.c: revision 1.69 sys/dev/usb/usbdi.h: revision 1.100 sys/dev/usb/ehci.c: revision 1.271 sys/arch/mips/adm5120/dev/ahci.c: revision 1.18 sys/dev/usb/usbdi.h: revision 1.101 sys/dev/usb/ehci.c: revision 1.272 sys/dev/ic/sl811hs.c: revision 1.103 sys/arch/mips/adm5120/dev/ahci.c: revision 1.19 sys/dev/usb/ehci.c: revision 1.273 sys/dev/usb/ohci.c: revision 1.293 sys/dev/usb/uhci.c: revision 1.290 sys/dev/usb/ohci.c: revision 1.294 sys/dev/usb/uhci.c: revision 1.291 sys/dev/usb/ohci.c: revision 1.295 Teach usb_rem_task to return whether removed from queue or not. New function usb_task_pending for diagnostic assertions. Usable only for negative diagnostic assertions: KASSERT(!usb_task_pending(dev, task)) If you can think of a better name for this than !usb_task_pending, I'm all ears. - Nothing guarantees xfer's timeout has completed. Wait for it when we free the xfer. - New xfer state variables ux_timeout_set and ux_timeout_reset. These are needed because: - The host controller interrupt cannot wait for the callout or task to finish running. - Nothing in the USBD API as is waits for the callout or task to finish running. - Callers expect to be able to resubmit USB xfers from xfer callbacks without waiting for anything to finish running. The variable ux_timeout_set can be used by a host controller to decide on submission whether to schedule the callout or to ask an already-scheduled callout or already-queued task to reschedule the callout, by setting the variable ux_timeout_reset to true. When the callout or task runs and sees that ux_timeout_reset is true, rather than queue the task or abort the xfer, it can instead just schedule the callout anew. - Fix steady state of timeouts in ehci. This is complicated because: 1. There are three ways that an xfer can be completed: (a) hardware interrupt completes xfer (b) software decision aborts xfer with USBD_CANCELLED (c) timeout aborts xfer with USBD_TIMEOUT 2. The timeout abort can't be done in callout because ehci_sync_hc, called unconditionally by ehci_abort_xfer to wait until the device has finished using any references to the xfer, may sleep. So we have to schedule a callout that, when run, will schedule a usb_task. 3. The hardware completion interrupt can't sleep waiting for a callout or task to finish -- can't use callout_halt or usb_rem_task_wait. So the callout and usb_task must be able to run _after_ the hardware completion interrupt, and recognize that they're late to the party. (Note, though, that usbd_free_xfer does wait for the callout and task to complete, so there's no danger they may use themselves after free.) 4. The xfer may resubmitted -- and the timeout may be rescheduled -- immediately after the hardware completion interrupt, _while_ the callout and/or usb_task may still be scheduled. Specifically, we may have the following sequence of events: (a) hardware completion interrupt (b) callout or usb_task fires (c) driver resubmits xfer (d) callout or usb_task acquires lock and looks around dazed and bewildered at the firehose of events like reading the news in 2019 The mechanism for sorting this out is that we have two bits of state: - xfer->ux_timeout_set informs the driver, when submitting an xfer and setting up its timeout, whether either the callout or usb_task is already scheduled or not. - xfer->ux_timeout_reset informs the callout or usb_task whether it should reschedule the callout, because the xfer got resubmitted, or not. - Factor out HCI-independent xfer completion logic. New API for HCI drivers to synchronize hardware completion interrupts, synchronous aborts, and asynchronous timeouts: - When submitting an xfer to hardware, call usbd_xfer_schedule_timeout(xfer). - On HCI completion interrupt for xfer completion: if (!usbd_xfer_trycomplete(xfer)) return; /* timed out or aborted, ignore it */ - In upm_abort methods, call usbd_xfer_abort(xfer). For HCI drivers that use this API (not needed in drivers that don't, or for xfers like root intr xfers that don't use it): - New ubm_abortx method serves role of former *hci_abort_xfer, but without any logic for wrangling timeouts/callouts/tasks -- caller in usbd_xfer_abort has already handled them. - New ubm_dying method, returns true if the device is in the process of detaching, used by the timeout logic. Converted and tested: - ehci - ohci Converted and compile-tested: - ahci (XXX did this ever work?) - dwc2 - motg (XXX missing usbd_xfer_schedule_timeout in motg_*_start?) - uhci - xhci Not changed: - slhci (sys/dev/ic/sl811hs.c) -- doesn't use a separate per-xfer callout for timeouts (XXX but maybe should?) - ugenhc (sys/rump/dev/lib/libugenhc/ugenhc.c) -- doesn't manage its own transfer timeouts - Fix steady state of root intr xfers. Why? - Avoid completing a root intr xfer multiple times in races. - Avoid potential use-after-free in poll_hub callouts (uhci, ahci). How? - Use sc->sc_intr_xfer or equivalent to store only a pending xfer that has not yet completed -- whether successfully, by timeout, or by synchronous abort. When any of those happens, set it to null under the lock, so the xfer is completed only once. - For hci drivers that use a callout to poll the root hub (uhci, ahci): . Pass the softc pointer, not the xfer, to the callout, so the callout is not even tempted to use xfer after free -- if the callout fires, but the xfer is synchronously aborted before the callout can do anything, the xfer might be freed by the time the callout starts to examine it. . Teach the callout to do nothing if it is callout_pending after it has fired. This way: 1. completion or synchronous abort can just callout_stop 2. start can just callout_schedule If the callout had already fired before (1), and doesn't acquire the bus lock until after (2), it may be tempted to abort the new root intr xfer just after submission, which would be wrong -- so instead we just have the callout do nothing if it notices it has been rescheduled, since it will fire again after the appropriate time has elapsed. - Initialize xfer->ux_status in uhci_root_intr_start. Otherwise, it will be USBD_NOT_STARTED, so usbd_ar_pipe will skip calling upm_abort. Candidate fix for PR kern/54963, same problem as reported at: href="https://mail-index.NetBSD.org/current-users/2020/02/13/msg037740.html - Set ux_isdone in uhci_poll_hub for DIAGNOSTIC. - Fix mistakes in previous sloppy change with root intr xfers. - Make sure ux_status is set to USBD_IN_PROGRESS when started. Otherwise, if it is still in flight when we abort the pipe, usbd_ar_pipe will skip calling upm_abort. - Initialize ux_status under the lock; in principle a completion interrupt (or a delay) could race with the initialization. - KASSERT that the xfer is in progress when we're about to complete it. Candidate fix for PR kern/54963 for other HCI drivers than uhci. ok nick ok phone (This is the change that nick evidently MEANT to ok when he ok'd the previous one!) - Fix build - Fix non-DIAGNOSTIC builds. - Fix wrong KASSERT in motg abort. This has been wrong since last summer when we did the transition to xfer->ux_status = USBD_CANCELLED earlier. XXX pullup-9 - Fix mistakes in timeout/abort/completion changes in motg(4). - Call usbd_xfer_schedule_timeout so we actually do time out. - Don't call usbd_xfer_trycomplete until all the data have been transferred -- it commits to completion, not timeout. - Use xfer->ux_status != USBD_IN_PROGRESS to test whether, after a partial write, an xfer has been interrupted or timed out and need not be continued. - Remove wrong assertion. - Fix mistake in use of usbd_xfer_schedule_timeout in motg. This code path is used both for xfers that are new, and xfers that are being done piece by piece and are partway done. For the latter case, skip usbd_xfer_schedule_timeout so we schedule it only once per xfer. - Simplify some branches and kassert some redundant assignments. 1.17.4.1 Tue Feb 25 18:50:29 UTC 2020 martin Pull up following revision(s) (requested by skrll in ticket #718): sys/dev/usb/ohci.c: revision 1.296 sys/dev/usb/uhci.c: revision 1.294 sys/external/bsd/dwc2/dwc2.c: revision 1.72 sys/arch/mips/adm5120/dev/ahci.c: revision 1.21 sys/dev/usb/ehci.c: revision 1.274 Fix a memory leak. Spotted by nat@ |
| /src/sys/sys/ | |
| syscallargs.h | 1.294 Sat Apr 04 20:27:27 UTC 2020 thorpej branches: 1.294.2; Regen for _lwp_gettid(2). Sat Apr 04 20:27:27 UTC 2020 thorpej branches: 1.294.2; Regen for _lwp_gettid(2). 1.294.2.1 Sat Apr 25 11:24:07 UTC 2020 bouyer Sync with bouyer-xenpvh-base2 (HEAD) |
| /src/sys/dev/mii/ | |
| miivar.h | 1.52.10.3 Mon Nov 09 00:33:01 UTC 2015 sborrill Pull up the following revisions(s) (requested by msaitoh in ticket #1983): sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151 sys/dev/pci/pcidevs.h: regen sys/dev/pci/pcidevs_data.h: regen sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52 sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14 sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3 sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch sys/dev/mii/brgphyreg.h: revisions 1.5-1.8 sys/dev/mii/miivar.h: revisions 1.61 sys/dev/pci/pcireg.h: patch Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74. Fix some bugs on bnx(4). Common: - Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and BCM57766 (pcidevs only). - Fix BCM5709 PHY detection. - Fix detection of BGEPHYF_FIBER_{MII|TBI} - Add BCM5708S support in brgphy(4). - Don't use the WIRESPEED function for fiber devices. bge(4): - Add some Fujitsu's device support from Michael Moll. - Add BCM57762 support (PR#46961 from Ryo Onodera). - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - Fix DMA setting for read/write on conventional PCI bus devices. This bug was added in rev. 1.166. - Fix printing "discarding oversize frame (len=-4)" message and crash by NULL pointer dereferencing. - The BCM5785 is a PCIe chip but does not report PCIe capabilities. Check for this chip explicitely and enable PCIe. Fixes 'firmware handshake timeout'. - Allow disabling interrupt mitigation. - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292). - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support. - Wait for the bootcode to complete initialization for 5717 and newer devices. - 5718 and 57785 document say we should wait 100us in init. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix the setting of Tx Random Backoff Register. - Check the hardware config words and print them. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). Fixes PR#47716. - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Set DMA watermark depend on the PCI max payload size. - Set BGE_JUMBO_CAPABLE correctly. - Fix a link detect bug on non-autopoll systems. - Change the TX ring size for 5717 series and 57764 series. - Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices. - For PCI-X BCM5704, set maximum outstanding split transactions to 0. - Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD. 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(). - Add 2500SX support (not tested). - Don't use the PHY Auto Poll Mode on many chips. This fixes a bug that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot. - Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI on boot. This problem doesn't occur when we don't use prefetchable memory in the APE area. Tested with HP MicroServer Gen8. - 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. - Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some PCIe devices. - Use another firmware command in bge_asf_driver_up(). Same as Linux. This change fixes a bug that watchdog timeout occurs every 25-30 minutes on HP ML110 G6 reported enami@ in PR#49657. - Fix mbuf leak on failure. - Remove PCI_PRODUCT_BROADCOM_BCM5724 and PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to public. - Add some workaround code for BGE_ASICREV_BCM5784 from Linux. - Change some printf() to aprint_*(). - Fix typo in comments. - Cleanup. brgphy(4): - Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD. - Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785, BCM57765(PR#46961), BCM57780 - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD. bnx(4): - Add missing ifmedia_delete_instance() in bnx_detach(). - Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips. Reported by From Henning Petersen in PR#44151. - Fix SERDES initialization. - Get out of the interrupt handler early if !IFF_RUNNING. 1.59.14.1 Sat Sep 07 16:39:32 UTC 2013 bouyer sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch sys/dev/pci/if_bgevar.h 1.10-1.16 via patch sys/dev/pci/pcidevs 1.1149 via patch sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch sys/dev/mii/miivar.h 1.61 via patch sys/dev/mii/miidevs 1.112-1.113 via patch sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen share/man/man4/bge.4 1.13-1.15 via patch Add some device support, fix a lot of bugs and add some enahcements. - Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F, BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786. - brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780. - Add some bugfixes and enhancement from FreeBSD: - Workaround for BCM5906 silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal chip delays that may result in subsequent valid frames being dropped due to insufficient receive buffer resources. (FreeBSD: r214219, r214251, r214292) - Allow write DMA to request larger DMA burst size to get better performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294) - Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. (FreeBSD r214216) - Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. (FreeBSD r241220) - Insert the completion barrier between register write and the consecutive delay(). It will fix some device timeout problems we have seen before. - Add DELAY(40) after turning on write DMA state machine. - Add some workarounds for 5717 A0 and 5776[56] to be stable. From Linux tg3 driver. - Sync with *BSD. No functional change: - make bge_chipid() and use it. - use switch() instead of a lot of if()s. - Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that {tcp,udp}6csum flag is currently not added in the capability. - Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking. FreeBSD has the same delay(). - Rename PHY related flags for the consistency. It's the same as FreeBSD. - Remove BGE_10_100_ONLY flag because this was not used. For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to not to check Gigabit flags. It's the same as FreeBSD. - In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET() because brgphy_reset() refers those flags. - Call brgpy specific autonego function in MII_TICK. Before this commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended. - Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325: - Sync the ring setup code closer to FreeBSD's driver - Do not touch the jumbo replenish threshold register on chips that do not have jumbo support - Wait for the bootcode to complete initialization for 5717 and newer devices. See BCM5718 programmer's guide's "step 13, Device reset Procedure, Section7". 57781's document has the same note. - 5718 and 57785 document say we should wait 100us. - Change the order of register settings a little to match both Broadcom's document and Linux tg3. - Add detach function. - Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly. - Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge. - Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd (OpenBSD rev. 1.327). - Fix the setting of Tx Random Backoff Register. - Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE register correctly. - Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf. - Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area. Same as other *BSDs. - Check the hardware config words and print them. This change only read them and print the values. - Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind(). - For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved. - bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT. Same as OpenBSD's if_bge.c rev. 1.86. - Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those chips. Same as OpenBSD. - Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard. Set the PHY address correctly. - Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register to not to modify some GPIO bits. - Call bge_poll_fw() before writing BGE_MODE_CTL register like the latest linux tg3 dirver. - Set DMA watermark depend on the PCI max payload size. - Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714, 5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are added to support jumbo frame. - Fix the setting of sc->bge_flags for 5717 and newer devices. - Fix a link detect bug on non-autopoll systems. Same as OpenBSD (rev.1.329 and 1.336) and FreeBSD (r213710). - 57765 series is not based on 5717 series. 5717 series is based on 57765 series. - Set the TX DMA segment size based on the MTU size. - Change the TX ring size for 5717 series and 57764 series. - For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame. Same as Linux tg3. - For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1. This value is recommended by the document. - Change sysctl related functions for consistency. - Style change. - Use macro. Remove duplicated macro. Remove unused variable. - Fix comments. Add comments. - Remove extra semicolon. Remove unused code. [msaitoh, ticket #939] |
| /src/sbin/newfs_lfs/ | |
| make_lfs.c | 1.18.2.1 Sat Mar 17 17:40:08 UTC 2012 bouyer Pull up following revision(s) (requested by perseant in ticket #116): sys/ufs/lfs/lfs_alloc.c: revision 1.112 tests/fs/vfs/t_rmdirrace.c: revision 1.9 tests/fs/vfs/t_renamerace.c: revision 1.25 sys/ufs/lfs/lfs_vnops.c: revision 1.240 sys/ufs/lfs/lfs_segment.c: revision 1.224 sys/ufs/lfs/lfs_bio.c: revision 1.122 sys/ufs/lfs/lfs_vfsops.c: revision 1.294 sbin/newfs_lfs/make_lfs.c: revision 1.19 sys/ufs/lfs/lfs.h: revision 1.136 Pass t_renamerace and t_rmdirrace tests. Adapt dholland@'s fix to ufs_rename to fix PR kern/43582. Address several other MP locking issues discovered during the course of investigating the same problem. Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes are controlled by the segment lock. Fix PR kern/45982 by deemphasizing the estimate of how much metadata will fill the empty space on disk when the disk is nearly empty (t_renamerace crates a lot of inode blocks on a tiny empty disk). |
| /src/sys/dev/ic/ | |
| com.c | 1.294 Sat Jan 09 14:15:48 UTC 2010 tsutsui branches: 1.294.2; To print bus_addr_t value, cast it to u_long rather than size_t. Sat Jan 09 14:15:48 UTC 2010 tsutsui branches: 1.294.2; To print bus_addr_t value, cast it to u_long rather than size_t. 1.294.2.2 Tue Aug 17 06:46:09 UTC 2010 uebayasi Sync with HEAD. 1.294.2.1 Fri Apr 30 14:43:14 UTC 2010 uebayasi Sync with HEAD. |