ġ211178 195 184 165 113 113 201 375 280 146 218 166 178 131 570 139 189 237 713 549 179 284 403 198 238 263 303 376 124 285 168 284 339 112 163 678 503 596 176 362 350 544 361 141 288 159 479 212 210 130 534 121 243 348 687 167 156 185 156 111 1258 125 173 211 197 168 104 286 231 221 134 119 132 259 150 185 126 263 226 241 216 325 548 183 415 241 279 227 207 269 225 181 274 213 125 124 194 255 234 185 379 222 154 156 248 124 186 296 143 211 103 122 393 131 145 148 388 217 233 296 332 332 332 207 153 480 255 182 322 124 227 257 257 255 128 149 370 370 217 754 525 621 221 170 258 293 886 136 166 605 378 361 188 188 145 151 193 1009 235 180 154 309 439 156 210 184 281 202 132 243 158 154 192 781 104 116 240 335 129 213 194 819 819 537 537 399 399 144 886 133 133 420 420 172 172 349 349 K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T16:33:17.857173Z K 7 svn:log V 92 Make use of recently added dirgen_max() and namegen_max() to implement ENAMETOOLONG checks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T16:34:26.062001Z K 7 svn:log V 73 Move create_file() to misc.sh, as it is going to be used in more places. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T16:34:44.176532Z K 7 svn:log V 21 More and more tests. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-11T16:53:45.635600Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-11T16:56:38.178741Z K 7 svn:log V 108 Do not use %z to print a time_t. Fixes build on architectures where time_t and size_t are different types. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-08-11T17:25:14.292000Z K 7 svn:log V 279 Consistently set us to be SPC3 for our inquiry data. For mptest, add delays to I/O that simulate real disks better. This also allows us to simulate what happens when a device goes away with active transactions. It's pretty spectacular. Sponsored by: Panasas MFC after: 1 month END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-11T17:33:26.916353Z K 7 svn:log V 184 Several fixes for libproc: o return the correct status in proc_wstatus() o proc_read takes a void * o correctly allocate the objs structure array Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T17:33:32.767917Z K 7 svn:log V 54 Allow to specify uid, gid and mode for create_file(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-11T17:34:58.706917Z K 7 svn:log V 125 - Use loops where possible to avoid code duplication. - Don't pass uid and gid to create_file() if not needed. - More tests. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-11T18:00:45.392489Z K 7 svn:log V 71 Add man pages for the CTF tools. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-11T18:02:48.433423Z K 7 svn:log V 83 Teach elfdump(1) about the SUNW_dof section. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-08-11T18:23:26.313431Z K 7 svn:log V 35 Update a stale comment about grep. END K 10 svn:author V 3 gad K 8 svn:date V 27 2010-08-11T19:32:49.343556Z K 7 svn:log V 477 - Improve the wait4data() routine so it behaves better when checking print-jobs which have last-modification times that are in the future. This shouldn't happen, of course, but it can. And when it did happen, the previous check could cause completely-spooled jobs to sit in the queue for 20 minutes per job. The new code waits until the last-modify time is not changing, instead of making decisions based on the specific value of last-modify. MFC after: 2 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-11T19:56:09.366223Z K 7 svn:log V 42 Fix for 64 bit compile, with SMP enabled. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-08-11T19:59:31.270243Z K 7 svn:log V 96 Add translation support for section type SHT_SUNW_dof. Submitted by: rpaulo MFC after: 2 weeks END K 10 svn:author V 4 will K 8 svn:date V 27 2010-08-11T20:18:19.235058Z K 7 svn:log V 143 Unbreak LINT by moving all carp hooks to net/if.c / netinet/ip_carp.h, with the appropriate ifdefs. Reviewed by: bz Approved by: ken (mentor) END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-08-11T22:10:37.793952Z K 7 svn:log V 620 Rework memguard(9) to reserve significantly more KVA to detect use-after-free over a longer time. Also release the backing pages of a guarded allocation at free(9) time to reduce the overhead of using memguard(9). Allow setting and varying the malloc type at run-time. Add knobs to allow: - randomly guarding memory - adding un-backed KVA guard pages to detect underflow and overflow - a lower limit on the size of allocations that are guarded Reviewed by: alc Reviewed by: brueffer, Ulrich Sp̦rlein (man page) Silence from: -arch Approved by: zml (mentor) MFC after: 1 month END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-11T22:44:10.133966Z K 7 svn:log V 455 - Change ib libs from using sysfs to sysctl. This is mostly a trivial replacement of / with . and open with sysctl. - Implement a scandir() replacement for sysctl. This was quite complex as sysctl does not return nodes as unique items and does a depth first traversal. - Adjust some paths in umad.h. - Other minor porting, #ifdef HAVE_CONFIG_H wrapping, and missing includes, etc. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-11T23:21:25.760963Z K 7 svn:log V 82 Add TCG ACPI spec table (TCPA) support. Submitted by: Hans-Joerg_Hoexer@genua.de END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-11T23:22:53.732060Z K 7 svn:log V 191 Update various places that store or manipulate CPU masks to use cpumask_t instead of int or u_int. Since cpumask_t is currently u_int on all platforms this should just be a cosmetic change. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-11T23:56:37.470917Z K 7 svn:log V 309 - Use strdup() rather than strdupa(). Leaking one copy of argv[0] is not a problem. - Define bswap_16 and bswap_32 via machine/byteorder.h - Define the wordsize in a somewhat gross way. It's used in if defines so it can be based on sizeof(). Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-11T23:58:16.586048Z K 7 svn:log V 104 - Manually generate the ibdiag version number. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-11T23:59:21.519468Z K 7 svn:log V 144 - Add Makefiles for basic infiniband management utilities, libraries, and includes. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-12T00:16:18.018012Z K 7 svn:log V 165 Add tpm(4) driver for Trusted Platform Module. You may want to look at http://bsssd.sourceforge.net/ . Submitted by: Hans-Joerg Hoexer END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-12T00:20:46.112354Z K 7 svn:log V 209 Reset switchtime and switchticks after resynchronizing the system clock. This should fix weird runtime problem after resume on amd64. It also fixes "calcru: runtime went backwards" warnings with bootverbose. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-12T00:55:35.056396Z K 7 svn:log V 282 - Add bmake files for opensm, libosmvendor, and libopensm. - Do some minor porting to point at byteorder and include sys/socket.h where missing for AF_INET6. - Manually define an osm_config.h, this likely is incomplete. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-12T01:08:50.546980Z K 7 svn:log V 27 Fix copyright information. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-08-12T05:59:55.420625Z K 7 svn:log V 193 MFC r211091: Return EIO if vdev->v_phys_read is NULL. This fixes booting from a ZFS mirror with a unavailable primary device. PR: kern/148655 Reviewed by: avg Approved by: delphij (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:06:14.352405Z K 7 svn:log V 73 Add a couple of functions to check NF calibration progress / completion. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:08:36.597325Z K 7 svn:log V 188 Internal NF calibration should not occur in parallel with any other calibration. Ensure that the NF calibration completes before continuing with the rest of the calibration setup process. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:11:44.238937Z K 7 svn:log V 243 Ensure that the correct rxchainmask is used when doing calibration in the AR5416 and later chipsets. ath_hal_calibrateN() calls the HAL calibrateN function with rxchainmask=0x1. This is not necessarily the case for AR5416 and later chipsets. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:12:39.346408Z K 7 svn:log V 17 Fix indentation. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:14:26.382936Z K 7 svn:log V 68 Use ar5212IsNFCalInProgress() to check for NF calibration progress. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T06:20:54.326470Z K 7 svn:log V 582 Loading the NF CCA values may take longer than expected to occur. If it does, don't then try reprogramming the NF "cap" values (ie what values are the "maximum" value the NF can be) - instead, just leave the current CCA value as the NF cap. This was inspired by some similar work from ath9k. It isn't a 100% complete solution (as there may be some reason where a high NF CCA/cap is written, causing the baseband to stop thinking it is able to transmit, leading to stuck beacon and interface reset) which I'll investigate and look at fixing in a later commit. Obtained from: Linux END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-12T08:35:24.137680Z K 7 svn:log V 410 Softdep_process_worklist() should unsuspend not only before processing the worklist (in softdep_process_journal), but also after flushing the workitems. Might be, we should even do this before bwillwrite() too, but this seems to be not needed for now. Fs might be suspended during processing the queue, and then there is nobody around to unsuspend. In collaboration with: pho Tested by: bz Reviewed by: jeff END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-12T08:36:23.199843Z K 7 svn:log V 503 The buffers b_vflags field is not always properly protected by bufobj lock. If b_bufobj is not NULL, then bufobj lock should be held when manipulating the flags. Not doing this sometimes leaves BV_BKGRDINPROG to be erronously set, causing softdep' getdirtybuf() to stuck indefinitely in "getbuf" sleep, waiting for background write to finish which is not actually performed. Add BO_LOCK() in the cases where it was missed. In collaboration with: pho Tested by: bz Reviewed by: jeff MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T08:39:54.154409Z K 7 svn:log V 81 * Fix indentation * Restore comment erroneously deleted from the previous commit END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-12T09:03:21.218397Z K 7 svn:log V 264 Re-arrange the pmap calls that use smp_rendezvous() on SMP, so that their per-cpu variants are also available to be called. The per-cpu variants are needed for some later optimizations. Also remove unnecessary casts, do some style fixes. Reviewed by: alc, neel END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-12T09:15:27.389389Z K 7 svn:log V 252 Optimization for pmap_kenter(), call pmap_update_page() only when necessary. On SMP, pmap_update_page() can be costly as it needs a a smp_rendezvous(). Reviewed by: alc, neel Obtained from: jmallett (http://svn.freebsd.org/base/user/jmallett/octeon) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-12T10:09:28.037160Z K 7 svn:log V 446 Implement pmap changes suggested by alc@: 1. Move dirty bit emulation code that is duplicted for kernel and user in trap.c to a function pmap_emulate_modified() in pmap.c. 2. While doing dirty bit emulation, it is not necessary to update the TLB entry on all CPUs using smp_rendezvous(), we can just update the TLB entry on the current CPU, and let the other CPUs update their TLB entry lazily if they get an exception. Reviewed by: alc, neel END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-12T11:00:45.453600Z K 7 svn:log V 263 SMP support in n64. - Enable KX and UX bits on CPU startup for non-boot CPUs - Keep the KX bit when in userspace - XTLB handler needs it to access PCPU data - revert r210638 partly - we don't need to enable KX on kernel entry now Reviewed by: jmallett, imp END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-12T11:01:38.345124Z K 7 svn:log V 44 Fix tindebox breakage about format warning. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T13:46:43.067339Z K 7 svn:log V 191 Revert r211176: As long as interrupts are disabled and there is not explicit call to sched_add() there can't be any preemption there, thus the calls may be consistent. Reported by: kib, jhb END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-12T13:58:46.041951Z K 7 svn:log V 62 Fix breakage on 64bit architecture by using inttypes.h macro. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-12T14:16:57.108632Z K 7 svn:log V 383 Fix crunchide to work on sparc64 and perhaps other 64 bit platforms. I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word which is defined as an unsigned 32 bit int on both 32 and 64 bit platforms. To make things sensible, define some new macros to use as "word" macros and use those, rather than simply using the explicit 32 bit macros. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T15:05:41.996952Z K 7 svn:log V 115 - Add a couple of fix-up tags - Rename client_ipstr into client_ntoa and implement it in a more 'compliant' way. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T15:12:20.373788Z K 7 svn:log V 113 Remove occurrences of addr2ascii. Just one is left on questionable code that might be stripped away in any case. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T15:15:30.540775Z K 7 svn:log V 34 Fix the reverse use of inet_aton. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-12T15:29:07.346198Z K 7 svn:log V 442 Allow user created symbolic links to cover device files and directories if the device file appears during or after the link creation. User created symbolic links are now inserted at the head of the directory entry list after the "." and ".." entries. A new directory entry flag DE_COVERED indicates that an entry is covered by a symbolic link. PR: kern/114057 Reviewed by: kib Idea from: kib Discussed on: freebsd-current (mostly silence) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T15:46:15.717270Z K 7 svn:log V 25 More ntoa/aton cleanups. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-12T16:13:24.459269Z K 7 svn:log V 149 Provide description for 'machdep.disable_rtc_set' sysctl. Clean up style(9) nits. Remove a redundant return statement and an unnecessary variable. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-08-12T16:54:43.987586Z K 7 svn:log V 255 Fix compile. It seemed better to have memguard.c include opt_vm.h in case future compile-time knobs were added that it wants to use. Also add include guards and forward declarations to vm/memguard.h. Approved by: zml (mentor) MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-12T17:17:05.252617Z K 7 svn:log V 593 Add the half of time-of-day clock resolution when we adjust system time from time-of-day clock or vice versa. For x86 systems, RTC resolution is one second and we used to lose up to one second whenever we initialize system time from RTC or write system time back to RTC. With this change, margin of error per conversion is roughly between -0.5 and +0.5 second rather than between -1 and 0 second. Note that it does not take care of errors from getnanotime(9) (which is up to 1/hz second) or CLOCK_GETTIME() latency. These are just too expensive to correct and it is not worthy of the cost. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-12T19:15:21.030570Z K 7 svn:log V 73 Document the change to the variable and behavior of -G Reminded by: jsa END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-08-12T19:26:27.812619Z K 7 svn:log V 62 Properly indent a continue statement. No functional changes. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-12T19:40:49.996737Z K 7 svn:log V 93 Parametrize minsize and maxsize, and instead of a fixed count, write a fixed amount of data. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-12T19:43:40.001336Z K 7 svn:log V 64 Fix copy&pasted code - we want to create character device here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-12T19:45:27.808098Z K 7 svn:log V 19 Portable Makefile. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-08-12T19:50:40.600270Z K 7 svn:log V 1162 Allow interrupt driven config hooks to be registered from config hook callbacks. Interrupt driven configuration hooks serve two purposes: they are a mechanism for registering for a callback that is invoked once interrupt services are available, and they hold off root device selection so long as any configuration hooks are still active. Before this change, it was not possible to safely register additional hooks from the context of a configuration hook callback. The need for this feature arises when interrupts are required to discover new devices (e.g. access to the XenStore to find para-virtualized devices) which in turn also require the ability to hold off root device selection until some lengthy, interrupt driven, configuration task has completed (e.g. Xen front/back device driver negotiation). More specifically, the mutex protecting the list of active configuration hooks is never held during a callback, and static information is used to ensure proper ordering and only a single callback to each hook even when faced with registration or removal of a hook during an active run. Sponsored by: Spectra Logic Corporation MFC after: 1 week. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T20:03:31.200370Z K 7 svn:log V 29 Avoid use of bogus ntohll(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T20:04:11.039763Z K 7 svn:log V 77 Avoid occurrence that will need to be reworked/axed by killing temporarilly. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T20:05:01.018526Z K 7 svn:log V 114 Temporarilly (before to re-sort appropriately all the headers) fix compilation by moving down the libutil header. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-12T20:09:22.883489Z K 7 svn:log V 100 Declare the prototypes of internal functions (and staticize them) in order to compile with WARNS=3. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-08-12T20:18:06.780985Z K 7 svn:log V 76 MFC of e1000 changes Many bug fixes, major new feature: the igb vf driver. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-12T20:35:14.512487Z K 7 svn:log V 12 More tests. END K 10 svn:author V 4 will K 8 svn:date V 27 2010-08-12T20:46:49.346245Z K 7 svn:log V 192 Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-08-12T21:21:50.670041Z K 7 svn:log V 135 Describe vfs.read_max and update vfs.hirunningspace documentation. While there, update nits. Considered viewed by: jeff, phk, rwatson END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-12T22:16:37.734656Z K 7 svn:log V 127 - Enable saquery in the build now that opensm libraries are building. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-12T22:20:20.074946Z K 7 svn:log V 42 Show a progress bar when stdout is a tty. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-12T22:22:41.132048Z K 7 svn:log V 27 braino: stdout, not stdin! END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-12T22:25:16.669024Z K 7 svn:log V 40 phybs needs libutil for expand_number() END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-12T22:46:31.553299Z K 7 svn:log V 166 This depends on ACPI, so only build on i386:i386, amd64:amd64 and ia64:ia64. It can't possibly work on pc98, or any of the embedded platforms, since they lack ACPI. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-12T23:36:36.557140Z K 7 svn:log V 58 A previous commit changed a <= to a < in the wrong place. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-13T00:21:32.862226Z K 7 svn:log V 93 Use size * 4 instead of a fixed interval. This may speed things up for smaller block sizes. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-13T00:45:30.129293Z K 7 svn:log V 29 Fix build on amd64 and ia64. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:03:36.841436Z K 7 svn:log V 169 - Correct the sense of the bitmap in idr_remove() - Add initialization via sysinit for statically defined irs. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:04:00.880546Z K 7 svn:log V 132 - Correct the value of 'device' and add 'vendor' to the pci_dev structure. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:04:40.917497Z K 7 svn:log V 147 - Use correct ioctl values, linux does not assume the upper layer copies in arguments. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:05:26.929531Z K 7 svn:log V 122 - Use FreeBSD's baudrate definitions from the interface pointer. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:06:09.793759Z K 7 svn:log V 231 - Always assume umem is compiled in if infiniband is. - Add another parameter to the umem structure for freebsd. We want to know the starting vaddr to undo the mlock(). Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:08:38.869398Z K 7 svn:log V 454 Commit changes to the linux code to work with the wrapper layer. - Define our own umem. - iounmap becomes pmap_unmapdev and requires a size argument. We cannot determine the size from the address and must track it seperately. - Some ipoib related address code is #ifdef'd - Some minor changes required for things not statically known at compile time on BSD such as HZ and ilog2 results. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:09:08.076451Z K 7 svn:log V 90 - Re-enable some disabled files. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:10:48.550378Z K 7 svn:log V 321 - Just check the direct buf pointer against NULL rather than assuming it will be set for 64bit systems. This works in more cases. On BSD we may not allocate a direct map for a large non-contiguous region to avoid the vm address space allocator expense. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:11:33.919196Z K 7 svn:log V 147 - Expose devclass_add_driver and devclass_delete_driver for use in the linux wrappers. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:12:42.767129Z K 7 svn:log V 185 - Add a "DEV" filetype for use with uverbs. uverbs constructs a special fd after a device ioctl and returns it to the user. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:13:34.719329Z K 7 svn:log V 133 - Add a sx_init_flags similar to mtx_init flags as well as SX_SYSINIT_FLAGS Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:14:08.760015Z K 7 svn:log V 113 - expose uma_align_cache for use in the linux wrappers. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:15:02.091574Z K 7 svn:log V 175 - Change sysctl arg2 to a intptr_t preserving the sign and expanding the size so it can optionally hold a pointer. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:15:41.697531Z K 7 svn:log V 131 - Allow endian related macros to do compile time conversion of constants. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:16:11.327234Z K 7 svn:log V 88 - Add ofed to GENERIC for now. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:17:03.341811Z K 7 svn:log V 180 - Fix the try_get_module() return value to always be successful. - Add some temporary debugging for module startup order. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T03:17:33.857803Z K 7 svn:log V 119 - Fix a bug that is certainly fixed in current already so that others don't run into it while testing this branch. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-13T04:00:35.254570Z K 7 svn:log V 28 Hook tpm.4 manual to build. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-13T05:01:44.218708Z K 7 svn:log V 27 Hook tpm.4 manual to hook. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T05:43:09.377864Z K 7 svn:log V 100 - Add directories for infiniband includes. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T05:45:36.194605Z K 7 svn:log V 161 - Update the osm_config.h to match the one generated by configure. - Add a missing include to saquery. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T05:46:37.101097Z K 7 svn:log V 140 - Update paths and sysfs access to account for sysctl and freebsd device paths. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T06:03:54.524024Z K 7 svn:log V 92 - Add a cache directory for opensm Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-13T06:39:54.203976Z K 7 svn:log V 286 - When there is no room for returning the result, nss backend have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an error, set errno to the value nss backend returns, and return errno value. PR: kern/131623 MFC after: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-13T07:34:41.018381Z K 7 svn:log V 129 Fix the argument type of fill_icmptypes() on amd64. PR: bin/132911 Submitted by: Yoshitaka AHAREN END K 10 svn:author V 8 takawata K 8 svn:date V 27 2010-08-13T09:58:17.435939Z K 7 svn:log V 57 use uintmax_t instead of uint64_t. Pointed out by: des. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-13T11:24:02.691448Z K 7 svn:log V 64 MFC r210931: Disable sync cache for the Transcend Jetflash V90. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-13T12:56:00.194435Z K 7 svn:log V 150 Rename TARGET_XLR_XLS to CPU_RMI to match other CPU_xxx definitions. use CPU_RMI all XLR configurations. Update ident string for N32 and N64 kernels. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-13T13:36:18.144740Z K 7 svn:log V 29 sh: Fix shadowing of sigset. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-08-13T15:17:19.813431Z K 7 svn:log V 91 Avoid a memory leak. Submitted by: Dmitry Luhtionov via Alexander Motin MFC after: 1 week END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-08-13T18:17:32.851022Z K 7 svn:log V 203 When moving an ethernet ifnet from one vnet to another, destroy the associated ng_ether netgraph node in the current vnet, and create a new one in the target vnet. Reviewed by: julian MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-13T19:20:35.360377Z K 7 svn:log V 51 Simplify taskqueue_drain() by using proved macros. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-13T19:39:33.332133Z K 7 svn:log V 114 Make sure to disable RX MAC in alc_stop_mac(). Previously there was a logic error which it always enabled RX MAC. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-08-13T20:27:40.665736Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-13T20:29:43.723698Z K 7 svn:log V 27 sh: Add a forgotten const. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-13T20:43:19.750548Z K 7 svn:log V 299 Enforce ACPI timer as the timecounter hardware before we change sleep state unless it is the current timer. When we have resumed successfully, restore the previous timecounter hardware if it was changed earlier. Only the ACPI timer is guaranteed to increase monotonically between S-state changes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-13T21:04:43.873423Z K 7 svn:log V 38 Do not fork a subshell unnecessarily. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-13T21:17:59.427971Z K 7 svn:log V 53 - Use loops to avoid code duplication. - More tests. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-13T21:23:13.087891Z K 7 svn:log V 55 Consistently use full pathnames for external commands. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-13T22:08:42.608860Z K 7 svn:log V 294 Reset switchtime to zero rather than the current CPU ticker (TSC) value. It is more appropriate in this context because TSC MSR is reset to zero when the CPU is restarted from S3 and above. Move acpi_resync_clock() back to where it was before r211202. It does not make a difference any more. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-13T22:39:11.340337Z K 7 svn:log V 123 - Provide a const testing wrapper for bswap16. - Use __inline to avoid compile problems with stricter compiler settings. END K 10 svn:author V 3 yar K 8 svn:date V 27 2010-08-14T00:50:26.319037Z K 7 svn:log V 140 MFC r211001: Move the sentences telling the defaults for -c and -w to where they belong. Previously they were misplaced, i.e., swapped. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-14T09:29:42.988817Z K 7 svn:log V 198 Initialize ni_txrate after txparams have been setup. Some drivers calculate various things prior to association based on ni_txrate and rely on it being nonzero. PR: kern/149185 MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-14T13:44:24.794381Z K 7 svn:log V 240 MFC r210686: MFp4 @181628: Free the rtentry after we diconnected it from the FIB and are counting it as rttrash. There might still be a chance we leak it from a different code path but there is nothing we can do about this here. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-14T13:47:34.266345Z K 7 svn:log V 240 MFC r210686: MFp4 @181628: Free the rtentry after we diconnected it from the FIB and are counting it as rttrash. There might still be a chance we leak it from a different code path but there is nothing we can do about this here. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-14T13:51:38.359473Z K 7 svn:log V 240 MFC r210686: MFp4 @181628: Free the rtentry after we diconnected it from the FIB and are counting it as rttrash. There might still be a chance we leak it from a different code path but there is nothing we can do about this here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T14:01:12.344762Z K 7 svn:log V 111 Add a global counter of missed beacons. The existing missed beacon count is reset once a beacon isn't missed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-14T14:09:13.895571Z K 7 svn:log V 61 MFC r211005: Add compat32 definition for (old) struct ostat. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-14T14:13:44.612136Z K 7 svn:log V 388 In rip6_input(), in case of multicast, we might skip the normal processing and go to the next iteration early if multicast filtering would decide that this socket shall not receive the data. Unlock the pcb in that case or we leak the read lock and next time trying to get a write lock, would hang forever. PR: kern/149608 Submitted by: Chris Luke (chrisy flirble.org) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-14T14:13:58.043272Z K 7 svn:log V 162 MFC r211006: Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS in the compat32 code. Use sv_usrstack instead of FREEBSD32_USRSTACK as well. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T14:18:02.716448Z K 7 svn:log V 87 Export ath stats via snmp, rather than requiring a debugging interface and "athstats". END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-14T14:34:36.251981Z K 7 svn:log V 229 Simplify expand_number() by combining the (unrolled) loop with the switch. Since expand_number() does not accept negative numbers, switch from int64_t to uint64_t; this makes it easier to check for overflow. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-14T15:21:06.011355Z K 7 svn:log V 32 getopt()ify minsize and maxsize END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T15:28:15.550543Z K 7 svn:log V 131 Fix the calibration logic to correctly clamp the calculated coefficient. Obtained from: OpenWRT r22123, 521-ath9k_iqcal_fix.patch END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T15:29:21.472025Z K 7 svn:log V 161 Merge in a fix for the power/(gain?) calculation. Apply it to both the 5416/9160 and 9285 code paths. Obtained from: OpenWRT r22123, 522-ath9k_pwrcal_fix.patch END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T15:46:18.953395Z K 7 svn:log V 161 * Merge in AR9160 initval updates from Linux-2.6.34. * Grab the AR_PHY_CCA and AR_PHY_EXT_CCA initvals from Linux wireless-testing. Obtained from: Linux-2.6.34 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-14T15:48:18.727524Z K 7 svn:log V 159 A local addition, not imported from ath9k. AR_PHY_CALMODE is explicitly reset on interface reset for other chipsets; this commit also sets it for the AR9160. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-14T18:40:05.662282Z K 7 svn:log V 36 Map COMPAT_IA32 to COMPAT_FREEBSD32 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-14T18:58:05.009074Z K 7 svn:log V 55 Give people some warning before removing enable_quotas END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T19:36:48.964136Z K 7 svn:log V 275 MFC r210666: Fix a bug in syncache where the initial CWND for new incoming connections was limited to one segment under the faulty assumption of a retransmit. Due to this the opportunity to initialize the increased congestion window according to RFC3390 was missed. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T20:03:32.976307Z K 7 svn:log V 275 MFC r210666: Fix a bug in syncache where the initial CWND for new incoming connections was limited to one segment under the faulty assumption of a retransmit. Due to this the opportunity to initialize the increased congestion window according to RFC3390 was missed. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-14T20:12:10.653866Z K 7 svn:log V 119 Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework should set this capability. MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T20:40:55.456097Z K 7 svn:log V 659 Disable TCP inflight limiter by default. It was experimental and interferes with the normal congestion control algorithms by instating a separate, possibly lower, ceiling for the amount of data that is in flight to the remote host. With high speed internet connections the inflight limit frequently has been estimated too low due to the noisy nature of the RTT measurements. This code gives way for the upcoming pluggable congestion control framework. It is the task of the congestion control algorithm to set the congestion window and amount of inflight data without external interference. Reviewed by: lstewart MFC after: 1 week Removal after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T21:04:27.394398Z K 7 svn:log V 430 Change the messages of the ICMP bad port bandwidth limiter from a kernel printf to a log output with the priority of LOG_NOTICE. This way the messages still show up in /var/log/messages but no longer spam the console every other second on busy servers that are port scanned: "Limiting open port RST response from 114 to 100 packets/sec" PR: kern/147352 Submitted by: Eugene Grosbein MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T21:41:33.151026Z K 7 svn:log V 526 When using TSO and sending more than TCP_MAXWIN sendalot is set and we loop back to 'again'. If the remainder is less or equal to one full segment, the TSO flag was not cleared even though it isn't necessary anymore. Enabling the TSO flag on a segment that doesn't require any offloaded segmentation by the NIC may cause confusion in the driver or hardware. Reset the internal tso flag in tcp_output() on every iteration of sendalot. PR: kern/132832 Submitted by: Renaud Lienhart MFC after: 1 week END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2010-08-14T21:48:22.470370Z K 7 svn:log V 123 Correctly spell janice and jimmy as janis and jimi (assuming the famous rock stars meant were Miss Joplin and Mr Hendrix.) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-14T22:28:07.766693Z K 7 svn:log V 76 Fix silly typo on my part (s/quotas_enable/quota_enable/) Submitted by: ed END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-14T22:35:20.639322Z K 7 svn:log V 164 - One more endian bug; cast the results of byte_swap_*_const() to the expected result type. Sometimes wider types are passed in but should not be produced. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-14T22:49:07.590612Z K 7 svn:log V 198 MFC r150132: Increase boot-time DigiBIOS initialization timeout to allow for a larger number of chained port modules. PR: kern/55018 Submitted by: Cyrill Shevchuk END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-15T06:10:08.633236Z K 7 svn:log V 791 Improve the regexp for parse_index() by specifying the PORTSDIR path, and not using globals. In the initialization code when using --index* set the path for the ports tree in the INDEX file with a special version of $pd, PM_IPD. We only need to set this to something other than /usr/ports if $pd is not already set, and/or it's set to something other than /usr/ports. In addition to improving the efficiency of parse_index() this has the pleasant side effect of (slightly) improving support for non-standard PORTSDIR. For -F, at the end of the run break out of the loop if the number of extant fetches is 0. This doesn't happen often, but there is a race that can cause it. Printing the message that we're waiting for zero fetches is silly; but the real problem is sleep'ing for no reason. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-15T08:32:09.646243Z K 7 svn:log V 44 Need to add COMPAT_IA32 to options.i386 too END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-15T08:38:48.031464Z K 7 svn:log V 74 Add lame COMPAT_IA32 lines to all the options.* files until I fix config. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-15T08:44:32.708378Z K 7 svn:log V 512 Turns out that it is a bad idea to have a missing compat option be a fatal condition. While it works out really well for diagnosing the case where you want it, but don't have it, it works really badly for the case where you don't have it and don't want it. Remove the printf and exit pair. Replate it with simple return to silently ignore this condition. This is needed to fix the COMPAT_IA32 being required in options.* in stable, but we need to run this change through -current first... MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-15T08:49:07.773626Z K 7 svn:log V 285 Given the lag between introducing the options-compat and fixing the bug in the config file was long, and merged to stable, we have to bump the version here so that stable/8 kernels can have their required version number bumped to make sure the right config is used. MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-15T09:30:13.428413Z K 7 svn:log V 266 Add more logging points for failures in syncache_socket() to report when a new socket couldn't be created because one of in_pcbinshash(), in6_pcbconnect() or in_pcbconnect() failed. Logging is conditional on net.inet.tcp.log_debug being enabled. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-15T11:32:05.309627Z K 7 svn:log V 93 The comment is misleading - that register setting seems to kick off the initial chip NF cal. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-15T11:38:38.263041Z K 7 svn:log V 93 Revert some mis-committed indenting. This brings ath_devel's ar5212 back in line with -head. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-15T11:40:53.813080Z K 7 svn:log V 50 Fix indenting/whitespace issues introduced by me. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-15T11:44:08.520254Z K 7 svn:log V 56 Fix indenting/whitespace to make consistent with -head. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-15T13:07:08.649034Z K 7 svn:log V 99 Initializing the new error variable to zero in syncache_socket() is not necessary. Noticed by: bz END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-15T13:25:18.887153Z K 7 svn:log V 914 Fix the interaction between 'ICMP fragmentation needed' MTU updates, path MTU discovery and the tcp_minmss limiter for very small MTU's. When the MTU suggested by the gateway via ICMP, or if there isn't any the next smaller step from ip_next_mtu(), is lower than the floor enforced by net.inet.tcp.minmss (default 216) the value is ignored and the default MSS (512) is used instead. However the DF flag in the IP header is still set in tcp_output() preventing fragmentation by the gateway. Fix this by using tcp_minmss as the MSS and clear the DF flag if the suggested MTU is too low. This turns off path MTU dissovery for the remainder of the session and allows fragmentation to be done by the gateway. Only MTU's smaller than 256 are affected. The smallest official MTU specified is for AX.25 packet radio at 256 octets. PR: kern/146628 Tested by: Matthew Luckie MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-15T14:11:58.967288Z K 7 svn:log V 142 Instead of a hardcoding the block size, ask the device; default to 512 bytes for regular files. Adjust all other default values accordingly. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-15T14:38:01.092845Z K 7 svn:log V 88 Add convenience defines for hidden and default/exported attributes. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-15T14:44:48.050115Z K 7 svn:log V 62 More tests (especially for lchmod(2)), less code duplication. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-15T14:50:03.158491Z K 7 svn:log V 216 Fix the overflow test. It is possible for the result of an overflowing shift to be larger than the original value, e.g. (uint64_t)1 << 53 = 0x20000000000000 ((uint64_t)1 << 53) << 10 = 0x8000000000000000 END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-15T14:55:32.688341Z K 7 svn:log V 346 no-op commit to note that the example given in the previous commit is a very bad one, since the shift does not actually overflow. This is a better example (assuming uint64_t = unsigned long long): ~0LLU >> 9 = 0x7fffffffffffffLLU ~0LLU >> 9 << 10 = 0xfffffffffffffc00LLU ~0LLU >> 9 << 10 >> 10 = 0x3fffffffffffffLLU END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-15T15:33:01.970820Z K 7 svn:log V 64 Add missed dependency. Submitted by: gcooper MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-15T16:28:08.965378Z K 7 svn:log V 117 Correct the return code from _dns_gethostby*() to correspond with h_errno. Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-15T17:14:05.869100Z K 7 svn:log V 89 sh: Test that all bytes from 1 to 127 can be used in IFS. This also passes on stable/8. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-15T17:49:41.635786Z K 7 svn:log V 189 - Check that strtoul(3) succeeds to convert the entire string in a few places. - In getasciilabel(), set the disk type only when a valid type is given. PR: bin/86765 MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-15T18:32:06.681146Z K 7 svn:log V 109 Further simplify the code, and update the manpage. Submitted by: Christoph Mallon END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-15T19:07:44.242055Z K 7 svn:log V 40 Nothing uses TARGET_EMULATOR, so gc it. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-08-15T20:34:51.588146Z K 7 svn:log V 151 wakeup is required if the adapter lock is released anywhere during init and not just for the may_sleep case. Pointed out by: Isilon MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-08-15T20:45:16.275422Z K 7 svn:log V 67 Always reset the XGMAC's XAUI PCS on a link up. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-08-15T20:52:15.947974Z K 7 svn:log V 63 Fix tx pause quanta and timer calculations. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-15T20:56:13.689986Z K 7 svn:log V 95 Use our standard section 4 SYNOPSIS. While here, fixed markup whitespace and adapted an Xref. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-15T21:06:53.553758Z K 7 svn:log V 685 sh: Fix break/continue/return sometimes not skipping the rest of dot script. In our implementation and most others, a break or continue in a dot script can break or continue a loop outside the dot script. This should cause all further commands in the dot script to be skipped. However, cmdloop() did not know about this and continued to parse and execute commands from the dot script. As described in the man page, a return in a dot script in a function returns from the function, not only from the dot script. There was a similar issue as with break and continue. In various other shells, the return appears to return from the dot script, but POSIX seems not very clear about this. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-15T21:19:42.366849Z K 7 svn:log V 12 More tests. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-15T21:20:40.577730Z K 7 svn:log V 24 Update copyright years. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-15T21:24:17.987513Z K 7 svn:log V 147 Give fstest a more unique name: pjdfstest. It is released from time to time and used outside FreeBSD, so it is good to have a name one can google. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-15T21:25:52.163885Z K 7 svn:log V 237 Tie up some loose ends r88509 left behind: - chooseproc() is long gone, MLINK choosethread instead - Update NAME section for choosethread - Mark chooseproc.9 for removal PR: 149549 Submitted by: pluknet MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-15T21:29:03.573154Z K 7 svn:log V 37 Finish renaming fstest to pjdfstest. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-15T21:34:50.910513Z K 7 svn:log V 115 Fixed a typo and added a comma. PR: 148681 Submitted by: Glen Barber MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-15T21:37:30.782256Z K 7 svn:log V 97 Fixed a typo. PR: 148701 Submitted by: Glen Barber MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:43:51.674322Z K 7 svn:log V 722 MFC r211089: It seems some old Sundace(now IC Plus Corp.) controllers do not like memory mapped register access. Typical problem from the issue was MII access returned unreliable values. I'm not sure this comes from lack of register flushing in MII access after accessing STE_PHYCTL register though. To address the issue, read hints data that controls which type of memory mapping should be used in driver. ste(4) still prefers memory mapping to io mapping but honor hints entered by user except for controllers that have problems with memory mapping. The hint to use iomapping could be given by adding the following line to /boot/device.hints file. hint.ste.0.prefer_iomap="1" PR: kern/149285 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:46:23.402057Z K 7 svn:log V 722 MFC r211089: It seems some old Sundace(now IC Plus Corp.) controllers do not like memory mapped register access. Typical problem from the issue was MII access returned unreliable values. I'm not sure this comes from lack of register flushing in MII access after accessing STE_PHYCTL register though. To address the issue, read hints data that controls which type of memory mapping should be used in driver. ste(4) still prefers memory mapping to io mapping but honor hints entered by user except for controllers that have problems with memory mapping. The hint to use iomapping could be given by adding the following line to /boot/device.hints file. hint.ste.0.prefer_iomap="1" PR: kern/149285 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:51:10.331727Z K 7 svn:log V 440 MFC r209865: Some revision of Yukon controller generates corrupted frame when TX checksum offloading is enabled. The frame has a valid checksum value so payload might be modified during TX checksum calculation. Disable TX checksum offloading but give users chance to enable it when they know their controller works without problems with TX checksum offloading. Reported by: Andrzej Tobola iem dot pw dot edu dot pl> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:53:07.785577Z K 7 svn:log V 440 MFC r209865: Some revision of Yukon controller generates corrupted frame when TX checksum offloading is enabled. The frame has a valid checksum value so payload might be modified during TX checksum calculation. Disable TX checksum offloading but give users chance to enable it when they know their controller works without problems with TX checksum offloading. Reported by: Andrzej Tobola iem dot pw dot edu dot pl> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:56:45.736713Z K 7 svn:log V 302 MFC r209818: Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits in RX descriptor initialization. It is controller's job to set these bits. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T21:58:05.033990Z K 7 svn:log V 302 MFC r209818: Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits in RX descriptor initialization. It is controller's job to set these bits. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-08-15T22:09:43.359445Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@211344 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-08-15T22:15:04.736429Z K 7 svn:log V 791 - Revert strlcpy() changes to memcpy() because it's more efficient and former may be safer but in this case it doesn't add extra safety [1] - Fix -w option [2] - Fix handling of GREP_OPTIONS [3] - Fix --line-buffered - Make stdin input imply --line-buffered so that tail -f can be piped to grep [4] - Imply -h if single file is grepped, this is the GNU behaviour - Reduce locking overhead to gain some more performance [5] - Inline some functions to help the compiler better optimize the code - Use shortcut for empty files [6] PR: bin/149425 [6] Prodded by: jilles [1] Reported by: Alex Kozlov [2] [3], swell.k@gmail.com [2], poyopoyo@puripuri.plala.or.jp [4] Submitted by: scf [5], Shuichi KITAGUCHI [6] Approved by: delphij (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:36:12.099616Z K 7 svn:log V 37 MFC r208917: Remove unused macros. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:37:32.168567Z K 7 svn:log V 37 MFC r208917: Remove unused macros. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:40:47.508429Z K 7 svn:log V 323 MFC r209714: It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO configuration to get IPv4 TSO work on BCM57780. While I'm here apply the same fix to BCM5785 which shares similar hardware feature of BCM57780. This change makes TSO work on BCM57780. Tested by: Tong Liu gmail dot com> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:42:15.700344Z K 7 svn:log V 323 MFC r209714: It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO configuration to get IPv4 TSO work on BCM57780. While I'm here apply the same fix to BCM5785 which shares similar hardware feature of BCM57780. This change makes TSO work on BCM57780. Tested by: Tong Liu gmail dot com> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:44:28.984824Z K 7 svn:log V 76 MFC r209741: Zero entire status block and add missing bus_dmamap_sync(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:45:40.415440Z K 7 svn:log V 76 MFC r209741: Zero entire status block and add missing bus_dmamap_sync(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:51:52.156054Z K 7 svn:log V 252 MFC r210011,210013-210015: r210011: Make bge_stop_fw() static. While I'm here use ANSI function definitions. r210013: style. r210014: Fix error message for jumbo buffer allocation failure. r210015: Prefer PCIR_BAR macro over BGE_PCI_BAR0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-15T22:53:46.552251Z K 7 svn:log V 252 MFC r210011,210013-210015: r210011: Make bge_stop_fw() static. While I'm here use ANSI function definitions. r210013: style. r210014: Fix error message for jumbo buffer allocation failure. r210015: Prefer PCIR_BAR macro over BGE_PCI_BAR0. END