ı?229180 157 326 303 203 207 494 267 330 330 367 147 270 147 669 283 190 233 263 99 964 120 448 130 239 261 395 414 308 205 241 243 249 280 231 295 137 233 194 189 237 132 130 219 864 864 864 211 204 173 323 173 282 282 170 170 248 204 207 188 254 193 168 604 243 302 324 148 148 677 271 198 261 222 154 154 240 127 291 208 231 231 157 199 165 521 521 213 190 407 143 174 152 174 353 1334 929 2169 244 417 1591 275 262 148 176 164 133 865 186 397 383 578 578 429 429 313 313 155 155 476 476 152 152 443 443 1354 257 307 253 224 235 1355 223 223 179 128 193 197 168 207 218 261 286 159 159 240 151 218 218 240 183 247 247 247 201 1385 1385 1385 1074 K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T18:17:37.350314Z K 7 svn:log V 233 MFC r227090: Fix a warning emitted by Clang. The size passed to strlcat() must depend on the input length, not the output length. Because the input and output buffers are equal in size, the resulting binary does not change at all. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T18:25:16.763328Z K 7 svn:log V 210 MFC r228619: In usr.bin/mt/mt.c, the c_code member of struct commands should really be an unsigned long, since it will contain values of ioctl request codes. On 64-bit arches, these will not fit into an int. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T18:29:37.932858Z K 7 svn:log V 110 MFC r228624: In contrib/bzip2/bzip2recover.c, use the correct printf length modifier for unsigned long long. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T18:36:42.071146Z K 7 svn:log V 114 In several llvm library Makefiles, remove extraneous slashes at the end of SRCDIR definitions. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T18:42:00.216477Z K 7 svn:log V 401 MFC r228625: In usr.bin/csup/auth.c, use the correct number of bytes for zeroing the shared secret, and use long long format to snprintf a time_t. MFC r228626: In usr.bin/csup/proto.c, use the correct printf length modifier to print an off_t. MFC r228667: In usr.bin/csup/auth.c, cast time_t to intmax_t instead, and use the corresponding printf length modifier. Requested by: mdf END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T18:45:59.191142Z K 7 svn:log V 174 Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. In collaboration with: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T18:54:29.599658Z K 7 svn:log V 237 MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertions added in the r227394. Only check that the process state is stopped. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T18:59:35.341446Z K 7 svn:log V 237 MFC r227394: Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. MFC r227442: Weaken the part of assertions added in the r227394. Only check that the process state is stopped. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T19:05:15.427237Z K 7 svn:log V 274 MFC r228627: In contrib/ee/ee.c, fix a few warnings about format strings not being literals. Also, change the direction argument to move_rel() from char to int; K&R function definions cause it to be promoted to an int anyway, and this way we avoid clang warning about it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T19:08:56.809931Z K 7 svn:log V 55 MFC r227529: Remove the condition that is always true. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T19:11:47.837250Z K 7 svn:log V 177 MFC r228628: In usr.bin/gprof/aout.c, use the correct printf length modifier for a uint32_t. MFC r228629: More fixes for correct printf length modifiers usr.bin/gprof. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T19:12:07.204858Z K 7 svn:log V 55 MFC r227529: Remove the condition that is always true. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T19:15:52.935186Z K 7 svn:log V 576 MFC r228636: Correct a logic error in usr.bin/hexdump/conv.c, found by clang. Whenever the conv_c() function encounters an incomplete multibyte char, it peeks ahead. It also sets p to peekbuf, to indicate it is still processing the incomplete character. However, on the next retry, it compares buf against peekbuf, which always returns false, since both buf and peekbuf are local char arrays, whose addresses are never the same. Fix this by comparing against p instead, which was the intention. Also turn peekbuf into an array of u_char, to prevent conversion warnings. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T19:19:48.560226Z K 7 svn:log V 190 MFC r228712: Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignment warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and there they can be safely ignored. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T19:25:43.957076Z K 7 svn:log V 98 MFC r228639: In usr.bin/indent/io.c, fix a few warnings about format strings not being literals. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T20:09:05.074201Z K 7 svn:log V 140 Revert r228645, which casts away a number of const conversion warnings in contrib/less. I will fix those more properly in the next commit. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T20:13:02.627382Z K 7 svn:log V 170 Redo r228645, but instead of casting away const conversion warnings in contrib/less, add a few const qualifiers in the right places. Suggested by: das MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-01-01T20:18:40.015391Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-01T20:26:11.157350Z K 7 svn:log V 872 Introducing memcchr(3). It seems two of the file system drivers we have in the tree, namely ufs and ext3, use a function called `skpc()'. The meaning of this function does not seem to be documented in FreeBSD, but it turns out one needs to be a VAX programmer to understand what it does. SPKC is an instruction on the VAX that does the opposite of memchr(). It searches for the non-equal character. Add a new function called memcchr() to the tree that has the following advantages over skpc(): - It has a name that makes more sense than skpc(). Just like strcspn() matches the complement of strspn(), memcchr() is the complement of memchr(). - It is faster than skpc(). Similar to our strlen() in libc, it compares entire words, instead of single bytes. It seems that for this routine this yields a sixfold performance increase on amd64. - It has a man page. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-01T20:30:48.138820Z K 7 svn:log V 29 Fix typo; return -> returns. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-01T20:47:33.857616Z K 7 svn:log V 356 Migrate ufs and ext2fs from skpc() to memcchr(). While there, remove a useless check from the code. memcchr() always returns characters unequal to 0xff in this case, so inosused[i] ^ 0xff can never be equal to zero. Also, the fact that memcchr() returns a pointer instead of the number of bytes until the end, makes conversion to an offset far more easy. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-01T20:50:19.561451Z K 7 svn:log V 35 sh: Make patmatch() non-recursive. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T20:51:51.564095Z K 7 svn:log V 146 MFC r228647: In usr.bin/mail/cmd1.c, use the correct printf length modifier for a ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T20:53:33.619380Z K 7 svn:log V 168 MFC r228649: Use NO_WCAST_ALIGN for usr.bin/ncplist, as there are many potential alignment issues in it. (Though I doubt anyone still cares about NetWare support...) END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-01T20:54:44.452211Z K 7 svn:log V 303 Remove the now unused skpc() function. It was only used by ufs and ext2 and I have really strong doubts that there are other pieces of code that also use this function. If it turns out that external drivers use this code as well, I'd be happy to migrate or revert. Bump __FreeBSD_version while there. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T20:57:38.865028Z K 7 svn:log V 321 MFC r228650: In usr.bin/netstat/atalk.c, work around a clang false positive with printf format warnings and conditional operators. MFC r228668: Revert r228650, and work around the clang false positive with printf formats in usr.bin/netstat/atalk.c by conditionally adding NO_WFORMAT to the Makefile instead. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-01T20:59:42.242182Z K 7 svn:log V 216 Fix sloppyness in memcchr() man page. I was considering adding it to libc as well, but last minute I thought it would be good enough to add it to libkern exclusively. I forgot to rename the man page and hook it up. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:06:07.382603Z K 7 svn:log V 112 MFC r228651: In contrib/telnet/telnet/utilities.c, fix a few warnings about format strings not being literals. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:12:29.930303Z K 7 svn:log V 148 MFC r228654: In usr.bin/vmstat/vmstat.c, cast several printf field widths to int, and use printf format specifiers from inttypes.h for uint64_t's. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:21:57.765169Z K 7 svn:log V 150 MFC r226427: Build rwho(1) with WARNS=6. The only reason why it didn't build with WARNS=6, is because of some simple to fix string formatting bugs. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:28:55.877458Z K 7 svn:log V 156 MFC r228655: In usr.sbin/bluetooth/sdpd/server.c, don't use the size of a pointer as the length argument to memset, but the size of the object pointed to. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-01T21:32:25.989883Z K 7 svn:log V 184 Initial copy of xz-embedded to sys/contrib/. The upcoming geom_compress module (a read-only gzip/ulzma translation layer, similar to what geom_uzip does) will leverage parts of this. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:38:58.924820Z K 7 svn:log V 138 MFC r228656: Use NO_WCAST_ALIGN for usr.sbin/boot0cfg; because this is only built for x86, any alignment warnings can be safely ignored. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:43:14.472845Z K 7 svn:log V 202 MFC r228657: In usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h, use the correct enumeration types for the mesh_peering and mesh_forwarding members of struct wlan_iface, to fix enum conversion warnings. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-01-01T21:46:16.232662Z K 7 svn:log V 41 Fix a spot missed during the last merge. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T21:50:21.352835Z K 7 svn:log V 140 MFC r228658: Use NO_WCAST_ALIGN for usr.sbin/cpucontrol; because this is only built for x86, any alignment warnings can be safely ignored. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T22:06:41.714488Z K 7 svn:log V 101 MFC r228659: In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width parameter to int. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T22:08:52.446284Z K 7 svn:log V 97 MFC r228660: In usr.sbin/i2c/i2c.c, fix a few warnings about format strings not being literals. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T22:11:22.326553Z K 7 svn:log V 144 MFC r228661: In usr.sbin/iostat/iostat.c, use printf format specifiers from inttypes.h for u_int64_t's. While here, sort #include directives. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-01T22:15:38.785925Z K 7 svn:log V 37 sh: Remove unused function scopyn(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-01T22:17:12.441365Z K 7 svn:log V 35 sh: Make various functions static. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T22:26:56.209558Z K 7 svn:log V 126 MFC r228662: In usr.sbin/keyserv, fix some implicit enum conversions, and use the correct printf length modifiers for uid_t. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-01-01T22:33:02.764314Z K 7 svn:log V 769 MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are not offensive, or not murphy'ish enough. Where the version in fortunes had better attribution and/or formatting, copy it over. 2. Fix a few typos 3. Use the full name of Fran̤ois De La Rochefoucauld, fix one of his quotes, and remove the duplicate of it. MFC r228934: Prefer ASCII apostrophes over Unicode ones like the rest of the file. MFC r228938: 1. Correct capitalization of the nobility particle for Francois de La Rochefoucauld introduced in r228909 2. Change c-cedilla introduced in the same commit to ASCII c since non-UTF-8 terminals will choke on the non-ASCII text. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-01-01T22:33:29.837657Z K 7 svn:log V 769 MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are not offensive, or not murphy'ish enough. Where the version in fortunes had better attribution and/or formatting, copy it over. 2. Fix a few typos 3. Use the full name of Fran̤ois De La Rochefoucauld, fix one of his quotes, and remove the duplicate of it. MFC r228934: Prefer ASCII apostrophes over Unicode ones like the rest of the file. MFC r228938: 1. Correct capitalization of the nobility particle for Francois de La Rochefoucauld introduced in r228909 2. Change c-cedilla introduced in the same commit to ASCII c since non-UTF-8 terminals will choke on the non-ASCII text. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-01-01T22:33:55.766323Z K 7 svn:log V 769 MFC r228909: 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are not offensive, or not murphy'ish enough. Where the version in fortunes had better attribution and/or formatting, copy it over. 2. Fix a few typos 3. Use the full name of Fran̤ois De La Rochefoucauld, fix one of his quotes, and remove the duplicate of it. MFC r228934: Prefer ASCII apostrophes over Unicode ones like the rest of the file. MFC r228938: 1. Correct capitalization of the nobility particle for Francois de La Rochefoucauld introduced in r228909 2. Change c-cedilla introduced in the same commit to ASCII c since non-UTF-8 terminals will choke on the non-ASCII text. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T22:34:37.807422Z K 7 svn:log V 118 MFC r228663: In usr.sbin/lpr/filters/lpf.c, use a less obtuse way of clearing the buffer, that also avoids warnings. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:04:27.671374Z K 7 svn:log V 111 MFC r228664: In usr.sbin/lpr/lpd/printjob.c, use the correct printf length modifiers for off_t (aka int64_t). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:07:13.667503Z K 7 svn:log V 81 MFC r227695: Use the plain panic calls, without additional printing around them. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:08:19.942173Z K 7 svn:log V 230 MFC r228665: Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built for x86, any alignment warnings can be safely ignored. Define YY_NO_INPUT in usr.sbin/ndiscvt/inf-token.l, so no unused lex functions are defined. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:09:57.995637Z K 7 svn:log V 81 MFC r227695: Use the plain panic calls, without additional printing around them. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:12:43.747623Z K 7 svn:log V 189 MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic instead of vnode dump. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:12:56.786237Z K 7 svn:log V 189 MFC r227696: Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled in, and show vnode is used from ddb on the faulty nullfs vnode, we get panic instead of vnode dump. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:17:08.734627Z K 7 svn:log V 78 MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:17:21.981592Z K 7 svn:log V 78 MFC r227817: Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:18:34.996959Z K 7 svn:log V 155 MFC r228670: In usr.sbin/pkg_install/updating/main.c, use the size of the destination buffer as size argument to strlcpy(), not the length of the source. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:20:36.665090Z K 7 svn:log V 111 MFC r228671: In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about format strings not being literals. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:26:49.703311Z K 7 svn:log V 114 MFC r228672: In contrib/pnpinfo/pnpinfo.c, remove an extraneous parameter from the call to isolation_protocol(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:33:08.990977Z K 7 svn:log V 96 MFC r228673: In usr.sbin/pw/pw_user.c, use the correct printf length modifier for a ptrdiff_t. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:34:06.355231Z K 7 svn:log V 161 MFC r227656: Use the alternate form of the gcc extension that works even with -ansi -pedantic without issuing a warning, and which is recommended by gcc manual. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:34:59.706802Z K 7 svn:log V 100 MFC r228674: In usr.sbin/route6d/route6d.c, use the correct printf length modifier for an ssize_t. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:36:13.287950Z K 7 svn:log V 76 MFC r228177: Add a simple test for pipe inode numbers reported by fstat(2). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:39:56.487146Z K 7 svn:log V 511 MFC r228678: In usr.sbin/rpc.ypupdated/yp_dbupdate.c, use the appropriate printf length modifier for time_t (after casting it to intmax_t). MFC r228679: In usr.sbin/rpc.ypupdated/yp_dbupdate.c, include stdint.h, so intmax_t is known, otherwise it won't build. Pointy hat to: dim MFC r228680: In usr.sbin/rpc.ypupdated/yp_dbupdate.c, since intmax_t is signed, just like time_t, better use %jd instead of %ju. Strangely enough, neither gcc, clang nor gcc 4.6 warn about this discrepancy... END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:41:31.993236Z K 7 svn:log V 150 MFC r228681: In usr.sbin/sa/db.c, avoid warnings about assigning two const char arrays to non-const void pointers, by casting away const explicitly. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:43:45.365296Z K 7 svn:log V 209 MFC r228682: In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warnings about format strings not being literals. MFC r228683: Forgot to add usr.sbin/sade/label.c in the previous commit. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:45:21.422281Z K 7 svn:log V 231 MFC r228713: In contrib/tcpdump/print-icmp6.c, fix a problem where the comparison against icmp6_hdr::icmp6_type is done incorrectly. (This fix has already been applied upstream, but we do not have the latest version of tcpdump.) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:46:08.199596Z K 7 svn:log V 56 MFC r228263: Initialize fifoinfo fi_wgen field on open. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:46:34.339728Z K 7 svn:log V 56 MFC r228263: Initialize fifoinfo fi_wgen field on open. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:49:11.561635Z K 7 svn:log V 584 MFC r228714: In usr.sbin/timed, fix several issues with printf formats: - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Print ssize_t's and size_t's with %zd and %zu. - Print int32_t's with %d. Also, replace some int variables with the more appropriate size_t. MFC r228719: Some people pointed out long is 32-bit on some arches, while time_t is 64-bit, so better cast time_t to intmax_t, and use the appropriate printf format strings. MFC r228720: Fix r228719; when you use intmax_t, you need stdint.h. Pointy hat to: dim END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:51:18.703650Z K 7 svn:log V 178 MFC r228306: Most users of pipe(2) do not call fstat(2) on the returned pipe descriptors. Optimize for the case, by lazily allocating the pipe inode number at the fstat(2) time. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:51:38.818077Z K 7 svn:log V 105 MFC r228721: In usr.sbin/uhsoctl/uhsoctl.c, fix a few warnings about format strings not being literals. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T23:53:16.056503Z K 7 svn:log V 168 MFC r228722: In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parameters to int, cast time_t to intmax_t, and use the corresponding printf length modifier. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:55:17.999687Z K 7 svn:log V 129 MFC r228567: Move kstack_cache_entry into the private header, and make the stack cache list header accessible outside vm_glue.c. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:58:20.016325Z K 7 svn:log V 62 Show the thread kernel stack base address for 'show threads'. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-01T23:58:42.313694Z K 7 svn:log V 62 Show the thread kernel stack base address for 'show threads'. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-02T00:01:09.828957Z K 7 svn:log V 147 MFC r228569: Add 'findstack' ddb command to search either the thread kernel stack or cached stack containing the specified kernel virtual address. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-02T00:02:50.685945Z K 7 svn:log V 35 MFC r228570: Document 'findstack'. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-02T00:04:51.007091Z K 7 svn:log V 198 MFC r228751: Change the type of real_dev_bsize variable from long to u_int. The DIOCGSECTORSIZE takes u_int * as an argument, using long * causes failures on big-endian targets. PR: sparc64/163460 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-02T00:46:13.171806Z K 7 svn:log V 115 MFC r228434: Add definitions for GNU-specific STT_GNU_IFUNC symbol type, and R_{386,X86_64}_IRELATIVE relocations. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-02T03:26:59.040188Z K 7 svn:log V 133 MFC: r227494 Since NFSv4 byte range locking only works for regular files, add a sanity check for the vnode type to the NFSv4 client. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-02T03:52:34.997865Z K 7 svn:log V 133 MFC: r227494 Since NFSv4 byte range locking only works for regular files, add a sanity check for the vnode type to the NFSv4 client. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T04:01:34.623402Z K 7 svn:log V 60 RELENG_9 exists now so updated commented-out branch target. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T04:11:22.654487Z K 7 svn:log V 101 MFC r229258: RELENG_9 exists now so updated commented out target branch. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T04:16:45.450522Z K 7 svn:log V 68 Update branch target for 'make update'. Approved by: re (implicit) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-02T04:25:25.026823Z K 7 svn:log V 423 MFC: r227517 Move the setting of the default value for nm_wcommitsize to before the nfs_decode_args() call in the new NFS client, so that a specfied command line value won't be overwritten. Also, modify the calculation for small values of desiredvnodes to avoid an unusually large value or a divide by zero crash. It seems that the default value for nm_wcommitsize is very conservative and may need to change at some time. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-02T04:47:38.986919Z K 7 svn:log V 423 MFC: r227517 Move the setting of the default value for nm_wcommitsize to before the nfs_decode_args() call in the new NFS client, so that a specfied command line value won't be overwritten. Also, modify the calculation for small values of desiredvnodes to avoid an unusually large value or a divide by zero crash. It seems that the default value for nm_wcommitsize is very conservative and may need to change at some time. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-01-02T09:18:58.984412Z K 7 svn:log V 121 As I came by and noticed add a comment that inp locking is a bit optistic (read: non-existent) here and should be fixed. END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-01-02T09:44:42.618016Z K 7 svn:log V 97 Do not check next scheduled event on APs until smp is started. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-01-02T09:48:46.898597Z K 7 svn:log V 313 Set ARM_ARCH_6 when CPUTYPE is set to armv6. Different set of atomic function should be compiled when armv6 is used, so when userland is built it has to know which architecture it will be used for. Now CPUTYPE=armv6 is used to tell that kernel and userland are built for armv6. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-01-02T09:51:12.255621Z K 7 svn:log V 50 Little cleanup. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-01-02T09:53:47.199307Z K 7 svn:log V 81 Switch timers into idle mode when cpu is idle. Obtained from: Marvell, Semihalf END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-01-02T09:56:40.683574Z K 7 svn:log V 57 Implement the required __aeabi_* functions by the Kernel END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-01-02T09:58:39.944484Z K 7 svn:log V 81 Import files needed to build ARMADA XP kernel. Obtained from: Marvell, Semihalf END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-02T12:12:10.542035Z K 7 svn:log V 261 Use strchr() and strrchr(). It seems strchr() and strrchr() are used more often than index() and rindex(). Therefore, simply migrate all kernel code to use it. For the XFS code, remove an empty line to make the code identical to the code in the Linux kernel. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T12:50:19.612807Z K 7 svn:log V 1240 MFC r228779: Start selectively disabling a few kernel build warnings for clang, since there are some places in the kernel where fixing them is too disruptive, or where there is a false positive. In this case, disable -Wconstant-conversion for two aic7xxx-related files, as they get the following warning on i386 (and possibly on other 32-bit arches): sys/dev/aic7xxx/ahc_pci.c:112:10: warning: implicit conversion from 'long long' to 'bus_addr_t' (aka 'unsigned int') changes value from 549755813887 to 4294967295 [-Wconstant-conversion] ? 0x7FFFFFFFFFLL ~~^~~~~~~~~~~~~~ This is a false positive, since the code only passes the 0x7FFFFFFFFFLL argument, if sizeof(bus_addr_t) is larger than 4 (e.g. on 64 bit arches, or when PAE is enabled on i386). The code could be refactored to do compile-time checks, but that is more disruptive. MFC r228789: Amend r228779 by also disabling -Wconstant-conversion warnings for the aic7xxx module. MFC r228805: Disable -Wconstant-conversion warnings for the aic7xxx module in a more fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/files. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T12:53:11.944513Z K 7 svn:log V 836 MFC r228781: When building with clang, disable -Warray-bounds for sys/dev/asr/asr.c, as it gets the following warning: sys/dev/asr/asr.c:1836:29: warning: array index of '58' indexes past the end of an array (that contains 1 element) [-Warray-bounds] while ((len > 0) && (sg < &((PPRIVATE_SCSI_SCB_EXECUTE_MESSAGE) ^ sys/dev/asr/i2omsg.h:934:8: note: array 'Simple' declared here I2O_SGE_SIMPLE_ELEMENT Simple[1]; ^ This is a false positive, since I2O_SG_ELEMENT::Simple is not declared as a C99 flexible array member, but in the old (but more portable) way. At run-time, the proper number of array elements will hopefully have been allocated. MFC r228865: Amend r228781 by also disabling -Warray-bounds warnings for the asr module. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T13:01:57.147285Z K 7 svn:log V 2075 MFC r228783: When building with clang, disable -Wshift-count-negative and -Wshift-count-overflow for sys/dev/ath/ath_hal/ah_regdomain.c, as it gets multiple instances of the following warnings: In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99: sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:69:15: warning: shift count is negative [-Wshift-count-negative] .chan11a = BM4(F1_4950_4980, ^~~~~~~~~~~~~~~~~ sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:41:4: note: expanded from: W1(_fa) | W1(_fb) | W1(_fc) | W1(_fd) } ^ sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from: (((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0)) ^ ~~~~~~~~~ and: In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99: sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:629:15: error: shift count >= width of type [-Werror,-Wshift-count-overflow] .chan11a = BM4(W2_5260_5320, ^~~~~~~~~~~~~~~~~ sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:40:34: note: expanded from: { W0(_fa) | W0(_fb) | W0(_fc) | W0(_fd), \ ^ sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:32:44: note: expanded from: (((_a) >= 0 && (_a) < 64 ? (((uint64_t) 1)<<(_a)) : (uint64_t) 0)) ^ ~~~~ Both warnings are false positives, caused by LLVM PR 10030. For global initializations, clang fails to detect that the branch of the ternary operator causing the warning is dead. MFC r228793: Amend r228783 by also disabling -Wshift-count-negative -Wshift-count-overflow warnings for the ath module. MFC r228818: Disable various warnings for the ath module in a more fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/files. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-01-02T13:03:13.986826Z K 7 svn:log V 152 Remove an uneeded inpcb forward declaration and align the function declaration following to match the style in the rest of the file. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T13:12:53.555032Z K 7 svn:log V 324 MFC r228801: Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been default for our gcc since more than three years (see r181534, which is also in stable/9 and stable/8). This flag used to be for the benefit of the old in-kernel math emulator, which was removed more than eight years ago. Pointed out by: arundel END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T13:17:31.615801Z K 7 svn:log V 1497 MFC r228822: When building the kernel with clang, it produces several warnings which might be useful in some cases, but which are not severe enough to error out the whole kernel build. Display them anyway, so there is at least some incentive to fix them eventually. Start with -Wtautological-compare warnings. These usually occur when people check if unsigned quantities are negative, or similar cases. To clean these up would be painful, and might give problems if the base type which is compared against changes to signed later on. MFC r228841: Amend r228822 by not directly adding to CWARNFLAGS, but to an optional CWARNEXTRA variable, which gets included into the initial CWARNFLAGS setting. This makes it easier to override CWARNFLAGS with completely custom settings (including enabling any disabled warnings). Reminded by: arundel MFC r228860: Make another clang warning, -Wempty-body, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless. (Most of the empty bodies look to be used simply as reminder for the developer to add something later.) While here, assign to CWARNEXTRA with ?=, so it can be overridden easily, if needed. MFC r228867: Make another clang warning, -Wparentheses-equality, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T13:20:01.937368Z K 7 svn:log V 182 MFC r228861: Set WERROR= for the nve(4) module. This driver gives several warnings with clang, which will probably never be fixed, as it is unmaintained, and superseded by nfe(4). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-02T13:21:34.776312Z K 7 svn:log V 169 MFC r228868: When building the kernel for amd64 with clang, don't attempt to use the -frename-registers option, as it is not supported. No change for builds with gcc. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T14:43:33.400077Z K 7 svn:log V 51 Guess when we'll be ready to announce 9.0-RELEASE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T14:44:28.600164Z K 7 svn:log V 79 Guess when we'll be ready to announce 9.0-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T14:45:30.123370Z K 7 svn:log V 67 Ready to start the 9.0-RELEASE builds. Approved by: re (implicit) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-01-02T16:02:30.336494Z K 7 svn:log V 36 MCS32 equals 32, not 8*ic_txstream. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-01-02T16:14:52.467777Z K 7 svn:log V 772 MFC r228444: - Define true and false in sys/types.h for _KERNEL consumers, and typedef bool. Due to macro expansion it seemed better to use a typedef for kernel consumers (specifically ofed won't compile without more changes if a define is used). - should also not re-define bool/true/false if they are defined by . It would probably be a programming error to define _KERNEL for user-space code, but downstream consumers like Isilon have already been including in kernel sources, and this protects that usage. - sizeof(_Bool) is not necessarily the same as sizeof(int), so kernel modules should be rebuilt with this change. Bump __FreeBSD_version. No KBI change is expected based on review of the code. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T16:45:29.847748Z K 7 svn:log V 89 Copy releng/9.0 to release/9.0.0 for the 9.0-RELEASE builds. Approved by: re (implicit) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-02T16:54:21.669533Z K 7 svn:log V 299 MFC: r227543 Modify the new NFS client so that nfs_fsync() only calls ncl_flush() for regular files. Since other file types don't write into the buffer cache, calling ncl_flush() is almost a no-op. However, it does clear the NMODIFIED flag and this shouldn't be done by nfs_fsync() for directories. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:02:45.309672Z K 7 svn:log V 290 Remove unneeded checks for CAM_DEV_QFRZN after cam_periph_runccb() call. cam_periph_runccb() since the beginning checks it and releases device queue. After r203108 it even clears CAM_DEV_QFRZN flag after that to avoid double release, so removed code is unreachable now. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:13:56.519850Z K 7 svn:log V 485 MFC r227635: Change the way how "not implemented" AHCI channels handled. Instead of completely skipping them, create ahcich devices for them to allocate unit numbers, but mark them as disabled to prevent driver probe and attach. Last time some BIOSes tend to report unused channels as "not implemented". This change makes ahcichX devices numbering consistent, independently of connected disks. It makes per-channel driver hints usable and CAM devices wiring possible on such systems. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:16:08.785875Z K 7 svn:log V 485 MFC r227635: Change the way how "not implemented" AHCI channels handled. Instead of completely skipping them, create ahcich devices for them to allocate unit numbers, but mark them as disabled to prevent driver probe and attach. Last time some BIOSes tend to report unused channels as "not implemented". This change makes ahcichX devices numbering consistent, independently of connected disks. It makes per-channel driver hints usable and CAM devices wiring possible on such systems. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:19:58.027303Z K 7 svn:log V 336 MFC r228200: Add hw.ahci.force tunable to control whether AHCI drivers should attach to known AHCI-capable chips (AMD/NVIDIA), configured for legacy emulation. Enabled by default to get additional performance and functionality of AHCI when it can't be enabled by BIOS. Can be disabled to honor BIOS settings if needed for some reason. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:21:41.294505Z K 7 svn:log V 336 MFC r228200: Add hw.ahci.force tunable to control whether AHCI drivers should attach to known AHCI-capable chips (AMD/NVIDIA), configured for legacy emulation. Enabled by default to get additional performance and functionality of AHCI when it can't be enabled by BIOS. Can be disabled to honor BIOS settings if needed for some reason. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:27:07.318276Z K 7 svn:log V 220 MFC r226680: Some dmesg cosmetics: - for the legacy PCI ATA channels move channel number out of the device description, same as it is for ahci(4), siis(4) and mvs(4); - add device description for the ISA ATA channels. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:28:14.448570Z K 7 svn:log V 220 MFC r226680: Some dmesg cosmetics: - for the legacy PCI ATA channels move channel number out of the device description, same as it is for ahci(4), siis(4) and mvs(4); - add device description for the ISA ATA channels. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:30:27.702950Z K 7 svn:log V 63 MFC r228497: Add PCI IDs for the Intel ICH9M SATA controllers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:31:28.946736Z K 7 svn:log V 63 MFC r228497: Add PCI IDs for the Intel ICH9M SATA controllers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:36:14.097821Z K 7 svn:log V 383 MFC r227637: Introduce CAM_SIM_POLLED SIM flag, indicating that it works in polling mode. It blocks CAM SWI usage on requests completion, unneeded because of polling and denied during kernel dumping because of blocked scheduler. Before r198899 there was periph flag CAM_PERIPH_POLLED, but that was wrong, because there is whole SIM is polled or handled by SWI, not a single periph. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:38:06.714807Z K 7 svn:log V 383 MFC r227637: Introduce CAM_SIM_POLLED SIM flag, indicating that it works in polling mode. It blocks CAM SWI usage on requests completion, unneeded because of polling and denied during kernel dumping because of blocked scheduler. Before r198899 there was periph flag CAM_PERIPH_POLLED, but that was wrong, because there is whole SIM is polled or handled by SWI, not a single periph. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:39:18.870304Z K 7 svn:log V 60 MFC r228819: Update list of 4K physical sector hard drives. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:40:20.477955Z K 7 svn:log V 60 MFC r228819: Update list of 4K physical sector hard drives. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:56:45.974192Z K 7 svn:log V 350 MFC r226816: Clarify disks/volumes above 2TiB support in geom_raid: - add support for volumes above 2TiB with Promise metadata format; - enforse and document other limitations: - Intel and Promise metadata formats do not support disks above 2TiB; - NVIDIA metadata format does not support volumes above 2TiB. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T17:58:07.405694Z K 7 svn:log V 350 MFC r226816: Clarify disks/volumes above 2TiB support in geom_raid: - add support for volumes above 2TiB with Promise metadata format; - enforse and document other limitations: - Intel and Promise metadata formats do not support disks above 2TiB; - NVIDIA metadata format does not support volumes above 2TiB. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T18:06:48.384641Z K 7 svn:log V 1260 MFC r227464, r227471 Major GEOM MULTIPATH class rewrite: - Improved locking and destruction process to fix crashes. - Improved "automatic" configuration method to make it consistent and safe by reading metadata back from all specified paths after writing to one. - Added provider size check to reduce chance of ordering conflict with other GEOM classes. - Added "manual" configuration method without using on-disk metadata. - Added "add" and "remove" commands to allow manage paths manually. - Failed paths are no longer dropped from geom, but only marked as FAIL and excluded from I/O operations. - Automatically restore failed paths when all others paths are marked as failed, for example, because of device-caused (not transport) errors. - Added "fail" and "restore" commands to manually control FAIL flag. - geom is now destroyed on last path disconnection. - Added optional Active/Active mode support. Unlike Active/Passive mode, load evenly distributed between all working paths. If supported by the device, it allows to significantly improve performance, utilizing bandwidth of all paths. It is controlled by -A option during creation. Disabled by default now. - Improved `status` and `list` commands output. Sponsored by: iXsystems, inc. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T18:42:29.483837Z K 7 svn:log V 159 The portion of r225757 that added the packages-9.0-release directory was supposed to be MFCed closer to the release but that got missed. Pointy hat: kensmith END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T18:50:17.393859Z K 7 svn:log V 209 MFC r229304: > The portion of r225757 that added the packages-9.0-release directory > was supposed to be MFCed closer to the release but that got missed. > > Pointy hat: kensmith Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T18:59:15.677808Z K 7 svn:log V 155 Remove in preparation for re-copying usr.sbin/pkg_install/add/main.c to take into effect r229305. Pointy Hat: kensmith Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T18:59:55.384235Z K 7 svn:log V 126 Re-copy usr.sbin/pkg_install/add/main.c to take into effect r229305. Pointy Hat: kensmith Approved by: re (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:23:52.569259Z K 7 svn:log V 142 Forcefully reMFC r208082, r208101 (mjacob) MFCed at r207126 and r209278 and for some reason reverted at r209279 without reverting metadatata. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:27:23.985335Z K 7 svn:log V 1261 MFC r227464, r227471: Major GEOM MULTIPATH class rewrite: - Improved locking and destruction process to fix crashes. - Improved "automatic" configuration method to make it consistent and safe by reading metadata back from all specified paths after writing to one. - Added provider size check to reduce chance of ordering conflict with other GEOM classes. - Added "manual" configuration method without using on-disk metadata. - Added "add" and "remove" commands to allow manage paths manually. - Failed paths are no longer dropped from geom, but only marked as FAIL and excluded from I/O operations. - Automatically restore failed paths when all others paths are marked as failed, for example, because of device-caused (not transport) errors. - Added "fail" and "restore" commands to manually control FAIL flag. - geom is now destroyed on last path disconnection. - Added optional Active/Active mode support. Unlike Active/Passive mode, load evenly distributed between all working paths. If supported by the device, it allows to significantly improve performance, utilizing bandwidth of all paths. It is controlled by -A option during creation. Disabled by default now. - Improved `status` and `list` commands output. Sponsored by: iXsystems, inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:44:34.760316Z K 7 svn:log V 130 MFC r228305: Mention that Cold Presence Detection feature used for hot-plug detection when interface power management is enabled. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:45:30.242012Z K 7 svn:log V 130 MFC r228305: Mention that Cold Presence Detection feature used for hot-plug detection when interface power management is enabled. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:47:35.232978Z K 7 svn:log V 87 MFC r228501: After several suggestions from people, move eventtimers page from 7 to 4. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:49:01.343775Z K 7 svn:log V 36 MFC r228575: Some formatting fixes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:51:12.162794Z K 7 svn:log V 100 MFC r228731: Add eventtimers(9) man page, describing related KPIs. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:54:17.551451Z K 7 svn:log V 104 MFC r228735, r228737, r228739: Add apic(4) man page, now mostly to cover its event timer functionality. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-02T19:55:59.594846Z K 7 svn:log V 76 MFC r228741, r228742: Add timecounters(4) man page alike to eventtimers(4). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-01-02T20:28:33.012165Z K 7 svn:log V 109 Make sure we probe and attach the root HUB after resume else no devices will appear again. MFC after: 1 day END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-02T20:39:59.613228Z K 7 svn:log V 120 Since stable/9 has been released from code freeze and the 9.0-RELEASE builds are underway shift stable/9 to 9.0-STABLE. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-01-02T21:57:58.914860Z K 7 svn:log V 164 Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile out use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:11:08.088701Z K 7 svn:log V 193 MFC r228418, 228419: r228418: - Document the SVN variable needs to be set in make.conf(5) when SVN_UPDATE is set [1] r228419: - Minor whitespace cleanup to make.conf(5) PR: 163162 [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:12:10.420807Z K 7 svn:log V 67 MFC r228419: r228419: - Minor whitespace cleanup to make.conf(5) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:12:36.963889Z K 7 svn:log V 67 MFC r228419: r228419: - Minor whitespace cleanup to make.conf(5) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:15:32.385577Z K 7 svn:log V 147 MFC r228823, r228824: r228823: - Properly escape a special character - Enclose tabbed content in quotes r228824: - Remove trailing whitespace END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:18:07.881359Z K 7 svn:log V 59 MFC r228823: r228823: - Enclose tabbed content in quotes END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:19:11.770572Z K 7 svn:log V 125 MFC r209035, r228823: r209035 (uqs): - Use same table markup as in hexdump.1 r228823: - Enclose tabbed content in quotes END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:19:55.847620Z K 7 svn:log V 125 MFC r209035, r228823: r209035 (uqs): - Use same table markup as in hexdump.1 r228823: - Enclose tabbed content in quotes END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:22:19.721776Z K 7 svn:log V 147 MFC r228823, r228824: r228823: - Properly escape a special character - Enclose tabbed content in quotes r228824: - Remove trailing whitespace END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:23:26.190086Z K 7 svn:log V 91 MFC r228823: r228823: - Enclose tabbed content in quote - Start a sentence on a newline END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:25:21.838831Z K 7 svn:log V 154 MFC r228885: r228885: - Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 to make the examples reflect reality more closely. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:25:54.102514Z K 7 svn:log V 154 MFC r228885: r228885: - Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 to make the examples reflect reality more closely. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-02T22:26:26.106444Z K 7 svn:log V 154 MFC r228885: r228885: - Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 to make the examples reflect reality more closely. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-02T22:58:32.423683Z K 7 svn:log V 109 Remove extraneous semicolons. These macros are supposed to be invoked as regular functions, so remove them. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-02T23:17:45.954977Z K 7 svn:log V 1287 MFC r226699: When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller in question is not Davicom DM9102. Ideally dc_setcfg() should be called when speed/duplex is resolved otherwise it would reprogram controller with wrong speed/duplex information. Because MII status change callback already calls dc_setcfg() I think calling dc_setcfg() in dc_init_locked() is wrong. For instance, it would take some time to establish a link after mii_mediachg(), so blindly calling dc_setcfg() right after mii_mediachg() will always yield wrong media configuration. Extend dc_ifmedia_upd() to handle media change and still allow 21143 and Davidcom controllers program speed/duplex regardless of current resolved speed/duplex of link. In theory 21143 may not need to call dc_setcfg() right after media change, but leave it as it is because there are too many variants to test that change. Probably dc(4) shall need a PHY reset in dc_ifmedia_upd() but it's hard to verify correctness of the change. This change reliably makes ULi M5263 establish a link. While I'm here correctly report media change result. Previously it always reported a success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-02T23:20:22.869419Z K 7 svn:log V 1287 MFC r226699: When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller in question is not Davicom DM9102. Ideally dc_setcfg() should be called when speed/duplex is resolved otherwise it would reprogram controller with wrong speed/duplex information. Because MII status change callback already calls dc_setcfg() I think calling dc_setcfg() in dc_init_locked() is wrong. For instance, it would take some time to establish a link after mii_mediachg(), so blindly calling dc_setcfg() right after mii_mediachg() will always yield wrong media configuration. Extend dc_ifmedia_upd() to handle media change and still allow 21143 and Davidcom controllers program speed/duplex regardless of current resolved speed/duplex of link. In theory 21143 may not need to call dc_setcfg() right after media change, but leave it as it is because there are too many variants to test that change. Probably dc(4) shall need a PHY reset in dc_ifmedia_upd() but it's hard to verify correctness of the change. This change reliably makes ULi M5263 establish a link. While I'm here correctly report media change result. Previously it always reported a success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-02T23:22:11.311088Z K 7 svn:log V 1287 MFC r226699: When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller in question is not Davicom DM9102. Ideally dc_setcfg() should be called when speed/duplex is resolved otherwise it would reprogram controller with wrong speed/duplex information. Because MII status change callback already calls dc_setcfg() I think calling dc_setcfg() in dc_init_locked() is wrong. For instance, it would take some time to establish a link after mii_mediachg(), so blindly calling dc_setcfg() right after mii_mediachg() will always yield wrong media configuration. Extend dc_ifmedia_upd() to handle media change and still allow 21143 and Davidcom controllers program speed/duplex regardless of current resolved speed/duplex of link. In theory 21143 may not need to call dc_setcfg() right after media change, but leave it as it is because there are too many variants to test that change. Probably dc(4) shall need a PHY reset in dc_ifmedia_upd() but it's hard to verify correctness of the change. This change reliably makes ULi M5263 establish a link. While I'm here correctly report media change result. Previously it always reported a success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-02T23:35:18.657966Z K 7 svn:log V 977 MFC r226701: Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet controller which is found on ULi M1563 South Bridge & M1689 Bridge. These controllers look like a tulip clone. M5263 controller does not support MII bitbang so use DC_ROM register to access MII registers. Like other tulip variants, ULi controller uses a setup frame to configure RX filter and uses new setup frame format. It's not clear to me whether the controller supports a hash based multicast filtering so this patch uses 14 perfect multicast filter to filter multicast frames. If number of multicast addresses is greater than 14, controller is put into a mode that receives all multicast frames. Due to lack of access to M5261, this change was not tested with M5261 but it probably works. Many thanks to Marco who provided remote access to M5263. Tested by: Marco Steinbach executive-computing dot de>, Martin MATO orange dot fr> END