ƒ²u209000 173 240 217 208 1218 288 1188 145 254 229 298 226 340 300 152 230 228 704 217 115 154 147 147 153 145 471 289 671 150 2987 641 322 147 150 199 346 130 472 525 410 158 114 118 582 118 673 132 195 253 355 281 445 209 178 406 169 213 204 319 203 159 239 2181 350 447 207 144 182 670 312 176 200 137 196 186 189 211 188 604 239 582 157 218 395 492 471 1748 168 144 269 279 309 300 170 302 309 294 302 297 304 276 265 306 867 166 400 253 262 535 437 159 477 141 143 135 168 148 663 464 260 304 353 663 469 196 393 134 409 190 196 107 193 827 178 176 283 442 437 142 149 134 131 132 113 152 486 181 190 240 166 148 193 144 421 308 228 253 310 159 132 139 116 237 159 139 152 127 126 134 223 449 114 223 130 K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-10T20:01:33.329152Z K 7 svn:log V 147 MFC 208925: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-10T20:02:13.037156Z K 7 svn:log V 124 MFC 208925: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-10T20:04:44.722608Z K 7 svn:log V 115 MFC 208912: Fix a sign bug that caused adaptive spinning in sx_xlock() to not work properly. Approved by: re (bz) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-10T20:13:03.778810Z K 7 svn:log V 1124 MFC 208603,208605: More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS client always performs at least one RPC on a file during an open(2) to see if the file has changed. Normally this RPC is an ACCESS or GETATTR RPC that is forced by flushing a file's attribute cache during nfs_open() and then requesting new attributes. However, if the file is noticed to be stale during nfs_open(), the only recourse is to fail the open(2) call with ESTALE. On the other hand, if the ACCESS or GETATTR RPC is sent during nfs_lookup(), then the NFS client can fall back to a LOOKUP RPC to obtain the new file handle in the case that a file has been replaced. This change causes the NFS client to flush the attribute cache during nfs_lookup() when validating a name cache hit if the attributes fetched during nfs_lookup() can be reused in nfs_open(). This allows the client to open a replaced file via the new file handle the first time that it notices a replaced file rather than failing with ESTALE in some cases. Approved by: re (kib) END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-06-10T20:13:10.023943Z K 7 svn:log V 193 Fix uninitialized variables that cause a crash when the network is initialized and sysinstall is not running as init. Submitted by: Nick Mills Approved by: cperciva (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-10T20:13:23.157128Z K 7 svn:log V 1094 MFC 208603: More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS client always performs at least one RPC on a file during an open(2) to see if the file has changed. Normally this RPC is an ACCESS or GETATTR RPC that is forced by flushing a file's attribute cache during nfs_open() and then requesting new attributes. However, if the file is noticed to be stale during nfs_open(), the only recourse is to fail the open(2) call with ESTALE. On the other hand, if the ACCESS or GETATTR RPC is sent during nfs_lookup(), then the NFS client can fall back to a LOOKUP RPC to obtain the new file handle in the case that a file has been replaced. This change causes the NFS client to flush the attribute cache during nfs_lookup() when validating a name cache hit if the attributes fetched during nfs_lookup() can be reused in nfs_open(). This allows the client to open a replaced file via the new file handle the first time that it notices a replaced file rather than failing with ESTALE in some cases. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-10T20:15:45.257913Z K 7 svn:log V 53 svn merge svn+ssh://svn.freebsd.org/base/head@208996 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:20:46.347938Z K 7 svn:log V 158 MFC r208699: Fix resource leaks in ieee80211_ioctl_setchanlist() in case of error. Found with: Coverity Prevent(tm) CID: 4115 Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:23:20.456921Z K 7 svn:log V 133 MFC r208703: Fix an off by one in ar9285SetPowerCalTable(). Found with: Coverity Prevent(tm) CID: 3979 Approved by: re (kensmit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:26:34.762188Z K 7 svn:log V 202 MFC r208711: Bring in a couple of fixes from the Linux ath9k related to chip hangs. While there, try to make the register write pattern look like what's done by ath9k. Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:28:42.814402Z K 7 svn:log V 130 MFC r208712: Rewrite ar9285SetBoardValues() to match what ath9k does and fix out of bounds reads. Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:34:22.711168Z K 7 svn:log V 244 MFC r208644: Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. While there, fix 'const static' typo. Submitted by: Arnaud Lacombe Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:36:30.905979Z K 7 svn:log V 204 MFC r208643: Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. Submitted by: Arnaud Lacombe Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:40:38.827477Z K 7 svn:log V 57 Add missing braces. Submitted by: sam MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:51:13.160598Z K 7 svn:log V 134 MFC r204644: Replace Id keyword with FreeBSD keyword and set the svn props correctly. No functional change. Approved by: re (bz) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:54:53.503775Z K 7 svn:log V 132 MFC r208642: Don't shadow the global variable 'version'. Submitted by: Arnaud Lacombe Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-10T20:58:34.079450Z K 7 svn:log V 608 Some odd APs send beacons on the same TX queue as non-beacons. This breaks 802.11 duplicate detection. Upon looking at the standard, we discover that 802.11-2007 says: "A receiving QoS STA is also required to keep only the most recent cache entry per
triple, storing only the most recently received fragment number for that triple. A receiving STA may omit tuples obtained from broadcast/multicast or ATIM frames from the cache." To fix this, we just disable duplicate detection for multicast/broadcast frames. Reviewed by: sam MFC after: 4 weeks Obtained from: DragonFly END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-10T20:59:28.049336Z K 7 svn:log V 120 Several style fixes as prompted by bde@. While I'm there, loosen the st_nlink check and fix grammar for 1 extra links. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-10T21:52:47.561021Z K 7 svn:log V 20 Revert rev. 208882. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-10T21:56:14.258442Z K 7 svn:log V 59 Print a warning about NULL maps only when booting verbose. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-10T22:46:12.680575Z K 7 svn:log V 51 MFC r205940: Remove unused files. PR: bin/38256 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-10T22:47:04.185843Z K 7 svn:log V 51 MFC r205940: Remove unused files. PR: bin/38256 END K 10 svn:author V 6 avatar K 8 svn:date V 27 2010-06-11T01:32:42.360925Z K 7 svn:log V 58 Fixing compilation bustage by adding the missing && back. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-11T02:09:18.042862Z K 7 svn:log V 53 svn merge svn+ssh://svn.freebsd.org/base/head@209022 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-11T02:43:36.614571Z K 7 svn:log V 378 Merge from tbemd branch: Introduce MACHINE_CPUARCH. Many different MACHINE_ARCHs will be built from one MACHINE_CPUARCH. This will allow us to move to a more standard MACHINE_ARCH for mips and arm which exist in many different endian variants, and for powerpc where both 32 and 64 bit binaries are generated from the same sources. Reviewed by: arch@ (mostly silence though) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-11T02:50:53.957702Z K 7 svn:log V 196 Merge from tbemd Enhance Makefile.inc processing, when asked for, to include the most specific (MACHINE specific) to least specific (MACHINE_CPUARCH). Reviewed by: arch@ (mostly silence though) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-11T03:00:32.063095Z K 7 svn:log V 575 Bump MAX_BPAGES from 256 to 1024. It seems that a few drivers, bge(4) in particular, do not handle deferred DMA map load operations at all. Any error, and especially EINPROGRESS, is treated as a hard error and typically abort the current operation. The fact that the busdma code queues the load operation for when resources (i.e. bounce buffers in this particular case) are available makes this especially problematic. Bounce buffering, unlike what the PR synopsis would suggest, works fine. While on the subject, properly implement swi_vm(). PR: 147502 MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-11T03:00:48.865379Z K 7 svn:log V 50 IFC @ 209023 - post clang import, pre tbemd merge END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-11T03:13:19.812828Z K 7 svn:log V 2893 MFC: Fix a number of bugs and race conditions. r208160: Bring back of the iterator thread. It now properly handles VNETS having only one thread. The old timer based code was full of LOR's and other issues. r208852: Cleanup bug. Basically when an un-accepted socket was hanging on a closed listener, we would leak the inp never cleaning it up r208853: Enhance the use under invarients of the audit for locks function and fix a bug where a close collision with a cookie being processed would cause a crash. r208854: Use the proper increment macros when working with the sent_queue_retran_cnt r208855: Align comments properly, Fix a bug where we were NOT looking at the resend markings for control chunks and also not decrementing the retran count which caused extra calls to retransmission. Alos add a valid no locks call to the output routine. r208856: Spacing issues in auth/bsd addr. r208857: Get rid of a windows ifdef that somehow leaked in r208863: Missing error leg returns in some failure cases r208864: LOR fix between the iterator and sctp_inpcb_close r208874: Don't call the sctp_inpcb_free from abort an association since you don't know what locks you hold and a timer will take care of the situation when the gone flag is set r208875: sctp_inpcb_free bug - a socket under the right situation could get stuck (from the accept queue) and never start the proper cleanup timer) r208876: Further enhance invariant lock validation, Fix a bug where a closed socket and a INIT-ACK could collide and cause a crash r208878: Clear up another bug in sctp_inpcb_free where we would end up due to a race in freeing hit a destroy of a contended lock. r208879: Optimize the cleanup and make some additional fixes in the sysctl code so that it won't reference a GONE INP and crash us r208883 & r208891: Fix so we don't open a hole between a sock lock and a call to socantrcvmore.. we could before hit a race that would kill the socket underneath us leading to a crash r208897: CUM-ACK calculation was messed up. So basically large message got broken from the original NR_sack integration. r208902: Make sure that we don't move a bit to the NR array that is behind the cum-ack r208952: Use both bit maps to calculte the cum-ack. r208953: Fix bug having to do with freeing an sctp_inpcb_free(). 1) make sure not to remove the flag until you get the lock again. 2) make sure all log_closing calls hold the lock. 3) Release all the locks when everthing is done and call callout_drain not callout_stop.. r208970: Fix some places on user allocation of a new sctp_inpcb where we run out of resource that we make sure to NULL the so_pcb pointer. Approved by: re - (bz@freebsd.org) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-11T03:54:00.354402Z K 7 svn:log V 548 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock ordering. c) The ITERATOR_LOCK is no longer needed in the freeing of a stcb. Now that the timer based one is gone we don't have a multiple resume situation. Add to that that there was somewhere a path out of the freeing of an assoc that did NOT release the iterator_lock.. it was time to clean this old code up and in the process fix the lock bug. MFC after: 1 week END K 10 svn:author V 3 kan K 8 svn:date V 27 2010-06-11T04:38:14.741390Z K 7 svn:log V 229 In dtrace lexer, do not unput token if it is EOF. This is harmless with OpenSolaris fex and yacc, but with FreeBSD causes '\xff' symbol to be physically put into input buffer, causing subsequent syntax error. MFC after: 1 week END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T06:03:47.199985Z K 7 svn:log V 55 mdoc nitpicking: the title argument shall be uppercase END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T06:03:54.257906Z K 7 svn:log V 58 mdoc: stop abusing -column lists and use .Bl -tag instead END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T06:04:00.517422Z K 7 svn:log V 106 Remove Xo/Xc in It, which is not yet supported by mdocml but can be worked around trivially in this case. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T06:04:07.837073Z K 7 svn:log V 253 More mdoc nitpicking to improve compatibility to mdocml - .Nd in section NAME is not optional - .Ed was missing - "indent" is not a flag, but a literal argument for -offset - stop switching font sizes for acronyms - use .Brq instead of rolling our own END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T06:04:14.169955Z K 7 svn:log V 38 Use same table markup as in hexdump.1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-11T08:13:26.587113Z K 7 svn:log V 377 In delete_all_distfiles() when there is no $origin (such as when a port has moved) but there IS a /var/db/ports//distfiles, we do not want to prompt the user if they are using -d, we just want to delete the files. In the code to strip a port from $build_l if the user chose not to update a port that has an +IGNOREME file, the backslash in "\t" needs to be escaped. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-06-11T09:27:33.712998Z K 7 svn:log V 429 In another move to join with the age of the Fruitbat, increase SYSV shared resources defaults beyond absolute minimums. The new values are chosen mostly by magic. They are still fairly small and will need increasing for large installations (especially SHMMAX). However, they are now enough to e.g. start PostgreSQL installations with ~~300 users and nearly 512 MB of shared buffers. Reviewed by: A short discussion on hackers@ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T11:24:23.797502Z K 7 svn:log V 317 MFC r208592: mail(1) misses addresses when replying to all There's a parsing error for fields where addresses are not separated by space. This is often produced by MS Outlook. PR: bin/131861 Submitted by: Pete French Tested by: Pete French Reviewed by: mikeh Approved by: re (kib) END K 10 svn:author V 6 ashish K 8 svn:date V 27 2010-06-11T12:58:29.163676Z K 7 svn:log V 63 Add myself to the committers graph. Approved by: pgj (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-11T13:10:32.271473Z K 7 svn:log V 17 Merge form head. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-11T14:05:34.733946Z K 7 svn:log V 21 Delete unused stuff. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-11T14:06:35.029074Z K 7 svn:log V 481 MFC r208870: Some revisions of the Serverworks K2 SATA controller have a data corruption bug where if an ATA command is issued before DMA is started, data will become available to the controller before it knows what to do with it. This results in either data corruption or a controller crash. This patch remedies the problem by adopting the workaround employed by Linux and Darwin: starting the DMA engine prior to sending the ATA command. Reviewed by: mav Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-11T14:09:49.088573Z K 7 svn:log V 21 Remove examples too. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-11T14:10:20.283502Z K 7 svn:log V 572 MFC r208162, 208836, 208837: Program the K2 SATA controller's interrupt to be level-triggered low, and respect the edge/level settings in the device tree. OpenPIC on powerpc sets interrupts to be level high by default. On Apple interrupt controllers, all level interrupts are low regardless of programming except interrupt 0, used by K2 SATA on some Apple systems, with the result that the K2 SATA IRQ is misconfigured. Pending review of changes to this default, work around this by changing the programming of the K2 SATA interrupt to level low. Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-11T14:11:24.912639Z K 7 svn:log V 35 Reshuffle to be in sync with head. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-11T15:21:12.577367Z K 7 svn:log V 100 Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-11T15:26:15.528696Z K 7 svn:log V 158 MFC r208811: Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t). Found with: Coverity Prevent CID: 7466, 7467 Approved by: re (kib) END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-11T15:49:39.304430Z K 7 svn:log V 262 Relax one of the new assertions in pmap_enter() a little. Specifically, allow pmap_enter() to be performed on an unmanaged page that doesn't have VPO_BUSY set. Having VPO_BUSY set really only matters for managed pages. (See, for example, pmap_remove_write().) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T15:55:18.362427Z K 7 svn:log V 188 iMFC r208484: Fix back references in substitute command for pax(1) pax(1) was trying to copy the back-referenced data from the match pattern, not the matched data. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-11T15:56:18.066664Z K 7 svn:log V 352 Add helper macros to iterate over available CPUs in the system. CPU_FOREACH(i) iterates over the CPU IDs of all available CPUs. The CPU_FIRST() and CPU_NEXT(i) macros can also be used to iterate over available CPU IDs. CPU_NEXT(i) wraps around to CPU_FIRST() rather than returning some sort of terminator. Requested by: rwatson Reviewed by: attilio END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T17:02:57.767262Z K 7 svn:log V 116 Initialize variables before usage. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 7736, 7760) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-11T17:03:04.574088Z K 7 svn:log V 86 Remove dead variable assignments Found by: clang static analyzer Verified by: md5(1) END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-06-11T17:03:26.535243Z K 7 svn:log V 313 Add INVARIANTS checking that numfreebufs values are sane. Also add a per-buf flag to catch if a buf is double-counted in the free count. This code was useful to debug an instance where a local patch at Isilon was incorrectly managing numfreebufs for a new buf state. Reviewed by: jeff Approved by: zml (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-11T17:38:24.005965Z K 7 svn:log V 73 MFC r205940: Remove unused files. PR: bin/38256 Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-11T18:19:23.283710Z K 7 svn:log V 119 Fix a possible dereference of null pointer. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 3423) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-11T18:20:56.309959Z K 7 svn:log V 111 vnode.h: expand debug macros to non-empty void statements when DEBUG_VFS_LOCKS is disabled MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-11T18:26:53.636058Z K 7 svn:log V 226 ffs_softdep: change K&R in function defintions to ANSI prototypes Apparently it's bad when we first have an ANSI prototype in function declaration, but then use K&R in its defintion. Complaint from: clang MFC after: 2 weeks END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-06-11T18:43:55.974536Z K 7 svn:log V 107 sctp_recvmsg returns the number of bytes received, not sent. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-11T18:46:34.353960Z K 7 svn:log V 67 Update several places that iterate over CPUs to use CPU_FOREACH(). END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-11T19:03:59.297240Z K 7 svn:log V 146 Remove a disable_queue from the beginning of the interrupt handler, automask handles it. Also, add in msix vector descriptions. MFC for 8.1 asap END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-06-11T19:17:36.495312Z K 7 svn:log V 2087 MFC 199549, 199997, 204158, 207673, and 208901. Bring in a number of netfront changes: r199549 | jhb Remove commented out reference to if_watchdog and an assignment of zero to if_timer. Reviewed by: scottl r199997 | gibbs Add media ioctl support and link notifications so that devd will attempt to run dhclient on a netfront (xn) device that is setup for DHCP in /etc/rc.conf. PR: kern/136251 (fixed differently than the submitted patch) r204158 | kmacy - make printf conditional - fix witness warnings by making configuration lock a mutex r207673 | joel Switch to our preferred 2-clause BSD license. Approved by: kmacy r208901 | ken A number of netfront fixes and stability improvements: - Re-enable TSO. This was broken previously due to CSUM_TSO clearing the CSUM_TCP flag, so our checksum flags were incorrectly set going to the netback driver. That was fixed in r206844 in tcp_output.c, so we can turn TSO back on here. - Fix the way transmit slots are calculated, so that we can't overfill the ring. - Avoid sending packets with more fragments/segments than netback can handle. The Linux netback code can only handle packets of MAX_SKB_FRAGS, which turns out to be 18 on machines with 4K pages. We can easily generate packets with 32 or so fragments with TSO turned on. Right now the solution is just to drop the packets (since netback doesn't seem to handle it gracefully), but we should come up with a way to allow a driver to tell the TCP stack the maximum number of fragments it can handle in a single packet. - Fix the way the consumer is tracked in the receive path. It could get out of sync fairly easily. - Use standard Xen ring macros to make it clearer how netfront is using the rings. - Get rid of Linux-ish negative errno return values. - Added more documentation to the driver. - Refactored code to make it easier to read. - Some other minor fixes. Reviewed by: gibbs Sponsored by: Spectra Logic Approved by: re (bz) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-11T19:27:21.797242Z K 7 svn:log V 257 fix a few cases where a string is passed via format argument instead of via %s Most of the cases looked harmless, but this is done for the sake of correctness. In one case it even allowed to drop an intermediate buffer. Found by: clang MFC after: 2 week END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2010-06-11T19:35:05.087055Z K 7 svn:log V 351 Cache the last result from if_indextoname for printing. This speeds up "arp -an" when using a lot of aliases (on a single interface). A better fix would include a better interface for if_indextoname than getting the whole address list from the kernel just to find the one index->name mapping. Reported & analyzed by: Nick Rogers MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-11T19:53:42.384880Z K 7 svn:log V 113 Remove unused assignment. Found by: clang static analyzer Found by: Coverity Prevent[tm] (CID 4537, 4538, 4539) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-11T19:58:41.551116Z K 7 svn:log V 51 Simplify a function for getting brightness levels. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-11T20:08:20.105886Z K 7 svn:log V 89 Fix one more case where a string is passed via format argument instead. Found by: clang END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-06-11T20:38:20.548914Z K 7 svn:log V 574 MFC 209029 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock ordering. c) The ITERATOR_LOCK is no longer needed in the freeing of a stcb. Now that the timer based one is gone we don't have a multiple resume situation. Add to that that there was somewhere a path out of the freeing of an assoc that did NOT release the iterator_lock.. it was time to clean this old code up and in the process fix the lock bug. Approved by: re (bz) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-11T20:54:27.583831Z K 7 svn:log V 219 Add a couple fixes from Michael Tuexen. Remove unneeded rxtx handler, make que handler generic. Do not allocate header mbufs in rx ring if not doing hdr split. Release the lock in rxeof call to stack. MFC for 8.1 asap END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-06-11T20:56:40.233916Z K 7 svn:log V 82 Make sysinstall WARNS=2 clean. Approved by: cperciva (mentor) MFC after: 1 month END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-11T20:59:29.653247Z K 7 svn:log V 107 Change the mbuf memory calls back to NOWAIT as a problem has been seen in one case with doing the M_WAITOK END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-11T21:35:19.585093Z K 7 svn:log V 45 Put back the lost bus_describe_intr() calls. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-06-11T21:46:45.864967Z K 7 svn:log V 99 Clean up code by removing pre-C99 struct hack preprocessor magic. Approved by: randi (maintainer) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T21:54:04.505172Z K 7 svn:log V 91 MFC: r208746 Don't leak memory on destruction. Reviewed by: marcel Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T21:54:06.747317Z K 7 svn:log V 94 MFC: r208746 Don't leak memory on destruction. Reviewed by: marcel Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:01:58.070391Z K 7 svn:log V 115 MFC: r208776 Avoid possible NULL-dereferences. Found with: Coverity Prevent(tm) CID: 3428 Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:01:58.821886Z K 7 svn:log V 93 MFC: r208776 Avoid possible NULL-dereferences. Found with: Coverity Prevent(tm) CID: 3428 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:25:50.693848Z K 7 svn:log V 508 MFC: r208777 - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default. - Add missing prototypes. - Add const where applicable. Reviewed by: marcel Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-11T22:29:49.781729Z K 7 svn:log V 142 Detect bit endianness through machine/endian.h. This fixes xz on big-endian systems. Tested on: sparc64 (kindly provided by linimon), amd64 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:35:43.085190Z K 7 svn:log V 486 MFC: r208777 - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default. - Add missing prototypes. - Add const where applicable. Reviewed by: marcel END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:53:41.187160Z K 7 svn:log V 62 Revert part of r209079 which shouldn't have been MFC'ed, yet. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-11T22:59:47.966957Z K 7 svn:log V 122 Revert part of r209077 which shouldn't have been MFC'ed, yet. This is a direct commit to stable/8. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-11T23:38:25.503075Z K 7 svn:log V 301 Apply band-aid around function-like macro fdrop() without turning it into a real (inline) function or applying void casting for all its consumers. In most of places, the "return value" is not checked nor assigned, which causes too many warnings for some smart compilers, i.e., clang. Found by: clang END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-12T00:28:41.263200Z K 7 svn:log V 396 MFC: r208778 - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in place. - Document the mapping of partition types to VTOC8 tags. - Add examples for VTOC8 to the respective section. - Eliminated hard sentence breaks. Reviewed by: marcel (slightly buggy version) Approved by: re (bz) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-12T00:28:53.438390Z K 7 svn:log V 375 MFC: r208778 - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in place. - Document the mapping of partition types to VTOC8 tags. - Add examples for VTOC8 to the respective section. - Eliminated hard sentence breaks. Reviewed by: marcel (slightly buggy version) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-12T01:45:29.641076Z K 7 svn:log V 1651 The ptc.g operation for the Mckinley and Madison processors has the side-effect of purging more than the requested translation. While this is not a problem in general, it invalidates the assumption made during constructing the trapframe on entry into the kernel in SMP configurations. The assumption is that only the first store to the stack will possibly cause a TLB miss. Since the ptc.g purges the translation caches of all CPUs in the coherency domain, a ptc.g executed on one CPU can cause a purge on another CPU that is currently running the critical code that saves the state to the trapframe. This can cause an unexpected TLB miss and with interrupt collection disabled this means an unexpected data nested TLB fault. A data nested TLB fault will not save any context, nor provide a way for software to determine what caused the TLB miss nor where it occured. Careful construction of the kernel entry and exit code allows us to handle a TLB miss in precisely orchastrated points and thereby avoiding the need to wire the kernel stack, but the unexpected TLB miss caused by the ptc.g instructution resulted in an unrecoverable condition and resulting in machine checks. The solution to this problem is to synchronize the kernel entry on all CPUs with the use of the ptc.g instruction on a single CPU by implementing a bare-bones readers-writer lock that allows N readers (= N CPUs entering the kernel) and 1 writer (= execution of the ptc.g instruction on some CPU). This solution wins over a rendez-vous approach by not interrupting CPUs with an IPI. This problem has not been observed on the Montecito. PR: ia64/147772 MFC after: 6 days END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-12T02:00:15.086646Z K 7 svn:log V 74 MFC r208795; additional date -v detail PR: 147354 Approved by: re (kib) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-12T04:41:13.847659Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@209086 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-12T05:16:37.002576Z K 7 svn:log V 174 Apparently, in some circumstances it's necessary to run ldconfig -R when one moves shared libs from /usr/local/lib to /usr/local/lib/compat/pkg. So, add that to the -w code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-12T05:21:29.209310Z K 7 svn:log V 182 MFC r209078: Detect bit endianness through machine/endian.h. This fixes xz on big-endian systems. Tested on: sparc64 (kindly provided by linimon), amd64 Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-12T05:22:55.098763Z K 7 svn:log V 212 MFC r208888,208889,209017: - make sure that initialize isb with fstat() on input file before using it. (bin/147275) - Fix grammar for st_nlink. - Style changes. PR: bin/147275 Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-06-12T06:00:48.430396Z K 7 svn:log V 205 There is no reason for uniquify_list() to reverse the entries Add code to post_config() to make sure that things in the build_only_dl_g are not listed as run dependencies for something already installed. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-12T07:02:43.336710Z K 7 svn:log V 79 Remove GNU-style struct initialization. Spotted by: clang Approved by: rpaulo END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:18:29.033329Z K 7 svn:log V 210 Fix unable to remove a file over NFS after hitting refquota limit OpenSolaris onnv-revision: 8890:8c2bd5f17bf2 Obtained from: OpenSolaris (Bug ID 6798878) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:19:51.364462Z K 7 svn:log V 217 Fix zfs destroy fails to free object in open context, stops up txg train OpenSolaris onnv-revision: 9409:9dc3f17354ed Obtained from: OpenSolaris (Bug ID 6809683) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:20:50.123651Z K 7 svn:log V 202 Fix incomplete resilvering after disk replacement (raidz) OpenSolaris onnv-revision: 9434:3bebded7c76a Obtained from: OpenSolaris (Bug ID 6794570) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:21:37.590766Z K 7 svn:log V 210 Fix vdev_probe() starvation brings txg train to a screeching halt OpenSolaris onnv-revision: 9722:e3866bad4e96 Obtained from: OpenSolaris (Bug ID 6844069) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:22:45.559879Z K 7 svn:log V 205 Fix ZFS panic deadlock: cycle in blocking chain via zfs_zget OpenSolaris onnv-revision: 9774:0bb234ab2287 Obtained from: OpenSolaris (Bug ID 6788152) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:24:10.834716Z K 7 svn:log V 212 Fix zpool resilver stalls with spa_scrub_thread in a 3 way deadlock OpenSolaris onnv-revision: 9997:174d75a29a1c Obtained from: OpenSolaris (Bug ID 6843235) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:25:57.699816Z K 7 svn:log V 184 Fix possible zfs panic on zpool import OpenSolaris onnv-revision: 10040:38b25aeeaf7a Obtained from: OpenSolaris (Bug ID 6857012) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:27:10.479098Z K 7 svn:log V 173 Fix panic in zfs_getsecattr OpenSolaris onnv-revision: 10295:f7a18a1e9610 Obtained from: OpenSolaris (Bug ID 6870564) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-12T11:28:46.413142Z K 7 svn:log V 214 Fix arc_read_done may try to byteswap undefined data (sparc related) OpenSolaris onnv-revision: 10839:cf83b553a2ab Obtained from: OpenSolaris (Bug ID 6836714) Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-12T12:19:08.456213Z K 7 svn:log V 775 ANSIfy prototypes in subr_usbd.c. Clang generates the following warnings when building subr_usbd.c: | subr_usbd.c:598:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype | subr_usbd.c:627:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype | subr_usbd.c:649:13: warning: promoted type 'int' of K&R function | parameter is not compatible with the parameter type 'uint8_t' (aka | 'unsigned char') declared in a previous prototype Instead of just ANSIfying these three prototypes, do it for the entire file. Spotted by: clang END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-12T13:10:03.970260Z K 7 svn:log V 74 Check general TSC presence before doing more specific checks and printfs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-12T13:20:38.708228Z K 7 svn:log V 307 Add modifications of devctl_notify(9) functions that take flags. Use flags to specify M_WAITOK/M_NOWAIT. M_WAITOK allows devctl to sleep for the memory allocation. As Warner noted, allowing the functions to sleep might cause reordering of the queued notifications. Reviewed by: imp, jh MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-12T13:21:25.926110Z K 7 svn:log V 160 When make_dev_credf(MAKEDEV_WAITOK) is called, use devctl_notify_f(M_WAITOK) for devfs notifications. Suggested by: jh Reviewed by: imp, jh MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-12T13:22:39.732352Z K 7 svn:log V 169 Add another variation of make_dev(9), make_dev_p(9), that is allowed to fail and can return useful error code. Requested by: jh Reviewed by: imp, jh MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-12T15:13:36.261867Z K 7 svn:log V 443 Do the branding right this time. I've looked at other places in the source tree where CLANG_VENDOR is used and I suspect it might not be safe to use newlines here. CLANG_VENDOR should just be defined to "FreeBSD ", just like the latest Clang preview in OS X uses "Apple ". Properly use SVN_REVISION to define it to the imported revision of Clang. I do want to have a date in there, so slightly modify the code to support CLANG_VENDOR_SUFFIX. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-06-12T15:42:54.051747Z K 7 svn:log V 345 "MFC" (parts of) r185849: Fix a locking issue triggering an assertion in rt_setgate() via arp_rtrequest() due to no radix node head (rnh) lock held in case of a route change. The previous MFC in r189026 left out this hunk. Reported by: Haven Hash (haven.hash isilon.com) Tested by: Haven Hash (haven.hash isilon.com) PR: kern/147767 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-12T16:04:29.029275Z K 7 svn:log V 67 Install tblgen so partial / progressive builds are still possible. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-06-12T17:32:05.725189Z K 7 svn:log V 384 Introduce __isnanf() as an alias for isnanf(), and make the isnan() macro expand to __isnanf() instead of isnanf() for float arguments. This change is needed because isnanf() isn't declared in strict POSIX or C99 mode. Compatibility note: Apps using isnan(float) that are compiled after this change won't link against an older libm. Reported by: Florian Forster END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-12T19:20:39.606745Z K 7 svn:log V 44 This has been fixed, revert the workaround. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-12T19:32:52.533416Z K 7 svn:log V 49 These files are no longer required since r207607 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-12T20:08:01.660154Z K 7 svn:log V 38 Sync the format extensions with head. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-12T21:14:22.808676Z K 7 svn:log V 68 Make SMP work on MPC7400-based Apple desktops like the PowerMac3,3. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-06-12T22:24:39.204966Z K 7 svn:log V 57 make format string a string literal. Reported by: clang END K 10 svn:author V 2 np K 8 svn:date V 27 2010-06-12T22:33:04.199943Z K 7 svn:log V 571 cxgb(4): add knob to get packet timestamps from the hardware. The T3 ASIC can provide an incoming packet's timestamp instead of its RSS hash. The timestamp is just a counter running off the card's clock. With a 175MHz clock an increment represents ~5.7ns and the 32 bit value wraps around in ~25s. # sysctl -d dev.cxgbc.0.pkt_timestamp dev.cxgbc.0.pkt_timestamp: provide packet timestamp instead of connection hash # sysctl -d dev.cxgbc.0.core_clock dev.cxgbc.0.core_clock: core clock frequency (in KHz) # sysctl dev.cxgbc.0.core_clock dev.cxgbc.0.core_clock: 175000 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-06-13T01:13:36.461468Z K 7 svn:log V 366 In threaded processes, destroy the mutex atexit_mutex when we've finished using it. This allows the mutex's allocated memory to be freed. This is one sense a rather silly change, since at this point we're less than a microsecond away from calling _exit; but fixing this memory leak is likely to make life easier for anyone trying to track down other memory leaks. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-13T01:27:29.983422Z K 7 svn:log V 167 Merge from tbemd: Convert from using MACHINE_ARCH to MACHINE_CPUARCH. Hoist path statement up into the top Makefile rather than repeating it on every arch Makefile. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-06-13T02:39:55.708560Z K 7 svn:log V 206 Add a utility macro to simplify calculating an aggregate sum from a DPCPU counter variable. Sponsored by: FreeBSD Foundation Reviewed by: jhb, rpaulo, rwatson (previous version of patch) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-13T05:24:27.162984Z K 7 svn:log V 260 In NFS clients, instead of inconsistently using #ifdef DIAGNOSTIC and #ifndef DIAGNOSTIC for debug assertions, prefer KASSERT(). Also change one #ifdef DIAGNOSTIC in the new nfs server. Submitted by: Mikolaj Golub MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-13T07:30:51.938159Z K 7 svn:log V 569 - Redefine net_device to ifnet. They are close enough to use interchangeably. - Create a linux_file wrapper around bsd files and define a thunking layer between them. - Add a radix tree implementation for idr. It uses a per-idr lock and never shrinks trees but should perform well enough. - Expand other miscellaneous wrappers. - Remove Linux's net/route so bsd's is included instead. No attempt will be made to wrap the linux route implementation as it differs too greatly from our own. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-06-13T10:58:50.339080Z K 7 svn:log V 375 * Improve compatibility with existing application code by permitting the use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to work properly. * Style fix: paranthesize returned values. * Document the current behaviour of `elf_getbase()`. Tested by: gerald, Steve Kargl (original patch) Obtained from: elftoolchain MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-13T11:27:44.992295Z K 7 svn:log V 104 Unbreak the build on less common architectures. Submitted by: Andreas Tobler END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-13T12:39:22.029255Z K 7 svn:log V 301 Disable usage of posix_spawn() inside LLVM. Even though it's nice to use posix_spawn() instead of manually using fork()/exec(), it's better to disable this. FreeBSD 7 doesn't support this interface. When enabled, we can't build tblgen, which prevents us from building FreeBSD 9 on 7. Tested by: raj END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T12:46:32.121441Z K 7 svn:log V 42 Fix conditional FDT support in loader(8). END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T12:53:44.832039Z K 7 svn:log V 316 Do not set WITH_FDT by default based on arch, as this does not work for a bootstrap stage tool. FDT-enabled platforms will have to specify WITH_FDT explicitly at buildworld time for now until TBEMD is complete, which is going to provide means for such arch based selection of build components. Discussed with: imp END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T12:58:31.220927Z K 7 svn:log V 98 Provide identify method for the fdtbus(4). Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T13:02:43.162688Z K 7 svn:log V 103 Connect FDT infrastructure to the build system. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T13:08:23.829036Z K 7 svn:log V 15 Improve style. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T13:12:52.014553Z K 7 svn:log V 100 Initial FDT infrastructure elements for ARM. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T13:28:53.447114Z K 7 svn:log V 734 Convert Marvell ARM platforms to FDT convention. The following systems are involved: - DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug This overhaul covers the following major changes: - All integrated peripherals drivers for Marvell ARM SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - Since the common FDT infrastrucutre (fdtbus, simplebus) is used we say good by to obio / mbus drivers and numerous hard-coded config data. Note that world needs to be built WITH_FDT for the affected platforms. Reviewed by: imp Sponsored by: The FreeBSD Foundation. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-13T13:30:26.010070Z K 7 svn:log V 86 Enable ofwdump(8) on ARM as this is a useful tool to inspect a flattened device tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-13T16:27:43.788494Z K 7 svn:log V 84 Revert changes I made here: this file is unused and maybe should be deleted instead END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-13T16:35:20.698540Z K 7 svn:log V 190 Merge from tbemd, with minor tweaks: Search from most specific ($MACHINE) to least specific ($MACHINE_CPUARCH) when looking for the tty file to use. Also add an .error case if none exist. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-06-13T16:54:11.338918Z K 7 svn:log V 349 style(9) fixes: o make cmd scoped to the whole do_rules function, since it really is scoped to the whole fucnion. Making it static was the wrong way to fix referencing it outside of the block in which it was declared (and conforms to the style of the rest of the file). o remove a couple of meaningless blank lines o properly wrap one line. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-13T17:04:42.741765Z K 7 svn:log V 341 libedit: Add basic filename completion code from NetBSD. This will be used to provide filename completion in sh(1). Changes from the NetBSD code: * wide character support disabled, as in the rest of libedit * config.h and related portability stuff reduced/disabled, as in the rest of libedit Submitted by: Guy Yur Obtained from: NetBSD END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-13T20:16:41.624376Z K 7 svn:log V 47 Bootstrap mergeinfo in preparation for import. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-13T20:29:55.184588Z K 7 svn:log V 54 Update a branch missed in r207537. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-13T20:32:04.454544Z K 7 svn:log V 39 Import wpa_supplicant & hostapd 0.6.9. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-13T20:32:45.426389Z K 7 svn:log V 36 Tag wpa_supplicant & hostapd 0.6.9. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-13T21:03:53.256351Z K 7 svn:log V 37 Tag wpa_supplicant & hostapd 0.6.10. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-13T21:04:09.698201Z K 7 svn:log V 18 Remove wrong tag. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-13T23:37:16.900577Z K 7 svn:log V 57 Fix build breakages on ia64 introduced some commits ago. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-06-14T00:40:23.492448Z K 7 svn:log V 389 - Because hostapd calls iv_key_set() before if_init(), make sure key_set callback function will be executed, and that the key won't be deleted during the init process. - txmic and rxmic are written into the chip the same place regardless of opmode. - Make the hardware generate 802.11 sequence numbers. Submitted by: Akinori Furukoshi Obtained from: git://gitorious.org/run/run.git END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:09:06.551071Z K 7 svn:log V 84 Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:21:43.651683Z K 7 svn:log V 93 Adjust __FreeBSD_version to reflect releng/8.1 has been created. Approved by: re (implicit) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2010-06-14T02:26:13.329663Z K 7 svn:log V 142 Separate _posix1e_acl_id_to_name() into a separate file, to break an unnecessary dependency on getpwuid() and getgrgid(). MFC after: 1 month END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:26:33.499035Z K 7 svn:log V 69 Adjust the cvs branch for 'make update'. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:29:25.465391Z K 7 svn:log V 51 Adjust cvs branch tag. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:30:59.214780Z K 7 svn:log V 96 Adjust __FreeBSD_version to reflect this is the 8.1 release branch. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-06-14T02:31:53.462743Z K 7 svn:log V 47 Ready for 8.1-RC1. Approved by: re (implicit) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2010-06-14T02:56:45.462527Z K 7 svn:log V 323 If the compressed data is larger than the uncompressed, report the compression ratio as 0% instead of displaying nonsense triggered by numeric overflow. This is common when dealing with uncompressed files when the I/O blocking causes there to be small transient differences in the accounting. Thanks to: Boris Samorodov END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-14T06:23:47.459957Z K 7 svn:log V 216 Unbreak Clang on PowerPC. It seems GCC 4.2.1 on PowerPC miscompiles Clang, causing it to crash when building even simple Hello World applications. Switch back to -O1 for this architecture. Submitted by: nwhitehorn END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-14T07:10:37.286548Z K 7 svn:log V 135 Virtualize pci_remap_msi_irq() call from general MSI code. It allows MSI (FSB interrupts) to be used by non-PCI devices, such as HPET. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-14T07:38:53.385818Z K 7 svn:log V 160 Fix bug introduced in SVN rev 194985. When calling pic_assign_cpu() for pre-bound IRQs during boot, submit there LAPIC ID, same as in other places, not CPU ID. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-06-14T08:24:00.164799Z K 7 svn:log V 212 sc_lastrs is also used in case the sending station is not known, for example in a split IBSS scenario. Therefore always assign sc_lastrs. This removes a hack I committed in r206457. Approved by: rpaulo (mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-14T13:03:25.333356Z K 7 svn:log V 67 random(6): avoid dead assignments Found by: clang static analyzer END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-14T15:37:48.841224Z K 7 svn:log V 37 MFV hostapd & wpa_supplicant 0.6.10. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-14T15:38:30.784280Z K 7 svn:log V 44 Update for hostapd & wpa_supplicant 0.6.10. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-14T15:52:50.121945Z K 7 svn:log V 21 Remove unused files. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-14T16:05:21.893867Z K 7 svn:log V 144 Temporarily bring back the ARM bootinfo (and make tinderbox happy). BI will be eliminated for good when powerpc transition to FDT is complete. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T17:02:19.609479Z K 7 svn:log V 62 Pass the -N flag to linked via -Wl. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T17:09:39.264695Z K 7 svn:log V 42 Remove the unecessary bsd.own.mk include. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T17:10:09.130326Z K 7 svn:log V 55 Disable timestamps and posix_spawn. Just like in head. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T17:12:24.920133Z K 7 svn:log V 30 Add $FreeBSD$ to these files. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T17:13:05.750872Z K 7 svn:log V 29 Reshuffle to sync with HEAD. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-14T17:28:32.302969Z K 7 svn:log V 34 IFC @ 209166 -- Begin tbemd merge END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-06-14T17:31:46.624657Z K 7 svn:log V 131 Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match the current behaviour of the functions. Discussed with: attilio END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-06-14T18:26:10.520655Z K 7 svn:log V 351 Fix TX retry rate handling. tx->linkq is an index to a rate table beginning with the highest available rate. Currently we always use 54m for the first retry no matter what AMRR has choosen. Fix this by setting the index to the next lower rate. Approved by: rpaulo (mentor) Tested by: Brandon Gooch MFC after: 2 weeks END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-14T18:45:33.990662Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-14T19:10:30.388065Z K 7 svn:log V 131 Add Clang to OptionalObsoleteFiles.inc. This means you can now deinstall Clang by running make delete-old with WITHOUT_CLANG set. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-14T19:39:20.340488Z K 7 svn:log V 35 Further unbreak powerpc & sparc64. END