ƒ³i222204 177 143 143 143 143 700 99 240 332 151 654 233 572 350 1621 123 540 142 235 413 238 308 167 278 227 475 292 159 229 162 223 490 160 160 99 308 213 1227 687 292 134 134 199 407 336 531 2049 290 243 242 468 2269 594 180 453 173 109 168 283 283 189 117 533 137 318 301 104 203 203 334 318 265 131 503 689 357 159 159 159 243 240 131 1142 114 203 220 378 174 171 126 128 142 282 329 319 142 199 238 757 110 135 900 138 126 153 555 121 304 331 488 307 145 152 171 425 99 841 148 456 156 178 197 140 118 142 336 383 203 157 151 103 243 203 164 208 119 147 208 314 196 160 415 338 602 459 192 168 134 134 290 122 200 211 697 256 129 160 335 330 137 193 99 134 116 608 608 794 794 322 322 100 154 154 140 369 369 123 252 K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-22T22:15:16.181265Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-22T22:15:42.663076Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-22T22:16:19.100438Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-22T22:17:06.603618Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-22T22:28:07.507623Z K 7 svn:log V 604 MFC r208489,r216208: sh: Reap any zombies before forking for a background command. This prevents accumulating huge amounts of zombies if a script executes many background commands but no external commands or subshells. Note that zombies will not be reaped during long calculations (within the shell process) or read builtins, but those actions do not create more zombies. The terminated background commands will also still be remembered by the shell. r216208 fixes a bug in r208489 that could cause a multi-command pipeline to be marked as done before all processes had been created. PR: bin/55346 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-23T01:17:30.033145Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-23T09:02:44.405134Z K 7 svn:log V 143 Diff reduction against NetBSD. The most notable change is to zdiff(1) to handle more file formats including bzip2 and xz. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-23T09:40:21.434581Z K 7 svn:log V 235 Match symbolic link handling behavior with GNU gzip, bzip2 and xz: When we are operating on a symbolic link pointing to an existing file, bail out by default, but go ahead if -f is specified. Submitted by: arundel MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-23T13:02:04.202106Z K 7 svn:log V 55 MFC r222025: Fix manual section number for netstat(1). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-23T13:51:57.597639Z K 7 svn:log V 557 A number of quite incremental refinements to struct inpcbinfo's definition: (1) Add a locking guide for inpcbinfo. (2) Annotate inpcbinfo fields with synchronisation information; not all annotations are 100% satisfactory. (3) Reorder inpcbinfo fields so that the lock is at the head of the structure, and close to fields it protects. (4) Sort fields that will eventually be hashlock/pcbgroup-related together even though they remain locked by ipi_lock for now. Reviewed by: bz Sponsored by: Juniper Networks X-MFC after: KBI analysis required END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-23T14:16:45.223338Z K 7 svn:log V 132 MFC r221981: Remove a useless check that could break early boot if the page zero routines are called too early in the boot process. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-23T15:23:18.889463Z K 7 svn:log V 475 Move from passing a wildcard boolean to a general set up lookup flags into in_pcb_lport(), in_pcblookup_local(), and in_pcblookup_hash(), and similarly for IPv6 functions. In the future, we would like to support other flags relating to locking strategy. This change doesn't appear to modify the KBI in practice, as callers already passed in INPLOOKUP_WILDCARD rather than a simple boolean. MFC after: 3 weeks Reviewed by: bz Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-23T16:40:44.493612Z K 7 svn:log V 258 In init_dynamic_kenv(), ignore environment strings exceeding the KENV_MNAMELEN + 1 + KENV_MVALLEN + 1 length limit to avoid buffer overflow in getenv(). Currenly loader(8) doesn't limit the length of environment strings. PR: kern/132104 MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-23T19:32:02.569976Z K 7 svn:log V 1523 Continue to refine inpcb reference counting and locking, in preparation for reworking of inpcbinfo locking: (1) Convert inpcb reference counting from manually manipulated integers to the refcount(9) KPI. This allows the refcount to be managed atomically with an inpcb read lock rather than write lock, or even with no inpcb lock at all. As a result, in_pcbref() also no longer requires an inpcb lock, so can be performed solely using the lock used to look up an inpcb. (2) Shift more inpcb freeing activity from the in_pcbrele() context (via in_pcbfree_internal) to the explicit in_pcbfree() context. This means that the inpcb refcount is increasingly used only to maintain memory stability, not actually defer the clean up of inpcb protocol parts. This is desirable as many of those protocol parts required the pcbinfo lock, which we'd like not to acquire in in_pcbrele() contexts. Document this in comments better. (3) Introduce new read-locked and write-locked in_pcbrele() variations, in_pcbrele_rlocked() and in_pcbrele_wlocked(), which allow the inpcb to be properly unlocked as needed. in_pcbrele() is a wrapper around the latter, and should probably go away at some point. This makes it easier to use this weak reference model when holding only a read lock, as will happen in the future. This may well be safe to MFC, but some more KBI analysis is required. Reviewed by: bz MFC after: 3 weeks Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-23T19:57:12.540379Z K 7 svn:log V 32 expr -> sh arithmetic expansion END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T19:58:08.546641Z K 7 svn:log V 443 Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected results such as corrupted RX frames or missing LE status updates. For old controllers like Yukon EC it had no effect but it caused all kind of troubles on Yukon Supreme. This change shall improve stability of controllers like Yukon Ultra, Ultra2, Extreme, Optima and Supreme. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-23T19:59:01.409051Z K 7 svn:log V 51 BKVASIZE was bumped to 16k more than a decade ago. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T20:09:32.138733Z K 7 svn:log V 138 Rework store and forward configuration of TX MAC FIFO. Basically it enables store and forward mode except for jumbo frame on Yukon Ultra. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-23T20:12:36.586749Z K 7 svn:log V 319 Decrease ACPI-fast timecounter quality to 900 and increase HPET timecounter quality to 950. HPET on modern platforms usually have better resolution and lower latency than ACPI timer. Effectively this changes default timecounter hardware from ACPI-fast to HPET by default when both are available. Discussed with: avg END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T20:18:09.448606Z K 7 svn:log V 141 Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-23T20:59:50.068584Z K 7 svn:log V 215 To handle BIO_FLUSH and BIO_DELETE requests in secondary worker we need to use ioctl(2). This is why we can't use capsicum for now to sandbox secondary. Capsicum is still used to sandbox hastctl. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-23T21:00:37.819854Z K 7 svn:log V 75 Recognize BIO_FLUSH requests and pass them to userland. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T21:00:56.588124Z K 7 svn:log V 181 Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary controller reset. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T21:11:46.355508Z K 7 svn:log V 130 Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-23T21:15:19.849353Z K 7 svn:log V 382 Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH requests as well as number of activemap updates. Number of BIO_WRITEs and activemap updates are especially interesting, because if those two are too close to each other, it means that your workload needs bigger number of dirty extents. Activemap should be updated as rarely as possible. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-23T21:32:45.032219Z K 7 svn:log V 199 Test against "no" rather than "yes" for MK_KERNEL_SYMBOLS Also, change DEBUG back to DEBUG_FLAGS in kmod.mk. The latter accidentally snuck in with my backwards compat fix. Submitted by: ru,gcooper END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T21:51:47.456613Z K 7 svn:log V 63 Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T21:56:04.873431Z K 7 svn:log V 132 When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-23T22:02:15.595856Z K 7 svn:log V 66 Add 88E8075 Yukon Supreme to the list of supported hardware list. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-23T22:31:42.314514Z K 7 svn:log V 125 Set the MNT_NFS4ACLS flag for an NFSv4 client mount if the NFSv4 server supports it. Requested by trasz. MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-23T23:35:50.258526Z K 7 svn:log V 393 Merge r221846 from largeSMP project branch: Fix arguments passing to _long() version of atomic function for mips. The native implementation is bogus in that regard and offers the same problem solved for powerpc as r222198, but mips' guys just wanted a small and self-contained patch for mips rather than rewriting the whole support. Reviewed by: art, imp Tested by: gonzo MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-23T23:50:21.124228Z K 7 svn:log V 64 Revert a patch that unvolountary sneaked in while I was MFCing. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-23T23:51:01.352291Z K 7 svn:log V 64 Revert a patch that involountary sneaked in while I was MFCing. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-23T23:58:02.761578Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-05-24T01:08:53.156529Z K 7 svn:log V 212 Catch up with CURRENTs different timer usage compared to 8.1. A counter value of 0 in rategen mode is equivalent to a max initial value. The TSC is now correctly calibrated on a 9.0 guest. Obtained from: NetApp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-24T02:19:45.194734Z K 7 svn:log V 112 Add RTC support for the LV1 clock on the PS3. The hypervisor won't let us set it, but it's better than nothing. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-24T05:34:45.393256Z K 7 svn:log V 1130 Add in descriptions for TX descriptor fields ctl8-11 - these fields control the antenna control bits for the four TX series and the TPC settings for TX series 1, 2, 3. The specifics: * The TPC setting for TX series 0 is handled in ctl0. * TPC is currently disabled, so the per-packet TX power is set via the global per-rate TX power register, not per packet. * The antenna control bits don't matter for AR5416 and later so they should stay 0 (which they currently do); they may be set for Kite but as there's no TX diversity supported at the moment (it requires the NIC to be built with an external antenna switch, matching how antenna diversity is done on legacy NICs), so again keep them 0. This is in preparation for supporting per-rate TPC on the AR5416 and later. The Kite (and soon to come Kiwi) code sets ctl8-11 to 0x0, which doesn't have any effect at the moment. When TPC is enabled it would result in the second, third and fourth TX series attmpts to be done with a TX power of 0. This commit doesn't change that; it'll be followed up with some commits to properly set the TPC registers appropriately. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-24T05:49:02.496023Z K 7 svn:log V 591 Use the new per-series antenna and TPC definitions when setting ctl8->11. This should hopefully make it clearer to developers what is going on and when TPC is being hacked on, make it obvious why it isn't working for series 1, 2, 3. I won't flip on setting TX power for TX series 1, 2, 3 until I've done some further testing with Kite to ensure it doesn't break anything. (Before people ask - yes, TPC is only needed for 5ghz regdomains and yes, Kite is a 2.4ghz only chip, but there are potential use cases for 2ghz TPC. I just need to sit down and ensure it's supported and functional.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-24T06:14:16.378955Z K 7 svn:log V 196 Please welcome Aleksandr Rybalko to the fold. Aleksandr has been working on FreeBSD support for a variety of embedded systems and has been doing good work for quite some time. Approved by: core END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-24T06:44:16.691425Z K 7 svn:log V 43 Remove unused variable. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-24T06:46:07.564197Z K 7 svn:log V 43 Remove unused variable. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-24T06:56:40.626123Z K 7 svn:log V 107 Ensure there is a whitespace after a mount point. PR: 157286 Submitted by: Marcus Reid MFC after: 3 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-24T07:57:28.461178Z K 7 svn:log V 314 Let epair(4) virtual interfaces report fake link / media status, by borrowing the skeleton of if_media manipulation and reporting code from if_lagg(4). The main motivation behind this change is to allow for epair(4) interfaces to participate in STP if_bridge(4) configurations. Reviewed by: bz MFC after: 3 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-24T08:02:55.018538Z K 7 svn:log V 243 Allow for vlan(4) interfaces with MTU of 1500 bytes to be configured on top of epair(4) virtual interfaces, since there's no physical hardware associated with epair interfaces which would imply any constraints on MTU sizes. MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-05-24T09:01:56.611977Z K 7 svn:log V 435 Remove an outdated comment as requested by Bruce Evans in a private email to Alexander Best (arundel@). For clang, -fdiagnostics-show-option is enabled by default, but for gcc it isn't. This option will report which -W* flag was responsible for triggering a certain warning. This will bring gcc warnings closer to the ones clang emits and might also help developers track down tinderbox failures a bit quicker. Submitted by: arundel END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-24T12:34:19.111263Z K 7 svn:log V 1951 Rework netisr policy mechanism so that per-protocol dispatch policies can be represented: - A single policy namespace is defined, consisting of four possible policies: "default" to use the global default, "deferred" to force deferred dispatch, "direct" to employ direct dispatch where possible, and "hybrid" which makes a dynamic decision based on CPU affinity, ordering, etc. Routines are implemented to convert between strings and an integer namespace. - A new global variable, netisr_dispatch_policy, subsumes existing global variables for direct dispatch, forced direct dispatch, etc, and is used for explicit policy interpretation and composition. Old variables remain so that they can be exported by legacy sysctls for use by old netstat(1) binaries. A new sysctl and tunable, netisr.dispatch.policy, accepts the above strings for specifying a global policy default. - The protocol registration structure, netisr_handler, grows an nh_dispatch field, which accepts a per-policy policy override. The default value is '0', which corresponds to "default", meaning that protocols will accept the global default policy unless otherwise specified. - Policies are now interpreted and composed explicitly at various points in packet dispatch; protocol policies override global policies. - Protocols grow the ability to express a non-opinion about affinity even when implenting m2cpuid by returning NETISR_CPUID_NONE. In that case, the framework falls back on source ordering, rather than simply using the current CPU. These changes are in support of allowing link layer re-dispatch based on RSS or similar hashes provided by NICs, especially in the case where the number of hardware receive queues matches hardware core count, rather than hardware thread count, requiring further software redistributeon. (i.e., on RMI XLR). MFC after: 3 weeks Reviewed by: bz Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-24T12:38:00.045341Z K 7 svn:log V 193 Teach netstat(1) about the new global netisr policy sysctl, net.isr.dispatch, and about per-protocol dispatch policies. MFC after: 3 weeks Reviewed by: bz Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-24T13:08:59.458048Z K 7 svn:log V 146 An inpcb lock is no longer required in in_pcbref() since the move to refcount(9). MFC after: 3 weeks Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-24T13:17:08.839292Z K 7 svn:log V 149 Simplify a stale assertion. We have not called mi_switch() from a nested critical section during a preemption for several years. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-24T13:22:40.520102Z K 7 svn:log V 375 Update comments for DEVICE_PROBE() to reflect that BUS_PROBE_DEFAULT is now the preferred typical return value from a probe routine. Discourage the use of 0 (BUS_PROBE_SPECIFIC) as it should be used very rarely. Point the reader to the DEVICE_PROBE(9) manpage for more detailed notes on possible probe return values. Submitted by: Philip Soeberg philip-dev of soeberg net END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-24T13:36:41.842102Z K 7 svn:log V 2175 Fix an issue with critical sections and SMP rendezvous handlers. Specifically, a critical_exit() call that drops the nesting level to zero has a brief window where the pending preemption flag is set and the nesting level is set to zero. This is done purposefully to avoid races where a preemption scheduled by an interrupt could be lost otherwise (see revision 144777). However, this does mean that if an interrupt fires during this window and enters and exits a critical section, it may preempt from the interrupt context. This is generally fine as the interrupt code is careful to arrange critical sections so that they are not exited until it is safe to preempt (e.g. interrupts EOI'd and masked if necessary). However, the SMP rendezvous IPI handler does not quite follow this rule, and in general a rendezvous can never be preempted. Rendezvous handlers are also not permitted to schedule threads to execute, so they will not typically trigger preemptions. SMP rendezvous handlers may use spinlocks (carefully) such as the rm_cleanIPI() handler used in rmlocks, but using a spinlock also enters and exits a critical section. If the interrupted top-half code is in the brief window of critical_exit() where the nesting level is zero but a preemption is pending, then releasing the spinlock can trigger a preemption. Because we know that SMP rendezvous handlers can never schedule a thread, we know that a critical_exit() in an SMP rendezvous handler will only preempt in this edge case. We also know that the top-half thread will happily handle the deferred preemption once the SMP rendezvous has completed, so the preemption will not be lost. This makes it safe to employ a workaround where we use a nested critical section in the SMP rendezvous code itself around rendezvous action routines to prevent any preemptions during an SMP rendezvous. The workaround intentionally avoids checking for a deferred preemption when leaving the critical section on the assumption that if there is a pending preemption it will be handled by the interrupted top-half code. Submitted by: mlaier (variation specific to rm_cleanIPI()) Obtained from: Isilon MFC after: 1 week END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-24T14:10:33.945847Z K 7 svn:log V 501 Provide fake link status information in an attempt to let ng_eiface(4) virtual ifnets more realistically mimic physical ethernet interfaces. The main motivation behind this change is to allow for ng_eiface(4) interfaces to participate in STP if_bridge(4) configurations. When announcing link status changes, switch to the vnet to which the ifnet belongs, since it is possible for ng_eiface ifnets to be assigned to a vnet different from the one in which its netgraph node resides. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-24T14:12:31.798721Z K 7 svn:log V 80 Add SMP support on CHRP/PAPR system, including support for multi-threaded CPUs. END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-24T14:36:32.659762Z K 7 svn:log V 360 Assume the link to be dead if bit error rate (BER) parameter is set to 1. When a transition from link alive to link dead configuration or vice versa occurs, notify any upstream and / or downstream peers using NGM_FLOW messagges. Link state notification using NGM_FLOW messages is modelled around around already existing code in ng_ether.c. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-24T15:02:42.327852Z K 7 svn:log V 73 Provide SMP topology detection and bump MAXCPU to match other platforms. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-05-24T15:39:34.833317Z K 7 svn:log V 14 IFC @ r222256 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-24T15:47:40.823230Z K 7 svn:log V 72 - Fix a misusage of cpuset_t objects - Fix a typo Reported by: pluknet END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-05-24T16:04:35.877853Z K 7 svn:log V 190 MFC r221843: Note that the _SWAP operation is supported for all list/queue types. Also place STAILQ_REMOVE_HEAD in alphabetical order. Lastly, document the _SWAP macros. PR: kern/143033 END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-05-24T16:06:26.434714Z K 7 svn:log V 190 MFC r221843: Note that the _SWAP operation is supported for all list/queue types. Also place STAILQ_REMOVE_HEAD in alphabetical order. Lastly, document the _SWAP macros. PR: kern/143033 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-24T16:49:34.311323Z K 7 svn:log V 98 Fix calculation of alignment for odd values. Also do not change value when it is already aligned. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-24T17:03:46.810765Z K 7 svn:log V 26 Simplify ALIGNDOWN macro. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-24T18:25:40.015204Z K 7 svn:log V 437 The ANI control for the AR5416 and later chips was calling ar5212AniControl(), which did AR5212 specific initialisation. This would cause some slight silliness when enabling/disabling ANI. Just to be completely correct - and to ensure the phy error mask/RX filter register isn't incorrectly played with - make the ANI control function a method, have it set appropriately for AR5212/AR5416, and call that from the ANI control interface. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-24T19:55:57.713025Z K 7 svn:log V 45 Silly spelling typos. Submitted by: "b. f." END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-24T20:07:15.453231Z K 7 svn:log V 225 Don't access task structure once we call task function. The task structure might be no longer available. This also allows to eliminates the need for two tasks in the zio structure. Submitted by: anonymous MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-24T20:10:12.131263Z K 7 svn:log V 208 Don't pass pointer to name buffer which is on the stack to another thread, because the stack might be paged out once the other thread tries to use the data. Instead, just allocate memory. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-24T20:39:07.286266Z K 7 svn:log V 9 style(9) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-24T21:12:52.530990Z K 7 svn:log V 107 MFC r222037: mq_setattr(2): Add missing const to man page. The declaration in the header file is correct. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-24T21:15:13.198433Z K 7 svn:log V 107 MFC r222037: mq_setattr(2): Add missing const to man page. The declaration in the header file is correct. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-25T00:34:25.122604Z K 7 svn:log V 242 Add FEATURE() definitions for IPv4 and IPv6 so that we can use feature_present(3) to dynamically decide whether to use one or the other family. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-25T01:04:12.864488Z K 7 svn:log V 222 Build and install a BSD licensed grep. If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be '[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep will be 'gnugrep'. Discussed with: brooks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-05-25T03:25:14.447389Z K 7 svn:log V 172 MFC r222086: The protection against the race with dev_rel(), introduced in r163328, should be extended to cover destroy_devl() calls for the children of the destroyed dev. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-05-25T04:46:48.575571Z K 7 svn:log V 37 run(4) needs firmware loaded to work END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-25T07:19:19.420113Z K 7 svn:log V 407 Tidy up the ANI API in preparation for looking to expose some more of the ANI statistics and committing some tools which use these. * Change HAL_ANI_* commands _back_ to be numerical, rather than a bitmap; * modify access to the ANI control bitmap to convert a command to a bitmap; * Fix the ANI noise immunity fiddling for CCK errors - it wasn't checking whether noise immunity was disabled or not. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-25T07:34:49.234176Z K 7 svn:log V 593 The current ANI capability information uses a different set of values for the commands, compared to the internal command values (HAL_ANI_CMD.) My eventual aim is to make the HAL_ANI_CMD internal enum match the public API and then remove all this messiness. This now allows HAL_CAP_INTMIT users to use a public HAL_CAP_INTMIT_ enum rather than magic constants. The only magic constants currently used by if_ath are "enable" and "present". Some local tools of mine allow for direct, manual fiddling of the ANI variables and I'll convert these to use the public enum API before I commit them. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-25T08:42:01.093769Z K 7 svn:log V 264 Add a description to the checksum target about not only being able to verify, but also having the ability to fetch distfiles that are missing or failed the checksum calculation PR: docs/138887 Submitted by: Radim Kolar (hsn at sendmail dot cz) MFC after: 5 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-25T09:32:19.459570Z K 7 svn:log V 68 Do not truncate available disk space to the closest track boundary. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-25T09:38:12.628770Z K 7 svn:log V 68 Do not truncate available disk space to the closest track boundary. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-25T09:45:13.250131Z K 7 svn:log V 68 Do not truncate available disk space to the closest track boundary. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-05-25T10:04:13.570181Z K 7 svn:log V 148 Bring back r222275. runfw(4) will statically link in rt2870.fw.uu to the kernel, though I have MODULES_OVERRIDE="" in GENERIC. Spotted by: thompsa END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-25T11:14:26.900313Z K 7 svn:log V 148 Prevent non-aligned reading from provider while tasting. Reject providers with unsupported sectorsize. Reported by: Joerg Wunsch MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-25T13:30:44.180013Z K 7 svn:log V 31 Fix typo. Submitted by: trasz END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-25T13:55:49.082409Z K 7 svn:log V 1048 According to SATA specification, when Serial ATA Enclosure Management Bridge (SEMB) is unable to communicate to Storage Enclosure Processor (SEP), in response to hard and soft resets it should among other things return value 0x7F in Status register. The weird side is that it means DRQ bit set, which tells that reset request is not completed. It would be fine if SEMB was the only device on port. But if SEMB connected to PMP or built into it, it may block access to other devices sharing same SATA port. Make some tunings/fixes to soft-reset handling to workaround the issue: - ahci(4): request CLO on the port after soft reset to ignore DRQ bit; - siis(4): gracefully reinitialize port after soft reset timeout (hardware doesn't detect reset request completion in this case); - mvs(4): if PMP is used, send dummy soft-reset to the PMP port to make it clear DRQ bit for us. For now this makes quirks in ata_pmp.c, hiding SEMB ports of SiI3726/SiI4726 PMPs, less important. Further, if hardware permit, I hope to implement real SEMB support. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-25T14:13:53.478800Z K 7 svn:log V 23 [mdoc] Fixed .Dt call. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-25T18:04:11.806971Z K 7 svn:log V 106 Fix a regression introduced with previous changeset: if output is stdout, do not check for symbolic link. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-25T20:25:13.772015Z K 7 svn:log V 127 Document the device name change from gpioctl to gpioc in the man page. PR: docs/157075 Submitted by: brix Reviewed by: gonzo END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-25T20:53:08.405238Z K 7 svn:log V 280 Fix the new NFS client so that it correctly sets the "must_commit" argument for a write RPC when it succeeds for the first one and fails for a subsequent RPC within the same call to the function. This makes it compatible with the old NFS client for this case. MFC after: 2 weeks END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-25T21:04:11.717554Z K 7 svn:log V 82 Bump the date of the man page to the date of the actual commit. Noticed by: brix END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-25T21:17:53.159977Z K 7 svn:log V 74 Add some missing mutex locking to the new NFS client. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-25T21:38:16.598828Z K 7 svn:log V 31 sh: Show errno messages in cd. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-25T21:49:56.800208Z K 7 svn:log V 28 Remove some pointless code. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-25T21:53:25.283619Z K 7 svn:log V 42 Add some better error handling/reporting. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-25T23:33:49.221009Z K 7 svn:log V 186 + Tighten up (and simplify) the pass_cmd_vars_1 "variable definition arrived from the calling make" test. + Be more tolerant of newlines in the plus_flag "supports the '+' flag" test. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-05-26T00:09:56.979562Z K 7 svn:log V 236 MFC r222086: The protection against the race with dev_rel(), introduced in r163328, should be extended to cover destroy_devl() calls for the children of the destroyed dev. Requested and tested by: Oliver Pinter END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-26T00:37:44.434256Z K 7 svn:log V 226 MFC r220911: Make PATA-like soft-reset in ata(4) more strict in checking disk signature. It allows to avoid false positive device detection under Xen, that caused long probe delays due to subsequent IDENTIFY command timeouts. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-26T06:43:10.509903Z K 7 svn:log V 50 Add better names for the Intel HDMI audio codecs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T08:20:14.438352Z K 7 svn:log V 103 Add temp sense to the EEPROM variable list; Export the temperature sense variables to ah_eeprom_9287.c END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T08:35:47.029112Z K 7 svn:log V 142 AR9287 prep work: * Add PCI/PCIE devids * Add AR9287/Kiwi version check macros * AR_SREV_9287 -> AR_SREV_KIWI Obtained from: Atheros, ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T09:15:33.235445Z K 7 svn:log V 661 Bring over my AR9287 work in progress. It isn't linked into the build because it's missing the TX power and PDADC programming code. This code is mostly based on the ath9k codebase, compared against the Atheros codebase as appropriate. What's implemented: * probe/attach * EEPROM board value programming * RX initial calibration * radio channel programming * general MAC / baseband setup * async fifo setup * open-loop tx power calibration What's missing before it can be enabled by default: * TX power / calibration setting code * closed-loop tx power calibration routines * TSF2 handling * generic timer support from ath9k Obtained from: Atheros, ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T09:16:09.165109Z K 7 svn:log V 15 Merlin -> Kiwi END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T09:22:59.071643Z K 7 svn:log V 40 Fix a bad merge from a previous commit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-26T09:23:01.988684Z K 7 svn:log V 807 Marvell 88SE91xx controllers are known to report soft-reset completion without waiting for device readiness (or at least not updating FIS receive area in time). To workaround that, special quirk was added earlier to wait for the FIS receive area update. But it was found that under same PCI ID 0x91231b4b and revision 0x11 there are two completely different chip versions (firmware?): HBA and RAID. The problem is that RAID version in some cases, such as hot-plug, does not update FIS receive area at all! To workaround that, differentiate the chip versions by their capabilities, and, if RAID version found, skip FIS receive area update waiting and read device signature from the PxSIG register instead. This method doesn't work for HBA version when PMP attached, so keep using previous workaround there. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T09:27:58.036040Z K 7 svn:log V 43 Add the AR9287 chip identification string. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-26T10:10:10.513035Z K 7 svn:log V 34 Add Marvell 88SE9172 chip PCI ID. END K 10 svn:author V 3 ray K 8 svn:date V 27 2011-05-26T13:54:07.130720Z K 7 svn:log V 61 Added myself as src committer. Approved by: adrian (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T14:29:05.466947Z K 7 svn:log V 459 Flesh out the TX power calibration for the AR9287. I'm assuming for now that the AR9287 is only open-loop TX power control (as mine is) so I've hard-coded the attach path to fail if the NIC is not open-loop. This greatly simplifies the TX calibration path and the amount of code which needs to be ported over. This still isn't complete - the rate calculation code still needs to be ported and it all needs to be glued together. Obtained from: Linux ath9k END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-26T14:34:22.819335Z K 7 svn:log V 21 Add a missing isync. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T15:01:37.951338Z K 7 svn:log V 208 Flesh out ar9287SetTransmitPower() based on the AR9285 routine. Hard-code the per-rate TX power at 5dBm for now so testing can be done. This passes initial TX testing in 11g mode (but, obviously, at 5dBm.) END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-26T15:38:11.025904Z K 7 svn:log V 239 MFC r216461: - Assert that dm_lock is exclusively held in devfs_rules_apply() and in devfs_vmkdir() while adding the entry to de_list of the parent. - Apply devfs rules to newly created directories and symbolic links. PR: kern/125034 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T15:55:27.076966Z K 7 svn:log V 392 Bring over the AR5416 per-rate TX power code, modified to use the AR9287 EEPROM layout. The AR9287 only supports 2ghz, so I've removed the 5ghz code (but left the 5ghz edge flags in there for now) and hard-coded the 2ghz-only path. Whilst I'm there, fix a typo (ar9285->ar9287.) This meets basic TX throughput testing - iperf TX tests == 27-28mbit in 11g, matching the rest of my 11g kit. END K 10 svn:author V 4 will K 8 svn:date V 27 2011-05-26T16:27:00.804604Z K 7 svn:log V 213 Close a race between libzfs and mountd when updating NFS exports. - Flush the file descriptor for the new ZFS exports file before sending a SIGHUP to mountd. Reviewed by: pjd Approved by: ken MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T16:52:37.696500Z K 7 svn:log V 50 Add some open-loop TX power debugging for AR9287. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T16:55:44.034469Z K 7 svn:log V 57 Make sure only two chains are calibrated for the AR9287. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T16:59:42.685247Z K 7 svn:log V 76 Remove the three-chain scaled power check for the AR9287 - it isn't needed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-26T17:02:56.060424Z K 7 svn:log V 329 Ignore MCR[6] during the probe to fix a false negative. Bit 6 of the MCR register on the Sunix Sun1699 chip tends to be set but doesn't seem to have a function. That is, FreeBSD just works (provided the correct RCLK is used) regardless. PR: kern/129663 Diagnostics: Eygene Ryabinkin MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-26T17:38:00.065219Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-05-26T18:22:49.612848Z K 7 svn:log V 743 Raise the default blocksize for UFS/FFS filesystems from 16K to 32K and the default fragment size from 2K to 4K. The rational is that most disks are now running with 4K sectors. While they can (slowly) simulate 512-byte sectors by doing a read-modify-write, it is desirable to avoid this functionality. By raising the minimum filesystem allocation to 4K, the filesystem will never trigger the small sector emulation. Also, the growth of disk sizes has lead us to double the default block size about every ten years. The rise from 8K to 16K blocks was done in 2001. So, by the 10-year metric, the time has come for 32K blocks. Discussed at: May 2011 BSDCan Developer Summit Reference: http://wiki.freebsd.org/201105DevSummit/FileSystems END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-05-26T18:54:07.543018Z K 7 svn:log V 54 Fix support for RACCT_CORE by merging forgotten file. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-05-26T19:18:56.423139Z K 7 svn:log V 358 Increase the OFMEM_REGIONS to 128 and replace it with PHYS_AVAIL_SZ. Add dynamic memory reconfiguration readout for PAPR compatible machines. This allows us to use the full equipped physical memory instead of only the first 128MB. Move the qsort memory compare functionality from mmu_oea64.c and mmu_oea.c to ofw_machdep.c. Reviewed by: nwhitehorn (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T19:49:32.436393Z K 7 svn:log V 61 Include an EEPROM dump program for the AR9287 EEPROM format. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T20:17:59.375952Z K 7 svn:log V 83 Revert this erroneous commit and re-disable the AR9285 combined antenna diversity. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T20:22:10.126035Z K 7 svn:log V 101 Fix a macro name - it's currently unused in this file however, but keep it consistent with ar9280.c. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-26T20:31:08.907967Z K 7 svn:log V 45 Introduce AR9287 support to the FreeBSD HAL. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-05-26T20:32:33.227145Z K 7 svn:log V 22 Fix tftp_log() usage. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-26T20:47:05.227721Z K 7 svn:log V 47 Don't assume we have a valid bootinfo pointer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-26T20:54:45.296299Z K 7 svn:log V 243 For Timedia multiport serial adapters, the first two ports use a SUN1889 which uses a non-standard clock (* 8) while any additional ports use SUN1699 chips which use a standard clock. Tested by: N.J. Mann njm of njm me uk MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-26T22:05:35.764965Z K 7 svn:log V 285 Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync() in the new NFS client so that a forced dismount doesn't get stuck in the VFS_SYNC() call that happens before VFS_UNMOUNT() in dounmount(). Additional changes are needed before forced dismounts will work. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-26T22:29:43.251095Z K 7 svn:log V 106 In ipoib_cm_handle_rx_wc(): Count incoming packets and bytes toward incoming counters. Reviewed by: jeff END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-26T23:23:25.053221Z K 7 svn:log V 62 Add Start / Stop timestamps. Obtained from: Juniper Networks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-26T23:27:39.456163Z K 7 svn:log V 56 Add a small testsuite. Obtained from: Juniper Networks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-26T23:30:28.744567Z K 7 svn:log V 9 style(9) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-05-26T23:56:58.171619Z K 7 svn:log V 145 The check for whether a block is going to be claimed by a snapshot needs to happen before we notify the underlying layer that it is being freed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-27T00:23:44.201541Z K 7 svn:log V 106 MFC r221860: Constify a few string variables. While I'm there, also convert usage() to use a prototype. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-27T03:23:39.511875Z K 7 svn:log V 72 Add names for few more SES element types according SES-2 specification. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-27T03:27:28.097843Z K 7 svn:log V 115 Add ses/srcs/eltsub.h to the list of files to be installed. It is required for user-level SES example tools build. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-27T03:30:23.387293Z K 7 svn:log V 27 Oops, fix typo in r222336. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-27T03:44:47.394047Z K 7 svn:log V 55 Change new constant names to ones used by OpenSolaris. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-27T05:58:10.529138Z K 7 svn:log V 112 o Swap the SVR numbers for MPC8533 & MPC8533E o Add SVR defines for P1011(E), P1020(E), P2010(E) & P2020(E) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-27T06:37:42.352176Z K 7 svn:log V 222 Some partitioning tools may have a different opinion about disk geometry and partitions may start from withing the first track. If we found such partitions, then do not reserve space of the first track, only first sector. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-27T07:38:58.950899Z K 7 svn:log V 103 MFC r222122: Correct typos in comments, no functional changes. Found by: codespell Reviewed by: kaiw END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-27T08:34:31.140902Z K 7 svn:log V 68 Silence warnings about unsupoorted value types. MFC after: 2 weeks END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-27T08:40:26.451961Z K 7 svn:log V 322 MFC r222246: Let epair(4) virtual interfaces report fake link / media status, by borrowing the skeleton of if_media manipulation and reporting code from if_lagg(4). The main motivation behind this change is to allow for epair(4) interfaces to participate in STP if_bridge(4) configurations. Reviewed by: bz END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-27T08:41:57.058147Z K 7 svn:log V 245 MFC r222247: Allow for vlan(4) interfaces with MTU of 1500 bytes to be configured on top of epair(4) virtual interfaces, since there's no physical hardware associated with epair interfaces which would imply any constraints on MTU sizes. END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-27T08:43:03.072717Z K 7 svn:log V 509 MFC r222255: Provide fake link status information in an attempt to let ng_eiface(4) virtual ifnets more realistically mimic physical ethernet interfaces. The main motivation behind this change is to allow for ng_eiface(4) interfaces to participate in STP if_bridge(4) configurations. When announcing link status changes, switch to the vnet to which the ifnet belongs, since it is possible for ng_eiface ifnets to be assigned to a vnet different from the one in which its netgraph node resides. END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-05-27T08:43:59.315825Z K 7 svn:log V 366 MFC r222257: Assume the link to be dead if bit error rate (BER) parameter is set to 1. When a transition from link alive to link dead configuration or vice versa occurs, notify any upstream and / or downstream peers using NGM_FLOW messagges. Link state notification using NGM_FLOW messages is modelled around around already existing code in ng_ether.c. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-27T09:15:56.488809Z K 7 svn:log V 96 MFC r222127,r222130: - Fix the description of the "paddr" keyword. - Spelling in P_HADTHREADS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-27T09:50:29.873926Z K 7 svn:log V 77 MFC: r222245: Ensure there is a whitespace after a mount point. PR: 157286 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-27T09:55:18.339447Z K 7 svn:log V 38 MFC r222136: Add missing header file. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-27T09:56:23.400476Z K 7 svn:log V 38 MFC r222136: Add missing header file. END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-05-27T10:08:25.097419Z K 7 svn:log V 197 portbuild: use ${ssh_cmd} rather than calling ssh directly. ssh_cmd is set to use publickey authentication only so this avoids issues when a host might be up and running but keys aren't in place. END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-05-27T10:08:26.588222Z K 7 svn:log V 30 portbuild: prepare for pkgng. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-27T10:40:34.097116Z K 7 svn:log V 105 - Move some internal functions to the private namespace Submitted by: kan Approved by: delphij (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-27T14:08:24.328480Z K 7 svn:log V 110 Check for memory in multiple /memory nodes, as present in some IBM systems (e.g. the QS22 Cell blade server). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-27T14:27:28.760516Z K 7 svn:log V 596 On multi-core, multi-threaded PPC systems, it is important that the threads be brought up in the order they are enumerated in the device tree (in particular, that thread 0 on each core be brought up first). The SLIST through which we loop to start the CPUs has all of its entries added with SLIST_INSERT_HEAD(), which means it is in reverse order of enumeration and so AP startup would always fail in such situation (causing a machine check or RTAS failure). The best fix is probably to change this from a LIST to a TAILQ, but fix this by looping through to add new cpus to the end of the list. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-27T14:30:13.235786Z K 7 svn:log V 164 Synchronize manpage's synopsis with program's usage. Since -l and -r keys are mutually exclusive for the `gpart show` command, then mark them so. Requested by: ru END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-27T14:30:19.463252Z K 7 svn:log V 29 Spell "beginning" correctly. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-27T15:29:39.497539Z K 7 svn:log V 69 Add example how to create MBR and BSD schemes and install boot code. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-27T15:50:14.747200Z K 7 svn:log V 238 In the near future cpuset_t objects in struct pcpu will be axed out, but as long as this does not happen, we need to fix interfaces to userland in order to not break run-time accesses to the structure. Reviwed by: kib Tested by: pluknet END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T15:56:13.723272Z K 7 svn:log V 234 sh: Fix unquoted $@/$* if IFS=''. If IFS is null, unquoted $@/$* should still expand to separate words. This differs from quoted $@ (which does not depend on IFS) in that pathname generation is performed and empty words are removed. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T16:00:37.155653Z K 7 svn:log V 42 sh: Various updates to the TOUR document. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-27T16:01:51.489783Z K 7 svn:log V 97 Style fix: cast to size_t rather than u_long when comparing to sizeof() rets. Requested by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-27T16:09:10.450597Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-05-27T16:17:35.769164Z K 7 svn:log V 40 Whitespace fixes Reviewed by: jpaetzel END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-05-27T17:47:19.829228Z K 7 svn:log V 19 Fix non SMP build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:39:18.947287Z K 7 svn:log V 511 MFC r222142: Datasheet says vge(4) controllers support DAC but it seems that's not true on old PCI based controllers. DAC configuration is read from EEPROM in device reset phase and driver can override DAC configuration. However I guess there is an undocumented reason why EEPROM configuration does not enable DAC so do not blindly override DAC configuration. Recent PCIe based controllers are supposed to support 64bit DMA so allow 64bit DMA only on PCIe based controllers. PR: kern/157184 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:40:31.205014Z K 7 svn:log V 511 MFC r222142: Datasheet says vge(4) controllers support DAC but it seems that's not true on old PCI based controllers. DAC configuration is read from EEPROM in device reset phase and driver can override DAC configuration. However I guess there is an undocumented reason why EEPROM configuration does not enable DAC so do not blindly override DAC configuration. Recent PCIe based controllers are supposed to support 64bit DMA so allow 64bit DMA only on PCIe based controllers. PR: kern/157184 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:46:24.436446Z K 7 svn:log V 697 MFC r221712: Since r117657, bge(4) does not enable buffer manager for BCM5705 or newer controllers. However, all data sheet I have access has no indication that buffer manager should not be touched on these controllers. It seems the buffer manager always runs on BCM5705 or newer controllers. Some controller(e.g. BCM5719) needs other buffer manager configuration so driver should enable buffer manager for all controllers. Both Linux and OpenBSD/NetBSD use the same approach. This change polls enable bit of block to know whether specified block was really stopped as well as enabling buffer manager for all controllers in driver initialization. Obtained from: NetBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:47:48.574827Z K 7 svn:log V 697 MFC r221712: Since r117657, bge(4) does not enable buffer manager for BCM5705 or newer controllers. However, all data sheet I have access has no indication that buffer manager should not be touched on these controllers. It seems the buffer manager always runs on BCM5705 or newer controllers. Some controller(e.g. BCM5719) needs other buffer manager configuration so driver should enable buffer manager for all controllers. Both Linux and OpenBSD/NetBSD use the same approach. This change polls enable bit of block to know whether specified block was really stopped as well as enabling buffer manager for all controllers in driver initialization. Obtained from: NetBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:58:08.844647Z K 7 svn:log V 225 MFC r222135: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialized controller and it resulted in unnecessary link flips. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T18:59:24.970889Z K 7 svn:log V 225 MFC r222135: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialized controller and it resulted in unnecessary link flips. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-05-27T19:02:37.817446Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T19:03:42.810728Z K 7 svn:log V 58 MFC r222107: Fix typo. Submitted by: brad at OpenBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T19:05:01.053392Z K 7 svn:log V 58 MFC r222107: Fix typo. Submitted by: brad at OpenBSD END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-27T19:06:03.702444Z K 7 svn:log V 40 Expand the #ifdefs in the non-SMP case. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T19:26:12.357315Z K 7 svn:log V 272 MFC r221555: Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well as enhancing readability. While I'm here don't reprogram multicast filter when driver is not running. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T19:27:17.614659Z K 7 svn:log V 272 MFC r221555: Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well as enhancing readability. While I'm here don't reprogram multicast filter when driver is not running. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T19:36:07.249497Z K 7 svn:log V 28 sh: Add simple CDPATH test. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-05-27T19:57:58.497117Z K 7 svn:log V 157 Remove definitions for RACCT_FSIZE and RACCT_SBSIZE - these two are rather performance-sensitive and not that useful, so I won't be merging them before 9.0. END