Ħ234164 170 401 401 531 1032 178 204 419 124 506 346 564 301 373 249 825 510 510 286 337 566 451 381 325 259 273 100 523 237 201 172 523 159 331 172 602 602 130 206 154 421 746 127 252 256 285 145 145 179 179 181 181 161 161 770 626 450 170 167 145 322 125 140 306 236 263 403 187 150 185 176 293 140 131 311 481 712 262 262 139 114 497 186 401 707 181 130 141 130 315 632 390 566 566 566 600 782 268 268 268 226 226 226 186 186 186 220 3792 256 144 219 205 187 561 1148 202 388 125 202 1372 174 166 181 116 181 117 213 260 266 300 210 498 498 165 168 125 100 122 141 254 152 678 113 162 141 155 205 228 136 228 509 100 200 461 102 461 102 154 187 179 583 240 210 295 568 130 315 247 247 115 110 K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-12T01:14:03.586490Z K 7 svn:log V 306 The BIND 9.8.2 tarball was re-rolled to remove 9.8.1 release notes. This change was noticed by ISC at: https://lists.isc.org/pipermail/bind-users/2012-April/087345.html and verified by me both by comparing the contents of the old and new distfiles and by verifying the PGP signature on the new distfile. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-12T01:53:33.674098Z K 7 svn:log V 306 The BIND 9.8.2 tarball was re-rolled to remove 9.8.1 release notes. This change was noticed by ISC at: https://lists.isc.org/pipermail/bind-users/2012-April/087345.html and verified by me both by comparing the contents of the old and new distfiles and by verifying the PGP signature on the new distfile. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-12T06:24:47.658463Z K 7 svn:log V 438 MFC r232917: Rewrite thread CPU usage percentage math to not depend on periodic calls with HZ rate through the sched_tick() calls from hardclock(). Potentially it can be used to improve precision, but now it is just minus one more reason to call hardclock() for every HZ tick on every active CPU. SCHED_4BSD never used sched_tick(), but keep it in place for now, as at least SCHED_FBFS existing in patches out of the tree depends on it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-12T06:29:02.738198Z K 7 svn:log V 939 MFC 232919: Add kern.eventtimer.activetick tunable/sysctl, specifying whether each hardclock() tick should be run on every active CPU, or on only one. On my tests, avoiding extra interrupts because of this on 8-CPU Core i7 system with HZ=10000 saves about 2% of performance. At this moment option implemented only for global timers, as reprogramming per-CPU timers is too expensive now to be compensated by this benefit, especially since we still have to regularly run hardclock() on at least one active CPU to update system uptime. For global timer it is quite trivial: timer runs always, but we just skip IPIs to other CPUs when possible. Option is enabled by default now, keeping previous behavior, as periodic hardclock() calls are still used at least to implement setitimer(2) with ITIMER_VIRTUAL and ITIMER_PROF arguments. But since default schedulers don't depend on it since r232917, we are much more free to experiment with it. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-12T08:38:56.103849Z K 7 svn:log V 84 use getopt to parse options, add one option to set the wait time for link-up events END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-12T08:54:01.751978Z K 7 svn:log V 109 use correct selinfo pointer for the generic interrupt handler (it is never used in current FreeBSD drivers). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-12T10:32:22.374097Z K 7 svn:log V 326 Propagate the current state of rtld_bind_lock to dlopen_object() calls through the filter loading call chain. This fixes attempts to write-lock the already locked rtld_bind_lock when filter loading is initiated by relocation of dlopening dso. Reported and tested by: Taku YAMAMOTO MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-12T10:32:34.215934Z K 7 svn:log V 30 remove an unnecessary #define END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-12T10:48:43.923688Z K 7 svn:log V 413 Add thread-private flag to indicate that error value is already placed in td_errno. Flag is supposed to be used by syscalls returning EJUSTRETURN because errno was already placed into the usermode frame by a call to set_syscall_retval(9). Both ktrace and dtrace get errno value from td_errno if the flag is set. Use the flag to fix sigsuspend(2) error return ktrace records. Requested by: bde MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-12T11:23:24.377790Z K 7 svn:log V 253 Keep a copy of the original pointer returned by openpam_readline() so we can free it later, instead of trying to free a pointer that points to the end of the buffer. Committed to head because this code no longer exists upstream. Submitted by: jasone@ END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-12T11:27:09.523509Z K 7 svn:log V 469 Some code restructuring to bring the memory allocator out of netmap.c and make it easier to replace it with a different implementation. On passing, also fix indentation. NOTE: I know that #include "foo.c" is ugly, but the alternative (add another entry to sys/conf/files, add a separate header with structs and prototypes, and expose functions that are meant to be private) looks even worse to me. We need a more modular way to specify dependencies and build options. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-12T12:15:15.298028Z K 7 svn:log V 204 Neither our pfil(9) supply the Ethernet header of packet, nor our ip_output() accepts it, so there is no reason to push around that always NULL pointers. Remove them, as well as code that never executes. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-12T12:37:53.307619Z K 7 svn:log V 281 Read backup GPT header from the last LBA only when primary GPT header and table aren't valid. If they are ok, use hdr_lba_alt value to read backup header. This will make gptboot happy when GPT used atop of some GEOM provider, e.g. GEOM_MIRROR. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-04-12T12:58:14.630917Z K 7 svn:log V 154 Refactor da(4) to remove one of two code paths used to query capacity data. Reviewed by: ken, mav (earlier version) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-04-12T13:43:43.227695Z K 7 svn:log V 730 Remove block reallocation used to make room for the cylinder group summary structure. From now on, when there is no room for it, we simply allocate new one in a newly added cylinder group. This patch removes a conditional in updcsloc(), reindents some code there, and removes unused routines. I decided to do it this way instead of disabling reallocation when the filesystem is live and leaving it as it is otherwise, because this allows for removal of lots of complicated and hard to test code. Also, conditionally disabling it would result in a different layout in filesystems resized online and offline, which would look somewhat weird. Reviewed by: mckusick No objections from: kib Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T13:46:56.498981Z K 7 svn:log V 417 MFC 233670,233671: - Use VM_MEMATTR_UNCACHEABLE for the constant for UC memory rather than VM_MEMATTR_UNCACHED on mips. - Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to be less ambiguous and more clearly identify what it means. An alias from VM_MEMATTR_WEAK_UNCACHEABLE to VM_MEMATTR_WEAK_UNCACHED remains on x86 to preserve the KPI. - Remove the VM_MEMATTR_UNCACHED alias from powerpc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T13:47:23.593244Z K 7 svn:log V 417 MFC 233670,233671: - Use VM_MEMATTR_UNCACHEABLE for the constant for UC memory rather than VM_MEMATTR_UNCACHED on mips. - Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to be less ambiguous and more clearly identify what it means. An alias from VM_MEMATTR_WEAK_UNCACHEABLE to VM_MEMATTR_WEAK_UNCACHED remains on x86 to preserve the KPI. - Remove the VM_MEMATTR_UNCACHED alias from powerpc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T13:53:10.973758Z K 7 svn:log V 193 MFC 233547: Use VM_MEMATTR_UNCACHEABLE instead of VM_MEMATTR_UNCACHED for UC mappings. VM_MEMATTR_UNCACHED is actually the x86-specific UC- mode (where a WC MTRR can override the PAT setting). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T13:53:49.271827Z K 7 svn:log V 244 Don't update if_obytes when transmitting packets. That is already done in IFQ_HANDOFF() when the packet is passed to the start routine, so doing it here resulted in double counting. Reported by: Alex Tutubalin lexa lexa ru MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T14:01:06.330951Z K 7 svn:log V 473 Add OFED and the associated options and drivers to x86 LINT builds: - Mark 'sdp' as requiring 'inet'. - Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WITH/WITHOUT_INET/INET6/_SUPPORT options to determine what should be enabled during a module build. - Fix the mlxen(4) driver and the core IB code to compile without if INET is disabled (including when both INET and INET6 are disabled). Reviewed by: bz MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-04-12T14:02:59.622205Z K 7 svn:log V 353 Fix error messages containing the executed command name Before, we took the first argument to pam_exec(8). With the addition of options in front of the command, this could be wrong. Now, options are parsed before calling _pam_exec() and messages contain the proper command name. While here, fix a warning. Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-12T14:06:05.377502Z K 7 svn:log V 286 Apparently the length field in advanced descriptors does not include the CRC irrespective of the setting of CRCSTRIP. The 82599 data sheets (sec. 7.1.6) say differently. Very strange. Need to check what happens on legacy descriptors, but for the time being this restores functionality. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T14:49:25.469740Z K 7 svn:log V 232 If a linker file contains at least one module, but all of the modules fail to load (the MOD_LOAD event fails) during a kldload(2), unload the linker file and fail the kldload(2) with ENOEXEC. Reported by: gcooper MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-12T15:56:04.291653Z K 7 svn:log V 162 To avoid unsafe lock dropping and decouple stack in pf_send_tcp() and pf_send_icmp() create a queue for pf-generated packets and an swi, that would service them. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-04-12T16:02:45.744425Z K 7 svn:log V 176 Update the swi_add prototype after struct ithd was split up into struct intr_event and struct intr_thread. PR: docs/166864 Reviewed by: jhb (older version) MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-04-12T16:55:48.206796Z K 7 svn:log V 7 Style. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T17:43:59.212658Z K 7 svn:log V 430 - Extend the KDB interface to add a per-debugger callback to print a backtrace for an arbitrary thread (rather than the calling thread). A kdb_backtrace_thread() wrapper function uses the configured debugger if possible, otherwise it falls back to using stack(9) if that is available. - Replace a direct call to db_trace_thread() in propagate_priority() with a call to kdb_backtrace_thread() instead. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-12T17:49:53.391592Z K 7 svn:log V 139 MFC: r228730 Add binding support to libradius(3). Submitted by: Sergey Matveychuk Approved by: kib(mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-12T17:59:17.900254Z K 7 svn:log V 103 MFC: r214018 Add links for libradius(3) functions. Approved by: pjd Approved by: kib(mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-12T18:06:30.123299Z K 7 svn:log V 75 Add missing LibUSB 1.0 API function. Reported by: lme @ MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-04-12T18:46:48.034973Z K 7 svn:log V 427 Complete polled-mode operation by using a callout if the device will be used in polled-mode. The callout invokes uart_intr, which rearms the timeout. Implemented for bhyve, but generically useful for e.g. embedded bringup when the interrupt controller hasn't been setup, or if it's not deemed worthy to wire an interrupt line from a serial port. Submitted by: neel Reviewed by: marcel Obtained from: NetApp MFC after: 3 weeks END K 10 svn:author V 8 madpilot K 8 svn:date V 27 2012-04-12T20:22:17.214783Z K 7 svn:log V 62 Add myself and my relation to my mentors. Approved by: crees END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-12T21:34:58.196013Z K 7 svn:log V 238 Update the ddb and gdb backends for the new 'trace_thread' hook. It is implemented via db_trace_thread() for DDB and not implemented for GDB. This should have been part of r234190. Pointy hat to: jhb Reported by: jkim MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-12T23:06:07.796451Z K 7 svn:log V 79 MFC: r233704 Re-initialize more model-specific registers when we resume CPUs. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-13T04:17:43.922721Z K 7 svn:log V 510 MFC r233000: Add MODULE_DEPEND() to geom_part modules. MFC r233342: Check that scheme is not already registered. This may happens when a KLD is preloaded with loader(8) and leads to infinity loop. Also do not return EEXIST error code from MOD_LOAD handler, because we have undocumented(?) ability replace kernel's module with preloaded one. And if we have so, then preloaded module will be initialized first. Thus error in MOD_LOAD handler will be triggered for the kernel. PR: kern/165573 END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-13T04:18:12.185368Z K 7 svn:log V 510 MFC r233000: Add MODULE_DEPEND() to geom_part modules. MFC r233342: Check that scheme is not already registered. This may happens when a KLD is preloaded with loader(8) and leads to infinity loop. Also do not return EEXIST error code from MOD_LOAD handler, because we have undocumented(?) ability replace kernel's module with preloaded one. And if we have so, then preloaded module will be initialized first. Thus error in MOD_LOAD handler will be triggered for the kernel. PR: kern/165573 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-13T04:21:54.863584Z K 7 svn:log V 35 Sync with head@234197 Ok'd by: ed END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T04:22:42.234657Z K 7 svn:log V 110 Use strdup() on the name (and free it when it's done) so non-static names can be used in firmware_register(). END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-04-13T05:40:26.825081Z K 7 svn:log V 63 Additional manual page updates for r234103. Submitted by: bde END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-04-13T05:48:31.073084Z K 7 svn:log V 329 Apply changes from r234103 to ext2fs: Return EPERM from ext2_setattr() when an user without PRIV_VFS_SYSFLAGS privilege attempts to toggle SF_SETTABLE flags. Flags are now stored to ip->i_flags in one place after all checks. Also, remove SF_NOUNLINK from the checks because ext2fs doesn't support that flag. Reviewed by: bde END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T06:11:24.618389Z K 7 svn:log V 650 Sync this code against what's in OpenWRT trunk. * the openwrt code doesn't treat 0/0/0 any differently from other bus/slot/func combinations. * A "local write" function writes to the LCONF area, and so I've added it. * The PCI workaround at attach time uses this LCONF code, which it already did .. * .. but it is a 4 byte write, not a 2 byte write. Even though it's PCIR_COMMAND which is a two byte PCI register. Tested on: AR7161 TODO: The other two AR71xx derivatives TODO: More thoroughly stare at the datasheets I do have and if it indeed is incorrect, push fixes to both FreeBSD and Linux/OpenWRT. Obtained from: Linux OpenWRT END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T06:13:37.083534Z K 7 svn:log V 32 Remove an unused variable. Grr. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-04-13T06:15:51.445502Z K 7 svn:log V 157 Partially implement zipinfo (-Z) support. This fixes some test failures seen with perl 5.12 and 5.14. PR: bin/166895 Submitted by: swills MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:15:40.068851Z K 7 svn:log V 163 bump INTRCNT_COUNT values to reflect actual numbers of IPI counters Maybe the numbers should be conditionalized on COUNT_IPIS Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:18:19.125348Z K 7 svn:log V 192 add actual interrupt counters to back ipi_invlcache_counts Otherwise one could run into a panic with COUNT_IPIS when cache invalidation actually happened. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:39:20.385505Z K 7 svn:log V 53 MFC r231558: newvers.sh: unbreak git/git-svn support END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:44:40.369706Z K 7 svn:log V 53 MFC r231558: newvers.sh: unbreak git/git-svn support END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:48:45.989881Z K 7 svn:log V 87 MFC r233918: zfs_ioctl: no need for ddi_copyin/out here because sys_ioctl handles that END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T07:54:09.250569Z K 7 svn:log V 87 MFC r233918: zfs_ioctl: no need for ddi_copyin/out here because sys_ioctl handles that END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T08:01:34.364166Z K 7 svn:log V 89 MFC r234040: intpm: reflect the fact that SB800 and later AMD chipsets are not supported END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T08:04:00.505959Z K 7 svn:log V 89 MFC r234040: intpm: reflect the fact that SB800 and later AMD chipsets are not supported END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T08:08:44.849890Z K 7 svn:log V 69 MFC r234043: intpm: return only SMB bus error codes from SMB methods END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T08:11:14.568931Z K 7 svn:log V 69 MFC r234043: intpm: return only SMB bus error codes from SMB methods END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T08:45:50.422159Z K 7 svn:log V 674 (ab)Use the firmware API to store away EEPROM calibration data for future use by the ath(4) driver. These embedded devices put the calibration/PCI bootstrap data on the on board SPI flash rather than on an EEPROM connected to the NIC. For some boards, there's two NICs and two sets of EEPROM data in the main SPI flash. The particulars: * Introduce ath_fixup_size, which is the size of the EEPROM area in bytes. * Create a firmware image with a name based on the PCI device identifier (bus/slot/device/function). * Hide some verbose debugging behind 'bootverbose'. ath(4) can then use this to load in the EEPROM data. This requires AR71XX_ATH_EEPROM to be defined. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T08:48:38.654265Z K 7 svn:log V 530 Introduce the ability to grab local EEPROM data from the firmware(9) interface. * Introduce a device hint, 'eeprom_firmware', which is the name of firmware to lookup. * If the lookup succeeds, take a copy of it and use it as the eeprom data. This isn't enabled by default - you have to define ATH_EEPROM_FIRMWARE. I'll add it to the configuration variables in a later commit. TODO: * just keep a firmware reference in ath_softc, and remove the need to waste the extra memory in having sc_eepromdata be a malloc()ed block. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T08:52:25.075692Z K 7 svn:log V 354 Introduce configuration files for AP94 and AP96. This uses the new firmware(9) method for squirreling away the EEPROM contents from SPI flash so ath(4) can get to them later. It won't work out of the box just yet - you have to add this to if_ath_pci.c: #define ATH_EEPROM_FIRMWARE .. until I've added it as a configuration option and updated things. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T08:56:23.116443Z K 7 svn:log V 75 These are uboot, so mark them as such or booting from flash will not work. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-13T09:54:36.499264Z K 7 svn:log V 75 Belatedly add my entry to the calendar file, now that 30 is here and gone. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-13T11:12:18.954808Z K 7 svn:log V 53 MFC r231558: newvers.sh: unbreak git/git-svn support END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-13T12:53:56.616100Z K 7 svn:log V 225 - Don't use M_WAITOK when holding locks in pfi_dynaddr_setup(). - While here, make pfi_dynaddr_setup() and pf_tbladdr_setup() return more informative errnos. Pass these errnos to applocation, where it can be done easily. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-13T14:36:57.762440Z K 7 svn:log V 25 Fix mismerge in r234200. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-13T15:33:12.216492Z K 7 svn:log V 46 do not use a deprecated field in a structure. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-04-13T15:43:42.097459Z K 7 svn:log V 210 pmap_xen_bootpages() doesn't require the vm system to be initialised since we "steal" and waste the pages from early boot physfree. Remove incorrect asserts and related comment. Approved by: gibbs (implicit) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-13T16:03:07.780502Z K 7 svn:log V 141 A bit of cleanup in the names of fields of netmap-related structures. Use the name 'ring' instead of 'queue' in all fields. Bump NETMAP_API. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-13T16:32:33.016874Z K 7 svn:log V 168 add the new memory allocator for netmap, which allocates memory in small clusters instead of one big contiguous chunk. This was already enabled in the previous commit. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-13T16:42:54.960461Z K 7 svn:log V 308 Properly disable crc stripping when operating in netmap mode. Contrarily to what i wrote in my previous commit, the 82599 does include the CRC in the length. The operating mode is reset in ixgbe_init_locked() and so we need to hook into the places where the two registers (HLREG0 and RDRXCTL) are modified. END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-13T16:53:00.647881Z K 7 svn:log V 89 Add myself as a new committer and add adrian as my mentor. Approved by: adrian (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T18:00:48.858799Z K 7 svn:log V 55 Upgrade ATH_EEPROM_FIRMWARE to a configuration option. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T18:01:53.225789Z K 7 svn:log V 90 * Enable ATH_EEPROM_FIRMWARE, now that it's a compile time option * Tidy up things a bit. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-04-13T18:21:56.373287Z K 7 svn:log V 79 Update to version 2.3.1.0 Obtained from: Daniel Braniss END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-04-13T20:22:08.242293Z K 7 svn:log V 200 Change SIGUSR1 to SIGTHR to properly wake up a process that is being traced. The use of SIGUSR1 caused traced processes (those attached to with dtrace -p) to exit when dtrace exited. MFC in: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-13T20:23:32.970072Z K 7 svn:log V 45 Flesh out the rest of the AP96 board/config. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2012-04-13T20:58:01.390565Z K 7 svn:log V 36 Added myself to committers-src.dot. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-13T21:35:24.942057Z K 7 svn:log V 218 MFC r233052: Change the style of share/mk/bsd.sys.mk to that of the other bsd.*.mk files, and style.Makefile(5), where applicable. While here, update the link to the gcc warning documentation. No functional change. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-13T21:47:14.542255Z K 7 svn:log V 388 MFC r233354: Work around the following clang warning in mps(4): sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] mpssas_discovery_timeout(void *data) ^ Because the driver is obtained from upstream, we don't want to modify it; just silence the warning instead, it is harmless. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-13T21:50:14.605214Z K 7 svn:log V 619 MFC r233710: Fix the following compilation warning with clang trunk in isci(4): sys/dev/isci/isci_task_request.c:198:7: error: case value not in enumerated type 'SCI_TASK_STATUS' (aka 'enum _SCI_TASK_STATUS') [-Werror,-Wswitch] case SCI_FAILURE_TIMEOUT: ^ This is because the switch is done on a SCI_TASK_STATUS enum type, but the SCI_FAILURE_TIMEOUT value belongs to SCI_STATUS instead. Because the list of SCI_TASK_STATUS values cannot be modified at this time, use the simplest way to get rid of this warning, which is to cast the switch argument to int. No functional change. Reviewed by: jimharris END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-13T22:04:26.645240Z K 7 svn:log V 166 MFC: r233888 - Const'ify the device lookup-table. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Enable support for flow control. Tested by: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-13T22:04:28.902076Z K 7 svn:log V 166 MFC: r233888 - Const'ify the device lookup-table. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Enable support for flow control. Tested by: yongari END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-13T22:24:57.263856Z K 7 svn:log V 45 fix build with -Wformat -Wmissing-prototypes END K 10 svn:author V 2 np K 8 svn:date V 27 2012-04-13T22:31:49.274917Z K 7 svn:log V 23 Add user/np directory. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-04-13T22:34:01.684235Z K 7 svn:log V 400 The scandir(3) function expects fourth parameter, compar, be in type of: int (*compar)(const struct dirent **, const struct dirent **) The current code defines sortq() to accept two void *, then cast them to const struct dirent **. Because the code does not really need this cast, we can eliminate the casts by changing the function prototype to match scandir(3) expectation. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-04-13T22:35:53.206617Z K 7 svn:log V 90 Eliminate an unused parameter of static method igmp_stats_live_old(). MFC after: 1 month END K 10 svn:author V 2 np K 8 svn:date V 27 2012-04-13T22:47:23.744573Z K 7 svn:log V 309 Work area to publish the TCP full-offload as well as iWARP drivers for the Terminator-3 and -4 ASICs (T3 and T4). cxgb(4) and cxgbe(4) will continue to work as usual, these new drivers are for additional features. The iWARP drivers depend on the OFED code in FreeBSD. Sponsored by: Chelsio Communications END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-13T22:58:23.246383Z K 7 svn:log V 611 Merge from x86: r233961: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized the "intr_cpus" cpuset to only contain CPU0. This initialization is too late and nullifies the results of calls to the intr_add_cpu() that occur much earlier in the boot process. r234074 (partial): The BSP is not added to the mask of valid target CPUs for interrupts. Fix this by adding the BSP as an interrupt target directly in r234105: Fix !SMP build after r234074. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-13T23:07:32.347958Z K 7 svn:log V 86 Add a driver for the NXP (Philips) PCF8563 RTC. Obtained from: NetBSD (pcf8563reg.h) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-04-13T23:24:49.026650Z K 7 svn:log V 35 "Tag" the file 5.09 vendor import. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-04-13T23:30:38.862786Z K 7 svn:log V 46 Virgin import of Christos Zoulas's FILE 5.11. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-04-13T23:53:53.470692Z K 7 svn:log V 35 "Tag" the file 5.11 vendor import. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-14T00:27:50.450396Z K 7 svn:log V 219 Add support fot ia64. This means that ia64, for the first time ever, has a working non-serial console! I'm pretty sure this doesn't work on the SGI Altix 350, but that's ok for now. Lot's of things don't work there... END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:33:07.914088Z K 7 svn:log V 533 * Modified so that the script dynamically finds and runs all test; * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * The script can be either run with 'all' flag or 'one XXX' flag which runs only the specified test; * Added -q which redirects output for each test to its own file, but still prints out some output for feedback and eventually how many and which tests failed; * Added -c which removes old logs, otherwise new logs are appended; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:36:13.109107Z K 7 svn:log V 291 * Added a new test which verifies that when a node is configured as a ROOT and a Mesh Gate the corresponding flag in the period proactive PREQ is set for Mesh Gate; * This test uses a C program that opens a bpf device and return 0 on success otherwise failure; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:38:50.444424Z K 7 svn:log V 467 * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * Added info() routine that should be used instead of calling echo directly; * Modified loggin format to print the number of the test on each log line; * Modified loggin output to print the name of the test and date of running the test; * Modified teardown() to explicitly unlink the wtap simulator visibility between the nodes; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:39:15.527121Z K 7 svn:log V 467 * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * Added info() routine that should be used instead of calling echo directly; * Modified loggin format to print the number of the test on each log line; * Modified loggin output to print the name of the test and date of running the test; * Modified teardown() to explicitly unlink the wtap simulator visibility between the nodes; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:39:40.277862Z K 7 svn:log V 467 * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * Added info() routine that should be used instead of calling echo directly; * Modified loggin format to print the number of the test on each log line; * Modified loggin output to print the name of the test and date of running the test; * Modified teardown() to explicitly unlink the wtap simulator visibility between the nodes; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:40:13.064172Z K 7 svn:log V 501 * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * Added info() routine that should be used instead of calling echo directly; * Modified loggin format to print the number of the test on each log line; * Modified loggin output to print the name of the test and date of running the test; * Fixed ascii diagram in descr(); * Modified teardown() to explicitly unlink the wtap simulator visibility between the nodes; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-04-14T00:40:32.947143Z K 7 svn:log V 683 * Modified so that the test script returns 0 on success otherwise failure, which is returned in teardown(); * Added info() routine that should be used instead of calling echo directly; * Modified loggin format to print the number of the test on each log line; * Modified loggin output to print the name of the test and date of running the test; * Modified run() so that it print either "ALL TEST PASSED" or how many test failed with which ones; * Modified teardown() to explicitly unlink the wtap simulator visibility between the nodes; * Changed how the script parses the command line arguments, and add 'all' flag that equals to 'setup run teardown'; Approved by: adrian (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:06:53.745684Z K 7 svn:log V 172 MFC r234134: s/Free Memory Pages/Free Memory/ to avoid confusion, since we're reporting a number of bytes rather than a number of pages Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:07:18.640415Z K 7 svn:log V 172 MFC r234134: s/Free Memory Pages/Free Memory/ to avoid confusion, since we're reporting a number of bytes rather than a number of pages Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:07:37.947428Z K 7 svn:log V 172 MFC r234134: s/Free Memory Pages/Free Memory/ to avoid confusion, since we're reporting a number of bytes rather than a number of pages Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:10:45.832155Z K 7 svn:log V 130 MFC r230347: Fix warning when compiling with gcc46: error: variable 'addrs' set but not used Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:11:08.012813Z K 7 svn:log V 130 MFC r230347: Fix warning when compiling with gcc46: error: variable 'addrs' set but not used Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:11:26.455110Z K 7 svn:log V 130 MFC r230347: Fix warning when compiling with gcc46: error: variable 'addrs' set but not used Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:46:59.704061Z K 7 svn:log V 91 MFC r231813: Add err(3) to strerror(3) SEE ALSO section Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:48:19.744006Z K 7 svn:log V 91 MFC r231813: Add err(3) to strerror(3) SEE ALSO section Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-14T02:49:01.609852Z K 7 svn:log V 91 MFC r231813: Add err(3) to strerror(3) SEE ALSO section Approved by: cperciva (implicit) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-14T04:40:11.788614Z K 7 svn:log V 124 Both linux ath9k and the reference driver initialises the PLL here during chip wakeup. Obtained from: Linux ath9k, Atheros END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-04-14T05:48:04.680458Z K 7 svn:log V 3695 Catch up with Bryan Venteicher's virtio git repo: a8af6270bd96be6ccd86f70b60fa6512b710e4f0 virtio_blk: Include function name in panic string cbdb03a694b76c5253d7ae3a59b9995b9afbb67a virtio_balloon: Do the notify outside of the lock By the time we return from virtqueue_notify(), the descriptor will be in the used ring so we shouldn't have to sleep. 10ba392e60692529a5cbc1e9987e4064e0128447 virtio: Use DEVMETHOD_END 80cbcc4d6552cac758be67f0c99c36f23ce62110 virtqueue: Add support for VIRTIO_F_RING_EVENT_IDX This can be used to reduce the number of guest/host and host/guest interrupts by delaying the interrupt until a certain index value is reached. Actual use by the network driver will come along later. 8fc465969acc0c58477153e4c3530390db436c02 virtqueue: Simplify virtqueue_nused() Since the values just wrap naturally at UINT16_MAX, we can just subtract the two values directly, rather than doing 2's complement math. a8aa22f25959e2767d006cd621b69050e7ffb0ae virtio_blk: Remove debugging crud from 75dd732a There seems to be an issue with Qemu (or FreeBSD VirtIO) that sets the PCI register space for the device config to bogus values. This only seems to happen after unloading and reloading the module. d404800661cb2a9769c033f8a50b2133934501aa virtio_blk: Use better variable name 75dd732a97743d96e7c63f7ced3c2169696dadd3 virtio_blk: Partially revert 92ba40e65 Just use the virtqueue to determine if any requests are still inflight. 06661ed66b7a9efaea240f99f414c368f1bbcdc7 virtio_blk: error if allowed too few segments Should never happen unless the host provides use with a bogus seg_max value. 4b33e5085bc87a818433d7e664a0a2c8f56a1a89 virtio_blk: Sort function declarations 426b9f5cac892c9c64cc7631966461514f7e08c6 virtio_blk: Cleanup whitespace 617c23e12c61e3c2233d942db713c6b8ff0bd112 virtio_blk: Call disk_err() on error'd completed requests 081a5712d4b2e0abf273be4d26affcf3870263a9 virtio_blk: ASSERT the ready and inflight request queues are empty a9be2631a4f770a84145c18ee03a3f103bed4ca8 virtio_blk: Simplify check for too many segments At the cost of a small style violation. e00ec09da014f2e60cc75542d0ab78898672d521 virtio_blk: Add beginnings of suspend/resume Still not sure if we need to virtio_stop()/virtio_reinit() the device before/after a suspend. Don't start additional IO when marked as suspending. 47c71dc6ce8c238aa59ce8afd4bda5aa294bc884 virtio_blk: Panic when dealt an unhandled BIO cmd 1055544f90fb8c0cc6a2395f5b6104039606aafe virtio_blk: Add VQ enqueue/dequeue wrappers Wrapper functions managed the added/removing to the in-flight list of requests. Normally biodone() any completed IO when draining the virtqueue. 92ba40e65b3bb5e4acb9300ece711f1ea8f3f7f4 virtio_blk: Add in-flight list of requests 74f6d260e075443544522c0833dc2712dd93f49b virtio_blk: Rename VTBLK_FLAG_DETACHING to VTBLK_FLAG_DETACH 7aa549050f6fc6551c09c6362ed6b2a0728956ef virtio_blk: Finish all BIOs through vtblk_finish_bio() Also properly set bio_resid in the case of errors. Most geom_disk providers seem to do the same. 9eef6d0e6f7e5dd362f71ba097f2e2e4c3744882 Added function to translate VirtIO status to error code ef06adc337f31e1129d6d5f26de6d8d1be27bcd2 Reset dumping flag when given unexpected parameters 393b3e390c644193a2e392220dcc6a6c50b212d9 Added missing VTBLK_LOCK() in dump handler Obtained from: Bryan Venteicher bryanv at daemoninthecloset dot org END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T06:52:31.963734Z K 7 svn:log V 159 Remove PF_LOCK_ASSERT()s since this code can already be entered from pfsync swi, w/o pf Giant held. May be this is not safe, since tables aren't locked yet... END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T06:53:15.753561Z K 7 svn:log V 48 Assert rules read lock in pf_get_translation(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T09:21:06.651462Z K 7 svn:log V 122 Merge 232538: Fix ng_ipfw(4) cookie number in example. Pointed out by: "Jacco van Buuren" END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T09:43:58.834559Z K 7 svn:log V 108 Merge 231586: Fix write(1) to support wide characters. Submitted by: amdmi3 PR: bin/164317 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T09:48:52.391631Z K 7 svn:log V 91 Merge 233269: Add multibyte char support. PR: 165429 Submitted by: amdmi3 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T10:08:07.833073Z K 7 svn:log V 464 Merge 231760,231761,231764,231765,231766,231823,231830 from head: 231760,231766: style(9): sort includes 231761: In ng_bypass() add more protection against potential race with ng_rmnode() and its followers. 231764: Remove testing stuff, reducing kernel memory footprint by 1 Kb. 231765: Trim double empty lines. 231823: In ng_getsockaddr() allocate memory prior to obtaining lock. 231830: Specify correct loading order for core of netgraph(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T10:13:36.288019Z K 7 svn:log V 1050 Merge 231831: Refactor the name hash and the ID hash, that are used to address nodes: - Make hash sizes growable, to satisfy users running large mpd installations, having thousands of nodes. - NG_NAMEHASH() proved to give a very bad distribution in real life name sets, while generic hash32_str(name, HASHINIT) proved to give an even one, so use the latter for name hash. - Do not store unnamed nodes in slot 0 of name hash, no reason for that. - Use the ID hash in cases when we need to run through all nodes: the NGM_LISTNODES command and in the vnet_netgraph_uninit(). - Implement NGM_LISTNODES and NGM_LISTNAMES as separate code, the former iterates through the ID hash, and the latter through the name hash. - Keep count of all nodes and of named nodes, so that we don't need to count nodes in NGM_LISTNODES and NGM_LISTNAMES. The counters are also used to estimate whether we need to grow hashes. - Close a race between two threads running ng_name_node() assigning same name to different nodes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T10:20:34.471019Z K 7 svn:log V 105 Merge 231076,231078: Make the 'tcpwin' option of ipfw(8) accept ranges and lists. Submitted by: sem END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T10:36:43.506249Z K 7 svn:log V 291 Merge 233272: in6_pcblookup_local() still can return a pcb with NULL inp_socket. To avoid panic, do not dereference inp_socket, but obtain reuse port option from inp_flags2, like this is done after next call to in_pcblookup_local() a few lines down below. Submitted by: rwatson END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-14T11:21:24.190928Z K 7 svn:log V 30 Fix !DDB build after r234190. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-14T11:29:32.065177Z K 7 svn:log V 106 - Try to bring these files closer to style(9). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-14T11:44:10.883816Z K 7 svn:log V 1274 Remove the "pfugidhack". The core problem here is that we need to do in_pcblookup() from the pf(4). This leads to LOR between "pf Giant" and pcb hash locks. The lookup can be done in several cases: 1. When processing rules that specify uid/gid. 2. When logging on a rule that has "log (user)" option. 2.1 ..., when processing rulesets. 2.2 ..., at the end of pf_test(), if memory allocation failed or if packet has IP Options. In the new locking scheme, in 1 and 2.1 we would only have reader lock on rulesets. In 2.2 we might have a state lock. Since lock on rulesets is _reader_, the LOR between it and PCB locks is safe. By the way, we already have LOR between pfil(9) reader lock and PCBs. Thus, in the new locking scheme lookup in 1 and 2.1 is safe and doesn't require any hacks. In the 2.2 we avoid lookup, if we got a state. This is really a rare case, and tiny degradation of pflog(4) output can be sustained. For this pflog_packet() gets an additional argument. While we still have the "pf Giant" we unlock it in pf_socket_lookup() temporarily. While here: - Reduce argument list for pf_test_rule(). - Reduce argument list for pf_socket_lookup(), simplifing code. - Remove pid_t from pdesc. Our socket layer doesn't provide this information. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-04-14T13:39:39.365040Z K 7 svn:log V 83 Make compile on 64bit somehow for now after a first try at r234242 on maybe 32bit? END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-04-14T13:40:39.153215Z K 7 svn:log V 75 Fix LINT builds after r234233; not sure why modules need DEBUG by default. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-14T13:54:10.974591Z K 7 svn:log V 89 Vendor import of llvm trunk r154661: http://llvm.org/svn/llvm-project/llvm/trunk@r154661 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-14T13:55:50.611200Z K 7 svn:log V 24 Tag llvm trunk r154661. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-14T14:01:31.826724Z K 7 svn:log V 89 Vendor import of clang trunk r154661: http://llvm.org/svn/llvm-project/cfe/trunk@r154661 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-14T14:02:34.869829Z K 7 svn:log V 25 Tag clang trunk r154661. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-14T16:42:17.159810Z K 7 svn:log V 120 Add files and directories to be cleaned up if WITHOUT_GCC is in effect to OptionalObsoleteFiles.inc. MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-14T16:44:18.715146Z K 7 svn:log V 165 i prefer this fix for the -Wformat warning (just one cast, all the other variables are already correct for %x). My previous attempt put the cast in the wrong place. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-14T17:09:38.667644Z K 7 svn:log V 170 Add support for the Atmel SAM9XE familiy of microcontrollers, which consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-14T17:17:55.129427Z K 7 svn:log V 204 Add support for the Atmel SAM9XE familiy of microcontrollers, which consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512. This file was missed in r234291. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-14T17:27:34.597716Z K 7 svn:log V 114 Generate an obviously missing STOP when having finished transmitting data. This fixes communication with PCF8563. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-14T17:33:47.330127Z K 7 svn:log V 401 MFC r233392, r233679: r233392: Fix typo. r233679: If hastd is invoked with "-P pidfile" option always create pidfile regardless of whether -F (foreground) option is set or not. Also, if -P option is specified, ignore pidfile setting from configuration not only on start but on reload too. This fixes the issue when for hastd run with -P option reload caused the pidfile change. Reviewed by: pjd END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-14T17:35:59.104220Z K 7 svn:log V 401 MFC r233392, r233679: r233392: Fix typo. r233679: If hastd is invoked with "-P pidfile" option always create pidfile regardless of whether -F (foreground) option is set or not. Also, if -P option is specified, ignore pidfile setting from configuration not only on start but on reload too. This fixes the issue when for hastd run with -P option reload caused the pidfile change. Reviewed by: pjd END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-14T20:22:01.553000Z K 7 svn:log V 70 Bugfix: Don't send HBs on path which are not idle. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-14T21:01:44.371064Z K 7 svn:log V 73 Send always HBs when in PF state. MFC after: 1 week X-MFC with: r234296 END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-14T21:02:42.527078Z K 7 svn:log V 28 Add myself for a large IFC. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-14T21:05:39.709437Z K 7 svn:log V 4 IFC END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-14T21:08:55.441004Z K 7 svn:log V 25 Reenable FSP for myself. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-14T21:51:08.558081Z K 7 svn:log V 44 This was intendet to be a 2-clause license. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-04-14T23:53:31.978504Z K 7 svn:log V 158 Fix some style bugs introduced in a previous commit (r233045) Reported by: glebius, jmallet Reviewed by: jmallet Approved by: gnn (mentor) MFC after: 2 days END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-04-14T23:59:58.231258Z K 7 svn:log V 57 Fix a typo. Approved by: gnn (mentor) MFC after: 2 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T00:04:23.761487Z K 7 svn:log V 582 Override some default values to work around various issues in the deep, dirty and murky past. * Override the default cache line size to be something reasonable if it's set to 0. Some NICs initialise with '0' (eg embedded ones) and there are comments in the driver stating that various OSes (eg older Linux ones) would incorrectly program things and 0 out this register. * Just default to overriding the latency timer. Every other driver does this. * Use a default cache line size of 32 bytes. It should be "reasonable enough". Obtained from: Linux ath9k, Atheros END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-15T01:40:22.077268Z K 7 svn:log V 17 TI code cleanup. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T02:38:01.599026Z K 7 svn:log V 67 Fix the mask logic when reading PCI configuration space registers. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-15T10:35:12.352186Z K 7 svn:log V 45 Remove useless pflog_softc and list of them. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-15T10:59:00.289696Z K 7 svn:log V 60 AT91SAM9 doesn't include std.at91, so bring those here too. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-15T11:10:24.867514Z K 7 svn:log V 108 In pf_route(), pf_route6(): - Convert panic to KASSERT. - Use __func__ instead of hardcoding function name. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-15T13:25:51.480827Z K 7 svn:log V 134 Improve m4 compatibility with GNU m4 extension ** (exponent) Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-15T13:39:39.255831Z K 7 svn:log V 44 Correct my name in the copyright statement. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-04-15T15:13:29.614258Z K 7 svn:log V 133 Remove FSIRAND and FSMAXSWAP ifdefs, removing code unconditionally. Reviewed by: kib, mckusick Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-15T15:13:36.226199Z K 7 svn:log V 415 add usr.sbin/pkg which is a bootstrap tool for pkgng. it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages) it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package. for now uses pkgbeta.FreeBSD.org as default mirror to find its package it respects MK_PKGTOOLS Approved by: des (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-04-15T15:15:16.196888Z K 7 svn:log V 7 Style. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-15T16:00:32.379793Z K 7 svn:log V 106 Do not do double initialisation style(9) says for (;;) not while (1) Reported by: culot Approved by: des END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-15T16:52:48.706623Z K 7 svn:log V 363 MFC r232799: - add comments to syscalls.master and linux(32)_dummy about which linux kernel version introduced the sysctl (based upon a linux man-page) - add comments to syscalls.master regarding some names of sysctls which are different than the linux-names (based upon the linux unistd.h) - add some dummy sysctls - name an unimplemented sysctl END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-15T16:53:44.255167Z K 7 svn:log V 6 regen END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-15T16:55:26.118012Z K 7 svn:log V 363 MFC r232799: - add comments to syscalls.master and linux(32)_dummy about which linux kernel version introduced the sysctl (based upon a linux man-page) - add comments to syscalls.master regarding some names of sysctls which are different than the linux-names (based upon the linux unistd.h) - add some dummy sysctls - name an unimplemented sysctl END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-04-15T16:56:28.067205Z K 7 svn:log V 6 regen END K 10 svn:author V 8 madpilot K 8 svn:date V 27 2012-04-15T17:28:47.169699Z K 7 svn:log V 57 Add myself to the calendar Approved by: creees (mentor) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-15T18:25:17.877548Z K 7 svn:log V 90 Use the M_AMPDU_MPDU flag to determine when to manually set the seqno and use a BA queue. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-15T18:32:14.952015Z K 7 svn:log V 86 - Fix style(9) bugs + inconsistencies Submitted by: marius Approved by: des (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T19:54:22.282292Z K 7 svn:log V 487 Drop this down from 512 to 128 for now. This may result in a bit of a throughput drop. However, any throughput drop at this point should be investigated and root caused, as it's likely because TX scheduling (all the way down to how preemption, scheduler work, etc) is happening in a sub-optimal fashion. This also makes it much more likely to be reloadable on a live machine. Allocating 5120 TX ath_buf entries via contigmalloc is very unlikely after a few hours of using X/Chromium. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T20:29:39.836678Z K 7 svn:log V 144 Migrate the net80211 TX aggregation state to be from per-AC to per-TID. TODO: * Test mwl(4) more thoroughly! Reviewed by: bschmidt (for iwn) END K 10 svn:author V 4 gleb K 8 svn:date V 27 2012-04-15T21:59:28.611350Z K 7 svn:log V 116 Provide better description for vfs.tmpfs.memory_reserved sysctl. Suggested by: Anton Yuzhaninov END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T22:34:22.502348Z K 7 svn:log V 199 The AR913x MII speed configuration matches the AR71xx MII configuration. So share the code. Don't do it for the AR724x - that has a completely different set of PLL and MII configuration parameters. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-15T22:59:56.295883Z K 7 svn:log V 472 Add in the AP96 phy configuration from openwrt. * arge0 doesn't (yet) work via the switch PHY ports; I'm not sure why. * arge1 maps to the WAN port. That works. TODO: * The PLL register needs a different (non-default) value for Gigabit Ethernet. The board setup code needs to be extended a bit to allow for non-default pll_1000 values - right now, those values come out of hard-coded values in the per-chip set_pll_ge() routines. Obtained from: Linux / OpenWRT END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-15T23:50:13.342075Z K 7 svn:log V 35 Forget about the legacy PICs here. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-15T23:56:03.829351Z K 7 svn:log V 219 When searching for uninitialized memory usage add ensure that the entire struct is set to zero. PR: bin/166483 Submitted by: Roy Marples Reviewed by: delphij Approved by: cperciva MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-04-16T01:15:38.024576Z K 7 svn:log V 152 MFC r234206: Partially implement zipinfo (-Z) support. This fixes some test failures seen with perl 5.12 and 5.14. PR: bin/166895 Submitted by: swills END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-04-16T01:20:17.638828Z K 7 svn:log V 152 MFC r234206: Partially implement zipinfo (-Z) support. This fixes some test failures seen with perl 5.12 and 5.14. PR: bin/166895 Submitted by: swills END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-16T02:05:43.163161Z K 7 svn:log V 20 merge ^/head@234331 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-16T02:24:01.239280Z K 7 svn:log V 15 Fix mis-merge. END