ĵ4210362 161 976 122 266 177 723 1410 200 395 335 305 915 547 171 225 1955 519 280 280 179 395 227 219 283 213 186 666 440 1378 170 300 134 297 242 650 522 161 538 332 421 284 236 194 111 351 1803 255 377 339 213 608 210 210 210 234 207 207 275 275 195 195 599 1228 615 1080 317 356 331 135 328 271 97 1137 186 130 104 120 225 171 617 144 270 260 285 265 144 129 182 103 106 244 124 263 293 521 154 288 317 168 259 480 173 398 200 244 226 226 240 172 447 256 328 156 717 1238 359 160 132 230 155 155 376 196 193 171 127 117 714 156 184 128 184 363 283 266 172 211 311 395 249 155 317 205 179 369 227 227 167 240 240 455 824 824 306 272 467 170 230 131 140 221 162 K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-22T01:01:16.658660Z K 7 svn:log V 883 New release notes: ddb(4) show vnetrcrs, sched_4bsd race fix, pfil(9) virtualization, ahci(4) Marvell 88SE912x support, ahci(4) FBS support in PM, ata(4) PUIS support, cam(3) kern.cam.boot_delay, error recovery improvement, gmultipath(8) destroy subcommand added, isp(4) improved, siis(4) Max Read Request Size increased, nfsiod(8) race fixed, ffs(7) inode number is now unsigned, cp(1) -x added, fsck_ffs(8) UFS1 last cylinder group issue fixed, ifconfig(8) description support added, netstat(1) -q option added, restore(8) -P shot read issue fixed, rtsold(8) -a improved, strsignal(3) thread-safe, sysctl(8) -i added, rc.d/rtsold added, firewall_coscripts in rc.conf added, and ISC BIND 9.6.1-P3. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-22T01:14:33.829057Z K 7 svn:log V 30 Document two possible errata. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-22T01:23:39.434624Z K 7 svn:log V 170 MFC r210089: Add -p option to have pom(6) print just the percentage, without extra text. PR: bin/51070 Submitted by: Matt Koivisto mkoivisto sandvine com END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-22T05:42:29.663551Z K 7 svn:log V 83 Remove spurious '/*-' marks and fix some other style problems. Submitted by: bde@ END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-22T05:53:12.253573Z K 7 svn:log V 630 New relnotes item: syscons(4) history handling improved, X86BIOS added on i386/amd64, loader(8) U-Boot storage support [powerpc], smu(4) thermal management and monitoring [powerpc], tnt4882(4) now supports TNT5004, acpi_video(4) LCD brightness control notify handler support, acpi_sony(4) now supports brightness, wired LAN power, bass gain, ath(4) supports AR9285, bge(4) ASF heartbeat sending fixed, vlan(4) IFCAP_VLAN_HWTSO, ciss(4) livelock fixed, find(1) -newerXB fixed, procstat(1) -i/-j added, and tzdata2010e. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-22T07:47:50.398517Z K 7 svn:log V 1314 First (fairly complete) version of changing the behavior of the -G option. In the original version of portmaster the concept of 2 distinct passes through the dependency tree, the first to do all the 'make config's and the second to build everything was intrinsic to the design. When released publicly there were a non-trivial number of users who objected to the idea of having 'make config' be mandatory, so I added the -G option to disable the whole first pass. However as time went on, more and more features were added that depended on the first pass, so it was necessary to rethink how -G works. In this version, the 2-pass design is now universal, and the only thing -G does is suppress the actual OPTIONS dialog. This has several benefits: 1. Now all features are available to -G users 2. The new method of suppressing the OPTIONS dialog is 100% effective (thus it's no longer necessary to use BATCH to truly suppress them 3. The --force-config option now overrides -G so users who really hate OPTIONS can have -G in their rc file, but still have it available by using --force-config on the command line Lots of variables, functions, and text have been modified to substitute out references to "config" in favor of "first pass" I'm going to finish realigning the whitespace in a different pass END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-07-22T08:30:14.838977Z K 7 svn:log V 107 Actually, only the fullsync mode is implemented, not memsync mode. Correct manual page. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-22T09:13:49.314337Z K 7 svn:log V 302 When compat32 binary asks for the value of hw.machine_arch, report the name of 32bit sibling architecture instead of the host one. Do the same for hw.machine on amd64. Add a safety belt debug.adaptive_machine_arch sysctl, to turn the substitution off. Reviewed by: jhb, nwhitehorn MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-22T09:14:18.799331Z K 7 svn:log V 242 Verify return value of the sigset manipulation functions to catch invalid signal numbers [1]. Use consistent style of not assigning the return value to a local variable. Reported by: Garrett Cooper [1] MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-22T10:24:28.395684Z K 7 svn:log V 213 Convert md(4) to use alloc_unr(9) and alloc_unr_specific(9) for unit number allocation. The old approach had some problems such as it allowed an overflow to occur in the unit number calculation. PR: kern/122288 END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-22T11:23:18.258017Z K 7 svn:log V 820 Add support for creating the archived log filenames using a time-stamp instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. PR: bin/29363 MFC after: 3 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-22T11:37:54.669278Z K 7 svn:log V 452 Add regression tests for newsyslog. These are far from a complete test of newsyslog, as they were mainly made to test 'newsyslog -t', but they do test the basic functionality. The test 'framework' was based on dds@'s code in src/tools/regression/bin/mv/. Note that currently these tests are not fully correct for the non-timestamp based rotation case, as it seems like newsyslog actually by default keeps a file too much around. MFC after: 3 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-22T11:38:48.561172Z K 7 svn:log V 77 Hook newsyslog regression tests to the Makefile 'build'. MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-22T14:52:51.888921Z K 7 svn:log V 133 MFC r208684: Allow to use 'jailed' property again. Reported by: Eugene Mitrofanov Approved by: delphij (mentor) END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-07-22T15:38:36.728407Z K 7 svn:log V 1861 MFC 209599, 209960: r209960 | marius - Make the maxsize parameter of the data buffer DMA tag match maxio, which was missed in r209599. Reported and tested by: Michael Moll - Declare mpt_dma_buf_alloc() static just like mpt_dma_buf_free(), both are used in mpt.c only. Reviewed by: ken MFC after: r209599 r209599 | ken Change the mpt driver to allow larger I/O sizes. The mpt driver previously didn't report a 'maxio' size to CAM, and so the da(4) driver limited I/O sizes to DFLTPHYS (64K) by default. The number of scatter gather segments allowed, as reported to busdma, was (128K / PAGE_SIZE) + 1, or 33 on architectures with 4K pages. Change things around so that we wait until we've determined how many segments the adapter can support before creating the busdma tag used for buffers, so we can potentially support more S/G segments and therefore larger I/O sizes. Also, fix some things that were broken about the module unload path. It still gets hung up inside CAM, though. mpt.c: Move some busdma initialization calls in here, and call them just after we've gotten the IOCFacts, and know how many S/G segments this adapter can support. mpt.h: Get rid of MPT_MAXPHYS, it is no longer used. Add max_cam_seg_cnt, which is used to report our maximum I/O size up to CAM. mpt_cam.c: Use max_cam_seg_cnt to report our maximum I/O size to CAM. Fix the locking in mpt_cam_detach(). mpt_pci.c: Pull some busdma initialization and teardown out and put it in mpt.c. We now delay it until we know many scatter gather segments the adapter can support, and therefore how to setup our busdma tags. mpt_raid.c: Make sure we wake up the right wait channel to get the raid thread to wake up when we're trying to shut it down. Reviewed by: gibbs, mjacob MFC after: 2 weeks END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-07-22T16:41:09.377208Z K 7 svn:log V 426 Fix taskqueue_drain(9) to not have false negatives. For threaded taskqueues, more than one task can be running simultaneously. Also make taskqueue_run(9) static to the file, since there are no consumers in the base kernel and the function signature needs to change with this fix. Remove mention of taskqueue_run(9) and taskqueue_run_fast(9) from the taskqueue(9) man page. Reviewed by: jhb Approved by: zml (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-22T17:02:11.127130Z K 7 svn:log V 186 MFC: r210248 Fix two long-standing line wrapping bugs in VGA renderer for pixel mode. Font size may be smaller than 16 and logical scan line may be larger than the displayed scan line. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-22T17:02:51.716523Z K 7 svn:log V 186 MFC: r210248 Fix two long-standing line wrapping bugs in VGA renderer for pixel mode. Font size may be smaller than 16 and logical scan line may be larger than the displayed scan line. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-07-22T17:23:43.504876Z K 7 svn:log V 87 Remove unused variable that snuck in during development. Approved by: zml (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-22T17:35:36.828007Z K 7 svn:log V 299 If a size suffix isn't entered, just use the value entered. This fixes a bug caused by r209235 where entering a number of blocks after previously entering a size in MB/GB would result in the size of the previous partition being used. PR: bin/148266 Submitted by: jpaetzel Approved by: rrs (mentor) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-07-22T18:33:10.182284Z K 7 svn:log V 129 Note that foreground fsck should be run after a filesystem related panic. Suggested by: Mikhail Teterin (mi@) MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-22T18:44:40.893729Z K 7 svn:log V 125 Fix an obvious typo from r1.1. We were acquiring an exclusive writer lock regardless of the given flags. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T18:47:41.648966Z K 7 svn:log V 187 Handle a few corner cases for clang like we did with icc. These should reduce the number of warnings seen while building the kernel. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T18:49:27.381362Z K 7 svn:log V 117 Disable building libobjc with clang as it's not yet supported. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T18:52:29.535259Z K 7 svn:log V 91 Make these files compile with clang. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T18:57:47.561404Z K 7 svn:log V 570 Correctly setup LDADD with regards to libstand. The submitter points out that "on amd64, libstand.a is compiled for i386, but is still installed under ${WORLDTMP}/usr/lib instead of ${WORLDTMP}/usr/lib32. Even if it would be installed there, ld on amd64 is set up incorrectly with a ${TOOLS_PREFIX}/usr/lib/i386 default path, so it wouldn't link. The reason it does link under gcc is that gcc passes -L${WORLDTMP}/usr/lib twice, even for -m32 builds, which is also incorrect, but accidentally works in this case." Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T19:09:34.895488Z K 7 svn:log V 344 Build clang libraries by default with -fno-exceptions and with -fno-rtti. The clang libaries that really use exceptions and virtual functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI respectively. This saves space on the resulting binaries and follows what's being done upstream. Submitted by: Dimitry Andric END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-22T19:11:57.745981Z K 7 svn:log V 1282 Add BSD grep to the base system and make it our default grep. Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC), lower memory usage than GNU grep, GNU compatibility, BSD license. TODO: Performance is somewhat behind GNU grep but it is only significant for bigger searches. The reason is complex, the most important factor is that GNU grep uses lots of optimizations to improve the speed of the regex library. First, we need a modern regex library (practically by adopting TRE), add support for GNU-style non-standard regexes and then reevalute the performance issues and look for bottlenecks. In the meantime, for those, who need better performance, it is possible to build GNU grep by setting WITH_GNU_GREP. Approved by: delphij (mentor) Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/), freegrep (http://github.com/howardjp/freegrep) Sponsored by: Google SoC 2008 Portbuild tests run by: kris, pav, erwin Acknowledgements to: fjoe (as SoC 2008 mentor), everyone who helped in reviewing and testing END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-22T19:15:26.274855Z K 7 svn:log V 76 - Bump __FreeBSD_version for BSD grep import Approved by: delphij (mentor) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-22T19:22:32.211985Z K 7 svn:log V 203 MFC r209892: Fixes a page fault in bwi_pci_probe() because the array isn't terminated with NULL. PR: kern/148473 Submitted by: Grzegorz Dabrowski END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-22T19:30:13.809859Z K 7 svn:log V 40 - Regenerate after adding WITH_GNU_GREP END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-22T20:08:02.050978Z K 7 svn:log V 200 Fixes a mistake to calculate CALC_COEFF2() value that tmp[3] is used even if it's unreachable. PR: kern/144505 Submitted by: Henning Petersen MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-22T21:31:35.473726Z K 7 svn:log V 146 Fix previous commit: don't remove the WERROR definition when using clang. Submitted by: Dimitry Andric Reviewed by: jkim END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-22T22:42:53.453104Z K 7 svn:log V 555 Add the --clean-packages[-all] feature This works similarly to --clean-distfiles[-all] in that it searches the $PACKAGES directory for out of date packages, and either offers to delete them, or with -all deletes them without prompting. It also cleans out stale symlinks and empty directories. This necessitates moving init_packages_var() and parse_index() so they can be used by the new feature. The idea for grabbing the ORIGIN from the package's +CONTENTS file and checking to see if it is up to date came from: Alexey Markov END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-07-22T23:12:19.031418Z K 7 svn:log V 426 Rework how device memory is allocated on the s3c24x0 CPU's. The device virtual addresses are now able to be allocated at runtime rather than from the static pmap_devmap at boot. The only exception is memory required before we have had a chance to dynamically allocate it. While here reduce the space between the statically allocated devices by reducing the distance between the virtual addresses. Approved by: imp (mentor) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-07-22T23:23:39.286382Z K 7 svn:log V 66 Add the s3c24x0 real time clock driver Approved by: imp (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-22T23:30:24.064022Z K 7 svn:log V 446 Enable fake resolving of SMB RIDs by using nulldomain and UID_NOBODY - fixes panics when Solaris/OpenSolaris pools that contain files uploaded with the SMB protocol are accessed Enable seting/unsetting the sharesmb property (dummy action) - allows users who import pools from Solaris/Opensolaris to unset the sharesmb property and get rid of annoying messages PR: kern/145778, kern/148709 Approved by: pjd, delphij (mentor) MFC after: 7 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-23T05:42:49.340320Z K 7 svn:log V 237 Add an option to log actions after the run is complete. To enable it define PM_LOG in your rc file as the path of the file you want to log to. If using PM_SU_CMD make sure that the directory or file is writable by the unprivileged user. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-23T06:01:30.382365Z K 7 svn:log V 326 If --local-packagedir and ${LOCAL_PACKAGEDIR}/All/${new_port}.tbz exists just use it, don't bother dereferencing $LATEST_LINK. This is faster, but it also solves the problem recenctly mentioned on -ports where packages/Latest/perl links to perl-5.10.x, even with 5.12.x installed and the 5.12.x package exists in packages/All END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-07-23T06:30:01.595821Z K 7 svn:log V 192 Prevent access after free to table entry in case when user deletes partition that not yet created (changes doesn't committed to disk). PR: 148687 Approved by: mav (mentor) MFC after: 7 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-23T07:38:30.302236Z K 7 svn:log V 141 Finalize the deprecations of /etc/portmaster.rc, -u and -p s/distfiles/packages/ for the --clean-packages-all in usage() Full path to nice END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-23T07:46:55.086627Z K 7 svn:log V 101 Update MIPS timer code (except RMI) to utilize new MI event timer infrastructure. Reviewed by: neel END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-23T08:20:14.210764Z K 7 svn:log V 19 Add some comments. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-23T08:23:30.501463Z K 7 svn:log V 256 In --clean-packages if a package after the first has a missing ORIGIN port_ver will still contain the value from the previous port, so fix this. Reported by: Alexey Markov Further improve the messages to the user for this feature. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T09:01:12.796262Z K 7 svn:log V 1709 New relnotes item: ddb(4) show ifnets/ifnet/lltables/lltable/llentry, ddb(4) show vnet_sysinit/vnet_sysuninit, UltraSPARC IV/IV+ support [sparc64], if_bridge(4) MTU handling fix, bwn(4) added, em(4) 7.0.0, igb(4) 1.9.3, ixgbe(4) 2.1.7, msk(4) interrupt moderation, mxge(4) 1.4.50 firmware, re(4) performance fix, run(4) added, sge(4) added, flowtable IPv6 support, LINKSTATE capability flag added to ifnet, ipfw(4) improvements: ipfw0, IPv6 support of "me", IPv6 keep-alive fix, lookup match option, ip.fw.one_pass fix, memory alignment issue in ng_ppp and ng_ksocket fixed, tap(4) now supports link state report, more drivers to IFCAP_VLAN_HWTSO support list, cam(3) ATA transport PUIS support, glabel(8) per-FS enable/disable knobs, gmultipath(8) destroy, rotate, getactive commands, gsched(8) added, msdosfs(5) MPSAFE, UFS NFSv4 ACL support, chgrp(1) and chown(8) -x flag support, fnmatch(3) bug fix, indent(1) -ta flag support, libz optimization on i386/amd64, netstat(1) -f netgraph bug fix, /tmp/.snap now in $daily_clean_tmps_ignore used in periodic(8) script, sed(1) -r flag (equivalent to -E) added, db(3) style database of /etc/services added, rc.d/ip6fw deprecated and integrated into rc.d/ipfw, rc.c/tmp now uses a unique dirname for /tmp/.diskless, rc.d/ubthidhci added, ACPI-CA 20100304, ISC BIND 9.6.2-P1, netcat 4.7, OpenSSH 5.4p1, and tzdata2010i. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-07-23T09:11:47.975101Z K 7 svn:log V 160 Add a -S switch to override the default syslog pid file. This can be useful if syslogd's -P switch or a syslogd alternative is being used. MFC after: 3 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-07-23T11:00:43.761530Z K 7 svn:log V 285 Document that SI unit suffixes are supported for -b and -s options of add verb. Mention about maximum size limit for "freebsd-boot" partition. It should be smaller than 545 KB (hardcoded in pmbr). Show usage of SI unit suffixes in example. Approved by: mav (mentor) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-23T11:00:46.047828Z K 7 svn:log V 246 Crypto(4) driver for AESNI. The aeskeys_{amd64,i386}.S content was mostly obtained from OpenBSD, no objections to the license from core. Hardware provided by: Sentex Communications Tested by: fabient, pho (previous versions) MFC after: 1 month END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-07-23T12:30:29.101710Z K 7 svn:log V 117 Make lorunningspace catch up with hirunningspace. While there, add comment about the magic numbers. Prodded by: alc END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-23T12:51:23.589060Z K 7 svn:log V 512 Bring over an NF calibration fix from the latest linux wireless-testing ath9k code. The inline comment explains what is going on - on the ar5416 and ar9160 (at least) writing -50 to the CCA registers during Noise Floor calibration can result in the RX side going deaf. This has been tested on an SR-71 (AR9160 based) 11n MiniPCI card. The initial NF calibration on startup takes longer than the initial CCA register loading. It may be possible this occurs during periodic recalibrations. Obtained from: Linux END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T14:30:14.473433Z K 7 svn:log V 117 MFC 210066: Rework the SMBIOS table walker to make it operate like other table walkers and remove a buffer overflow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T14:30:31.882109Z K 7 svn:log V 117 MFC 210066: Rework the SMBIOS table walker to make it operate like other table walkers and remove a buffer overflow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T14:30:47.042342Z K 7 svn:log V 117 MFC 210066: Rework the SMBIOS table walker to make it operate like other table walkers and remove a buffer overflow. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-07-23T14:35:51.946994Z K 7 svn:log V 136 Note that foreground fsck should be run after a filesystem related panic. Suggested by: Mikhail Teterin (mi@) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:16:27.067489Z K 7 svn:log V 114 MFC 210068: - Sort list of trace points. - Note that 'y' (sysctl requests) is in the default set of trace points. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:16:37.177265Z K 7 svn:log V 114 MFC 210068: - Sort list of trace points. - Note that 'y' (sysctl requests) is in the default set of trace points. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:26:19.549608Z K 7 svn:log V 182 MFC 209946: - Add missing locking around flushing of an NFS node's attribute cache in the NMODIFIED case of nfs_open(). - Cosmetic tweak to simplify an expression in nfs_lookup(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:26:32.295801Z K 7 svn:log V 182 MFC 209946: - Add missing locking around flushing of an NFS node's attribute cache in the NMODIFIED case of nfs_open(). - Cosmetic tweak to simplify an expression in nfs_lookup(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:32:22.975981Z K 7 svn:log V 102 MFC 209956: Remove a dead test. We already exclude NMI traps from this code in an earlier condition. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-23T15:32:44.306022Z K 7 svn:log V 102 MFC 209956: Remove a dead test. We already exclude NMI traps from this code in an earlier condition. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-23T16:46:42.362705Z K 7 svn:log V 506 cpufreq: allocate long-lived buffer for handling of sysctl requests At present the cpufreq sysctl handler for current level setting would allocate and deallocate a temporary buffer of 24KB even to handle a read-only query. This puts unnecessary load on memory subsystem when current level is checked frequently, e.g. when the likes of powerd and system monitoring software are running. Change the strategy to allocating a long-lived buffer for handling the requests. Reviewed by: njl MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-23T17:07:51.892401Z K 7 svn:log V 1134 completely ignore zero-sized elf sections in modules of elf object type (amd64) Current code doesn't check size of elf sections and may perform needless actions of zero-sized memory allocation and similar. The bigger issue is that alignment requirement of a zero-sized section gets effectively applied to the next section if it has smaller alignment requirement. But other tools, like gdb and consequently kgdb, completely ignore zero-sized sections and thus may map symbols to addresses differently. Zero-sized sections are not typical in general. Their typical (only, even) cause in FreeBSD modules is inline assembly that creates custom sections which is found in pcpu.h and vnet.h. Mere inclusion of one of those header files produces a custom section in elf output. If there is no actual use for the section in a given module, then the section remains empty. Better solution is to avoid creating zero-sized sections altogether, which is in plans. Preloaded modules are handled in boot code (load_elf_obj.c), while dynamically loaded modules are handled by kernel (link_elf_obj.c). Based on code by: np MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-23T17:21:23.996591Z K 7 svn:log V 522 kgdb: correctly map sections to addresses in elf object modules (amd64) Unlike for modules with dso type, in elf object modules all the sections have virtual address of zero. So, it is insufficient to add module base address to section virtual address (as recorded in section header) to get section address in kernel memory. Instead, we should apply the same calculations that are performed by kernel loaders (in boot code and in kernel) when they lay out sections in memory. Discussed with: jhb, np MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-23T17:32:47.705495Z K 7 svn:log V 987 dtrace: correctly map sections to addresses in elf object modules (amd64) Unlike for modules with dso type, in elf object modules all the sections have virtual address of zero. So, it is insufficient to add module base address to section virtual address (as recorded in section header) to get section address in kernel memory. Instead, we should apply the same calculations that are performed by kernel loaders (in boot code and in kernel) when they lay out sections in memory. Also, unlike OpenSolaris, the sections are not collapsed into just .text, .data and .bss by module loaders, so we need to take additional care about other sections. Note that in-kernel symbol-to-address mapping worked just fine, e.g. fbt provider could correctly find the functions, etc. It's only in userland that the mapping in both direction worked incorrectly, e.g. in stack() output addresses of functions in kernel modules were not translated to their names. Reviewed by: rpaulo MFC after: 3 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-23T17:42:42.277847Z K 7 svn:log V 222 - Add Russian catalog [1] - Fix two minor nits in manpage [2] - style.Makefile(5) Submitted by: pluknet [1], Alex Kozlov [2] Reviewed by: delphij END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-23T17:44:01.424307Z K 7 svn:log V 263 zfs arc_memory_throttle: available memory is free + cache OpenSolaris freemem has the same meaning as our v_free_count + v_cache_count. Obtained from: Artem Belevich , Peter Jeremy Discussed with: pjd MFC after: 2 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-07-23T17:53:39.540652Z K 7 svn:log V 238 Fix a bug in the statistics code for tracking the head and tail pointers of the tx and rx queues. We needed a SYSCTL_PROC to correctly get the values at run time. Submitted by: Andrew Boyer aboyer at averesystems.com MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-23T18:58:27.455960Z K 7 svn:log V 43 Eliminate a little bit of duplicated code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-07-23T19:36:11.680305Z K 7 svn:log V 231 Fix crashes when using grep -R: - Explicitly pre-zero memory for fts_open parameters. - Don't test against directory patterns when we are testing direct leaf of current directory. While I'm there plug a few of memory leaks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-23T21:30:33.690200Z K 7 svn:log V 178 Remove the linux_exec_copyin_args(), freebsd32_exec_copyin_args() may server as well. COMPAT_FREEBSD32 is a prerequisite for COMPAT_LINUX32. Reviewed by: alc MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-23T21:31:03.023937Z K 7 svn:log V 6 Regen END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T21:38:26.899750Z K 7 svn:log V 1043 New relnotes item: SPARC64 V support [sparc64], usb(4) attach->notify event change, uep(4) added, cxgb(4) hardware filtering, fxp(4) hardware MAC stats via sysctl, ixgbe(4) version 2.2.0, msk(4) 88E8059 support, shutdown issue fixed, Xen netfront driver improved, iflladdr_event for L2 addr change has been added, ng_bridge(4) and ng_hub(4) "presistent" flag, CAM ATA transport driver supports more SATA feature, mvs(4) added, siis(4) now enables MSI on SiI3124, twa(4) driver updated, UFS QUOTA64, ZFS improvements, camcontrol(8) -d/-f added, liblzma and xz(1) added, ln(1) bugfixes, newfs_msdosfs(8) default volume label changed, pam_krb5(8) no_user_check option added, pathchk(1) -P for POSIX compatibility, stat(1) %Sf added, unzip(1) rename query, -Ccfpv options added, ISC BIND 9.6.2-P2, OpenSSL 0.9.8n, and tzdata2010j. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T21:51:41.736356Z K 7 svn:log V 94 - Spelling correction. - Remove 64-bit quota entry; it was not merged[*]. Spotted by: kib[*] END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T22:00:19.960626Z K 7 svn:log V 38 Sort entries. Cosmetic changes only. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T22:18:05.572213Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T22:20:26.163016Z K 7 svn:log V 28 Fix a typo. Spotted by: np END K 10 svn:author V 2 np K 8 svn:date V 27 2010-07-23T22:24:25.376653Z K 7 svn:log V 133 Catch up with r210324. d_buf will be NULL for SHT_NOBITS sections, do not attempt to copy from it in that case. MFC after: 1 month END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-23T22:49:25.626265Z K 7 svn:log V 79 Add ale(4) to the IFCAP_VLAN_HWTSO-supported device list. Spotted by: yongari END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-23T23:58:57.192189Z K 7 svn:log V 522 By popular demand, add an option to --clean-distfiles[-all] to allow a distfile to be valid if it matches ANY port in the tree, not just those installed. This requires building a distinfo list from all ports, so duplicate the relevant bits of read_distinfos() into read_distinfos_all(). The common elements are split into during the loop and after the loop, so making 4 functions total doesn't seem worth it. Add logic to --clean-distfiles to handle the -t option and call the right read_distinfos* function accordingly. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-24T01:52:26.551184Z K 7 svn:log V 47 Shift to -STABLE now that 8.1-RELEASE is done. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-24T10:04:35.122274Z K 7 svn:log V 175 Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal. This makes it possible to use the hostres module when bsnmpd is not running as root. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-24T10:07:17.657755Z K 7 svn:log V 167 Remove extra commas from KTR_EVENT4() macro to match number of CTR6() args. Comparing to other macros there should be strings concatenation, not a separate arguments. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-24T10:49:59.113717Z K 7 svn:log V 192 Increment td->td_intr_nesting_level for LAPIC timer interrupts. Among other things it hints SCHED_ULE to run clock swi handlers on their native CPUs, avoiding many unneeded IPI_PREEMPT calls. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-24T11:15:40.581859Z K 7 svn:log V 172 MFC r210191: s/an struct/a struct PR: docs/148660 Submitted by: Warren Block (wblock at wonkity dot com) Reviewed by: Tim Kientzle Mentored by: jkois END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-24T14:23:06.184614Z K 7 svn:log V 52 Reword the comment, fixing typo. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-24T15:24:12.732018Z K 7 svn:log V 35 Add P_HASTHREADS flag description. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-24T15:37:36.987673Z K 7 svn:log V 88 Fix alignment for the 'flags' label, and make more room for 'tdev'. MFC after: 1 month END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-24T17:44:31.658301Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-24T18:05:10.957242Z K 7 svn:log V 14 Trim SA list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-24T18:14:34.701787Z K 7 svn:log V 151 Use forward declartion for enum uio_seg in imgact.h. This allows to remove inclusion of sys/uio.h from the header. Proposed by: alc MFC after: 1 week END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-07-24T18:53:46.974217Z K 7 svn:log V 32 style(9) fix MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-24T18:54:57.165520Z K 7 svn:log V 171 MFC r202783: Truncate read request rather than returning EIO if the request is larger than MAXPHYS + 1. This fixes a problem with cat(1) when it uses a large I/O buffer. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-24T19:40:16.499424Z K 7 svn:log V 200 ichwd: correct range check for timeout value This is similar to a fix in r189305 but for earlier ICH versions (<= 5). Reported by: someone via attilio Discussed with: des, attilio MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-24T22:11:11.187023Z K 7 svn:log V 423 Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate module that can be used by both the regular and experimental nfs clients. This fixes the problem reported by jh@ where /dev/nfslock would be registered twice when both nfs clients were used. I also defined the size of the lm_fh field to be the correct value, as it should be the maximum size of an NFSv3 file handle. Reviewed by: jh MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-24T22:16:14.758056Z K 7 svn:log V 57 Fix the include path for nfs_lock.h. MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-24T22:28:29.104450Z K 7 svn:log V 196 Consider snapshots as descendants via zfs allow -d OpenSolaris onnv changeset: 9847:2f3ba86e857a Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6809340) MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-07-24T23:41:09.944836Z K 7 svn:log V 221 Allow external interrupts. - Set the external pin to interrupt in bus_setup_intr - Implement bus_config_intr for external interrupts - Extend arm_{,un}mask_irq to work with external interrupts Approved by: imp (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-07-25T02:22:32.598180Z K 7 svn:log V 75 MFi386: revision 210387 Correctly setup LDADD with regards to libstand. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-25T04:19:05.332658Z K 7 svn:log V 166 Get N64 building by defining VM_FREELIST_DIRECT to be VM_FREELIST_DEFAULT. I believe this is correct, since KX is set in n64, and thus all RAM can be direct mapped. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-25T08:42:18.609713Z K 7 svn:log V 385 - Fix --color behaviour to only output color sequences if stdout is a tty or if forced mode is specified [1] - While here, add some alternative names for the options and make then case-insensitive - Fix -q and -l behaviour [2] - Some small changes to make the code easier to review Submitted by: swell.k@gmail.com [1], dougb [2] Approved by: delphij (mentor) END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-07-25T10:06:56.182450Z K 7 svn:log V 78 Take murray's commit bit into safekeeping per his request. Approved by: core END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-25T11:31:29.142458Z K 7 svn:log V 305 Clarify that the "number of bytes per sector"-range in the -S option is meant to be "inclusive". The original issue of the PR was already fixed. PR: docs/142418 Submitted by: David Naylor (naylor dot b dot david at gmail dot com) No objection from: kib MFC after: 5 days END K 10 svn:author V 5 rafan K 8 svn:date V 27 2010-07-25T11:43:54.240064Z K 7 svn:log V 105 - Fix wrong manpage title for keybound.3X PR: docs/148864 Obtained from: ncurses-5.7-20081213 snapshot END K 10 svn:author V 5 rafan K 8 svn:date V 27 2010-07-25T11:48:27.144266Z K 7 svn:log V 149 Merge r210464 from vendor/ncurses/dist: - Fix wrong manpage title for keybound.3X PR: docs/148864 Obtained from: ncurses-5.7-20081213 snapshot END K 10 svn:author V 5 rafan K 8 svn:date V 27 2010-07-25T11:52:09.517815Z K 7 svn:log V 131 MFC r210465 - Fix wrong manpage title for keybound.3X PR: docs/148864 Obtained from: ncurses-5.7-20081213 snapshot END K 10 svn:author V 5 rafan K 8 svn:date V 27 2010-07-25T11:53:32.383332Z K 7 svn:log V 131 MFC r210465 - Fix wrong manpage title for keybound.3X PR: docs/148864 Obtained from: ncurses-5.7-20081213 snapshot END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-25T13:32:19.774548Z K 7 svn:log V 147 Apply a small grammar fix to {toupper,tolower}(3). PR: docs/140458 Submitted by: Jeremy Huddleston (Jeremyhu at apple dot com) MFC after: 5 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T15:14:42.565820Z K 7 svn:log V 78 Give a name to the HTC Wizard Smartphone PR: usb/135575 Submitted by: lioux END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-25T15:17:24.516722Z K 7 svn:log V 355 Import two changesets from OpenSolaris to make future updates easier. The changes do not affect FreeBSD code because zfs_znode_move(), cleanlocks() and cleanshares() are not used. OpenSolaris onnv changeset: 9788:f660bc44f2e8, 9909:aa280f585a3e Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6843700, 6790232) MFC after: 7 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-25T15:43:52.933552Z K 7 svn:log V 163 Export PCI IDs of ATA/SATA controllers through CAM and ata(4) layers to GEOM. This information needed for proper soft-RAID's on-disk metadata reading and writing. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T15:53:27.660535Z K 7 svn:log V 233 Merge r198005 (originally by markm) from head: We haven't installed usbdevs for many moons now, and it doesn't work any more anyway. Add it to the "obsolete" list. PR: usb/146799 Reported by: Warren Block END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T17:11:57.921311Z K 7 svn:log V 62 Create a vendor area for tnftp(1), the new name for lukemftp. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-25T17:40:48.988608Z K 7 svn:log V 621 MFC r209016, r209022: 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 Obtained from: DragonFly END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-25T17:43:38.303452Z K 7 svn:log V 1144 Change the order in which the file name, arguments, environment, and shell command are stored in exec*()'s demand-paged string buffer. For a "buildworld" on an 8GB amd64 multiprocessor, the new order reduces the number of global TLB shootdowns by 31%. It also eliminates about 330k page faults on the kernel address space. Change exec_shell_imgact() to use "args->begin_argv" consistently as the start of the argument and environment strings. Previously, it would sometimes use "args->buf", which is the start of the overall buffer, but no longer the start of the argument and environment strings. While I'm here, eliminate unnecessary passing of "&length" to copystr(), where we don't actually care about the length of the copied string. Clean up the initialization of the exec map. In particular, use the correct size for an entry, and express that size in the same way that is used when an entry is allocated. The old size was one page too large. (This discrepancy originated in 2004 when I rewrote exec_map_first_page() to use sf_buf_alloc() instead of the exec map for mapping the first page of the executable.) Reviewed by: kib END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-25T17:48:16.285570Z K 7 svn:log V 263 MFC r209523: Import the acpi_aibs(4) driver written by Constantine A. Murenin. It has more features than acpi_aiboost(4) and it will eventually replace acpi_aiboost(4). Submitted by: Constantine A. Murenin Reviewed by: freebsd-acpi, imp END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-25T17:55:57.916302Z K 7 svn:log V 65 Remove the acpi_aiboost driver. It has been replaced by aibs(4). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-25T18:32:59.139717Z K 7 svn:log V 37 Mention the removal of acpi_aiboost. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-07-25T18:57:48.748833Z K 7 svn:log V 135 - Fix -l and -L by really surpressing output and just showing filenames Submitted by: swell.k@gmail.com Approved by: delphij (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-25T20:00:15.062077Z K 7 svn:log V 58 MFC: r207829 Various wording, spelling and markup fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-07-25T20:08:07.473186Z K 7 svn:log V 58 MFC: r145251 Various wording, spelling and markup fixes. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-25T20:21:32.598826Z K 7 svn:log V 283 Add an example to encourage people to have a look at either make(1) or /usr/ports/ports-mgmt/portconf for port-specific variables/options to compile a port. PR: docs/145655 Submitted by: Armin Pirkovitsch (armin at frozen dash zone dot org) Discussed with: dougb MFC after: 7 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T21:32:46.199353Z K 7 svn:log V 101 Merge r209445 from head (original commit by thompsa): Add a mass storage quirk. PR: usb/147196 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-25T21:35:56.801415Z K 7 svn:log V 99 Correct a Cecil Beaton quote PR: docs/148916 Submitted by: Rob Farmer END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T21:38:22.649423Z K 7 svn:log V 77 Merge r209447 (by thompsa) from head: Add new device id. PR: usb/147190 END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T21:56:34.824617Z K 7 svn:log V 33 Vendor import of tnftp-20100108. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-25T21:59:12.044444Z K 7 svn:log V 23 Tag for tnftp-20100108 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-25T22:25:52.591229Z K 7 svn:log V 618 sh: Fix crash due to uninitialized here-document. If an ; or & token was followed by an EOF token, pending here-documents were left uninitialized. Execution would crash, either in the main shell process for literal here-documents or in a child process for expanded here-documents. In the latter case the problem is hard to detect apart from the core dumps and log messages. Side effect: slightly different retries on inputs where EOF is not persistent. Note that tools/regression/bin/sh/parser/heredoc6.0 still causes a similar crash in a child process. The text passed to eval is malformed and should be rejected. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-26T01:28:34.218561Z K 7 svn:log V 62 Pull spurious mergeinfo from datfiles up to src/games/fortune END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-26T01:31:47.281764Z K 7 svn:log V 90 MFC 209531: Taken from actual police videos ... MFC 210484: Correct a Cecil Beaton quote END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-26T02:02:45.098284Z K 7 svn:log V 34 Pull mergeinfo up into the parent END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-26T02:05:36.946218Z K 7 svn:log V 90 MFC 209531: Taken from actual police videos ... MFC 210484: Correct a Cecil Beaton quote END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-26T09:20:55.369860Z K 7 svn:log V 270 When counting the number of chunks in the retransmission queue to validate the retran count, we need to include the chunks in the control send queue too. Otherwise the count will not match and you will get the invarient warning if invarients are on. MFC after: 2 weeks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-26T09:22:52.828549Z K 7 svn:log V 190 Make sure that we report chunks if a socket still exists that were not sent. In either case carefully remove the data if it does not get taken by the reporting routines. MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-07-26T09:26:55.572405Z K 7 svn:log V 170 Fix a bug where the length of a FORWARD-TSN chunk was set incorrectly in the chunk. This resulted in malformed frames. Remove a duplicate assignment. MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-26T10:37:14.912413Z K 7 svn:log V 81 - Remove some extra white space. - Wrap g_md_dumpconf() prototype to 80 columns. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-26T12:47:39.621634Z K 7 svn:log V 116 Merge r209444 (by thompsa) from head: Add new device ID. PR: usb/146907 Submitted by: END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-26T12:52:44.876685Z K 7 svn:log V 218 Revert r210451, and the similar part of the r210431. The forward-declaration for the enum tag when enum definition is not complete is not allowed by C99, and is gcc extension. Requested by: stefanf MFC after: 28 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-26T12:58:20.178474Z K 7 svn:log V 300 Support the Novatel U760 dongle (Verizon and Bell Canada) Note that this is a direct commit to stable/7 due to differences in the code in head. No mergeinfo as the commit that added this in head made many other changes at the same time. PR: usb/138138 Submitted by: mike tancsa END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-26T13:48:35.703058Z K 7 svn:log V 152 Zero padding fields of netflow records. This helps to reduce size of compressed export logs. Requested by: Alexey Illarionov END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-26T14:38:51.062330Z K 7 svn:log V 63 Remove unneeded includes. Submitted by: alc MFC after: 1 week END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-07-26T16:16:39.012331Z K 7 svn:log V 221 Bring in a SNMP module to support monitoring cloned wireless interfaces via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Approved by: philip@ END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-07-26T16:20:52.859651Z K 7 svn:log V 109 Add a (disabled) configuration line to enable the snmp_wlan(3) module. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-07-26T16:26:26.586206Z K 7 svn:log V 84 Connect the snmp_wlan(3) module to the build. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T17:31:15.392892Z K 7 svn:log V 276 - Change the warning about PCI-e links narrower than x8 to only apply to 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link width. - Use pci_set_max_read_req() rather than implementing it by hand. Reviewed by: np MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T17:38:56.061059Z K 7 svn:log V 134 MFC 208633 (Missed in earlier CMCI MFC): Defer initializing machine checks for the boot CPU until the local APIC is fully configured. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T17:39:11.342631Z K 7 svn:log V 134 MFC 208633 (Missed in earlier CMCI MFC): Defer initializing machine checks for the boot CPU until the local APIC is fully configured. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-26T18:07:43.908274Z K 7 svn:log V 72 Note that I'm replacing Ed now as rdivacky's mentor. Approved by: core END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T18:22:46.195786Z K 7 svn:log V 147 MFC 209212: Restore the machine check register banks on resume. For banks being monitored via CMCI, reset the interrupt threshold to 1 on resume. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T18:23:05.886776Z K 7 svn:log V 147 MFC 209212: Restore the machine check register banks on resume. For banks being monitored via CMCI, reset the interrupt threshold to 1 on resume. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-26T18:33:33.917943Z K 7 svn:log V 362 Use "printf" instead of "echo -n" in an example because it should be more compatible for most shells that are out there. I contacted Philip Guenther at OpenBSD about this PR and he corrected the issue in their tree pretty fast. PR: docs/142243 Submitted by: Yasir (yasir27 at mail dot ru) Obtained from: OpenBSD Discussed with: delphij MFC after: 7 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T18:54:56.588148Z K 7 svn:log V 731 MFC 209948: A previous change moved the GETATTR RPC for open() calls that hit in the name cache up into nfs_lookup() instead of nfs_open(). Continue this trend by flushing the attribute cache for leaf nodes in nfs_lookup() during an open() if we do a LOOKUP RPC. For NFSv3 this should generally be a NOP as the attributes are flushed before fetching the post-op attributes from the LOOKUP RPC which most (all?) NFSv3 servers provide, so the post-op attributes should populate the cache. Now all NFS open() calls will always clear the cached attributes during the nfs_lookup() prior to nfs_open() in the !NMODIFIED case to provide CTOC. As a result, we can remove the conditional flushing of the attribute cache from nfs_open(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-26T18:55:18.553585Z K 7 svn:log V 731 MFC 209948: A previous change moved the GETATTR RPC for open() calls that hit in the name cache up into nfs_lookup() instead of nfs_open(). Continue this trend by flushing the attribute cache for leaf nodes in nfs_lookup() during an open() if we do a LOOKUP RPC. For NFSv3 this should generally be a NOP as the attributes are flushed before fetching the post-op attributes from the LOOKUP RPC which most (all?) NFSv3 servers provide, so the post-op attributes should populate the cache. Now all NFS open() calls will always clear the cached attributes during the nfs_lookup() prior to nfs_open() in the !NMODIFIED case to provide CTOC. As a result, we can remove the conditional flushing of the attribute cache from nfs_open(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T19:53:09.886130Z K 7 svn:log V 212 Re-implement FPU suspend/resume for amd64. This removes superfluous uses of critical_enter(9) and critical_exit(9) by fpugetregs() and fpusetregs(). Also, we do not touch PCB flags any more. MFC after: 1 month END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-26T20:44:29.884286Z K 7 svn:log V 177 Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum Analyzer is attached. PR: usb/134631 Submitted by: Jesse Kempf MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-07-26T21:22:57.491089Z K 7 svn:log V 372 Prevent uhid(4) from attaching to the Gembird Silver Shield remote power plug. Note that the Vendor ID 0x04b4 is officially assigned to Cypress, so use that instead of adding a second vendor with an identical ID, in the same way other similar cases are treated in usb/usbdevs. PR: usb/132785 Submitted by: Dirk-Willem van Gulik MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T21:24:52.267706Z K 7 svn:log V 77 FNSTSW instruction can use AX register as an operand. Obtained from: fenv.h END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T22:16:36.647174Z K 7 svn:log V 136 Reduce diff against fenv.h: Mark all inline asms as volatile for safety. No object file change after this commit (verified with md5). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T22:55:14.583710Z K 7 svn:log V 38 Remove an unused macro since r189418. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T23:02:18.691198Z K 7 svn:log V 47 Add missing ldmxcsr() prototype for lint case. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T23:20:55.019198Z K 7 svn:log V 127 Simplify fldcw() macro. There is no reason to use pointer here. No object file change after this commit (verified with md5). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-26T23:24:42.735757Z K 7 svn:log V 69 Fix an apparent typo. Found by: clang Reviewed by: davidch, yongari END