ıO236332 192 235 317 443 142 200 231 355 136 136 185 170 157 1186 1204 209 164 150 260 260 260 226 163 197 256 304 240 522 199 159 137 285 137 271 130 124 569 270 139 191 155 391 164 568 273 313 291 195 360 244 149 248 248 248 481 254 201 140 127 126 152 159 239 279 244 459 536 117 180 794 99 260 811 362 249 270 187 182 134 219 219 743 224 169 399 224 180 166 156 160 646 149 108 170 220 370 490 440 142 279 279 279 274 427 119 119 308 122 291 132 406 151 122 307 153 135 153 135 455 142 510 510 265 265 265 353 223 215 172 177 172 318 177 176 226 164 175 601 601 168 176 153 140 140 172 172 170 170 472 472 160 312 312 312 160 247 227 142 161 458 177 173 136 194 1850 1270 255 122 114 138 660 118 241 354 567 567 150 118 115 458 217 444 372 108 166 164 147 150 171 829 829 147 548 K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-30T20:56:07.599663Z K 7 svn:log V 139 Seperate SCTP checksum offloading for IPv4 and IPv6. While there: remove some trainling whitespaces. MFC after: 3 days X-MFC with: 236170 END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-05-30T21:01:06.327316Z K 7 svn:log V 219 Let pkg_add use the ENV variable PACKAGESUFFIX. This can be used to override the default .tbz package extension to .txz .tgz or .tar Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-05-30T21:02:12.243099Z K 7 svn:log V 350 - Witness doesn't verify the old MTX_NOSWITCH flag's correctness (that was obsoleted when critical sections were added). Instead, list a check that witness does perform. - Note that 'show locks' in DDB takes an optional thread argument. - Document 'show all locks'. - Remove the BUGS section, the bug in question was fixed 11 years ago in r76272. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T21:04:14.748456Z K 7 svn:log V 47 MFC: r218525: add LIBEXECDIR to the bsd.own.mk END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-05-30T21:28:37.674353Z K 7 svn:log V 102 Bump PKG_INSTALL_VERSION which should've been done in r236233 MFC after: 3 days Pointed out by: bapt END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T22:21:25.095253Z K 7 svn:log V 135 * Remove headers from SRCS that are not generated (and are in /usr/src/crypto/heimdal/). * Avoid race conditions with 'make -j'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T22:23:08.762722Z K 7 svn:log V 259 Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case) modifiers for ":tu" and ":tl" from OSF's ODE, which made its way into NetBSD's make, which is the source for the Portable Berkeley Make. Submitted by: Simon Gerraty END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T22:26:16.678819Z K 7 svn:log V 41 make it easier to test newly-built make. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T22:27:34.036683Z K 7 svn:log V 41 make it easier to check newly-built make END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-30T22:28:08.328750Z K 7 svn:log V 94 No need for VLAN_TOE right now (and bz@ took bits 026 and 027 for IPv6 checksum caps anyway). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-30T22:31:45.396121Z K 7 svn:log V 75 MFC: r222090: add WITH{,OUT}_{GCC,BINUTILS} providing fine-grained control END K 10 svn:author V 4 jase K 8 svn:date V 27 2012-05-30T22:48:01.095041Z K 7 svn:log V 64 Add myself and mentors relationship. Approved by: flo (mentor) END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-30T23:22:52.610055Z K 7 svn:log V 1089 MFC r235459 and r235471 r235459: Implement the DTrace sched provider. This implementation aims to be compatible with the sched provider implemented by Solaris and its open- source derivatives. Full documentation of the sched provider can be found on Oracle's DTrace wiki pages. Note that for compatibility with scripts originally written for Solaris, serveral probes are defined that will never fire. These probes are defined to fire when Solaris-specific features perform certain actions. As these features are not present in FreeBSD, the probes can never fire. Also, I have added a two probes that are not defined in Solaris, lend-pri and load-change. These probes have been added to make it possible to collect schedgraph data with DTrace. Finally, a few probes are defined in Solaris to take a cpuinfo_t * argument. As it was not immediately clear to me how to translate that to FreeBSD, currently those probes are passed NULL in place of a cpuinfo_t *. Sponsored by: Sandvine Incorporated r235471: Fix typo in function name SDT_PROBE4 and unbreak 4BSD UP. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-30T23:42:48.096844Z K 7 svn:log V 1107 MFC r235459 and r235471 r235459: Implement the DTrace sched provider. This implementation aims to be compatible with the sched provider implemented by Solaris and its open- source derivatives. Full documentation of the sched provider can be found on Oracle's DTrace wiki pages. Note that for compatibility with scripts originally written for Solaris, serveral probes are defined that will never fire. These probes are defined to fire when Solaris-specific features perform certain actions. As these features are not present in FreeBSD, the probes can never fire. Also, I have added a two probes that are not defined in Solaris, lend-pri and load-change. These probes have been added to make it possible to collect schedgraph data with DTrace. Finally, a few probes are defined in Solaris to take a cpuinfo_t * argument. As it was not immediately clear to me how to translate that to FreeBSD, currently those probes are passed NULL in place of a cpuinfo_t *. Sponsored by: Sandvine Incorporated r235471: Fix typo in function name SDT_PROBE4 and unbreak 4BSD UP. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-31T00:36:56.451068Z K 7 svn:log V 113 Add "-V '${VAR}'" variable expansion from Portable Berkeley Make. Submitted by: Simon Gerraty END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-31T01:07:52.010303Z K 7 svn:log V 69 Add regression test for '-V' command line option (requires r236346). END K 10 svn:author V 2 tj K 8 svn:date V 27 2012-05-31T02:36:30.906979Z K 7 svn:log V 59 Add my mentor relationships. Approved by: eadler (mentor) END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-05-31T02:51:54.913022Z K 7 svn:log V 164 MFC r235842 Mention the upper hard limit for -n option. Patch slightly modified from PR version. PR: 168255 Submitted by: Andy Kosela Approved by: gjb (mentor) END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-05-31T02:52:59.197275Z K 7 svn:log V 164 MFC r235842 Mention the upper hard limit for -n option. Patch slightly modified from PR version. PR: 168255 Submitted by: Andy Kosela Approved by: gjb (mentor) END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-05-31T02:53:28.435195Z K 7 svn:log V 164 MFC r235842 Mention the upper hard limit for -n option. Patch slightly modified from PR version. PR: 168255 Submitted by: Andy Kosela Approved by: gjb (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-31T07:16:50.820101Z K 7 svn:log V 130 Bump date for content missed in r236290 Submitted by: gjb Approved by: cperciva (implicit) MFC after: 3 days X-MFC-With: r236290 END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-31T07:40:37.016995Z K 7 svn:log V 72 Have sockstat display "toe" instead of "tcp" for offloaded connections. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-31T07:44:27.750393Z K 7 svn:log V 101 MFC r235204: Add some missing files to OLD_FILES PR: conf/166460 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-31T08:22:02.004717Z K 7 svn:log V 160 Fix a variety of compile errors with gcc48 and clang PR: bin/165699 Submitted by: Arne Meyer Approved by: cperciva MFC after: 1 week END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-05-31T14:18:19.226363Z K 7 svn:log V 209 MFC r235949, r236198: Don't try to set a null TERM environment. When writing the jid via the -i flag, do it right when the jail is created, before any commands run. /etc/rc.d/jail depends on this. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-05-31T14:46:02.844172Z K 7 svn:log V 147 Don't trace or dump page fault records in the default set of tracepoints as they can be quite noisy. Requested by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-05-31T14:47:02.554472Z K 7 svn:log V 426 We need to figure out if the element we're trying to remove actually belongs to the tail queue of one of the buckets of the callwheel or to the tail queue introduced with r236315, to avoid random memory corruption and so some unpredictable behaviour. To avoid the entire scan of the two queues, a flag is added. This flags is set or cleared depending to the queues to which the element actually belongs. Discussed with: mav END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-05-31T17:27:05.228102Z K 7 svn:log V 106 Unlock in the error path to prevent a lock leak. PR: 162174 Submitted by: Ian Lepore MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-05-31T19:31:28.851382Z K 7 svn:log V 67 There is no rmdirat system call. Weird, I know. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-05-31T19:32:37.903018Z K 7 svn:log V 45 Add missing system calls. MFC after: 3 days END K 10 svn:author V 2 tj K 8 svn:date V 27 2012-05-31T19:33:51.230409Z K 7 svn:log V 193 - Fix my botched merge and correct mentor ordering. (Spotted by flo) - Fix missing new line in node block. (Spotted by gavin) - Sort the node list while I'm here. Approved by: eadler (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-05-31T19:34:53.934492Z K 7 svn:log V 45 Regenerate after r236361. MFC after: 3 days END K 10 svn:author V 3 eri K 8 svn:date V 27 2012-05-31T20:10:05.036258Z K 7 svn:log V 178 Correct table counter functionality to not panic. This was caused by not proper initialization of necessary parameters. PR: 168200 Reviewed by: bz@, glebius@ MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-31T20:13:44.896705Z K 7 svn:log V 35 Update date for r236338 & r236346. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-05-31T21:32:29.951551Z K 7 svn:log V 28 Remove options duplication. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-05-31T22:54:08.546362Z K 7 svn:log V 472 Simplify insert path by using the same logic of vm_radix_remove() for the recovery path. The bulk of vm_radix_remove() is put into a generic function vm_radix_sweep() which allows 2 different modes (hard and soft): the soft one will deal with half-constructed paths by cleaning them up. Ideally all these complications should go once that a way to pre-allocate is implemented, possibly by implementing path compression. Requested and discussed with: jeff Tested by: pho END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2012-05-31T23:05:07.054996Z K 7 svn:log V 172 MFC r235678: "nvram,flash" may not be the first in the compatible list property of the nvram ofw node, so check all strings in the list. Approved by: nwhitehorn (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-31T23:15:58.178377Z K 7 svn:log V 44 Restore the ability to manually build krb5. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-05-31T23:22:00.251837Z K 7 svn:log V 96 Centralize the specification of the krb5 build tools, and do not depend on them being in $PATH. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-05-31T23:56:10.647964Z K 7 svn:log V 59 Remove unnecessary device_printfs. Pointed out by: marius END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-01T02:55:42.100544Z K 7 svn:log V 298 Initialize the clocks before we call cninit() so that the serial console so initialized will work upon return from cninit. While this is the very next line, other platforms setup all this stuff before calling cninit. Also, initialize the SDRAM base register in the inner block in at91_ramsize(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-01T03:00:36.330265Z K 7 svn:log V 72 Revert debug and other immature code accidentally committed in r236372. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-01T03:46:28.869505Z K 7 svn:log V 473 MFV r236171, MFC r236196: Upgrade to BIND version 9.8.3, the latest from ISC. Feature Change * BIND now recognizes the TLSA resource record type, created to support IETF DANE (DNS-based Authentication of Named Entities) Bug Fix * The locking strategy around the handling of iterative queries has been tuned to reduce unnecessary contention in a multi- threaded environment. Other critical bug fixes are included. All BIND users are encouraged to upgrade. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-01T03:56:12.755441Z K 7 svn:log V 180 pmap_alloc_vhpt() doesn't need the pages that it allocates to be mapped into the kernel map, so vm_page_alloc_contig() can be used in place of contigmalloc(). Reviewed by: marcel END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T03:59:08.468600Z K 7 svn:log V 217 Add characters mapping for codepages used in Germany. (not verified by me to be accurate) PR: bin/163847 Submitted by: Gabor Fischer Reviewed by: bp Approved by: cperciva MFC after: 3 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T04:23:20.438229Z K 7 svn:log V 195 Fix warning generated by clang; warning: equality comparison with extraneous parentheses [-Wparentheses-equality] Reported by: arundel Reviewed by: gnn Approved by: cperciva MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-01T04:26:50.079850Z K 7 svn:log V 102 Eliminate code duplication in free_pv_entry() and pmap_remove_pages() by introducing free_pv_chunk(). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T04:34:49.155137Z K 7 svn:log V 264 Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules. PR: kern/166239 Submitted by: Pavel Timofeev Discussed on: -stable, -scsi Reviewed by: scottl No objection from: mjacob Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T04:42:52.152900Z K 7 svn:log V 148 Add sysctl to query amount of swap space free PR: kern/166780 Submitted by: Radim Kolar Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-01T06:20:39.977549Z K 7 svn:log V 54 Add a missing #include, required for IEEE80211_DEBUG. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T06:39:55.348924Z K 7 svn:log V 152 MFC r235481: Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agent socket path if running PR: 167932 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T06:40:29.222778Z K 7 svn:log V 152 MFC r235481: Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agent socket path if running PR: 167932 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T06:40:48.866456Z K 7 svn:log V 152 MFC r235481: Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agent socket path if running PR: 167932 Approved by: cperciva (implicit) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-01T06:45:14.581822Z K 7 svn:log V 388 MFC r236260: Pull in r156591 from upstream llvm trunk: Allow unique_file to take a mode for file permissions, but default to user only read/write. and r156592 from upstream clang trunk: For final output files create them with mode 0664 to match other compilers and expected defaults. This should fix clang creating files with mode 0600. Reported by: James END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-01T06:50:37.810360Z K 7 svn:log V 161 Pull in r155978 from upstream llvm trunk: Fix unintentional use of operator bool. This enables llvm's bugpoint tool to build with libc++. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-01T06:55:01.668973Z K 7 svn:log V 108 Fix dangling else in libc++'s __bit_reference header. This has also been sent upstream. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-01T06:56:35.103193Z K 7 svn:log V 48 Make devd build with libc++. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-01T07:06:00.725519Z K 7 svn:log V 30 MFC r235725: Update usb.conf. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-01T07:07:36.625547Z K 7 svn:log V 29 MFC r236242: Add AHCI quirk. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-01T08:26:50.303654Z K 7 svn:log V 57 Small cleanups. No functional change. MFC after: 3 days END K 10 svn:author V 4 jase K 8 svn:date V 27 2012-06-01T08:44:17.493999Z K 7 svn:log V 66 Add myself as a new committer. Approved by: flo, culot (mentors) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-01T09:32:37.891935Z K 7 svn:log V 146 Use AC_GETDEV_CHANGED async to notify ada driver about DMA and NCQ status change. Now that allows switching between PIO and DMA modes on the fly. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-06-01T11:42:50.838070Z K 7 svn:log V 187 Make TCP LRO work properly with VIMAGE kernels rather than just panicing. There's no VIMAGE context set there yet as this is before if_ethersubr.c. MFC after: 3 days X-MFC with: r235981 END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2012-06-01T12:47:13.773888Z K 7 svn:log V 147 MFC r236220,236221: - Fix the problem acpi_sleep_force() hang. - Reorder resume procedures to avoid hang during AcpiLeaveSleepState() execution. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2012-06-01T13:21:32.636963Z K 7 svn:log V 362 MFC r235692,235772,236220,236221: - Don't start the sleep state transition procedure while sleep is disabled or the system is in shutdown procedure. - Ignore the power button press event for resuming rather than starting shutdown. - Fix the problem acpi_sleep_force() hang. - Reorder resume procedures to avoid hang during AcpiLeaveSleepState() execution. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-01T13:37:19.177038Z K 7 svn:log V 439 Make pf table code more re-entrant: - kill global V_pfr_sin, V_pfr_sin6, V_pfr_mask which are used in some functions and use instead structure on stack. - pfr_ffaddr can be initialized statically and doesn't need V Make pfr_pool_get() more smp-safe (not yet really safe, but better): - Don't pass raddr and rmask from pf_map_addr() to pfr_pool_get(), and thus do not modify pools cur. - Use on stack sockaddr_union instead of global. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-01T13:47:00.342307Z K 7 svn:log V 21 Remove unused field. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-01T14:29:59.205079Z K 7 svn:log V 84 pf_get_translation() should return with skp/nkp set only if translation did happen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-01T14:40:16.070856Z K 7 svn:log V 701 MFC r235266: According to SUSv4, realpath(3) must fail if [ENOENT] A component of file_name does not name an existing file or file_name points to an empty string. [ENOTDIR] A component of the path prefix is not a directory, or the file_name argument contains at least one non- character and ends with one or more trailing characters and the last pathname component names an existing file that is neither a directory nor a symbolic link to a directory. Add checks for the listed conditions, and set errno accordingly. Update the realpath(3) manpage to mention SUS behaviour. Remove the requirement to include sys/param.h before stdlib.h. PR: 128933 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-06-01T14:57:55.092802Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-06-01T15:02:23.720400Z K 7 svn:log V 163 Style(9) improvements: remove unnecessary parenthesis, improve order of local variable declarations, remove bogus casts, and resolve long lines. Reviewed by: bde END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2012-06-01T15:26:32.762105Z K 7 svn:log V 714 Call AcpiLeaveSleepStatePrep() in interrupt disabled context (described in ACPICA source code). - Move intr_disable() and intr_restore() from acpi_wakeup.c to acpi.c and call AcpiLeaveSleepStatePrep() in interrupt disabled context. - Add acpi_wakeup_machdep() to execute wakeup MD procedures and call it twice in interrupt disabled/enabled context (ia64 version is just dummy). - Rename wakeup_cpus variable in acpi_sleep_machdep() to suspcpus in order to be shared by acpi_sleep_machdep() and acpi_wakeup_machdep(). - Move identity mapping related code to acpi_install_wakeup_handler() (i386 version) for preparation of x86/acpica/acpi_wakeup.c (MFC candidate). Reviewed by: jkim@ MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-01T15:42:37.590454Z K 7 svn:log V 269 Extend VERBOSE_SYSINIT to also print out the name of variables passed to SYSINIT routines if they can be resolved via symbol look up in DDB. To avoid false positives, only honor a name if the symbol resolves exactly to the pointer value (no offset). MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-01T15:48:24.924635Z K 7 svn:log V 156 Remove unnecessary initializations. The BSS of boot2 is in fact zero'd when boot2 begins execution by the _start() routine in btxcsu.S. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-01T15:52:41.436861Z K 7 svn:log V 177 Commit a portion of 233708 I missed earlier and don't include the definition of igb_start() and igb_start_locked() (nor set if_start in the ifnet) when igb(4) uses if_transmit. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-01T16:30:54.025823Z K 7 svn:log V 90 Improve support for detaching kernel drivers on a per interface basis. MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T17:00:33.871442Z K 7 svn:log V 89 Execute AcpiLeaveSleepStatePrep() for S1 and reduce code duplication. MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T17:07:52.284417Z K 7 svn:log V 41 Improve style(9) in the previous commit. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T17:17:46.795932Z K 7 svn:log V 125 MFC: r236251 Fix 32-bit shim for BIOCSETF to drop all packets buffered on the descriptor and reset statistics as it should. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T17:22:20.308877Z K 7 svn:log V 125 MFC: r236251 Fix 32-bit shim for BIOCSETF to drop all packets buffered on the descriptor and reset statistics as it should. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-06-01T18:01:51.328720Z K 7 svn:log V 647 Add notes and information for exposed tuneables in bce(4). Add source of documentation for this driver. Thanks to Warren Block for the suggestions for readability. Note that strict_rx_mtu in inverted in stable/7/8/9 and is named loose_rx_mtu. Ensure that this is converted over when MFC'd hw.bce.rx_ticks hw.bce.rx_ticks_int hw.bce.rx_quick_cons_trip hw.bce.rx_quick_cons_trip_int hw.bce.tx_ticks hw.bce.tx_ticks_int hw.bce.tx_quick_cons_trip hw.bce.tx_quick_cons_trip_int hw.bce.strict_rx_mtu hw.bce.hdr_split hw.bce.tx_pages hw.bce.rx_pages hw.bce.tso_enable hw.bce.verbose Reviewed by: Warren Block MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2012-06-01T18:16:10.940114Z K 7 svn:log V 126 MFC 236212: Update mxge(4) firmware to the latest version available from Myricom (1.4.55). Sponored by: Myricom, Inc. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T18:18:48.544201Z K 7 svn:log V 76 Call AcpiSetFirmwareWakingVector() with interrupt disabled for consistency. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-01T18:33:40.328676Z K 7 svn:log V 306 Add a new -e flag to pciconf(8)'s list mode to display PCI error details. Currently this dumps the status of any error bits in the PCI status register and PCI-express device status register. It also lists any errors indicated by version 1 of PCI-express Advanced Error Reporting (AER). MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2012-06-01T18:57:57.025747Z K 7 svn:log V 126 MFC 236212: Update mxge(4) firmware to the latest version available from Myricom (1.4.55). Sponored by: Myricom, Inc. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-01T18:58:50.433177Z K 7 svn:log V 85 Revert r236380 PR: kern/166780 Requested by: many Approved by: cperciva (implicit) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-06-01T19:09:17.399309Z K 7 svn:log V 71 Doh! Bump the date as I touched it! Noted by: gjb@ MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T19:19:04.354392Z K 7 svn:log V 63 Tidy up code clutter in SMP case a bit. No functional change. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-01T19:26:38.597834Z K 7 svn:log V 67 mdoc: terminate quoted string and remove unneeded paragraph macro. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-01T21:22:46.955434Z K 7 svn:log V 550 Provide a callout_hash() private function which is equivalent to the get_bucket() one except than performing the division for the number of buckets in the wheel. Inline the two aforementioned functions in order to avoid the overhead due to function call. Optimize the callout_tick() code. Right now it scans the entire wheel only when it's needed (i.e. we wrapped around all the wheel). Otherwise it scans only the buckets from the last examined in previous scan to the one relative to present time. Discussed with: mav [1] Suggested by: mav [2] END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-06-01T21:26:28.167429Z K 7 svn:log V 54 Centralize the specification of the krb5 build tools. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-06-01T21:29:26.808374Z K 7 svn:log V 13 MFC: r236422 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-01T21:33:33.249905Z K 7 svn:log V 77 Consistently use ACPI_SUCCESS() and ACPI_FAILURE() macros wherever possible. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-06-01T23:19:39.614037Z K 7 svn:log V 124 Project to build FreeBSD with Portable Bmake (see ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/) Submitted by: sjg@juniper.net END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-06-01T23:24:56.690349Z K 7 svn:log V 274 Print FC PortID as a hex number. This makes it easy to figure out domain, etc.. Zero ATIO and INOTify allocations. It makes for much less guesswork when looking at the structure and seeing 'deadc0de' present. Reviewed by: kdm MFC after: 2 weeks Sponsored by: Spectralogic END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-06-01T23:29:48.856383Z K 7 svn:log V 394 Clean up and complete the incomplete deferred enable code. Make the default role NONE if target mode is selected. This allows ctl(8) to switch to/from target mode via knob settings. If we default to role 'none', this causes a reset of the 24XX f/w which then causes initiators to wake up and notice when we come online. Reviewed by: kdm MFC after: 2 weeks Sponsored by: Spectralogic END K 10 svn:author V 2 np K 8 svn:date V 27 2012-06-02T00:29:42.462638Z K 7 svn:log V 348 TOE + VLAN support. - Move the TOEDEV macro to if_var.h - A VLAN interface inherits the TOE capabilities (and TOEDEV) of its parent. - Add VLAN support to the T4 TOE driver. VLAN_TRUNKDEV, which acquires a sleepable lock, cannot be called directly in tod_connect so we use other means to reach the parent cxgbe ifnet from the VLAN interface. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-06-02T00:47:14.194923Z K 7 svn:log V 51 There is no need to do anything for vlan_unconfig. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-06-02T02:26:37.323533Z K 7 svn:log V 186 MFC r236274, r236278, r236279: r236274: - Fix an mdoc(7) formatting nit. r236278: - Fix mdoc(7) style nits. r236279: - Add '-width Pa' to src.conf.5 for mdoc(7) style consistency. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-06-02T02:26:49.671789Z K 7 svn:log V 186 MFC r236274, r236278, r236279: r236274: - Fix an mdoc(7) formatting nit. r236278: - Fix mdoc(7) style nits. r236279: - Add '-width Pa' to src.conf.5 for mdoc(7) style consistency. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-06-02T02:27:01.923222Z K 7 svn:log V 186 MFC r236274, r236278, r236279: r236274: - Fix an mdoc(7) formatting nit. r236278: - Fix mdoc(7) style nits. r236279: - Add '-width Pa' to src.conf.5 for mdoc(7) style consistency. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-02T03:13:27.735526Z K 7 svn:log V 178 Document the limitations of the -delete primary PR: bin/166554 Submitted by: Richard Kettlewell Discussed with: jilles Approved by: bcr MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-06-02T04:35:11.840580Z K 7 svn:log V 331 o Create MDs using a common support function: _busdma_md_create() o Implement busdma_md_create() o Implement busdma_md_destroy() o Stub busdma_md_load_linear() enough to have it return an error via the callback function o Use _busdma_md_create() in busdma_mem_alloc() to create the MD o Implement busdma_mem_free() END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-06-02T04:42:43.468248Z K 7 svn:log V 24 Sync with ^/head@236433 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-06-02T05:46:04.778291Z K 7 svn:log V 24 Sync with ^/head@236435 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-02T08:29:07.080826Z K 7 svn:log V 215 Rewrite enabling NCQ for SATA devices in a way more alike to SCSI TCQ. This allows to control it with `camcontrol negotiate adaX -T (en|dis)able` on the fly, same as for SCSI devices. Sponsored by: iXsystems, Inc. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-02T08:47:26.675321Z K 7 svn:log V 29 mdoc: minor Bl improvements. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-02T09:10:51.326155Z K 7 svn:log V 193 Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode. MFC after: 1 week Submitted by: PseudoCylon END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-06-02T10:14:55.915760Z K 7 svn:log V 41 MFC r230642: Remove trailing whitespace. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-06-02T10:50:25.695704Z K 7 svn:log V 314 Remove invalid remark about pipes. The stat structures returned on pipes seems to contain all the information required by POSIX. Especially the wording "and thus to a pipe" makes little sense, because it seems to imply a certain relationship between sockets and pipes that simply isn't there. MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-02T11:00:48.743997Z K 7 svn:log V 59 Tabify libcxxrt and libc++'s Makefiles. MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-02T11:03:14.965046Z K 7 svn:log V 29 mdoc: minor Bl improvements. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-02T11:07:19.363991Z K 7 svn:log V 214 Install libcxxrt's C++ ABI and unwind headers. This is done in libc++'s Makefile, so these headers go into the same destination directory as libc++'s own headers, currently /usr/include/c++/v1. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T11:39:40.660340Z K 7 svn:log V 61 MFC r236312: Clarify that the v_lockf is advisory lock list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T11:44:50.077933Z K 7 svn:log V 43 MFC r236313: Capitalize start of sentence. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T12:22:20.639911Z K 7 svn:log V 61 MFC r236312: Clarify that the v_lockf is advisory lock list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T12:26:14.003245Z K 7 svn:log V 43 MFC r236313: Capitalize start of sentence. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-02T13:04:50.936609Z K 7 svn:log V 359 Replace binuptime() with getbinuptime() because it's suitable for the purpose and it's cheaper. Update the relative comment on precision error during callwheel scan as well. Move the exit condition for the wheel scan before the increment of the bucket. Before this change, it may happen that the last slot of the wheel is not examined. Pointed out by: mav END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-02T13:13:38.630711Z K 7 svn:log V 47 Remove an unused parameter. MFC after: 3 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-02T15:13:28.760597Z K 7 svn:log V 416 MFC: 228545,229572 Modify pw_copy: - if pw is NULL and oldpw is not NULL then the oldpw is deleted - if pw->pw_name != oldpw->pw_name but pw->pw_uid == oldpw->pw_uid then it renames the user add new gr_* functions so now gr_util API is similar to pw_util API, this allow to manipulate groups in a safe way. Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwd Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-02T15:14:12.717829Z K 7 svn:log V 416 MFC: 228545,229572 Modify pw_copy: - if pw is NULL and oldpw is not NULL then the oldpw is deleted - if pw->pw_name != oldpw->pw_name but pw->pw_uid == oldpw->pw_uid then it renames the user add new gr_* functions so now gr_util API is similar to pw_util API, this allow to manipulate groups in a safe way. Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwd Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-02T16:16:03.632332Z K 7 svn:log V 171 RFC: 235276 - Print package name in case an empty pkgdep line is found. PR: bin/164378 Submitted by: Yuri and many others Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-02T16:16:45.855614Z K 7 svn:log V 171 RFC: 235276 - Print package name in case an empty pkgdep line is found. PR: bin/164378 Submitted by: Yuri and many others Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-02T16:17:25.870405Z K 7 svn:log V 171 RFC: 235276 - Print package name in case an empty pkgdep line is found. PR: bin/164378 Submitted by: Yuri and many others Approved by: des (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T18:10:16.631434Z K 7 svn:log V 260 Use plain store for atomic_store_rel on x86, instead of implicitly locked xchg instruction. IA32 memory model guarantees that store has release semantic, since stores cannot pass loads or stores. Reviewed by: bde, jhb Tested by: pho MFC after: 2 weeks END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-06-02T18:13:53.982952Z K 7 svn:log V 125 MFC 236330: Fix French Canadian console keyboard layout Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-06-02T18:22:38.221757Z K 7 svn:log V 117 MFC 236331 Fix detecting available zpool names. Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:24:43.777156Z K 7 svn:log V 80 MFC r235129: zfsboottest.sh: gracefully handle default value of bootfs property END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:26:05.085020Z K 7 svn:log V 85 MFC r235130: zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:27:14.386778Z K 7 svn:log V 80 MFC r235129: zfsboottest.sh: gracefully handle default value of bootfs property END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-06-02T18:28:34.849779Z K 7 svn:log V 220 MFC 236333,236336 Let pkg_add use the ENV variable PACKAGESUFFIX. This can be used to override the default .tbz package extension to .txz .tgz or .tar Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:29:16.616650Z K 7 svn:log V 85 MFC r235130: zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:36:29.875451Z K 7 svn:log V 84 MFC r235391: i386 bootinfo: re-arrange EFI fields for natural alignment and packing END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T18:44:40.270499Z K 7 svn:log V 133 Update the print mask for decoding b_flags. Add print masks for b_vflags and b_xflags_t and print them as well. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:55:25.991577Z K 7 svn:log V 72 MFC r235478: zpool_do_import: use /dev instead of /dev/dsk as a default END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:56:41.831669Z K 7 svn:log V 83 MFC r235479: zpool_find_import_impl: another /dev/dsk -> /dev fix PR: bin/155104 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T18:57:13.477900Z K 7 svn:log V 505 MFC: r236061 - When creating the DMA tag for user data, don't ask for more segments than required for handling MAXPHYS and report the resulting maximum I/O size to CAM instead of implicitly limiting it to DFLTPHYS. - Move the variables of sym_action2() out of nested scope as required by style(9) and remove extraneous curly braces. - Replace a magic value for PCIR_COMMAND with the appropriate macro. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Tested with a HBA donated by wilko. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T18:57:16.739307Z K 7 svn:log V 505 MFC: r236061 - When creating the DMA tag for user data, don't ask for more segments than required for handling MAXPHYS and report the resulting maximum I/O size to CAM instead of implicitly limiting it to DFLTPHYS. - Move the variables of sym_action2() out of nested scope as required by style(9) and remove extraneous curly braces. - Replace a magic value for PCIR_COMMAND with the appropriate macro. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Tested with a HBA donated by wilko. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T18:59:18.752292Z K 7 svn:log V 76 MFC r235478: zpool_do_imp_import: use /dev instead of /dev/dsk as a default END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T19:01:47.052324Z K 7 svn:log V 84 MFC r235479: zpool_find_import_impl: another /dev//dsk -> /dev fix PR: bin/155104 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:04:21.524045Z K 7 svn:log V 58 Revert changes accidentally committed as part of r236468. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:06:01.004561Z K 7 svn:log V 45 MFC: r236063 Remove extraneous empty lines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:06:04.885350Z K 7 svn:log V 45 MFC: r236063 Remove extraneous empty lines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:08:47.014331Z K 7 svn:log V 77 MFC: r236069, r236073 Make the VIA workaround actually do its intended job. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:08:48.378636Z K 7 svn:log V 77 MFC: r236069, r236073 Make the VIA workaround actually do its intended job. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:10:00.774009Z K 7 svn:log V 75 MFC: r236070 Consistently use USB_PAGE_SIZE. Currently, this is cosmetic. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:10:02.347423Z K 7 svn:log V 75 MFC: r236070 Consistently use USB_PAGE_SIZE. Currently, this is cosmetic. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:11:44.707405Z K 7 svn:log V 376 MFC: r236156 - Fix some typos in mmc_acquire_bus() and mmc_send_csd(). - Fix some math errors in mmc_decode_csd_sd(). - Fix incorrect arguments to mmc_send_app_op_cond() in mmc_go_discovery(). - Add reporting of CSD for debug purposes. - Add detection (and skipping) of password-locked cards. - Add setting of block length on card if necessary. Submitted by: Patrick Kelsey END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:11:47.692089Z K 7 svn:log V 376 MFC: r236156 - Fix some typos in mmc_acquire_bus() and mmc_send_csd(). - Fix some math errors in mmc_decode_csd_sd(). - Fix incorrect arguments to mmc_send_app_op_cond() in mmc_go_discovery(). - Add reporting of CSD for debug purposes. - Add detection (and skipping) of password-locked cards. - Add setting of block length on card if necessary. Submitted by: Patrick Kelsey END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T19:13:56.944530Z K 7 svn:log V 68 MFC r235829: vm_pager_object_lookup: small performance optimization END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:15:21.691369Z K 7 svn:log V 216 MFC: r236328 Try to finally get the point in time at which bge_add_sysctls() is called right; it needs to be called before bge_can_use_msi() but in turn requires bge_flags to be properly set. Submitted by: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:15:22.873150Z K 7 svn:log V 216 MFC: r236328 Try to finally get the point in time at which bge_add_sysctls() is called right; it needs to be called before bge_can_use_msi() but in turn requires bge_flags to be properly set. Submitted by: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:16:09.410711Z K 7 svn:log V 216 MFC: r236328 Try to finally get the point in time at which bge_add_sysctls() is called right; it needs to be called before bge_can_use_msi() but in turn requires bge_flags to be properly set. Submitted by: yongari END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-02T19:21:34.834893Z K 7 svn:log V 68 MFC r235829: vm_pager_object_lookup: small performance optimization END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:30:49.496156Z K 7 svn:log V 151 Add nitems(), a macro for determining the number of elements in a statically-allocated array. Obtained from: OpenBSD (in principle) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-02T19:39:12.839736Z K 7 svn:log V 134 Fix typo [1]. Use commas to separate flag printouts, in style with other parts of function. Submitted by: bf [1] MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T19:41:28.402024Z K 7 svn:log V 47 Take advantage of nitems(). MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T20:00:52.461104Z K 7 svn:log V 66 Remove nitems() now that it lives in since r236486. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-06-02T20:18:34.211825Z K 7 svn:log V 362 MFC r236193: libfetch: Avoid SIGPIPE on network connections. To avoid unexpected process termination from SIGPIPE when writing to a closed network connection, enable SO_NOSIGPIPE on all network connections. The POSIX standard MSG_NOSIGNAL is not used since it requires modifying all send calls to add this flag. This is particularly nasty for SSL connections. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-02T20:47:00.940511Z K 7 svn:log V 82 Add missing prototypes. While at it, sort them alphabetically. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-02T20:53:23.527035Z K 7 svn:log V 78 Don't request data from the IPv6 layer, which is not used. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-02T21:22:26.407674Z K 7 svn:log V 41 Honor sysctl for TTL. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-02T22:14:10.721512Z K 7 svn:log V 101 Isolate the global pv list lock from data and other locks to prevent false sharing within the cache. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-03T00:54:10.706176Z K 7 svn:log V 1753 - Prepend the device description with "AT91" to reflect its nature. [1] - Move DMA tag and map creature to at91_spi_activate() where the other resource allocation also lives. [1] - Flesh out at91_spi_deactivate(). [1] - Work around the "Software Reset must be Written Twice" erratum. - For now, run the bus at the slowest speed possible in order to work around data corruption on transit even seen with 9 MHz on ETHERNUT5 (15 MHz maximum) and AT45DB321D (20 MHz maximum). This also serves as a poor man's work-around for the "NPCSx rises if no data data is to be transmitted" erratum of RM9200. Being able to use the appropriate bus speed would require: 1) Adding a proper work-around for the RM9200 bug consisting of taking the chip select control away from the SPI peripheral and managing it directly as a GPIO line. 2) Taking the maximum frequencies supported by the actual board and the slave devices into account and basing the whole thing on the master clock instead of hardcoding a divisor as previously done. 3) Fixing the above mentioned data corruption. - KASSERT that TX/RX command and data sizes match on transfers. - Introduce a mutex ensuring that only one child device is running a SPI transfer at a time. [1] - Add preliminary, #ifdef'ed out support for setting the chip select. [1] - Use the RX instead of the TX commando size when setting up the RX side of a transfer. - For controllers having SPI_SR_TXEMPTY, i.e. !RM9200, also wait for the completion of the TX part of transfers before stopping the whole thing again. - Use DEVMETHOD_END. [1] - Use NULL instead of 0 for pointers. [1, partially] Additional testing by: Ian Lepore Submitted by: Ian Lepore [1] MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-03T01:00:55.023582Z K 7 svn:log V 1173 - Loop up to 3 seconds when waiting for a device to get ready. [1] - Make the device description match the driver name. - Identify the chip variant based on the JEDEC and use that information to use the proper values for page count, offset and size instead of hardcoding a AT45DB642x with 2^N byte page support disabled. - Take advantage of bioq_takefirst(). - Given that CONTINUOUS_ARRAY_READ_HF (0x0b) command isn't even mentioned in Atmel's DataFlash Application Note, as suggested by the previous comment may not work on all all devices and actually doesn't properly on at least AT45DB321D (JEDEC 0x1f2701), rewrite at45d_task() to use CONTINUOUS_ARRAY_READ (0xe8) for reading instead. This rewrite is laid out in a way allowing to easily add support for BIO_DELETE later on. - Add support for reads and writes not starting on a page boundary. - Verify the flash content after writing. - Let at45d_task() gracefully handle errors on SPI transfers and the device not becoming ready afterwards again. [1] - Use DEVMETHOD_END. [1] - Use NULL instead of 0 for pointers. [1] Additional testing by: Ian Lepore Submitted by: Ian Lepore [1] MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-03T01:07:55.152320Z K 7 svn:log V 159 - Now that the DataFlash related drivers work properly (at91_spi(4) since r236495 and at45d(4) since r236496), enable them by default. - Sort BOOTP options. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-03T05:36:25.006688Z K 7 svn:log V 30 Remove stray repeated line... END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-03T05:47:42.668235Z K 7 svn:log V 18 Fix !INET6 build. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-03T06:57:47.722443Z K 7 svn:log V 45 mdoc: add missing width argument to Bl -tag. END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-06-03T07:36:59.284662Z K 7 svn:log V 566 Plug reference leak. Interface routes are refcounted as packets move through the stack, and there's garbage collection tied to it so that route changes can safely propagate while traffic is flowing. In our setup, we weren't changing or deleting any routes, but the refcounting logic in ip6_input() was wrong and caused a reference leak on every inbound V6 packet. This eventually caused a 32bit overflow, and the resulting 0 value caused the garbage collection to run on the active route. That then snowballed into the panic. Reviewed by: scottl MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-03T07:45:42.705627Z K 7 svn:log V 25 Minor mdoc improvements. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-03T08:01:12.631140Z K 7 svn:log V 148 free wdog_kern_pat calls in post-panic paths from under SW_WATCHDOG Those calls are useful with hardware watchdog drivers too. MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-06-03T08:30:00.145511Z K 7 svn:log V 261 cpucontrol: use CPUCTL_UPDATE ioctl on correct file descriptor I guess that means that microcode update has never worked for AMD CPUs. Please also note that only older AMD CPUs and micrcode file format are supported anyway (pre 10h family). MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-03T09:37:27.161173Z K 7 svn:log V 475 MFC r236145, r236146: MFC r236145 [1]: Import illumos changeset 13564:cf89c0c60496 1946 incorrect formatting when listing output of multiple pools with zpool iostat -v MFC r236146 [2]: Import illumos changeset 13605:b5c2b5db80d6 (partial) 763 FMD msg URLs should refer to something visible Replace sun.com URL's with illumos.org References: https://www.illumos.org/issues/1946 [1] https://www.illumos.org/issues/763 [2] Obtained from: illumos (issue #1946 [1], #763 [2]) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-03T09:37:47.548707Z K 7 svn:log V 475 MFC r236145, r236146: MFC r236145 [1]: Import illumos changeset 13564:cf89c0c60496 1946 incorrect formatting when listing output of multiple pools with zpool iostat -v MFC r236146 [2]: Import illumos changeset 13605:b5c2b5db80d6 (partial) 763 FMD msg URLs should refer to something visible Replace sun.com URL's with illumos.org References: https://www.illumos.org/issues/1946 [1] https://www.illumos.org/issues/763 [2] Obtained from: illumos (issue #1946 [1], #763 [2]) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-03T10:50:46.527954Z K 7 svn:log V 58 Simplify the code by using snprlcat(). MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-03T11:09:51.799274Z K 7 svn:log V 25 Minor mdoc improvements. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-03T11:29:48.843899Z K 7 svn:log V 22 Minor spelling fixes. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-06-03T11:31:45.077897Z K 7 svn:log V 362 MFC r236193: libfetch: Avoid SIGPIPE on network connections. To avoid unexpected process termination from SIGPIPE when writing to a closed network connection, enable SO_NOSIGPIPE on all network connections. The POSIX standard MSG_NOSIGNAL is not used since it requires modifying all send calls to add this flag. This is particularly nasty for SSL connections. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-03T11:54:26.075787Z K 7 svn:log V 121 MFC: r233635 Allow multiple inclusion of trap.h. This has always been broken, but until recently never caused problems. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-03T11:57:05.843932Z K 7 svn:log V 347 In pf_map_addr(): - Fix "rpool->cur" update in such way, that pointer never gets a NULL value, otherwise concurrent threads may try to deref NULL. - Add a large comment explaining problems with round-robin, why most cases work, and why complicated would not. - Make some local variables more local to the case blocks, where they are used. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-03T12:11:03.941371Z K 7 svn:log V 275 Good bye PF_LOCK(), or "the pf Giant" how I have called you. I hope, we can sustain without you. Bye! Details: - Remove PF_LOCK from forwarding paths. - Change PF_LOCK to PF_RULES_WLOCK to protect rest of data structures, that wasn't protected with separate locks before. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-06-03T12:19:16.010934Z K 7 svn:log V 16 Fix make depend END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-03T14:54:50.506375Z K 7 svn:log V 71 Use an existing function to get the source address. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-03T16:06:56.031092Z K 7 svn:log V 72 Count and export the number of prefaulting happen. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-03T16:19:37.079921Z K 7 svn:log V 55 Add a knob to disable vn_io_fault. MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-03T17:48:04.957837Z K 7 svn:log V 55 MFC: r233666 Fix build after changes to trap headers. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-06-03T17:51:53.478162Z K 7 svn:log V 77 MFC: let netmap build as a module (but do not connect to the main build yet) END K 10 svn:author V 3 rea K 8 svn:date V 27 2012-06-03T18:00:38.933482Z K 7 svn:log V 736 OpenSSH: allow VersionAddendum to be used again Prior to this, setting VersionAddendum will be a no-op: one will always have BASE_VERSION + " " + VERSION_HPN for VersionAddendum set in the config and a bare BASE_VERSION + VERSION_HPN when there is no VersionAddendum is set. HPN patch requires both parties to have the "hpn" inside their advertized versions, so we add VERSION_HPN to the VERSION_BASE if HPN is enabled and omitting it if HPN is disabled. VersionAddendum now uses the following logics: * unset (default value): append " " and VERSION_ADDENDUM; * VersionAddendum is set and isn't empty: append " " and VersionAddendum; * VersionAddendum is set and empty: don't append anything. Approved by: des Reviewed by: bz END K 10 svn:author V 3 rea K 8 svn:date V 27 2012-06-03T18:05:19.368726Z K 7 svn:log V 736 OpenSSH: allow VersionAddendum to be used again Prior to this, setting VersionAddendum will be a no-op: one will always have BASE_VERSION + " " + VERSION_HPN for VersionAddendum set in the config and a bare BASE_VERSION + VERSION_HPN when there is no VersionAddendum is set. HPN patch requires both parties to have the "hpn" inside their advertized versions, so we add VERSION_HPN to the VERSION_BASE if HPN is enabled and omitting it if HPN is disabled. VersionAddendum now uses the following logics: * unset (default value): append " " and VERSION_ADDENDUM; * VersionAddendum is set and isn't empty: append " " and VersionAddendum; * VersionAddendum is set and empty: don't append anything. Approved by: des Reviewed by: bz END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-03T18:14:57.984574Z K 7 svn:log V 52 Remove code which is not needed. MFC after: 3 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-06-03T18:16:17.355440Z K 7 svn:log V 454 MFC: 234851, 235059 Add two special directives to libmap.conf: include : Parse the contents of file before continuing with the current file. includedir : Parse the contents of every file in dir that ends in .conf before continuing with the current file. Any file or directory encountered while processing include or includedir directives will be parsed exactly once, even if it is encountered multiple times. Approved by: des (mentor) END