ƒ´8187201 176 575 121 562 245 182 237 300 1132 467 135 148 140 476 1523 292 114 124 133 105 117 274 684 2416 167 240 204 213 105 190 352 464 412 396 212 178 264 178 126 181 572 269 572 254 247 243 489 254 203 422 422 157 147 201 151 133 168 111 114 177 597 398 333 224 283 483 116 103 111 223 279 472 468 322 116 111 403 552 337 337 119 139 511 511 254 415 415 218 212 609 463 325 157 160 270 196 180 252 391 127 156 358 331 112 197 158 381 381 241 313 313 171 213 329 262 332 284 211 156 190 114 524 236 104 150 294 134 191 401 182 466 363 338 481 169 206 873 155 114 154 124 107 355 209 107 115 143 368 573 159 160 221 237 148 231 151 134 575 881 347 163 347 203 177 543 204 738 657 264 848 136 836 119 449 621 184 691 K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-13T23:02:54.551438Z K 7 svn:log V 480 MFC: rev. 185475, 186824, 186826, 186827 various cleanups including: + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon + remove stale struct definitions + clarify the use of dflag and remove useless checks + Make the linker.hints file have mode 644 instead of 600. + fix a couple of innocuous compiler warnings + correct description of how a string is stored, fix a few typos and reference the kernel file which processes this info. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-13T23:03:07.825905Z K 7 svn:log V 29 Correct spelling in comment. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-13T23:36:38.935674Z K 7 svn:log V 467 Some small fixes submitted by Christoph Mallon, specifically: + Remove a dead field of a struct. It serves no purpose anymore. + Remove a \n at the end of the format string of err(); the err() function already adds a \n ; + remove many unnecessary casts which obfuscate the code. This file has a huge number of indentation bugs, but I'd rather fix them when/if we happen to modify the relevant parts of the code. Submitted by: Christoph Mallon MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-01-13T23:46:45.281426Z K 7 svn:log V 148 Remove intermediate variable busaddr and have bus_* operate directly on softc members upon initialization. Reviewed by: davidch MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-13T23:57:15.200935Z K 7 svn:log V 90 o note need for options AH_SUPPORT_5416 o mention 5416-class parts o mention tdma support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-14T01:35:08.377012Z K 7 svn:log V 142 - include opt_mpath.h so that RADIX_MPATH will be pulled in - remove locking overhead to forwarding workloads by making forwarding table pcpu END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-01-14T04:47:04.585551Z K 7 svn:log V 203 Correct frame length argument of in_cksum_skip. While I'm here remove intermediate variable csum. Reported by: Kim Culhan < w8hdkim <> gmail DOT com > Tested by: Kim Culhan < w8hdkim <> gmail DOT com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-01-14T05:08:52.738831Z K 7 svn:log V 1034 Remove local jumbo locator and switch to UMA backed page allocator for jumbo frame. o Nuke unneeded jlist lock which was used to protect jumbo buffer management in local allocator. o Added a new tunable hw.mskc.jumbo_disable to disable jumbo frame support for the driver. The tunable could be set for systems that do not need to use jumbo frames and it would save (9K * number of Rx descriptors) bytes kernel memory. o Jumbo buffer allocation failure is no longer critical error for the operation of msk(4). If msk(4) encounter the allocation failure it just disables jumbo frame support and continues to work without your intervention. Using local allocator had several drawbacks such as requirement of large amount of continuous kernel memory and fixed (small) number of available buffers. The need for large continuous memory resulted in failure of loading driver with kldload on running systems. Also small number of buffer used in local allocator showed poor performance for some applications. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2009-01-14T06:50:28.556445Z K 7 svn:log V 372 MFC r186851 - Remove snd_au88x0 which seems never got compiled into kernel nor as a kernel module. These files cause manual interaction when building ports/audio/aureal-kmod which provides a usable i386-only driver (it requires linking against some linux object files distributed by vendor which bankrupted back in 2000). MFC after: 1 week PR: 124343 END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-01-14T09:00:30.589511Z K 7 svn:log V 43 Fix typo to install 400.status-pkg, again. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-01-14T09:11:13.192646Z K 7 svn:log V 56 MFC r187210: Fix typo to install 400.status-pkg, again. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-01-14T10:02:47.153573Z K 7 svn:log V 45 MFC r187067: Reviewed by: trhodes, keramida END K 10 svn:author V 5 rafan K 8 svn:date V 27 2009-01-14T10:17:35.058594Z K 7 svn:log V 381 MFC r186851 - Remove snd_au88x0 which seems never got compiled into kernel nor as a kernel module. These files cause manual interaction when building ports/audio/aureal-kmod which provides a usable i386-only driver (it requires linking against some linux object files distributed by vendor which bankrupted back in 2000). MFC after: 1 week PR: 124343 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-14T10:44:16.232964Z K 7 svn:log V 1425 Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm build along with man pages, add audit_bsm_domain.c and audit_bsm_socket_type.c to the kernel environment. OpenBSM history for imported revisions below for reference. MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project OpenBSM 1.1 alpha 5 - Stub libauditd(3) man page added. - All BSM error number constants with BSM_ERRNO_. - Interfaces to convert between local and BSM socket types and protocol families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3), au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions of constants in audit_domain.h and audit_socket_type.h. This improves interoperability by converting local constant spaces, which vary by OS, to and from Solaris constants (where available) or OpenBSM constants for protocol domains not present in Solaris (a fair number). These routines should be used when generating and interpreting extended socket tokens. - Fix build warnings with full gcc warnings enabled on most supported platforms. - Don't compile error strings into bsm_errno.c when building it in the kernel environment. - When started by launchd, use the label com.apple.auditd rather than org.trustedbsd.auditd. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-01-14T12:16:14.969080Z K 7 svn:log V 195 Update copyright, P4 version number as audit_bsm_token.c reflects changes in bsm_token.c through #86 from OpenBSM. MFC after: 1 month Sponsored by: Apple, Inc. Obtained from: TrustedBSD Project END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T12:50:19.694159Z K 7 svn:log V 20 enable some tracing END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T12:55:33.384092Z K 7 svn:log V 30 reduce diffs against RELENG_7 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T13:41:07.283571Z K 7 svn:log V 39 sync with the code in the private tree END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T13:44:59.913401Z K 7 svn:log V 11 fix a typo END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T13:46:01.156297Z K 7 svn:log V 23 sync with private tree END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-14T14:20:08.761975Z K 7 svn:log V 181 Disable interrupts, if they were enabled, before doing swapgs. Otherwise, interrupt may happen while we run with kernel CS and usermode gsbase. Reviewed by: jeff MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T14:55:10.616582Z K 7 svn:log V 589 MFC: 185746 186789 187143 misc fixes and cleanup of the Forth scripts used by the loader, see the original commits for details. The only visible change is that now setting loader_conf_files="foo bar ${some.var}" works as expected, and expands variables correctly. Also, ${variables} can be used consistently in all assignments in *.conf files managed by the loader. NOTE: this commit has nothing to do with the pxeboot and /boot/loader problems that people are seeing on 6.4 and 7.2 -- those are related to issues with the loader code, not with the scripts that the loader processes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-14T15:20:13.361945Z K 7 svn:log V 2322 It seems that there are at least three issues with IPC_RMID operation on SysV semaphores. The squeeze of the semaphore array in the kern_semctl() modifies sem_base for the semaphores with sem_base greater then sem_base of the removed semaphore, as well as the values of the semaphores, without locking their mutex. This can lead to (killable) hangs or unexpected behaviour of the processes performing any sem operations while other process does IPC_RMID. The semexit_myhook() eventhandler unlocks SEMUNDO_LOCK() while accessing *suptr. This allows for IPC_RMID for the sem id to be performed in parallel with undo hook referenced by the current undo structure. This leads to the panic("semexit - semid not allocated") [1]. The semaphore creation is protected by Giant, while IPC_RMID is done while only semaphore mutex is held. This seems to result in invalid values for semtot, causing random ENOSPC error returns [2]. Redo the locking of the semaphores lifetime cycle. Delegate the sem_mtx to the sole purpose of protecting semget() and semctl(IPC_RMID). Introduce new sem_undo_mtx to protect SEM_UNDO handling. Remove the Giant remnants from the code. Note that mac_sysvsem_check_semget() and mac_sysvsem_create() are now called while sem_mtx is held, as well as mac_sysvsem_cleanup() [3]. When semaphore is removed, acquire semaphore locks for all semaphores with sem_base that is going to be changed by squeeze of the sema array. The lock order is not important there, because the region is protected by sem_mtx. Organize both used and free sem_undo structures into the lists, protected by sem_undo_mtx. In semexit_myhook(), remove sem_undo structure that is being processed, from used list, without putting it onto the free to prevent modifications by other threads. This allows for sem_undo_lock to be dropped to acquire individial semaphore locks without violating lock order. Since IPC_RMID may no longer find this sem_undo, do tolerate references to unallocated semaphores in undo structure, and check sequential number to not undo unrelated semaphore with the same id. While there, convert functions definitions to ANSI C and fix small style(9) glitches. Reported by: Omer Faruk Sen [1], pho [2] Reviewed by: rwatson [3] Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-01-14T16:03:10.966532Z K 7 svn:log V 75 The Kernel Stress Test Suite has been added to projects. Approved by: kib END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T16:13:51.629618Z K 7 svn:log V 145 forced commit to remind that the previous commit also merged the change in rev.185132 to reduce the amount of memory used when loading a script. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-01-14T16:27:04.057930Z K 7 svn:log V 106 Oops, forgot to mention 7.1-RELEASE in stable/7... Submitted by: Florian Smeets END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T17:25:28.220873Z K 7 svn:log V 118 revert the changes for the in-driver scheduler. They are not used now and interfere with debugging of the other code. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T18:19:06.760792Z K 7 svn:log V 13 sync w/ HEAD END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T18:23:13.294559Z K 7 svn:log V 98 bring in bits missed in r187106: sync build infrastructure changes with HEAD Noticed by: attilio END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T18:54:53.774667Z K 7 svn:log V 259 Start cleaning up internal channel data structure: o purge unused bssSendHere o store iqCalValid's HAL_BOOL value in an uint8_t so it packs well o shuffle some members to improve struct packing; we still have a big hole at the end but it'll go away shortly END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T19:07:20.948018Z K 7 svn:log V 371 Eliminate regDmnFlags from the internal channel structure; it was used only to hold the "need noise floor check" attribute for 5211 parts operating in MKK regdomains. Store this information in the privFlags field instead (usurp CHANNEL_DFS_CLEAR which was part of the old dfs code that's long gone) With this change ath_hal_getnfcheckrequired is not needed; remove it. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T19:22:06.994844Z K 7 svn:log V 319 Move iqCalValid from an internal channel member to a flag in privFlags. This allows us to move antennaMax up and fully pack the structure. Need to revisit IQ calibration for 5212 parts; looks like we only ever do it once for a channel; may want to reset state using a long-term mechanism as done for 5416-class parts. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T19:43:28.850181Z K 7 svn:log V 303 Remove code to map frequency to IEEE channel numbers as it was used solely to setup state for net80211 according to SKU but with net80211 having proper channel attributes this is no longer needed; the driver can just check SKU info and set the needed flags so net80211's routine can do the right thing. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T20:00:58.625746Z K 7 svn:log V 119 oops, forgot about 5111 usage of ath_hal_mhz2ieee; add private versions of this code stripped down to meet local needs END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T20:03:50.964383Z K 7 svn:log V 86 nuke ath_hal_ispublicsafetysku; now unused (and in general should never have existed) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-14T20:16:44.993228Z K 7 svn:log V 169 o Move $FreeBSD$ from comment to __FBSDID macro o Be a bit more verbose about CPU type during boot process (print manufacturer, chip info, MMU and cache parameters) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-14T20:27:49.257327Z K 7 svn:log V 84 o NO_DMA is no longer required as bug with PIIX4 emulation has been fixed in GXEmul END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-14T20:36:58.447604Z K 7 svn:log V 32 o Make debug output conditional END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T20:53:46.035914Z K 7 svn:log V 87 remove unused argument to print_s0() Submitted by: Christoph Mallon MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-14T21:04:23.352275Z K 7 svn:log V 476 MFC: r185108 Given that the buffer dcons_crom(4) exposes is used for both input and output, set BUS_DMA_COHERENT when creating the DMA map used for loading the buffer. As a side-effect this solves locking issues on sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt filter, which are executed in a critical section, and iommu(4) has to use a sleep lock when taking advantage of the streaming buffer. Reported and tested by: kensmith Approved by: simokawa END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T21:08:19.729573Z K 7 svn:log V 174 more changes from Christoph: pass a pointer instead of an index to print_part() so it does not depend on a static variable. Submitted by: Christoph Mallon MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-14T21:08:43.469912Z K 7 svn:log V 476 MFC: r185108 Given that the buffer dcons_crom(4) exposes is used for both input and output, set BUS_DMA_COHERENT when creating the DMA map used for loading the buffer. As a side-effect this solves locking issues on sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt filter, which are executed in a critical section, and iommu(4) has to use a sleep lock when taking advantage of the streaming buffer. Reported and tested by: kensmith Approved by: simokawa END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-14T21:25:17.501944Z K 7 svn:log V 159 Add missing 'break' statement. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3927 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-14T21:27:30.608449Z K 7 svn:log V 152 Remove unused variable. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3665 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-14T21:29:20.550823Z K 7 svn:log V 148 Fix use after free. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3712 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T21:31:09.059392Z K 7 svn:log V 394 Another change from Christoph: replace the table of partition with a simpler and faster array of strings. The change in the array is done mechanically, using vi commands. Most entries in the table are probably 15+ years old and largely outdated, so the next step is to remove stale entries with more current values. Submitted by: Christoph Mallon, with small changes from me MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-01-14T21:31:22.029022Z K 7 svn:log V 159 Add missing 'break' statement. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3667 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-01-14T22:05:51.047679Z K 7 svn:log V 108 Reword some entries for NTFS and DOS. Add entries for DELL and ASUS recovery partitions. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-14T22:10:51.122786Z K 7 svn:log V 326 MFC: r186876 Check the return values of contigmalloc(9) as well as bus_dma(9) functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-14T22:11:01.896453Z K 7 svn:log V 326 MFC: r186876 Check the return values of contigmalloc(9) as well as bus_dma(9) functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-14T22:32:43.619669Z K 7 svn:log V 63 o Simplify code: trade 15 lines of case for one multiplication END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-14T22:46:13.448477Z K 7 svn:log V 53 o Code cleanup, remove unused fields of idtpci_softc END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T22:55:49.209061Z K 7 svn:log V 108 use correct interface name when setting flags; fixes ifconfig ... create ... up Noticed by: Chris Anderson END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T22:56:59.168976Z K 7 svn:log V 59 mfc r187253: use correct interface name when setting flags END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-14T23:53:06.451763Z K 7 svn:log V 41 simple scripts to demonstrate tdma setup END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-01-15T00:33:17.841219Z K 7 svn:log V 72 MFC r187079: Fix typo. Submitted by: Ben Kaduk END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T02:11:19.314457Z K 7 svn:log V 19 add wpa_supplicant END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T02:11:43.958097Z K 7 svn:log V 22 flatten vendor branch END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-15T02:35:40.737974Z K 7 svn:log V 81 Name the items in the xfer arrays so they can be identified throughout the code. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-01-15T02:41:26.423013Z K 7 svn:log V 500 When building up the command-line for the DTrace ctfmerge and ctfconvert utilities, add the ${DEBUG} variable from the kernel config. Otherwise, if we build a kernel with WITH_CTF=1 set, ctfmerge will not have the -g flag set. In this case, the cc has -g specified, so the .o files will have debug information generated, but since ctfmerge does not have -g set, it will strip out the ELF sections containing the DWARF debugging info, leading to a kernel without debugging symbols. Reviewed by: jb END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-15T02:46:43.704406Z K 7 svn:log V 297 Import an Open Firmware I2C bus module. This attaches firmware device tree indicated I2C devices, and provides an ofw_bus interface for driver probing. This should be MI, but is currently provided only on PowerPC due to lack of sparc64 hardware with an I2C controller. Discussed on: freebsd-arch END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-15T02:52:31.987757Z K 7 svn:log V 232 Driver for Apple Keywest I2C controllers found in MacIO ASICs. Used for power and thermal control, as well as GPIOs on Xserves and controlling sound codecs for Apple built-in audio. Submitted by: Marco Trillo Obtained from: NetBSD END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T02:54:40.246071Z K 7 svn:log V 126 MFC 173507 from /head. Instead of hardcoding md10 as the device node in the cd9660 example, use a trick submitted by Ruslan. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T02:57:07.579043Z K 7 svn:log V 185 MFC 173539 from /head * Expand the example descriptions, fix mdoc-bugs in "(-a and -t vnode are implied)" and reuse it near the cd9660 example. * Spell 'backing store' as two words. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T03:12:45.669245Z K 7 svn:log V 385 MFC 175562 from /head Repeat iostat header after rows-3 instead of a hardcoded 20. Use ioctl() to get the window size in iostat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to `rows - 3' when the terminal is resized, so that the full terminal length can be used for output lines. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T03:23:36.460593Z K 7 svn:log V 24 bootstrap merge history END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T03:27:28.391261Z K 7 svn:log V 11 tag 0.5.10 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T03:28:17.940390Z K 7 svn:log V 19 re-merge after tag END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T03:35:51.213304Z K 7 svn:log V 125 MFC 173507 from /head Instead of hardcoding md10 as the device node in the cd9660 example, use a trick submitted by Ruslan. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T03:42:43.642550Z K 7 svn:log V 181 MFC 173539-173540 * Expand the example descriptions, fix mdoc-bugs in "(-a and -t vnode are implied)" and reuse it near the cd9660 example. * Spell 'backing store' as two words. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T03:46:14.488337Z K 7 svn:log V 374 MFC 175562 Repeat iostat header after rows-3 instead of a hardcoded 20. Use ioctl() to get the window size in iostat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to `rows - 3' when the terminal is resized, so that the full terminal length can be used for output lines. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T03:48:49.238177Z K 7 svn:log V 370 176561 | keramida | 2008-02-25 21:06:43 +0200 (Mon, 25 Feb 2008) | 11 lines Implement from scratch a -l option for du(1), to match the same option of the GNU utility. The default behavior of our original `du' is to count hardlinked files only once for each invocation of the utility. With the new -l option they count towards the final size every time they are found. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T04:19:03.599571Z K 7 svn:log V 229 Add KERNFAST define. When defined, it skips all the config, depends and clean steps. KERNFAST was selected to complement KERNCONF which is typically used in these scenarios (especially with cross building). Reviewed by: arch@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T04:25:21.875402Z K 7 svn:log V 24 vendor import of 0.5.11 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T04:26:39.269991Z K 7 svn:log V 19 tag 0.5.11 release END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:26:45.996282Z K 7 svn:log V 305 MFC 176561 Implement from scratch a -l option for du(1), to match the same option of the GNU utility. The default behavior of our original `du' is to count hardlinked files only once for each invocation of the utility. With the new -l option they count towards the final size every time they are found. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-15T04:29:02.136475Z K 7 svn:log V 459 Convert the insidious macros that handle printf()'s buffering into slightly less evil inline functions, and move the buffering state into a struct. This will make it possible for helper routines to produce output for printf() directly, making it possible to untangle the code somewhat. In wprintf(), use the same buffering mechanism to reduce diffs to printf(). This has the side-effect of causing wprintf() to catch write errors that it previously ignored. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:31:55.073524Z K 7 svn:log V 239 MFC 182795 from /head Add two example regexps: (1) one for matching all the characters that belong in a character class, and (2) one for matching all the characters *not* in a character class. Submitted by: Mark B, mkbucc at gmail.com END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:32:53.824553Z K 7 svn:log V 239 MFC 182795 from /head Add two example regexps: (1) one for matching all the characters that belong in a character class, and (2) one for matching all the characters *not* in a character class. Submitted by: Mark B, mkbucc at gmail.com END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:39:44.008297Z K 7 svn:log V 22 MFC 184057 from /head END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:43:09.175535Z K 7 svn:log V 42 MFC 184057 from /head: Tiny wording nits. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:48:06.215391Z K 7 svn:log V 413 MFC 184645 from /head Repeat vmstat header after window.rows instead of a hardcoded 20. Use ioctl() to get the window size in vmstat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to the current lines of the terminal when the terminal is resized, so that the full terminal length can be used for output lines. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:49:40.788704Z K 7 svn:log V 413 MFC 184645 from /head Repeat vmstat header after window.rows instead of a hardcoded 20. Use ioctl() to get the window size in vmstat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to the current lines of the terminal when the terminal is resized, so that the full terminal length can be used for output lines. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-15T04:49:43.800957Z K 7 svn:log V 161 Reduce code duplication by moving functions that are identical in both vfprintf.c and vfwprintf.c (except for char/wchar_t differences) to a common header file. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:54:43.348487Z K 7 svn:log V 317 MFC 185714 from /head Add a -L option to wc(1), for finger compatibility with the GNU wc utility. The -L option can be used to report the length of the longest line wc has seen in one or more files. It is disabled by default, and wc uses the standard `-lwc'. Submitted by: Sheldon Givens, sheldon at sigsegv.ca END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T04:57:21.409466Z K 7 svn:log V 317 MFC 185714 from /head Add a -L option to wc(1), for finger compatibility with the GNU wc utility. The -L option can be used to report the length of the longest line wc has seen in one or more files. It is disabled by default, and wc uses the standard `-lwc'. Submitted by: Sheldon Givens, sheldon at sigsegv.ca END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T05:01:29.217685Z K 7 svn:log V 120 MFC 186916 from /head/etc The description of the various securelevels has moved to the security.7 manpage a while ago. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-15T05:04:31.876060Z K 7 svn:log V 114 The description of the various securelevels has moved to the security.7 manpage a while ago. Noticed by: simon END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-01-15T06:44:22.774475Z K 7 svn:log V 511 Add TCP Appropriate Byte Counting (RFC 3465) support to kernel. The new behaviour is on by default, and can be disabled by setting the net.inet.tcp.rfc3465 sysctl to 0 to obtain previous behaviour. The patch changes struct tcpcb in sys/netinet/tcp_var.h which breaks the ABI. Bump __FreeBSD_version to 800061 accordingly. User space tools that rely on the size of struct tcpcb (e.g. sockstat) need to be recompiled. Reviewed by: rpaulo, gnn Approved by: gnn, kmacy (mentors) Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-01-15T06:54:59.488188Z K 7 svn:log V 366 Revert previous change, since revision 187103 fixed the problem. So now, if you: - specify "makeoptions DEBUG=-g" in your kernel config - make buildkernel WITH_CTF=1, then "-g" will be added to CTFFLAGS. However, "-g" will still not be added to CTFFLAGS when building kernel modules, if the above steps are performed. This needs to be fixed. Noticed by: thompsa END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-01-15T07:11:14.265096Z K 7 svn:log V 228 fix a ehci's bug that it's occurred when the xfers are aborted under heavy loads or working. It looks this bug exists since r158869 so needs to revert a part of the previous. Reviewed by: imp Tested by: sam MFC after: 3 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T07:45:40.132485Z K 7 svn:log V 65 MFp4: Remove #if'd 0 code. It is interfering with other diffs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T07:48:37.667363Z K 7 svn:log V 68 Reverse order of dumpsys and cpu_idle_wakeup to reduce diffs to p4. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T07:51:17.603020Z K 7 svn:log V 177 Call platform_reset() instead of looping forever on reboot. # We likely need to have a default one of these that jumps to the rom boot # address that's defined in the MIPS ISA. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T08:01:50.778191Z K 7 svn:log V 103 MFp4: Remove Maxmem. It isn't used elsewhere in the system at this point... realmem is used instead. END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-01-15T09:12:41.153862Z K 7 svn:log V 85 Restore Martin Cracauer's src commit bit per his request to core. Approved by: core END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-01-15T11:54:31.575544Z K 7 svn:log V 158 MFi386: 187144 Documentation-only change: - add a reference to the config(5) manpage; - hopefully clarify the format of the 'env FILENAME' directive. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-15T12:15:46.253269Z K 7 svn:log V 298 Lock the semaphore identifier lock during semaphore initialization to guarantee atomicity of the operation for other semaphore consumers. In particular, this should guard against access to the semaphore with not done or partially done MAC label assignment. Reviewed by: rwatson MFC after: 1 month END K 10 svn:author V 8 takawata K 8 svn:date V 27 2009-01-15T16:04:11.425495Z K 7 svn:log V 30 Name the items of xfer array. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-15T17:15:03.545219Z K 7 svn:log V 61 Don't claim to be FreeBSD 8.0 when installed on FreeBSD 7.1. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-15T18:31:36.787080Z K 7 svn:log V 263 MFp4: - Add debug output - Fix pmap_zero_page and related places: use uncached segments and invalidate cache after zeroing memory. - Do not test for modified bit if it's not neccessary (merged from mips-juniper p4 branch) - Some #includes reorganization END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-01-15T18:53:52.056276Z K 7 svn:log V 233 Introduce a local variable and use it instead of passed in parameter to get rid of restrict qualifier discarding. This lets libc compile cleanly in gnu99 mode. Suggested by: kib, christoph.mallon at gmx.de Approved by: kib (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-15T19:26:21.932147Z K 7 svn:log V 16 Sync to r187302 END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-01-15T19:35:23.494303Z K 7 svn:log V 103 Silent userland warnings about missing prototypes. Submitted by: Roman Divacky END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-15T19:57:45.970850Z K 7 svn:log V 66 Reduce diffs to p4 that were the result of a mismerge on my part. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:13:22.286324Z K 7 svn:log V 285 MFC: r183281 - Don't read the identifier string from the VPD if there's no chip containing an Ethernet address fitted as this is yet another thing that fails in that case in order to avoid the one second delay until pci_read_vpd_reg() times out. - Const'ify the bge_devs array. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:13:50.477951Z K 7 svn:log V 285 MFC: r183281 - Don't read the identifier string from the VPD if there's no chip containing an Ethernet address fitted as this is yet another thing that fails in that case in order to avoid the one second delay until pci_read_vpd_reg() times out. - Const'ify the bge_devs array. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:19:53.163912Z K 7 svn:log V 145 MFC: r183896 Use bus_{read,write}_4(9) instead of bus_space_{read,write}_4(9) in order to get rid of the bus space handle and tag in the softc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:23:38.261820Z K 7 svn:log V 217 MFC: r184380 Do as the Linux tg3 driver does and enable MSI support also for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the remainder of the class of BCM575X and beyond chips. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:23:44.653243Z K 7 svn:log V 217 MFC: r184380 Do as the Linux tg3 driver does and enable MSI support also for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the remainder of the class of BCM575X and beyond chips. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:30:38.338411Z K 7 svn:log V 76 MFC: r183895 Use xpt_register_async() in order to remove code duplication. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-01-15T20:45:59.376097Z K 7 svn:log V 115 Change dstp to be const and remove bogus cast. Submitted by: christoph.mallon at gmx.de Approved by: kib (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T20:49:17.196104Z K 7 svn:log V 233 MFC: r183337 - Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9) etc and take advantage of rman_get_rid(9) in order to save some softc members. - Provide and consume module dependency information for lebuffer(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T21:23:44.913966Z K 7 svn:log V 166 MFC: r180692 o Fix style(9) bugs and similar nits. o Merge ncr53c9x.c from NetBSD: 1.115: fix variable shadowing 1.118: __inline -> inline 1.121: fix empty if END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T22:00:22.369332Z K 7 svn:log V 236 Sync the description of jumbo frame support with reality as of r185812; it's also supported with BCM5702 (matched by BGE_ASICREV_BCM5703) but bge(4) currently doesn't with neither BCM5714 nor BCM5780. Prodded by: scf MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-15T22:06:53.084753Z K 7 svn:log V 188 Don't cross-reference gem(4) and hme(4); maybe this made some sense back when these two were the only two NIC drivers working on sparc64 but it no longer does nowadays. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-01-15T22:28:05.824398Z K 7 svn:log V 114 Changes to match "Marketing Description" from Broadcom for HP servers. Submitted by: davidch MFC after: 2 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-01-15T22:41:48.778105Z K 7 svn:log V 60 Reflect newly added PCI IDs to bce(4). MFC after: 2 months END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-01-15T23:03:27.112263Z K 7 svn:log V 96 - pmap_track_modified was retired in r178606. Reintroducing it was a mistake. Spotted by: alc@ END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-15T23:11:02.692593Z K 7 svn:log V 20 handle mbuf overrun END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-01-15T23:14:59.048686Z K 7 svn:log V 423 Revert revision 186833 and try a different strategy to allow this device to work when the bus attaches its own children. Instead of hardcoding a unit number and returning BUS_PROBE_NOWILDCARD, which will break multiple iicbus systems, check in the probe routine whether the device address is 0. Real I2C devices will never have this address, but devices added with BUS_ADD_CHILD() will. Requested by: jhb Reviewed by: jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T23:38:21.243462Z K 7 svn:log V 143 add athrd tool that dumps ath hal regulatory info; note this is soon to obsolete but commit now so it's available for anyone that's interested END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-15T23:40:02.470300Z K 7 svn:log V 12 merge athrd END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-01-16T05:32:56.255246Z K 7 svn:log V 56 retry lookup on lock upgrade failure Suggested by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-01-16T08:06:55.259204Z K 7 svn:log V 197 Add hardware MAC statistics support. Also added some reserved statistics register definition. Users can get current MAC statistics from dev.msk.%d.stats sysctl node(%d is unit number of a device). END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-16T08:30:22.248643Z K 7 svn:log V 42 Remove unused variable. Minor style nits. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-16T08:38:03.660145Z K 7 svn:log V 99 Eliminate the PMAP_INLINE macro. It isn't really used here. If we need to bring it back, we can. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-01-16T09:01:45.330583Z K 7 svn:log V 305 The RTF_LLINFO was revived unconditionally, but within the kernel the check on the sysctl argument value being RTF_LLINFO is conditioned on the COMPAT_ROUTE_FLAGS kernel option. This mismatch caused the L2 table retrieval failure, and the arp/ndp -an command displays empty L2 tables. Reviewed by: pjd END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-16T11:14:29.331623Z K 7 svn:log V 90 MFC r187147: Document that ffsll(3) and flsll(3) functions first appeared in FreeBSD 7.1. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-16T14:45:48.633961Z K 7 svn:log V 374 Remove unused files from the digi(4) driver. The digi(4) driver directory contains some files that cannot be checked out on Windows filesystems. This isn't a big deal, but the files aren't used anyway. There are still some other places where checkouts on Windows don't work, such as VFS_MOUNT.9/vfs_mount.9. This should already be a small improvement. MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-16T15:00:30.401456Z K 7 svn:log V 271 Rename mail(1)'s aux.c to util.c. The name `aux' is reserved on Windows file systems. aux.c in the mail(1) directory contains some random utility functions. I'm renaming this file to util.c to make it possible to check out this directory on Windows. MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-16T15:47:35.451975Z K 7 svn:log V 246 Allow jot(1) regression tests to be checked out on Windows filesystems. The jot(1) regression tests directory contained two tests named `wx' and `wX', which doesn't work on case insensitive filesystems. Rename `wX' to `wX1'. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-16T18:00:25.345915Z K 7 svn:log V 388 MFC rev. 187154, 187196, 187202 Change configuration order to enable output only after codec is configured. Mute all mixer controllable amplifiers initially to let mixer to unmute only some of them later. This should reduce clicks and noises during boot. Improve AD1983 codec support: - force playback via mixer to get PCM volume control, - make cleanup on recoring source selection. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-01-16T18:09:49.589380Z K 7 svn:log V 77 Be more Solaris-friendly. Submitted by: Milan Cermak END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T18:49:19.986156Z K 7 svn:log V 113 ath_hal_getwirelessmodes should not involve regulatory; adjust the api to return what the hardware is capable of END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T18:57:30.722771Z K 7 svn:log V 780 Untangle regulatory code some more: o remove the per-channel CTL setting, this is a per-band value that is constant for all channels in a band; instead record the regdomain state required to find any CTL when crafting a initial channel list o rewrite the regdomain code identification logic so we can record the necessary internal state to find the CTL setting in ath_hal_getctl While here also: o remove AH_SUPPORT_11D ifdefs; we always support 11d o remove pointless check for NO_HOSTAP; ath_hal_init_channels was never called with opmode set appropriately so this was a noop; this check is also done already by net80211 o remove return of regulatory class id's; this isn't used and doesn't belong here; it's part of the regulatory work net80211 is responsible for END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T19:01:38.600383Z K 7 svn:log V 63 remove last vestives of AH_SUPPORT_11D (we always support 11d) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T19:02:08.144274Z K 7 svn:log V 22 remove AH_SUPPORT_11D END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-16T19:28:25.493281Z K 7 svn:log V 62 Add some information in SYNOPSIS, HARDWARE and BUGS sections. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-01-16T19:31:27.984664Z K 7 svn:log V 29 Remove a duplicate #include. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-01-16T19:43:21.274434Z K 7 svn:log V 12 Update URL. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T20:38:42.705566Z K 7 svn:log V 262 Fix 1/2 and 1/4 width channel handling for non-GSM operation: o correct typo that caused random channel selection o explicitly add 1/2 and 1/4 width channels because channel lookups match flags that include IEEE80211_CHANNEL_HALF and IEEE80211_CHANNEL_QUARTER END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T20:40:50.149285Z K 7 svn:log V 116 add FCC4 SKU to expose Public Safety Band (PSB) frequencies; this is modeled after the Atheros SKU of the same name END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T20:42:43.448770Z K 7 svn:log V 15 revert r187343 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T20:44:45.907464Z K 7 svn:log V 23 export PSB frequencies END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T20:51:03.962190Z K 7 svn:log V 51 merge bits necessary to get the Public Safety Band END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-16T22:16:54.220762Z K 7 svn:log V 275 Correct the sense of the "use32" terenary operator so that it uses 'lib32' for 32-bit binaries on amd64 and 'lib' for 64-bit binaries. Remove an #ifdef __i386__ that defined use32 to the wrong value on i386 to workaround the bug in the terenary operator. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-01-16T22:22:30.287215Z K 7 svn:log V 480 Disable decoding of BARs by devices before we trash the value in the BAR by writing all 1's to it to determine its length. This fixes issues with MCFG on at least some machines where a trashed BAR claimed subsequent attempts at PCI config transactions because the addresses in the MCFG window fell in the decoding range of the BAR. In general it is a bad idea to leave the BARs enabled while we are frobbing with them in this manner. Sleuthing by: tegge MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T22:39:48.200614Z K 7 svn:log V 67 eliminate regulatory class id data; we're not handling it any more END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T22:41:12.416674Z K 7 svn:log V 68 remove the regulatory class id's from the ath_hal_init_channels api END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T23:25:49.741894Z K 7 svn:log V 128 Eliminate the outdoor control in setting up the channel list; the hal never returns a frequency above 5825 so it had no effect. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-16T23:50:22.396281Z K 7 svn:log V 144 correct 11g regulatory for Argentina, it's allowed; with this there are no countries that disallow 11g operation so remove the special handling END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-17T02:54:27.619186Z K 7 svn:log V 56 merge r187255: simple scripts to demonstrate tdma setup END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-17T05:38:14.691327Z K 7 svn:log V 138 Simplify printf's inlined output buffering routines. On amd64, this reduces the code size by about 10% and improves performance slightly. END K 10 svn:author V 5 silby K 8 svn:date V 27 2009-01-17T06:53:57.910990Z K 7 svn:log V 57 Merge r186026 - add the debug.batt.batt_sleep_ms sysctl. END K 10 svn:author V 5 silby K 8 svn:date V 27 2009-01-17T06:55:28.044042Z K 7 svn:log V 40 Merge r186031 - quick change to r186026 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-17T07:17:57.107531Z K 7 svn:log V 481 - Implement generic macros for producing KTR records that are compatible with src/tools/sched/schedgraph.py. This allows developers to quickly create a graphical view of ktr data for any resource in the system. - Add sched_tdname() and the pcpu field 'name' for quickly and uniformly identifying records associated with a thread or cpu. - Reimplement the KTR_SCHED traces using the new generic facility. Obtained from: attilio Discussed with: jhb Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-17T07:24:25.003353Z K 7 svn:log V 787 - Rewrite the parser to support the new generic schedgraph interface. This no longer requires any custom classes or parsers to support new event types. - Add an optional command line argument for specifying the clock frequency in ghz. This is useful for traces that do not include KTR_SCHED. Sponsored by: Nokia - Add support for sorting rows by clicking and dragging them to their new position. - Add support for configuring the cpu background colors. - Improve the scaling so a better center is maintained as you zoom. This is not perfect due to precision loss with floats used in the window views. - Add new colors and a random assignment for unknown event types. A table is used for known event types. This is the only event specific information. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-17T11:19:15.812078Z K 7 svn:log V 253 - Add a new source configuration menu option that allows hiding and displaying sources. - Add functions to the main SchedGraph to facilitate source hiding. The source is simply moved off screen and all other sources are moved to compensate. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-01-17T11:57:32.482440Z K 7 svn:log V 71 Bail on ENXIO, you won't get any further any way. Submitted by: tobez END K 10 svn:author V 3 des K 8 svn:date V 27 2009-01-17T13:34:56.771495Z K 7 svn:log V 254 The FTP_TIMEOUT and HTTP_TIMEOUT environment variables were ignored because T_secs already had a non-zero default. Unbreak by moving the default to ftp_timeout / http_timeout. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-17T14:31:41.718566Z K 7 svn:log V 110 MFC r186276: Do not return success and doomed vnode from lookup. LK_UPGRADE allows the vnode to be reclaimed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-17T14:37:54.885191Z K 7 svn:log V 85 MFC r186278: Do not busy twice the mount point where a quota operation is performed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-01-17T14:45:07.401950Z K 7 svn:log V 450 MFC r186719: Extend the struct vm_page wire_count to u_int to avoid the overflow of the counter, that may happen when too many sendfile(2) calls are being executed with this vnode. To keep the size of the struct vm_page and offsets of the fields accessed by out-of-tree modules, swap the types and locations of the wire_count and cow fields. Add safety checks to detect cow overflow and force fallback to the normal copy code for zero-copy sockets. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-17T14:52:26.646459Z K 7 svn:log V 112 s,unmount 8,umount 8, it is unmount(2) which I did not mean. Submitted by: pluknet@gmail.com MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-17T15:56:38.970321Z K 7 svn:log V 646 Fix handling of pts(4) device names in comsat(8). Also catch fork() errors. Pseudo-terminals allocated with posix_openpt(2) will have more slashes in their path names than comsat(8) allows, so allow slashes when the character device name starts with "pts/". This patch is loosely based on NetBSD's changes, revision 1.33. Because it also included the changes to fork(), I imported them here as well. Maybe we could import even more fixes from the other BSD's? Original commit message from the NetBSD folks: PR/30170: Markus W Kilbinger: src/libexec/comsat complains about: '/' in "/dev/pts/1" Reported by: Robert Huff END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-17T16:37:13.975320Z K 7 svn:log V 565 Allow experimental libteken features to be tested without changing code. The teken library already supports UTF-8 handling and xterm emulation, but we have reasons to disable this right now. Because we should make it easy and interesting for people to experiment with these features, allow them to be set in kernel configuration files. Before this commit we had a flag called `TEKEN_CONS25' to enable cons25-style emulation. I'm calling it the opposite now, `TEKEN_XTERM', because we want to enable it in kernel configuration files explicitly. Requested by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-01-17T17:40:44.990153Z K 7 svn:log V 171 Convert battery capacity/rate from mA to mW only when summary is requested. Unconditional conversion causes incorrect rate units reported by acpiconf. MFC after: 2 weeks END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-17T18:57:12.218853Z K 7 svn:log V 755 When f[w]printf() is called on an unbuffered file like stdout, it sets up a fake buffered FILE and then effectively calls itself recursively. Unfortunately, gcc doesn't know how to do tail call elimination in this case, and actually makes things worse by inlining __sbprintf(). This means that f[w]printf() to stderr was allocating about 5k of stack on 64-bit platforms, much of which was never used. I've reorganized things to eliminate the waste. In addition to saving some stack space, this improves performance in my tests by anywhere from 5% to 17% (depending on the test) when -fstack-protector is enabled. I found no statistically significant performance difference when stack protection is turned off. (The tests redirected stderr to /dev/null.) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-01-17T19:52:09.711747Z K 7 svn:log V 43 - Bump __FreeBSD_version after cpuctl MFC. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-01-17T20:30:06.853563Z K 7 svn:log V 743 Release the evil twin of nanobsd.sh: sysbuild.sh quoth the README: I have been running -current on my laptop since before FreeBSD 2.0 was released and along the way developed this little trick to making the task easier. sysbuild.sh is a way to build a new FreeBSD system on a computer from a specification, while leaving the current installation intact. sysbuild.sh assume you have two partitions that can hold your rootfs and can be booted, and roughly speaking, all it does is build a new system into the one you don't use, from the one you do use. A partition named /freebsd is assumed to be part of your layout, and that is where the sources and ports will be found. If you know how nanobsd works, you will find a lot of similarity. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-01-17T21:31:47.491346Z K 7 svn:log V 27 Fix typo Spotted by: juli END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-17T22:53:53.097142Z K 7 svn:log V 357 Make vidcontrol's color setting work again. It turns out I forgot to implement two escape sequences that allows the user to change the default foreground and background colors. I thought they were implemented by syscons itself, but vidcontrol just generates some escape sequences, which get interpreted by the terminal emulator. Reported by: mgp (forums) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-01-17T23:01:40.074603Z K 7 svn:log V 529 Fix for my previous commit: color mapping is not 1:1. Cons25 doesn't seem to use a straight 1:1 mapping to the ANSI colors, but uses the same color numbers as at least used by syscons on i386. I suspect if you change the definitions on a different architecture, things may break? Not sure. Add a small array to convert syscons-style color codes to ANSI equivalents, which are used by libteken internally. I didn't notice this bug, because I only tested my code with black, white and green, all of them shared the same numbers. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-01-18T04:29:42.741138Z K 7 svn:log V 87 Add support for CMedia CMI120. PR: kern/123640 Approved by: ariff MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-01-18T04:49:01.799452Z K 7 svn:log V 597 - Significantly speedup hiding and displaying multiple rows by writing an optimized single pass function for each. This reduces the number of tkinter calls required to the minimum. - Add a right-click context menu for sources. Supported commands hide the source, hide the whole group the source is in, and bring up a stat window. - Add a source stat frame that gives an event frequency table as well as the total duration for each event type that has a duration. This can be used to see, for example, the total time a thread spent running or blocked by a wchan or lock. END