ƒ³2229000 180 598 290 179 136 360 115 115 1019 309 316 309 316 117 117 156 156 504 111 111 111 111 250 250 196 617 183 112 115 115 1556 245 245 133 277 277 277 242 1481 242 459 276 367 435 173 194 188 725 1082 349 1221 357 356 532 532 532 352 270 394 394 394 394 281 281 281 396 173 178 133 145 146 133 150 174 296 157 131 214 358 445 313 176 378 234 250 345 805 181 849 316 188 219 221 428 261 357 304 232 222 239 178 344 240 233 164 257 274 184 168 157 119 116 223 592 320 210 159 126 168 440 380 150 201 322 201 171 186 164 197 203 239 163 219 231 351 350 443 260 248 236 187 200 204 386 148 189 554 251 554 188 220 554 200 358 533 533 491 152 166 238 194 154 316 268 333 156 459 320 493 140 347 349 426 297 297 245 197 277 417 236 244 K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2011-12-30T14:33:08.186237Z K 7 svn:log V 500 Invalid Domain Search option isn't considered as a fatal error In the original Domain Search option patch, an invalid option value would cause the whole lease to be rejected. However, DHCP servers who emit such an invalid value are more common than I thought. With this new patch, just the option is rejected, not the entire lease. PR: bin/163431 Submitted by: Fabian Keil (earlier version) Reviewed by: Fabian Keil Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2011-12-30T14:41:47.201543Z K 7 svn:log V 192 Adapt testsuite following change in Domain Search error handling In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2011-12-30T14:46:53.894189Z K 7 svn:log V 82 Set svn:executable on dhclient-script Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-30T15:41:28.430891Z K 7 svn:log V 40 style(9), whitespace and spelling nits. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T17:18:09.693788Z K 7 svn:log V 267 In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int, which is not compatible with the type declared in the earlier prototype. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T17:54:33.296758Z K 7 svn:log V 23 MFC r227104: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:02:14.397027Z K 7 svn:log V 23 MFC r227104: Fix typo. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-12-30T18:16:15.933631Z K 7 svn:log V 926 Merge r216333 and r216555 from the native pmap When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take into account that pmap_pte_quick() sometimes requires the page queues lock to be held. This change reimplements pmap_extract_and_hold() such that it no longer uses pmap_pte_quick(), and thus never requires the page queues lock. Merge r177525 from the native pmap Prevent the overflow in the calculation of the next page directory. The overflow causes the wraparound with consequent corruption of the (almost) whole address space mapping. Strictly speaking, r177525 is not required by the Xen pmap because the hypervisor steals the uppermost region of the normal kernel address space. I am nonetheless merging it in order to reduce the number of unnecessary differences between the native and Xen pmap implementations. Tested by: sbruno END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:18:06.182539Z K 7 svn:log V 216 MFC r227023: Make sure that stack is 16-byte aligned before calling a function, as it is required by amd64 ABI. Add a comment for the places were the stack is accidentally properly aligned already. PR: amd64/162214 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:20:44.594064Z K 7 svn:log V 223 MFC r227024: Despite official i386 ABI does not mandate any stack alignment besides the word alignment, some versions of gcc do require 16-byte alignment. Make sure the stack is 16-byte aligned before calling a subroutine. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:22:34.829270Z K 7 svn:log V 216 MFC r227023: Make sure that stack is 16-byte aligned before calling a function, as it is required by amd64 ABI. Add a comment for the places were the stack is accidentally properly aligned already. PR: amd64/162214 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:29:09.095820Z K 7 svn:log V 223 MFC r227024: Despite official i386 ABI does not mandate any stack alignment besides the word alignment, some versions of gcc do require 16-byte alignment. Make sure the stack is 16-byte aligned before calling a subroutine. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T18:58:42.708682Z K 7 svn:log V 25 MFC r228432: Fix printf. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T19:04:12.315457Z K 7 svn:log V 25 MFC r228432: Fix printf. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T19:18:13.454349Z K 7 svn:log V 64 MFC r227392: Assert that _PRELE() is done for the held process. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T19:24:53.296512Z K 7 svn:log V 64 MFC r227392: Assert that _PRELE() is done for the held process. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T19:58:06.323971Z K 7 svn:log V 411 MFC r228178: If alloc_unr() call in the pipe_create() failed, then pipe->pipe_ino is -1. But, because ino_t is unsigned, this case was not covered by the test ino > 0 in pipeclose(), leading to the free_unr(-1). Fix it by explicitely comparing with 0 and -1. Do no access freed memory, the inode number was cached to prevent access to cpipe after it possibly was freed, but I failed to commit the right patch. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T19:59:54.405028Z K 7 svn:log V 19 MFC r228375: Typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:01:26.243129Z K 7 svn:log V 19 MFC r228375: Typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:06:43.930808Z K 7 svn:log V 19 MFC r228376: Typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:12:50.439461Z K 7 svn:log V 19 MFC r228376: Typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:21:53.780933Z K 7 svn:log V 157 MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:24:52.741577Z K 7 svn:log V 157 MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:35:13.865669Z K 7 svn:log V 103 MFC r227399: Attempt to improve formatting and content of several comments for amd64 and i386 MD code. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T20:41:24.969713Z K 7 svn:log V 524 Add some additional const poison after r228972. The 'mapping' array in lib/libc/gen/strtofflags.c became const, but gcc did not warn about assigning its members to non-const pointers. Clang warned about this with: lib/libc/gen/strtofflags.c:98:12: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types] for (sp = mapping[i].invert ? mapping[i].name : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reviewed by: jilles END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:45:40.233340Z K 7 svn:log V 91 MFC r227443: Guard against the unlikely case of the alias path containing the '%' symbols. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:52:56.473417Z K 7 svn:log V 20 MFC r227444: Style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:55:38.295049Z K 7 svn:log V 23 MFC r227622: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T20:57:36.055450Z K 7 svn:log V 23 MFC r227622: Fix typo. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T21:00:02.587166Z K 7 svn:log V 1462 MFC r227120: Make it possible to set CC and CXX (and optionally, AS and LD) in make.conf(5), while allowing the build32 stage on 64-bit architectures to still override them, so that stage can successfully build 32-bit compatibility libraries. Explanation: 1) The build32 stage sets environment variables CC, CXX, AS and LD for its sub-make, to add 32-bit specific flags (-m32 and such). 2) The sub-make reads sys.mk, encounters CC?= and CXX?= assignments, so does not alter them. 3) After some other stuff, sys.mk reads /etc/make.conf. When you have "CC=xxx" and "CXX=yyy" statements in there, they will *override* the build32-supplied CC/CXX values, nullifying the 32-bit specific flags. 4) Thus all objects get built as 64-bit anyway, and since LD is usually not set in make.conf, it still has the 32-bit flags! 5) Now, whenever something is linked, you will get a "ld: Relocatable linking with relocations from format elf64-x86-64-freebsd (foo.o) to format elf32-i386-freebsd (bar.o) is not supported" error. Fix this by adding "-ECC -ECXX -EAS -ELD" to the build32 sub-make invocation, which forces those environment variables to always override any assignment in makefiles. Thus making it possible to simply set: CC=my-cc CXX=my-c++ in your make.conf, or specify a path, even: CC=/usr/local/bin/other-cc CXX=/usr/local/bin/other-c++ Note this was never a problem on i386, since it has no build32 stage. Silence from: current@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T21:01:14.385445Z K 7 svn:log V 152 MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-30T21:02:32.144442Z K 7 svn:log V 152 MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-12-30T21:22:10.049168Z K 7 svn:log V 38 Add header required by cfi_bus_fdt.c. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-30T21:27:51.904735Z K 7 svn:log V 181 MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use such pathnames. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-30T21:33:19.778656Z K 7 svn:log V 181 MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use such pathnames. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-30T21:46:30.189731Z K 7 svn:log V 181 MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use such pathnames. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-30T21:50:16.499153Z K 7 svn:log V 146 MFC r227122: sh(1): Improve documentation of field splitting. This describes the POSIX-compliant splitting algorithm that first appeared in 8.0. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:07:04.845251Z K 7 svn:log V 1387 MFC r227215: When one attempts to compile the tree with -march=i386, which also used to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, they will be generated as calls to external functions (e.g. __sync_fetch_and_add_N), leading to linking errors later on. Put in a seatbelt that disables use of atomic builtins in libstdc++ and llvm, when tuning specifically for the real i386 CPU. This does not protect against all possible issues, but it is better than nothing. MFC r227538: LLVM uses atomic operations, which are not supported on i386 and GCC emits calls for them, rather than expanding them inline. Older FreeBSD versions compile for i386 by default and as such we end up with unresolved symbols when we build LLVM's TableGen utility as a build tool on them. Add the functions that GCC emits here, but don't bother to make them atomic. Such is not needed. Submitted by: marcel MFC r227636: Revert r227538, since it doesn't compile with clang at all (it doesn't allow the built-in operations to be redefined, at least not without excessive force). Instead, just disable LLVM's support for atomic operations for now. Nothing in either clang or the tablegen tools currently depends on it. This still allows users of head built before r198344 to upgrade to top-of-head seamlessly. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-30T22:07:15.889245Z K 7 svn:log V 146 MFC r227122: sh(1): Improve documentation of field splitting. This describes the POSIX-compliant splitting algorithm that first appeared in 8.0. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:17:10.785296Z K 7 svn:log V 366 MFC r227735: Pull in r144110 from upstream clang trunk: Mark the overloaded atomic builtins as having custom type checking, which they do. This avoids all of the default argument promotions that we (1) don't want, and (2) undo during that custom type checking, and makes sure that we don't run into trouble during template instantiation. Fixes llvm/clang PR11320. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:27:26.377570Z K 7 svn:log V 183 MFC r227736: Pull in r144237 from upstream clang trunk: Fix the signature of __sigsetjmp and sigsetjmp. This eliminates incorrect warnings about the prototypes of these functions. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:30:21.371541Z K 7 svn:log V 274 MFC r227737: Pull in r144505 from upstream clang trunk: Fix the signature of the getcontext builtin, eliminating incorrect warnings about its prototype. This also adds a -W(no-)builtin-requires-header option, which can be used to enable or disable warnings of this kind. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:40:17.334874Z K 7 svn:log V 342 MFC r228379: Upgrade our copy of llvm/clang to 3.0 release. Release notes can be found at: http://llvm.org/releases/3.0/docs/ReleaseNotes.html MFC r228383: Use the correct upstream revision number for llvm/clang 3.0 release. The r145546 revision is from branches/release_30, the r145349 revision is from tags/RELEASE_30/final. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-30T22:42:22.021623Z K 7 svn:log V 81 MFC r228442: Do not use the sometimes-reserved word 'bool' for a variable name. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-12-30T22:50:16.809659Z K 7 svn:log V 101 Clean up release/doc for 9.0R. Content updates will follow in stable/9. Approved by: re (kensmith) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:54:19.804596Z K 7 svn:log V 96 MFC r228409: Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T22:59:00.302266Z K 7 svn:log V 632 MFC r228328: Make it possible to use the debug versions of std::map and std::multimap with clang, by removing two unneeded using declarations. Otherwise, you would get errors similar to: /usr/include/c++/4.2/debug/map.h:77:20: error: dependent using declaration resolved to type without 'typename' using _Base::value_compare; ^ N.B.: Take care when you actually use the debug versions of any libstdc++ header. They are more likely to contain problems, because they are exercised far less often, and since the standard library complexity guarantees don't always apply anymore, compile times can drastically increase. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T23:41:24.237808Z K 7 svn:log V 989 MFC r228536: The TCB_GET32() and TCB_GET64() macros in the i386 and amd64-specific versions of pthread_md.h have a special case of dereferencing a null pointer. Clang warns about this with: In file included from lib/libthr/arch/i386/i386/pthread_md.c:36: lib/libthr/arch/i386/include/pthread_md.h:96:10: error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference] return (TCB_GET32(tcb_self)); ^~~~~~~~~~~~~~~~~~~ lib/libthr/arch/i386/include/pthread_md.h:73:13: note: expanded from: : "m" (*(u_int *)(__tcb_offset(name)))); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libthr/arch/i386/include/pthread_md.h:96:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' Since this indirection is done relative to the fs or gs segment, to retrieve thread-specific data, it is an exception to the rule. Therefore, add a volatile qualifier to tell the compiler we really want to dereference a zero address. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T00:03:13.103325Z K 7 svn:log V 251 Move session related fields out of the nfsclclient and nfsmount structures and into a separate structure. This will help prepare the session code so that it can be used for Data Server (DS) connections as well as the Metadata Server (MDS) connection. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-12-31T00:09:33.133925Z K 7 svn:log V 1123 Use in-label sectorsize to determine position of the label when writing label into a file image. The most common use - putting disklabel into ISO file. Before this change the label would always go to the offset 512, while geom_part code expects it to be in the 1st sector (i.e. 2048 incase of ISO). BSD disklabels provide good and lightweight way to logically split livecds. It is non-intrusive as far as ISO9660 goes (both boot-wise and metadata-wise) and completely transparent to anything but BSD, so you can have BSD-specific area appended after regular ISO. And with a little bit of GEOM trickery you can do even more interesting stuff with it. For example we make "hybrid" bootable CDs using this method. We create bootable ISO with kernel and such and append UFS image compressed with UZIP and it works like a charm. We put label based on the offsef of the BSD part into the ISO. The kernel boots off normal ISO9660 part, tastes label attaches it, tastes UZIP, attaches it and finally mounts UFS using GEOM_LABEL. This provides much better way of eliminating waste than doing "crunched" build. MFC after: 1 month END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T00:12:51.775731Z K 7 svn:log V 259 Modify the nfscl_setsequence() and nfscl_freeslot() functions so that they use the new nfsclsession structure. Also, rename and move them to the common module, since they are called by code in the common module and may be useful for a NFSv4.1 server someday. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T00:35:11.958046Z K 7 svn:log V 258 Add an argument to nfscl_reqstart() that is a pointer to the new session structure, so that it can optionally override use of the default one in the nfsclclient structure. For now, this new argument is always passed in as NULL to maintain default behaviour. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T00:44:11.525313Z K 7 svn:log V 435 MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by software except for the PCI device ID. The two chips differ in that BCM5709 supports TCP/IP and iSCSI offload in Windows while the BCM5716 doesn't. While I'm here remove now unused definition of BCE_CHIP_NUM_5716 and BCE_CHIP_ID_5716_C0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T00:46:06.989265Z K 7 svn:log V 435 MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by software except for the PCI device ID. The two chips differ in that BCM5709 supports TCP/IP and iSCSI offload in Windows while the BCM5716 doesn't. While I'm here remove now unused definition of BCE_CHIP_NUM_5716 and BCE_CHIP_ID_5716_C0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T00:47:54.680294Z K 7 svn:log V 435 MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by software except for the PCI device ID. The two chips differ in that BCM5709 supports TCP/IP and iSCSI offload in Windows while the BCM5716 doesn't. While I'm here remove now unused definition of BCE_CHIP_NUM_5716 and BCE_CHIP_ID_5716_C0. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T00:51:16.216588Z K 7 svn:log V 254 Modify the nfsrpc_exchangeid() and nfsrpc_createsession() functions to use the new session structure. Later these functions will get extra arguments that will allow them to use a session structure other than the default one in the nfsclclient structure. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T01:06:51.107885Z K 7 svn:log V 172 Initialize the mutex in the nfsclsession structure inside the nfsclclient structure. This mutex is used to serialize modifications of fields in the nfsclsession structure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:07:01.629171Z K 7 svn:log V 297 MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before dropping a driver lock. Reported by: Karim (fodillemlinkarimi <> gmail dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:08:31.119454Z K 7 svn:log V 297 MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before dropping a driver lock. Reported by: Karim (fodillemlinkarimi <> gmail dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:10:29.906938Z K 7 svn:log V 297 MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before dropping a driver lock. Reported by: Karim (fodillemlinkarimi <> gmail dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:22:16.920531Z K 7 svn:log V 297 MFC r226479: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before dropping a driver lock. Reported by: Karim (fodillemlinkarimi <> gmail dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:30:43.289733Z K 7 svn:log V 184 MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it always reported success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:32:06.367978Z K 7 svn:log V 184 MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it always reported success. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-31T01:33:25.089054Z K 7 svn:log V 184 MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it always reported success. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T02:08:51.783924Z K 7 svn:log V 298 Add an optional argument to newnfs_request() that is a pointer to the new session structure. If this argument is NULL, it will use the default session structure in the nfsclclient structure. This prepares the code to be used for Data Server sessions as well as the default Metadata Server session. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T03:02:59.856061Z K 7 svn:log V 81 MFC r228442: Do not use the sometimes-reserved word 'bool' for a variable name. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T04:05:13.064333Z K 7 svn:log V 81 Add an argument to nfsrpc_exchangeid() to specify the exchange flags to be used. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-12-31T04:38:04.475512Z K 7 svn:log V 38 Happy 2012 to FreeBSD users in Samoa. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-12-31T04:42:17.268544Z K 7 svn:log V 50 MFC 229067: Happy 2012 to FreeBSD users in Samoa. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-12-31T04:47:00.782968Z K 7 svn:log V 51 MF9 r229068: Happy 2012 to FreeBSD users in Samoa. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-31T05:24:21.088804Z K 7 svn:log V 39 - CAPK-0100 board's USB timer is 12MHz END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-31T05:25:42.408536Z K 7 svn:log V 56 - Properly clean state structure in cvmx_usb_initialize END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-31T05:45:10.378653Z K 7 svn:log V 80 - Pass proper endpoint number (without direction flag) to cvmx_usb_open_pipe END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-31T07:21:28.592582Z K 7 svn:log V 198 Revert r228986 until it can be reworked to avoid panicing the kernel when the same interface is attached multiple times with different DLTs, as is done in net80211 for example. Reported by: adrian END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-12-31T11:43:35.503963Z K 7 svn:log V 66 MFC r229067 (by obrien): Happy 2012 to FreeBSD users in Samoa. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2011-12-31T12:12:41.694187Z K 7 svn:log V 35 Fix typos in command descriptions. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T12:37:07.067623Z K 7 svn:log V 121 In sys/dev/hwpmc/hwpmc_amd.c, fix a clang warning about invalid enum conversions. Reviewed by: jkoshy MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T12:45:43.312754Z K 7 svn:log V 265 MFC r228537: Remove meaningless self-assignment in res_send.c, otherwise clang will warn about it. I guess this was originally done to silence a bogus warning by an older version of gcc, but I could not reproduce it with any version of gcc that I have access to. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T12:52:18.603847Z K 7 svn:log V 352 MFC r228538: In lib/libc/rpc/crypt_client.c, fix a clang warning about an implicit conversion between enum desdir/desmode from include/rpc/des.h, and enum desdir/desmode from include/rpcsvc/crypt.x. These are actually different enums, with different value names, but by accident the integer representation of the enum values happened to be the same. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T12:58:21.729060Z K 7 svn:log V 220 MFC r228540: Since clang does not support the tls_model attribute used in malloc.c yet (see LLVM PR 9788), and warns about it, rub it out for now. When clang grows support for this attribute, I will revert this again. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T13:07:09.536092Z K 7 svn:log V 79 MFC r227461: Style change. Use memxxx() functions instead of bxxx() functions. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-12-31T13:12:10.868746Z K 7 svn:log V 283 MFC r228099: - Create links to the xz and lzma versions even if BSD grep is not the default. Nor GNU nor liblzma in base provides such functionality so it may be useful. MFC r228319: - Match GNU behavior of exit code - Rename variable that has a different meaning now END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T13:12:29.000535Z K 7 svn:log V 136 MFC r227463, r227383 and r227108: Add support for modem control lines. Add support for GPIO pins. PR: usb/162307 Submitted by: JD Louw END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-12-31T13:13:42.402957Z K 7 svn:log V 155 MFC r228766: - Remove a GCC-specific compiler flag that was added before to eliminate some warnings but at the moment does not seem to be necessary. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T13:23:04.536652Z K 7 svn:log V 247 MFC r227396, r227401, r227541, r227654 and r228493: Relax XHCI timeouts which should fix enumeration issues. Fix definition of XHCI port power bit. Correct size of some USB 3.0 descriptor fields. Reported by: Kohji Okuno, Jan Henrik Sylvester END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-12-31T13:24:53.460581Z K 7 svn:log V 710 Default to not performing the early-boot memory tests when we detect we are booting inside a VM. There are three reasons to disable this: o It causes the VM host to believe that all the tested pages or RAM are in use. This in turn may force the host to page out pages of RAM belonging to other VMs, or otherwise cause problems with fair resource sharing on the VM cluster. o It adds significant time to the boot process (around 1 second/Gig in testing) o It is unnecessary - the host should have already verified that the memory is functional etc. Note that this simply changes the default when in a VM - it can still be overridden using the hw.memtest.tests tunable. MFC after: 4 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T13:34:42.147443Z K 7 svn:log V 84 Add missing change to XHCI driver similar to changes in r228483. MFC after: 0 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T13:37:25.457122Z K 7 svn:log V 756 MFC r228546: Clang has more warnings enabled by default, and when using -Wall, so if WARNS is set to low values, some of them have to be disabled explicitly. MFC r228551: Disable one more clang warning when WARNS <= 3. MFC r228606: Add a NO_WARRAY_BOUNDS setting to bsd.sys.mk, only applicable to clang, to selectively work around warnings in programs that don't use flexible array members, but instead define arrays of length 1 at the end of the struct, and then access those beyond their declared bounds. MFC r228617: Disable yet another clang warning when WARNS <= 3. MFC r228675: Disable yet another clang warning (-Wconversion) when WARNS <= 3. MFC r228677: Disable another clang warning (-Wempty-body) when WARNS <= 2. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T13:43:51.216970Z K 7 svn:log V 223 MFC r228547: Cast away a clang alignment warning in drti.c's fixsymbol() function. This code only runs on i386 and amd64, so there should be no problems if buf + sec->dofs_offset is not aligned (which is unlikely anyway). END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-12-31T13:44:10.663790Z K 7 svn:log V 97 MFC r229067 (by obrien): Happy 2012 and may 9.0-RELEASE be a good one. Approved by: re (kib) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T13:56:32.225183Z K 7 svn:log V 126 MFC r228548: In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use the correct printf format for an unsigned long. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:02:16.175660Z K 7 svn:log V 128 MFC r228549: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, use the correct printf format for a key_t (aka long). END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:04:54.197833Z K 7 svn:log V 335 MFC r228550: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, the dt_popc() function assumes that either _ILP32 or _LP64 is defined, otherwise it has no suitable implementation. However, the _ILP32 and _LP64 macros come from isa_defs.h, which is not included in this file. Add the include now, to get the macros defined. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:12:12.233857Z K 7 svn:log V 163 MFC r226173, r227843, r227848 and r227908: Use DEVMETHOD_END to mark end of device methods. Remove superfluous device methods. Add some missing __FBSBID() macros. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:13:11.274758Z K 7 svn:log V 264 MFC r228552: Define YY_NO_INPUT in lib/libipsec/policy_token.l, so lex's input() function does not get defined needlessly. MFC r228555: In lib/libipsec/policy_token.l, use lex's standard "%option noinput" instead of hand-defining the YY_NO_INPUT macro. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:21:41.270867Z K 7 svn:log V 211 MFC r228553: In contrib/file/softmagic.c, fix a potential format string security problem. (This fix has already been applied upstream, but we do not have the latest version of file in the tree at the moment.) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:22:02.355113Z K 7 svn:log V 134 MFC r229086, r228483 and r228640: Implement better support for USB controller suspend and resume. Fix some build issues in avr32dci.c END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:24:22.316632Z K 7 svn:log V 124 MFC r228758: Fix for race against user-space applications trying to change the configuration on USB HUBs. PR: kern/163091 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:27:26.965318Z K 7 svn:log V 146 MFC r228554: In sys/contrib/ngatm/netnatm/msg/uni_ie.c, use a more appropriate way to tell the compiler some parameters are purposefully unused. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:29:01.025282Z K 7 svn:log V 81 MFC r227285: Add support for new USB modem protocol. PR: usb/159919 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:33:15.721928Z K 7 svn:log V 246 MFC r228709, r228711 and r228723: - Add missing unlock of USB controller's lock, when doing shutdown, suspend and resume. - Add code to wait for USB shutdown to be executed at system shutdown. - Add sysctl which can be used to skip this waiting. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:34:07.392136Z K 7 svn:log V 147 MFC r228556: Add "%option noinput" to aicasm_scan.l and aicasm_macro_scan.l, so no unneeded input functions will be emitted. Spotted by: arundel END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T14:36:51.301812Z K 7 svn:log V 140 MFC r228557: In lib/libpmc/libpmc.c, struct pmc_cputype_map's pm_cputype field should be of type 'enum pmc_cputype', not 'enum pmc_class'. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:37:51.950795Z K 7 svn:log V 67 MFC 228304: Correct some bInterval USB template descriptor values. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-31T14:44:42.464033Z K 7 svn:log V 164 Make the comment in i386/include/ucontext.h identical to the one in amd64/include/ucontext.h. The later is better worded. Requested by: deischen MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:45:43.968955Z K 7 svn:log V 176 MFC r226709: Allow USB ethernet drivers to define a driver specific attach handler so that a USB ethernet driver can announce interface capabilities and do its own MII attach. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:47:35.609835Z K 7 svn:log V 87 MFC r226743: Implement TX/RX checksum offloading support for ASIX AX88772B controller. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:50:38.186364Z K 7 svn:log V 71 MFC r227462: Enable power save mode for the USB storage device driver. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:54:30.121154Z K 7 svn:log V 60 MFC r228494, r228508: Fix for random USB transfer time out. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-31T14:55:23.177312Z K 7 svn:log V 28 Import compiler-rt r147390. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-31T14:56:26.699238Z K 7 svn:log V 25 Tag compiler-rt r147390. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T14:57:52.271310Z K 7 svn:log V 125 MFC r226465 and r226467: Fix an issue with 11g beacon frames which looks to be a limitation on the largest multi-write size. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T15:03:29.760364Z K 7 svn:log V 499 MFC r228558, r228585, r228588, r228652, r228707: Unfortunately, clang gives warnings about sendmail code that cannot be turned off yet. Since this is contrib code, and we don't really care about the warnings, just make them non-fatal for now. MFC r228590: Fix typos in the comments about clang warnings in several sendmail-related Makefiles. Spotted by: arundel MFC r228708: In usr.bin/vacation/Makefile, fix a typo in the comment about clang warnings. Spotted by: arundel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-12-31T15:08:33.677067Z K 7 svn:log V 219 MFC r228646: Additional icache paranoia: non-PLT relocations can modify the text segment. It is then important to make sure the icache is synchronized again to prevent (rare) random seg faults and illegal instructions. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-12-31T15:11:47.139387Z K 7 svn:log V 109 MFC r228688,228689: Support infrastructure for X11 on PS3. Submitted by: geoffrey dot levand at mail dot ru END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:14:07.678194Z K 7 svn:log V 62 MFC r227781: Add new USB IDs. PR: usb/162712, usb/163732 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:15:30.036077Z K 7 svn:log V 29 MFC r228637: Add new USB ID. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:18:51.604782Z K 7 svn:log V 71 MFC r227610 and r228243: Add more quirks for USB mass storage devices. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:31:34.549174Z K 7 svn:log V 342 MFC r227701, r227847 and r227849: Move the device_delete_all_children() function from usb_util.c to kern/subr_bus.c. Simplify this function so that it no longer depends on malloc() to execute. Rename device_delete_all_children() into device_delete_children(). Identify a few other places where it makes sense to use device_delete_children(). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:37:31.723603Z K 7 svn:log V 282 MFC r227706, r227748, r227749 and r228234: Simplify the usb_pause_mtx() function by factoring out the generic parts to the kernel's pause() function. The pause() function can now be used when cold != 0. Also assert that the timeout in system ticks must be greater or equal to zero. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:42:05.294934Z K 7 svn:log V 53 MFC r228232 and r228303: Fix clang compile warnings. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:43:55.057991Z K 7 svn:log V 103 MFC r228195: Fix checks for error return from urtw_alloc_rx_data_list() and urtw_alloc_tx_data_list(). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:46:36.548880Z K 7 svn:log V 224 MFC r227404: Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0. Some header file parts of this patch were taken from a patch submitted by Maya Erez to the LibUSB developers list. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2011-12-31T15:49:04.247509Z K 7 svn:log V 104 MFC r226430: Adjust posix_memalign() prototype to match what we define in stdlib.h for C++ compilation. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-31T15:49:07.782446Z K 7 svn:log V 74 MFC r228235 and r228236: Minor code simplification. No functional change. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-12-31T15:53:34.042336Z K 7 svn:log V 91 Fix header pollution, possibly unbreaking the build of cfi_bus_ixp4xx.c as part of cfi.ko. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-31T15:56:00.221070Z K 7 svn:log V 69 Oops - this was referencing a local file, which I've done away with. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-12-31T16:19:22.356238Z K 7 svn:log V 105 Remove a declaration to a non-existent function. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T16:32:26.482460Z K 7 svn:log V 110 MFC r228559: In contrib/telnet/libtelnet/sra.c, use the correct number of bytes to zero the password buffer. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T17:14:56.332683Z K 7 svn:log V 146 MFC r228578 In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect warnings about alignment, so turn -Wcast-align off for now. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-31T17:56:05.747647Z K 7 svn:log V 71 MFC: r226987 Added missing cache purge of from argument for rename(). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-12-31T18:09:31.921164Z K 7 svn:log V 118 MFC r227775: Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50 import, it works without issue. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T18:41:29.724666Z K 7 svn:log V 138 MFC r228442: Do not use the sometimes-reserved word 'bool' for a variable name. This is a direct commit since the file name has changed. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T18:49:46.229463Z K 7 svn:log V 258 MFC r228579: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c, some uint64_t values are snprintf'd using %llx. On amd64, uint64_t is typedef'd as unsigned long, so cast the values to u_longlong_t, as is done similarly in the rest of the file. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T18:53:11.220674Z K 7 svn:log V 257 MFC r228580: In cddl/contrib/opensolaris/lib/libdtrace/common/dt_handle.c, some uint64_t values are snprintf'd using %llx. On amd64, uint64_t is typedef'd as unsigned long, so cast the values to u_longlong_t, as is done similarly in the rest of the file. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-31T19:01:48.678443Z K 7 svn:log V 351 Upgrade libcompiler_rt to upstream revision 147390. This version of libcompiler_rt adds support for __mulo[sdt]i4(), which computes a multiply and its overflow flag. There are also a lot of cleanup fixes to headers that don't really affect us. Updating to this revision should make it a bit easier to contribute changes back to the LLVM developers. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:19:19.361350Z K 7 svn:log V 167 MFC r228581: In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining minutes of activity, to avoid a warning on platforms where time_t is a 32-bit integer. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:26:24.242302Z K 7 svn:log V 155 MFC r228582: In libexec/getty/chat.c, replace && with & in chat_send(). The intent is to test if the CHATDEBUG_SEND bit is set in the chat_debug global. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:28:54.517021Z K 7 svn:log V 143 MFC r228584: In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf length modifier for the difference between two pointers. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:34:25.687410Z K 7 svn:log V 95 MFC r228586: In libexec/pppoed/pppoed.c, use the correct printf length modifier for a size_t. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:36:11.552603Z K 7 svn:log V 107 MFC r228587: In libexec/rbootd/utils.c, use the correct printf length modifiers for u_int32_t and size_t. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:42:52.810703Z K 7 svn:log V 111 MFC r228589: In contrib/telnet/telnetd/utility.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 2011-12-31T19:46:06.546360Z K 7 svn:log V 293 MFC r228600: Fix the incompatible enum conversions in libexec/ypxfr in another, more messy way, so as to not disrupt other yp programs: just add casts to convert the incompatible enums, as the numerical values are the same (either by accident, design, or the phase of the moon at that time). END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:48:04.942666Z K 7 svn:log V 56 MFC r228595: Fix some obtuse fprintf tricks in bin/ed. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:50:52.131974Z K 7 svn:log V 97 MFC r228596: In games/factor/factor.c, fix a warning about a format string not being a literal. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T19:50:55.221913Z K 7 svn:log V 461 MFC r228441: Consistently use types in e1000 driver code: - Two struct members eee_disable are used in a function that expects an int *, so declare them int, not bool. - igb_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - igb_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - igb_tso_setup() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool/true/false if the symbols already exist. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:53:00.195817Z K 7 svn:log V 158 MFC r228597: In cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, a size_t is passed to fprintf as a field width. It should be an int instead, so cast it. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T19:55:19.558925Z K 7 svn:log V 461 MFC r228441: Consistently use types in e1000 driver code: - Two struct members eee_disable are used in a function that expects an int *, so declare them int, not bool. - igb_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - igb_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - igb_tso_setup() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool/true/false if the symbols already exist. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:56:25.690703Z K 7 svn:log V 96 MFC r228598: In cddl/contrib/opensolaris/cmd/dtrace/dtrace.c, fix some obtuse snprintf tricks. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T19:58:25.127000Z K 7 svn:log V 127 MFC r228601: Define YY_NO_INPUT when building libbinutils, to prevent warnings about unused input() functions emitted by lex. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:01:09.613302Z K 7 svn:log V 461 MFC r228441: Consistently use types in e1000 driver code: - Two struct members eee_disable are used in a function that expects an int *, so declare them int, not bool. - igb_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - igb_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - igb_tso_setup() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool/true/false if the symbols already exist. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T20:01:40.578515Z K 7 svn:log V 107 MFC r228602: In sbin/camcontrol/camcontrol.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 2011-12-31T20:06:38.887504Z K 7 svn:log V 265 MFC r228603: In sbin/fsdb/fsdbutil.c, work around a clang false positive with printf format warnings and conditional operators. (See LLVM PR 11313 for more information.) MFC r228693: Revert r228603, and add the workaround to sbin/fsdb/Makefile instead. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:12:26.445288Z K 7 svn:log V 440 MFC r228440: Consistently use types in ixgbe driver code: - {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - {ixgbe,ixv}_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - {ixgbe,ixv}_tso_setup() returns a bool, so declare it bool, not boolean_t. - {ixgbe,ixv}_txeof() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool if the symbol already exists. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:15:46.285239Z K 7 svn:log V 440 MFC r228440: Consistently use types in ixgbe driver code: - {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - {ixgbe,ixv}_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - {ixgbe,ixv}_tso_setup() returns a bool, so declare it bool, not boolean_t. - {ixgbe,ixv}_txeof() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool if the symbol already exists. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:26:05.341217Z K 7 svn:log V 398 MFC r228440: Consistently use types in ixgbe driver code: - ixgbe_tso_setup() returns a bool, so declare it bool, not boolean_t. - ixgbe_txeof() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool if the symbol already exists. Note this is a partial MFC since ixgbe_tx_ctx_setup() returns more than TRUE/FALSE on stable/7 and ixgbe_header_split tunable does not exist. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-31T20:27:36.075052Z K 7 svn:log V 60 MFC r228607: Use NO_WARRAY_BOUNDS for sbin/routed/rtquery. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:42:34.225589Z K 7 svn:log V 74 MFC r228443: Do not define bool/true/false if the symbols already exist. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-31T20:46:35.869927Z K 7 svn:log V 145 MFC r228443: Do not define bool/true/false if the symbols already exist. Note that the ofed and dev/vxge parts of r228443 are not in stable/8. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-31T22:35:46.899530Z K 7 svn:log V 99 Import xz-embedded from git. This is from commit hash '48f4588342f4a4e0182a6740e25675fd8e6c6295'. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-31T22:37:12.392637Z K 7 svn:log V 59 Tag git revision 48f4588342f4a4e0182a6740e25675fd8e6c6295. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-31T23:21:36.716656Z K 7 svn:log V 221 - struct clocktime sets different ranges for DOW and month comparing to struct timeval. for clocktime they should be 1..7 and 1..12 respectively - CAPK-0100ND uses RTC without centruy bit (DS1307) so set it 21st END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-31T23:41:19.702712Z K 7 svn:log V 172 This particular work around isn't required any longer, now that the 11n radio backends are also added into the RF linker set. This saves around 7k from the kernel binary. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-31T23:56:58.241897Z K 7 svn:log V 235 Add the "glue" needed for the 4 NFSv4.1 Ops that are used for handling NFSV4.1 pNFS layouts. This also includes flags and error return values used by these Operations. The functions that implement these operations will be coming soon. END K 10 svn:author V 3 jgh K 8 svn:date V 27 2012-01-01T00:23:32.024655Z K 7 svn:log V 64 - add myself to the calendar (jgh) Approved by: crees (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-01T01:08:51.617439Z K 7 svn:log V 363 If frames are dumped out of the queue, let's at least see what they are. This shows that the majority of the weird traffic I see here are probe frames that haven't been sent out, but I can also trigger this condition by doing ICMP w/ -i 0.3 - enough to trigger the TX during actual scanning, but not fast enough to stop scanning from occuring. PR: kern/163689 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-01T02:34:15.848375Z K 7 svn:log V 222 Define the structure that stores an NFSv4.1 File Layout and add the function nfsrpc_layoutget() that does the LayoutGet Operation to fill it in. The function is untested at this point and the structure may need to change. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-01T03:38:36.924476Z K 7 svn:log V 395 Redefine the NFSv4.1 File Layout structure as 2 structures, where the second one chains off the first in increasing offset order. This is necessary since the stateid changes for each LayoutGet Op. and the most up-to-date one must be used. It also simplified the coding of nfsrpc_layoutget(). This function is still untested and it, along with the structures will continue to change for a while. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-01-01T09:12:21.989478Z K 7 svn:log V 46 - Properly set IRQ handlers for all USB ports END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-01T15:56:15.187717Z K 7 svn:log V 246 Instead of forcing -O1 on PowerPC for LLVM and clang, fix the actual problem by adding -fno-strict-aliasing to CFLAGS. Since this is a global issue that just happened to manifest on PowerPC, add this to CFLAGS unconditionally. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-01T16:04:02.536825Z K 7 svn:log V 248 Increase the available virtual address space for user programs on PowerPC AIM systems to 4 GB on 32-bit systems and 2^64 bytes on 64-bit systems. VM_MAXUSER_ADDRESS remains at 2 GB on Book-E, due to a different memory layout used on this platform. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-01T16:05:36.458672Z K 7 svn:log V 325 Keep track of PVO entries in each pmap, which allows much faster pmap_remove() for large sparse requests. This can prevent pmap_remove() operations on 64-bit process destruction or swapout that would take several hundred times the lifetime of the universe to complete. This behavior is largely indistinguishable from a hang. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-01T16:41:33.197986Z K 7 svn:log V 199 MFC: r227493 Move the assignment of default values for some mount options to before the nfs_decode_args() call in the new NFS client, so they don't overwrite the value specified on the command line. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-01T17:05:24.914890Z K 7 svn:log V 199 MFC: r227493 Move the assignment of default values for some mount options to before the nfs_decode_args() call in the new NFS client, so they don't overwrite the value specified on the command line. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T17:23:03.840818Z K 7 svn:log V 152 MFC r228610: Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the alignment warnings than using WARNS=3, and it also works for clang. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T17:27:31.937091Z K 7 svn:log V 104 MFC r228611: In sbin/atm/atmconfig/diag.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-01T17:37:17.116046Z K 7 svn:log V 184 MFC r228612 Use both NO_WFORMAT and NO_WARRAY_BOUNDS for sbin/ipf, it would be too disruptive to actually fix all the warnings, and the code hasn't been maintained for several years. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T17:42:02.454004Z K 7 svn:log V 324 MFC r228614: In sbin/dhclient, work around warnings about the size argument to strlcpy appearing to be the size of the source buffer, instead of the destination. MFC r228615: In sbin/dhclient, since we know the size of the source strings anyway, we might as well use memcpy; strlcpy is really unnecessary here. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T17:44:26.184101Z K 7 svn:log V 143 MFC r228616: In usr.bin/tar/tree.c, if you really want to poke to NULL, you must use volatile, otherwise the indirection will not be emitted. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-01T17:47:52.770661Z K 7 svn:log V 151 MFC r228618 In sbin/devd/devd.h, 'event_proc' and 'eps' are declared as structs. In devd.hh, they are redeclared as classes. Fix the inconsistency. END