ƒ­8181209 198 173 180 230 164 265 220 111 167 116 440 109 298 155 147 176 199 326 183 589 343 238 259 275 275 712 310 358 138 148 271 210 271 163 155 136 140 130 141 146 151 232 140 185 151 185 750 152 260 179 129 298 163 419 382 158 1353 233 369 285 190 339 388 650 139 121 160 186 188 154 273 232 419 294 440 230 124 556 400 126 144 141 125 252 109 154 158 181 456 144 688 104 311 243 253 1054 949 1572 196 116 116 196 185 185 142 159 186 317 487 173 173 176 331 209 185 264 134 156 169 115 301 286 205 143 382 679 1640 417 450 112 279 245 207 116 1015 117 370 330 108 171 108 229 1032 701 632 248 248 132 129 217 174 133 133 184 236 176 161 141 182 222 185 124 118 115 153 186 547 144 209 117 385 162 129 549 137 137 201 144 119 172 172 132 206 123 185 396 739 301 148 119 858 164 177 180 302 126 175 153 220 K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T20:45:28.295327Z K 7 svn:log V 81 Minor tweaks to names and comments now that I understand what's going on better. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T20:49:01.164410Z K 7 svn:log V 88 Report what kind of chip only under bootverbose since that's now exported via a sysctl. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T20:50:13.928737Z K 7 svn:log V 137 Add an altnerative Siemens SpeedStream ID. This one is for a Prism 3 card. I got a pair of these at a garage sale for US$1.00 today... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-02T20:50:45.505158Z K 7 svn:log V 69 Merge rev 1.196: fix a missing unlock to an error path in XPT_DEBUG. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-02T20:53:59.229832Z K 7 svn:log V 168 Rename mac_partition_enabled to partition_enabled to synchronize with other policies that similarly now avoid the additional mac_ prefix on variables. MFC after: soon END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-02T20:54:10.357822Z K 7 svn:log V 124 Merge rev 1.197: Check to see if the device supports querying for its serial number before actually trying to query for it. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-02T21:01:10.360835Z K 7 svn:log V 16 Merge rev 1.198 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-02T21:24:33.312480Z K 7 svn:log V 72 Merge rev 1.192: fix a missing mutex unlock in the cam_high_power case. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-02T22:30:51.015290Z K 7 svn:log V 20 Minor style tweaks. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-02T22:35:39.349664Z K 7 svn:log V 343 Modify MAC policy function names and local variables in a manner similar to those in r172955, only don't rename any externally accessible symbols. This moves the policy modules in stable/7 to being closer to those in head without disrupting the KBI. While here, also synchronize some amount of white space. Obtained from: TrustedBSD Project END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T22:53:43.449005Z K 7 svn:log V 17 Minor style nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T23:29:35.852734Z K 7 svn:log V 205 Add entry for Prism-3 based Siemens SpeedStream card. It has identical packaging and model numbers, but has had the Prism-II chips replaced by Prism-3. The wi driver was just updated with the new entry. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-02T23:41:10.446626Z K 7 svn:log V 63 Bumpd date Minor word smithing on the need for newer firmware. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-03T01:51:30.608724Z K 7 svn:log V 52 Add blx as a branch instruction. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-03T01:53:14.266822Z K 7 svn:log V 81 Handle ldr pc, [reg] in branch_taken(). Obtained from: NetBSD MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-03T03:36:12.242282Z K 7 svn:log V 102 Move the grekey to its own file, ifconfig.c does not have interface specific code. Submitted by: sam END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-03T03:46:58.093686Z K 7 svn:log V 229 MFC r180220 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-03T03:50:39.775872Z K 7 svn:log V 87 MFC r180249 port % count will never be greater than LAGG_MAX_PORTS so nuke the test. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-03T05:00:46.679093Z K 7 svn:log V 492 MFC r180140 Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. MFC r180220 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-03T05:47:08.467714Z K 7 svn:log V 246 MFC r172825, r173804, r174278, r174721, r175005, r177274, r177289, r180249 Sync to HEAD - Use ETHER_BPF_MTAP - Support monitor mode - Pass any unmatched slowprotocols frames up the stack - Switch the LACP state machine over to its own mutex END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-03T07:10:25.438292Z K 7 svn:log V 145 Kernel config for the Linksys NSLU2. This is just a basic configuration, with no support for the LED, buttons, realtime clock or flash support. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-03T09:21:47.857406Z K 7 svn:log V 164 calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-03T09:25:12.879791Z K 7 svn:log V 180 MFC of r181230 calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-03T09:26:13.346212Z K 7 svn:log V 180 MFC of r181230 calendar.holiday: Buinea-bissau should be Guinea-Bissau PR: conf/126199 Submitted by: comet--berkeley (aka Pablo Picasso) Approved by: bde@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-03T10:32:17.774297Z K 7 svn:log V 620 Disconnect drivers that haven't been ported to MPSAFE TTY yet. As clearly mentioned on the mailing lists, there is a list of drivers that have not been ported to the MPSAFE TTY layer yet. Remove them from the kernel configuration files. This means people can now still use these drivers if they explicitly put them in their kernel configuration file, which is good. People should keep in mind that after August 10, these drivers will not work anymore. Even though owners of the hardware are capable of getting these drivers working again, I will see if I can at least get them to a compilable state (if time permits). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-03T12:18:17.861208Z K 7 svn:log V 213 When r177253 and r177255 were merged from head to stable/7, the addition of a ';' after a SYSINIT declaration was missed in powerpc/machdep.c because the file had moved in head. This commit adds the missing ';'. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-03T13:33:45.294455Z K 7 svn:log V 265 Calling linker_load_dependencies() while holding the module' vnode lock may cause a LOR between kld_sx lock and vnode lock. linker_load_dependencies() drops kld_sx, and another thread may attempt to load the same kld. Reported and tested by: pjd MFC after: 1 week END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-03T14:11:06.478119Z K 7 svn:log V 42 Document a few sysctls. Approved by: imp END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T14:11:15.751060Z K 7 svn:log V 53 Merge rev 1.37: Further fixes to locking in scsi_ses END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-03T14:14:43.512186Z K 7 svn:log V 174 DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-03T14:26:15.754320Z K 7 svn:log V 113 Fill in a few sysctl descriptions. Reviewed by: alc, Matt Dillon Approved by: alc END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-03T14:27:06.542844Z K 7 svn:log V 174 DDB scripting, textdumps, output capture, etc, all will appear in FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T14:28:26.415927Z K 7 svn:log V 68 Merge rev 1.41, 1.18: Implement taskqueue_block, taskqueue_unblock. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T14:58:18.664152Z K 7 svn:log V 60 Merge rev 1.81, 1.23: Add locking for AMR SCSI passthrough. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:01:02.354314Z K 7 svn:log V 41 Merge rev 1.82: Fix printf format errors END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:05:06.677000Z K 7 svn:log V 45 Merge rev 1.39: Fix typo hidden by AMR_DEBUG END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:07:40.051653Z K 7 svn:log V 35 Merge rev 1.24: style.9 compliance END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:10:55.231829Z K 7 svn:log V 46 Merge rev 1.25: Refactor code and fix locking END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:14:15.788135Z K 7 svn:log V 51 Merge rev 1.83, 1.26: Provide unique malloc types. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:17:14.843882Z K 7 svn:log V 56 Merge rev 1.84, 1.27, 1.40, 1.34: Rewrite DMA codepaths END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:20:03.808937Z K 7 svn:log V 136 Merge rev 1.85, 1.11, 1.35: Improve error handling, eliminate memory corruption when using linux MegaRAID apps, eliminate OOM deadlock. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:22:45.598891Z K 7 svn:log V 45 Merge rev 1.12: Remove an errant definition. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:25:22.083929Z K 7 svn:log V 90 Merge rev 180633: Flush the PCI bus while spin-waiting for an update to come over the bus END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-03T15:34:21.112383Z K 7 svn:log V 56 Merge rev 1.11: remove AMR_SCSI_PASSTHROUGH conditional END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-03T15:35:32.711636Z K 7 svn:log V 90 Add "add pc, whatever" as a branch instruction, we use it in memcpy(). MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-03T15:44:56.416620Z K 7 svn:log V 653 Remove broken code to replace st_mode value with ACCESSPERMS when lstat(2) is called on symlinks -- this code appears never to have worked. The PR this addresses suggests that the intended original behavior is the right one, but as bde points out in the PR comments, we do actually support storing a mode on symlinks, so returning it seems reasonable. This is consistent with Mac OS X, which despite documentation to the contrary does return the mode set on a symlink, but not some other platforms. The Single Unix Spec requires only that the returned bits be "meaningful", which seems at best unhelpful as advice goes. PR: 25018 MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-03T16:07:25.844045Z K 7 svn:log V 60 MFC r180347: Add #include for the strtoimax(). END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-08-03T17:19:18.169217Z K 7 svn:log V 165 MFC r179715: When the file-system containing the audit log file is running low on disk space a warning is printed. Make this warning a bit more informative. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-03T17:39:54.531703Z K 7 svn:log V 87 Minor improvements: - Improve the order of some tests. - Fix style. Submitted by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-03T17:49:05.402625Z K 7 svn:log V 37 Fix some style bogosity from fdlibm. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-03T18:59:56.718582Z K 7 svn:log V 201 MFC r175798: Update this manual page to describe the extattr_list_file() and the extattr_list_fd() functions. PR: 108142 Submitted by: Richard Dawe Reviewed by: kientzle END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-08-03T19:01:07.967993Z K 7 svn:log V 68 - back out my last commit as it seems to be wrong. Spotted by: das END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-03T20:15:22.556907Z K 7 svn:log V 325 Restored from previous backing out (because that is OpenBSD way, so assumed to be reviewd by them): Stir directly from the kernel PRNG, without taking less random pid & time bytes too (when it is possible). The difference with OpenBSD code is that they have KERN_ARND sysctl for that task, while we need to read /dev/random END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-03T20:36:40.735938Z K 7 svn:log V 286 ctime() expects a time_t, but qup->dqblk.dqb_btime is an int32_t, so for big endian platforms where time_t is 64bits (ie armeb and sparc64), it will be a problem. Use a temporary time_t to work around this. Submitted by: Matthew Luckie MFC after: 3 days END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-08-03T21:07:19.822021Z K 7 svn:log V 62 Kill a dead variable PR: 126223 Submitted by: Mateusz Guzik END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-03T21:40:34.888361Z K 7 svn:log V 1255 Merge r180042 from head to stable/7: Introduce locking around use of ifindex_table, whose use was previously unsynchronized. While races were extremely rare, we've now had a couple of reports of panics in environments involving large numbers of IPSEC tunnels being added very quickly on an active system. - Add accessor functions ifnet_byindex(), ifaddr_byindex(), ifdev_byindex() to replace existing accessor macros. These functions now acquire the ifnet lock before derefencing the table. - Add IFNET_WLOCK_ASSERT(). - Add static accessor functions ifnet_setbyindex(), ifdev_setbyindex(), which set values in the table either asserting of acquiring the ifnet lock. - Use accessor functions throughout if.c to modify and read ifindex_table. - Rework ifnet attach/detach to lock around ifindex_table modification. Note that these changes simply close races around use of ifindex_table, and make no attempt to solve the probem of disappearing ifnets. Further refinement of this work, including with respect to ifindex_table resizing, is still required. In a future change, the ifnet lock should be converted from a mutex to an rwlock in order to reduce contention. Reviewed and tested by: brooks END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-03T21:56:58.058859Z K 7 svn:log V 136 Add EAGAIN to the ERRORS list, as found in kern_jail.c. PR: 125253 Submitted by: Mateusz Guzik (original version) END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-08-03T22:47:23.215740Z K 7 svn:log V 276 Restructure and use different variables in the tests that involve environ[0] to be more obvious that environ is not NULL before environ[0] is tested. Although I believe the previous code worked, this change improves code maintainability. Reviewed by: ache MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-08-04T00:43:49.839886Z K 7 svn:log V 188 Make quota(1) to compile with WARNS=6: - ANSI'fy showrawquotas(). - Shut up GCC by initializing bgrace and igrace. The situation that caused the GCC warning can never happen though. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T01:13:53.617937Z K 7 svn:log V 94 taskqueue_block(9)/taskqueue_unblock(9) was merged, remove conditional compilation directive. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T01:25:48.993177Z K 7 svn:log V 241 Mark functions as __dead2 in order to help the LLVM static checker understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer". END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T02:05:09.891061Z K 7 svn:log V 291 The number of bits reserved for MSS in RealTek controllers is 11bits. This limits the maximum interface MTU size in TSO case as upper stack should not generate TCP segments with MSS greater than the limit. Armed with this information, disable TSO if interface MTU is greater than the limit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T02:34:40.763332Z K 7 svn:log V 553 Don't enable TSO by default. Users of RTL8169/8110 reported watchdog timeout issues and the root cause seems to stem from silicon bug of controller. Personally I couldn't reproduce it on RTL8169 controller but it seems it's dependent on usage pattern. For newer PCIe based controllers I have no TSO complaints but turning off TSO would be more safe. Users who are sure that their controller works with TSO can still reenable the TSO with ifconfig(8). Reported by: Oliver Lehmann (lehmann at ans-netz dot de), Eugene Butusov (ebutusov at gmail dot com) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T03:45:07.467340Z K 7 svn:log V 43 Use ANSI C declarations for all functions. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T03:47:29.163508Z K 7 svn:log V 25 Remove register keyword. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T03:51:20.432529Z K 7 svn:log V 64 Remove return keyword at the end of functions that return void. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-08-04T04:00:10.022104Z K 7 svn:log V 90 Rearrange conditional compilation directives. This makes syntax highlighting work in vim. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-04T05:38:02.178282Z K 7 svn:log V 93 Merge rev 1.47: Fix probe and attach so that the raid personality gets properly initialized. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-08-04T05:52:58.486263Z K 7 svn:log V 59 Merge rev 1.48: Don't force a reset at driver attach time. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T06:39:52.543799Z K 7 svn:log V 175 Setting a variable to the same value twice doesn't actually make it more likely to have the right value. Remove superfluous assignments. Found by: LLVM/Clang Static Checker END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T06:48:54.902168Z K 7 svn:log V 134 Don't close file descriptor number . Found by: LLVM/Clang Static Checker MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T06:53:13.094911Z K 7 svn:log V 321 Set "max" to a reasonable value if BLOCKSIZE has a bogus unit. Prior to this commit, "env BLOCKSIZE=4X df" prints not only "4X: unknown blocksize" as expected, but sometimes also "maximum blocksize is 1G" and "minimum blocksize is 512" depending on what happened to be on the stack. Found by: LLVM/Clang Static Checker END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T06:55:42.685711Z K 7 svn:log V 196 Initialize "nconv" to a reasonable value in all code paths. Prior to this commit, sprintf("%s", "") could fail depending on what happened to be on the stack. Found by: LLVM/Clang Static Checker END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T07:01:42.885036Z K 7 svn:log V 342 Dereferencing uninitialized pointers considered harmful. Prior to this commit, calling i386_parsedev(..., X, ...) where X is "ad", "bge", or any other disk or network device name without a unit number, would result in dereferencing whatever happened to be on the stack where the variable "cp" is stored. Found by: LLVM/Clang Static Checker END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-08-04T07:36:53.102838Z K 7 svn:log V 132 Mark functions as __dead2 in order to help the LLVM static checker understand which code paths aren't possible. Reported by: edwin END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-08-04T08:04:09.878292Z K 7 svn:log V 32 Make pmap_kenter_attr() static. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-04T08:50:16.497833Z K 7 svn:log V 459 Merge r179781 from head to stable/7: The TrustedBSD MAC Framework named struct ipq instances 'ipq', which is the same as the global variable defined in ip_input.c. Instead, adopt the name 'q' as found in about 1/2 of uses in ip_input.c, preventing a collision on the name. This is non-harmful, but means that search and replace on the global works less well (as in the virtualization work), as well as indexing tools. Reported by: julian END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-04T12:22:33.941560Z K 7 svn:log V 307 Lower the priority of the sleep in the syscons for "waitvt" wchan to PZERO + 1. The sleeping process at the priority <= PZERO is counted as blocked, or, as comment states, 'disk wait'. PZERO + 1 works as well, and does not cause user confusion. Reported by: sam MFC after: 1 week END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T12:35:13.008148Z K 7 svn:log V 31 Open vendor-sys/pf for commits END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T13:30:44.004400Z K 7 svn:log V 49 Flatten out dist and all "live" tag directories. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T13:38:09.564788Z K 7 svn:log V 46 Do not expand any keywords in the vendor tree END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T13:56:36.950384Z K 7 svn:log V 30 Record initial merge histroy. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T14:08:55.165705Z K 7 svn:log V 156 Import pf.c, rev 1.559 by markus: allow state reuse for tcp if both sides are in FIN_WAIT_2 and a new SYN arrives; ok dhartmei, henning, feedback aaron END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T14:16:00.214878Z K 7 svn:log V 14 Tag for 4.1p1 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-04T14:37:32.747842Z K 7 svn:log V 59 Remove unneeded #include (?) MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-04T14:38:38.372243Z K 7 svn:log V 63 We need -I$S to compile the elf trampoline. MFC after: 3 days END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T14:42:09.102610Z K 7 svn:log V 86 Merge state reuse for tcp. PR: kern/125261 Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-08-04T14:47:49.258884Z K 7 svn:log V 363 Fix ARM nocache allocator: - let the loop iterate every page (as intended), and not some multiplies (which led to a fake exhaustion of the ARM_NOCACHE_KVA_SIZE) - eliminate using MIN(): it compared number of pages vs. address (ARM_TP_ADDRESS), which was bogus Reviewed by: cognet, imp Obtained from: Piotr Ziecik kosmo ! semihalf dot com MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-08-04T16:13:42.148414Z K 7 svn:log V 49 Add coretemp(4) and k8temp(4). MFC after: 1 day END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T19:19:18.000329Z K 7 svn:log V 595 Add locking to snc(4) so it is MPSAFE: - Add a mutex to the softc to protect the softc and device hardware. - Use a private timer routine to drive the transmit watchdog timer instead of using if_watchdog/if_timer. - If if_alloc() fails during attach, fail the attach with an error rather than panic'ing. - Clear RUNNING and OACTIVE only in sncstop(). - Don't mess with IFF_UP. - Don't leak 'struct ifnet' on detach. - Setup interrupt handler after ether_ifattach(). - Call ether_ifdetach() rather than if_detach() in the pccard detach routine. Tested by: no one despite repeated requests END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T19:45:15.782506Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T19:49:05.365539Z K 7 svn:log V 218 - Close a race with concurrent open's of a pts master device which could result in leaked tty structures. - When constructing a new pty, allocate it's tty structure before adding it to the list. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T19:51:23.878251Z K 7 svn:log V 150 Close two different races with concurrent opens of pty master devices that could result in leaked ttys or a leaked pty + tty pair. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-08-04T20:29:39.357629Z K 7 svn:log V 157 Do not modify td->td_intr_nesting_level, it is now done in the MI code. This fixes the cpu time being falsely reported as interrupt time. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T20:46:15.991828Z K 7 svn:log V 961 Add locking to the various iicbus(4) bridge drivers: - Just grab Giant in the ixp425_iic(4) driver since this driver uses a shared address/data register window pair to access the actual I2C registers. None of the other ixp425 drivers lock access to these shared address/data registers yet and that would need to be done before this could use any meaningful locking. - Add locking to the interrupt handler and 'iicbus_reset' methods of the at91_twi(4) driver. - Add locking to the pcf(4) driver. Other pcf(4) fixes include: - Don't needlessly zero the softc. - Use bus_foo rather than bus_space_foo and remove bus space tag and handle from softc. - The lpbb(4) driver just grabs Giant for now. This will be refined later when ppbus(4) is locked. - As was done with smbus earlier, move the DRIVER_MODULE() lines to match the bus driver (either iicbus or iicbb) to the bridge driver into the bridge drivers. Tested by: sam (arm/ixp425) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:03:06.774635Z K 7 svn:log V 856 Add locking to the core iicbus(4) drivers: - Add an sx lock to the iic(4) driver to serialize open(), close(), read(), and write and to protect sc_addr and sc_count in the softc. - Use cdev->si_drv1 instead of using the minor number of the cdev to lookup the softc via newbus in iic(4). - Store the device_t in the softc to avoid a similar detour via minor numbers in iic(4). - Only add at most one instance of iic(4) and iicsmb(4) to each iicbus(4) instance, and do it in the child driver. - Add a mutex to the iicbus(4) softc to synchronize the request/release bus stuff. - Use __BUS_ACCESSOR() for IICBUS_ACCESSOR() instead of rolling our own. - Add a mutex to the iicsmb(4) softc to protect softc state updated in the interrupt handler. - Remove Giant from all the smbus methods in iicsmb(4) now that all the iicbus(4) backend is locked. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:14:24.072704Z K 7 svn:log V 1478 Lock the consumers of the iicbus(4) infrastructure: - ad7418(4) uses an sx lock instead of a mtx since the iicbus(4) stuff it calls can sleep (request_bus()). Also, I expanded the locking slightly to serialize writes to data stored in the softc. - Similarly, the icee(4) driver now uses an sx lock instead of a mutex. I also removed the pointless OPENED flag and flags field from the softc. - The locking for the ic(4) driver was a bit trickier: - Add a mutex to the softc to protect softc data. - The driver uses malloc'd buffers that are the size of the interface MTU to send and receive packets. Previously, these were allocated every time the interface was brought up and anytime the MTU was changed, with various races that could result in memory leaks. I changed this to be a bit simpler and more like other NIC drivers in that we allocate buffers during attach for the default MTU size and only reallocate them on MTU changes. The reallocation procedure goes to some lengths with various flags to not replace either the the receive or transmit buffers while the driver is busy receiving or transmitting a packet. - Store the device_t of the driver in the softc instead of detours into new-bus using if_dunit from the ifnet and an even more bizarre detour to get the softc instead of using if_softc. - Drop the driver mutex when invoking netisr_dispatch() to pass the packet up to IP. - Use if_printf(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:20:22.824101Z K 7 svn:log V 103 MFC: Fix a few bugs with the _gettemp() routine which implements mkstemp(), mkstemps(), and mkdtemp(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:31:35.672215Z K 7 svn:log V 24 Consolidate merge info. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:50:31.831908Z K 7 svn:log V 24 Consolidate merge info. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-04T21:51:28.678940Z K 7 svn:log V 103 MFC: Fix a few bugs with the _gettemp() routine which implements mkstemp(), mkstemps(), and mkdtemp(). END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-08-04T22:07:06.754041Z K 7 svn:log V 92 MFC: SVN rev 181089 Increase maximum input queue size limit for raw Bluetooth HCI sockets. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-08-04T22:21:44.096438Z K 7 svn:log V 92 MFC: SVN rev 181089 Increase maximum input queue size limit for raw Bluetooth HCI sockets. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-08-04T22:22:17.897767Z K 7 svn:log V 46 Add EPERM to the ERRORS section. PR: 125746 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-04T22:45:27.716349Z K 7 svn:log V 64 Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-04T23:16:07.150495Z K 7 svn:log V 90 Remove a comment about bridging wireless client, the new net80211 vap code supports this. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-04T23:39:30.266962Z K 7 svn:log V 222 MFC of r173169, r175002, r175003: - Never use getenv("HOME") without checking for NULL and non-zero (kevlo) - If we can't open a calendar file, don't guess why. Check the error return and print a useful message (grog) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-05T00:21:21.577309Z K 7 svn:log V 392 MFCs of all fixes to calendar(1) submitted last year: r170447 - Sort events by date. r170447 - Correct long-standing off-by-one error in -W option. r170230 - Fix various bugs in the -A and -B options. r173169 - Never use getenv("HOME") without checking for NULL and non-zero r175002 - If we can't open a calendar file, don't guess why. Check the error return and print a useful message. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-08-05T01:23:23.470187Z K 7 svn:log V 77 MFC SVN rev 181099: Correctly return result in pthread_condattr_getpshared. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-08-05T01:29:51.687293Z K 7 svn:log V 77 MFC SVN rev 181099: Correctly return result in pthread_condattr_getpshared. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-08-05T02:16:54.226024Z K 7 svn:log V 80 MFC r176203 (raj) Eliminate BUS_DMA <-> cache incoherencies in USB transfers. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-08-05T06:37:49.184766Z K 7 svn:log V 236 MFC r181163 Add support for the ASUS P535 PDA PR: kern/126097 Submitted by: Anton Kartashev Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-08-05T07:28:06.090289Z K 7 svn:log V 114 MFC r179762 Document more tmpfs mount options that are already available. PR: 124488 Submitted by: gahr END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-05T08:11:54.166869Z K 7 svn:log V 91 style(9)ify usr.bin/calendar PR: bin/118644 Approved by: bde@ (mentor) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-05T08:16:37.440606Z K 7 svn:log V 169 Move functions which are only locally used into their C files and make them static. usage() in calendar.c event_*() in io.c PR: bin/118644 Approved by: bde@ (mentor) END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-08-05T08:20:58.200333Z K 7 svn:log V 41 - Reflect changes in iic infrastructure. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-08-05T08:38:33.016216Z K 7 svn:log V 63 - Reflect the iicbus infrastructure changes. Approved by: raj END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-05T08:49:49.479174Z K 7 svn:log V 75 MFC of regression tests for usr.bin/calendar. PR: bin/113275, bin/113287 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-05T10:25:55.414783Z K 7 svn:log V 23 Whitespace, prototypes END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-05T10:35:51.417340Z K 7 svn:log V 208 MFC: r180025,180064,180069,180217,180743,180779-180780 Implement support for NFS advisory locking in the kernel including correct semantics for flock(2) style locks. Sponsored by: Isilon Systems PR: 94256 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-05T15:24:07.275492Z K 7 svn:log V 193 ufsmount.h uses "struct\tfoo *bar;", except where it doesn't. quota.h uses "struct foo\t*bar;", except where it doesn't. Try to make them both agree with themselves (though not with eachother) END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2008-08-05T15:36:50.881960Z K 7 svn:log V 110 Add lifetime informations to generated SPD entries when SPDDUMP Approved by: gnn (mentor) MFC after: 4 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-08-05T17:11:20.951791Z K 7 svn:log V 50 Merge revision r175763 Initialize termid.at_type END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T17:39:37.507470Z K 7 svn:log V 289 - Consolidate module version for the pcf module into just pcf.c instead of having duplicate versions in each bus attachment. - Add a DRIVER_MODULE() instance so that the iicbus(4) driver will actually attach to pcf(4) driver instances. - Fix compile of envctrl.c. Pointy hat: jhb (3) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T18:24:41.817741Z K 7 svn:log V 586 If the kernel fails to allocate resources for the initial value of a BAR for a PCI device during the boot-time probe of the parent PCI bus, then zero the BAR and clear the resource list entry for that BAR. This forces the PCI bus driver to request a valid resource range from the parent bridge driver when the device driver tries to allocate the BAR. Similarly, if the initial value of a BAR is a valid range but it is > 4GB and the current OS only has 32-bit longs, then do a full teardown of the initial value of the BAR to force a reallocation. Reviewed by: imp MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T20:02:31.622385Z K 7 svn:log V 1546 If a thread that is swapped out is made runnable, then the setrunnable() routine wakes up proc0 so that proc0 can swap the thread back in. Historically, this has been done by waking up proc0 directly from setrunnable() itself via a wakeup(). When waking up a sleeping thread that was swapped out (the usual case when waking proc0 since only sleeping threads are eligible to be swapped out), this resulted in a bit of recursion (e.g. wakeup() -> setrunnable() -> wakeup()). With sleep queues having separate locks in 6.x and later, this caused a spin lock LOR (sleepq lock -> sched_lock/thread lock -> sleepq lock). An attempt was made to fix this in 7.0 by making the proc0 wakeup use the ithread mechanism for doing the wakeup. However, this required grabbing proc0's thread lock to perform the wakeup. If proc0 was asleep elsewhere in the kernel (e.g. waiting for disk I/O), then this degenerated into the same LOR since the thread lock would be some other sleepq lock. Fix this by deferring the wakeup of the swapper until after the sleepq lock held by the upper layer has been locked. The setrunnable() routine now returns a boolean value to indicate whether or not proc0 needs to be woken up. The end result is that consumers of the sleepq API such as *sleep/wakeup, condition variables, sx locks, and lockmgr, have to wakeup proc0 if they get a non-zero return value from sleepq_abort(), sleepq_broadcast(), or sleepq_signal(). Discussed with: jeff Glanced at by: sam Tested by: Jurgen Weber jurgen - ish com au MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T20:41:46.038771Z K 7 svn:log V 324 Add a script to perform simple analysis of a crash dump (either a full dump or minidump). When the script is run, it generates a text file containing the output of several commands run againt the core dump such as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat. Obtained from: Yahoo! MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T21:04:00.018943Z K 7 svn:log V 357 Remove the second check for a 64-bit BAR value on a 32-bit system in pci_add_map(). First, this condition is already handled earlier in the function. Second, as written the check would never fire as the 'start' value was overwritten with a long value (rman_get_start() returns long) before the comparison was done. Discussed with: imp MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T21:59:20.331368Z K 7 svn:log V 20 Minor style tweaks. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-08-05T22:01:39.885316Z K 7 svn:log V 185 MFC r172995,176935,174267 - Bring in auditing support of coredumps - Merge supporting tweaks which initialized some variables and fixed a proc lock leak in certain error conditions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T22:08:04.688037Z K 7 svn:log V 152 MFC: Fix a check in the SYN cache expansion to accept packets that arrive in the receive window instead of just on the left edge of the receive window. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-05T22:22:47.060589Z K 7 svn:log V 114 MFC: Change incorrect stale cookie detection in syncookie_lookup() that prematurely declared a cookie as expired. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-08-06T03:14:18.715540Z K 7 svn:log V 21 Cleanup for WARNS 6. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-06T07:34:35.728069Z K 7 svn:log V 922 Unify the initial card probe/attach procedure with the kldload procedure. There were some subtle differences before that could lead to a variety of bugs, including resources being lost (in one case forever). pccard_probe_and_attach_card does this now, and includes comments about what's going on and why, since it isn't obvious from the code. Please let me know if I've missed anything... Provide a new function called pccard_select_cfe that allows drivers to select which configuration entry to use. This is needed for some older pre-MFC standard cards with many functions that want to activate all their functions by selecting alternative entries, or to work around broken ones. pccard_select_cfe will migrate into the pccard_if.m interface as its interface stabilizes to keep all the pccard drivers from referencing any symbols in the pccard.ko module directly. Fix a printf to refer to the right function name. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-08-06T07:52:59.607105Z K 7 svn:log V 23 Fix a copy/paste error END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-06T14:02:05.072175Z K 7 svn:log V 277 Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-06T14:47:19.991494Z K 7 svn:log V 237 User may do "mount -o snapshot ...", that causes new FFS mount to be performed with snapshot option, while the mp->mnt_opt is NULL. Protect against NULL pointer dereference. Noted by: Mateusz Guzik MFC after: 3 days END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-06T15:33:00.415248Z K 7 svn:log V 16 Fix 64bt build. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-08-06T15:54:59.538818Z K 7 svn:log V 79 add WPS oui Submitted by: "Chuck Tuffli" MFC after: 3 days END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-06T17:11:12.741995Z K 7 svn:log V 16 Fix ia64 build. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-08-06T18:08:02.432902Z K 7 svn:log V 132 Make atacontrol(8) rebuild work when /usr is not mounted or from /rescue PR: bin/125680 MFC after: 1 month Tested by: Stef Walter END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-08-06T19:44:40.141804Z K 7 svn:log V 936 MFC r153880: Improve memguard a bit: - Provide tunable vm.memguard.desc, so one can specify memory type without changing the code and recompiling the kernel. - Allow to use memguard for kernel modules by providing sysctl vm.memguard.desc, which can be changed to short description of memory type before module is loaded. - Move as much memguard code as possible to memguard.c. - Add sysctl node vm.memguard. and move memguard-specific sysctl there. - Add malloc_desc2type() function for finding memory type based on its short description (ks_shortdesc field). - Memory type can be changed (via vm.memguard.desc sysctl) only if it doesn't exist (will be loaded later) or when no memory is allocated yet. If there is allocated memory for the given memory type, return EBUSY. - Implement two ways of memory types comparsion and make safer/slower the default. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-06T22:22:27.587853Z K 7 svn:log V 608 When the miibus for the AX88x90 or TC5299J cards fails to attach, we would call ed_release_resources() when we should have called ed_detach() to properly undo the effects of prior calls to ed_attach(). This would leave a stray ed interface ifnet alive in the system, which was, well, bad, since we called if_free() on the underlying memory... Fix the ed_detach routine to cope being called in this context now. This should never come up because the miibus is always there. Except for now when it seems to be failing for reasons unknown... That's a different bug that hits at least ed, xl, dc and fxp... END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-07T00:14:56.552956Z K 7 svn:log V 537 Update the units library file. - Merge changes from NetBSD and OpenBSD. - Add the Euro as a primitive unit, add old converted currency and pegged currency (Obtained from Wikipedia) - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged currency and add pegged currency (Obtained from Wikipedia) - Updated the accuracy of a lot of constants (Obtained from Wikipedia) PR: bin/106545 bin/88252 Submitted by: trasz, J Vinopal Approved by: bde@ (mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T03:27:10.653021Z K 7 svn:log V 155 MFC: Tweaks to short cable changes: - SIS_SETBIT already does a read-modify-write. - Set all of the "optimum performance" PHY registers for the 15D parts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T03:52:35.897414Z K 7 svn:log V 155 MFC: Tweaks to short cable changes: - SIS_SETBIT already does a read-modify-write. - Set all of the "optimum performance" PHY registers for the 15D parts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T04:46:24.971931Z K 7 svn:log V 40 Checkpoint cleaning up some merge info. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-08-07T04:56:29.642434Z K 7 svn:log V 37 Introduce pmap_change_attr_locked(). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-07T05:35:01.151043Z K 7 svn:log V 122 - acificfrancexchange -> pacificfrancexchange - Add comments about the pegged currencies. Submitted by: GeJ on #bsdports END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-08-07T07:16:07.238587Z K 7 svn:log V 77 current -> STABLE here, as in all other STABLE branches. Submitted by: joel END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T07:23:53.955359Z K 7 svn:log V 41 MFC: Trim some noise from some #ifdef's. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T07:25:48.659640Z K 7 svn:log V 41 MFC: Trim some noise from some #ifdef's. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-08-07T07:29:26.751762Z K 7 svn:log V 90 Fix ACL preservation, apparently broken in 1.47. Approved by: rwatson MFC after: 3 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-08-07T07:32:40.131541Z K 7 svn:log V 138 Comment out information about Jumbo Frame support, it's not implemented yet. While here, fix a whitespace nit. Discussed with: delphij END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-08-07T08:40:53.677971Z K 7 svn:log V 81 Take anholt's src commit bit for safekeeping per his request. Approved by: core END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-07T09:03:51.723908Z K 7 svn:log V 65 Correct comment typo. MFC after: 1 week (after inpcb rwlocking) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-07T09:06:04.694805Z K 7 svn:log V 45 Minor white space tweaks. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-07T10:26:49.175677Z K 7 svn:log V 90 Record the merge of the r178243, r178247 against the correct merge base. Pointed by: jhb END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-07T11:22:24.338756Z K 7 svn:log V 126 MFC: r180686, r180781 For sun4v ensure there is an opt_global.h with SUN4V defined included, even for the stand-alone build. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-07T12:15:47.682676Z K 7 svn:log V 90 MFC: r180664 - Remove redundant inclusion of opt_global.h. - Use __FBSDID in autoconf.c. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-07T13:06:03.086924Z K 7 svn:log V 32 Unlock vendor/tzdata for edwin. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T13:28:15.735494Z K 7 svn:log V 26 Fix mergeinfo for 178818. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T13:30:31.314652Z K 7 svn:log V 23 Consolidate mergeinfo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T13:35:52.068481Z K 7 svn:log V 61 Remove bizarre merge info where someone merged 7.x into 7.x. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T13:40:15.071791Z K 7 svn:log V 94 Remove a mergeinfo bogon where someone tried to merge a change from stable/7 to stable/6/sys. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-07T14:39:56.511632Z K 7 svn:log V 454 Use cpack() and the gcc extension __imag__ to implement cimag() and conj() instead of using expressions like z * I. The latter is bad for several reasons: 1. It is implemented using arithmetic, which is unnecessary, and can generate floating point exceptions, contrary to the requirements on these functions. 2. gcc implements complex multiplication using a formula that breaks down for infinities, e.g., it gives INFINITY * I == nan + inf I. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-07T14:40:52.121948Z K 7 svn:log V 52 Annotate creal(), cimag(), and conj() with __pure2. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-08-07T14:48:35.335624Z K 7 svn:log V 116 Use humanize_number to report pen-sizes so people don't have to count the digits when trying to install openoffice. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-07T15:07:48.746946Z K 7 svn:log V 25 Implement cproj{,f,l}(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T15:39:15.222230Z K 7 svn:log V 292 - Partial metadata was comitted to say that 179933 was merged, but in fact it wasn't. Fix this by removing the partial metadata. - Consolidate some merge info. This removes local merge info on kern. It should remove it on sys/dev/ata as well, but svn isn't elliding for some reason. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T16:31:10.781772Z K 7 svn:log V 70 Consolidate mergeinfo for sys/modules/bge (but svn didn't ellide it). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T16:43:13.961525Z K 7 svn:log V 37 Consolidate merge info for sys/conf. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-07T17:25:05.925893Z K 7 svn:log V 455 Update SCSI opcodes and ASCs from t10.org. http://www.t10.org/lists/1spc-lst.htm Note opcodes for scanner and communication devices are taken from the previous revision because they are not listed in the files any more. Also, note newly added ASCs are all marked with 'XXX TBD' and take SS_RDEF action for now. Some ASCs need SS_TUR for error recovery or SS_FATAL to prevent further retrials. We should deal with them later. Reviewed by: scottl, ken END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T18:45:04.880180Z K 7 svn:log V 45 MFC: Add support for /etc/sysctl.conf.local. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T18:47:34.508365Z K 7 svn:log V 45 MFC: Add support for /etc/sysctl.conf.local. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2008-08-07T19:32:37.062765Z K 7 svn:log V 105 MFC 180791: Tweak for AMD GEODE USB/EHCI chip to support EHCI PR: usb/120017 Approved by: gnn (mentor) END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-07T20:02:42.729118Z K 7 svn:log V 51 Use arc4random_uniform(3) Obtained from: OpenBSD END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-07T20:05:51.491366Z K 7 svn:log V 26 Use arc4random_uniform(3) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-07T20:06:09.923110Z K 7 svn:log V 79 MFC: r180515 Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-07T20:06:49.919215Z K 7 svn:log V 79 MFC: r180515 Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-07T20:07:30.684546Z K 7 svn:log V 39 Add reference to arc4random_uniform(3) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T20:47:01.902120Z K 7 svn:log V 113 Document the new return values for sleepq_abort(), sleepq_broadcast(), and sleepq_signal(). Prodded by: attilio END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-07T20:51:51.473433Z K 7 svn:log V 31 Add card_if.h and pccarddevs.h END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-07T20:52:54.382933Z K 7 svn:log V 93 Add NEC PC-9802N-J02 (confirmed) and NEC PC-9202N-J02R (speculative) to the list of devices. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-07T20:55:20.538424Z K 7 svn:log V 303 Convert to new style PC Card front end driver. Add support for the NEC PC-9801N-J02 and PC-9801N-J02R. I can't test the former because it requires resources that conflict with my laptop. I can't test the latter because my dog chewed up my -J02R card and it didn't survive well enough for me to test. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-07T21:00:13.493969Z K 7 svn:log V 646 Permit Giant to be passed as the explicit interlock either to msleep/mtx_sleep or the various cv_*wait*() routines. Currently, the "unlock" behavior of PDROP and cv_wait_unlock() with Giant is not permitted as it is will be confusing since Giant is fully unrecursed and unlocked during a thread sleep. This is handy for subsystems which wish to allow unlocked drivers to continue to use Giant such as CAM, the new TTY layer, and the new USB stack. CAM currently uses a hack that I told Scott to use because I really didn't want to permit this behavior, and the TTY and USB patches both have various patches to permit this. MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-07T21:16:14.416666Z K 7 svn:log V 208 Fix a small problem in the comment about departure from NetBSD. Also, r181392 fixed a small problem with multifunction cards that would cause the card not to power down when the last driver detached from it. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-07T21:36:09.982201Z K 7 svn:log V 55 Use __FreeBSD_version check since it is bootstrap tool END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-07T22:22:41.823149Z K 7 svn:log V 26 Use arc4random_uniform(3) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-07T22:46:25.147416Z K 7 svn:log V 762 - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's no particular reason for them to be implemented in assembler and having them in C allows easier extension as well as using more C macros and {d,i}tlb_slot_max rather than hard-coding magic (and actually spitfire-only) values. - Fix the compilation of pmap_print_tte(). - Change pmap_print_tlb() to use ldxa() rather than re-rolling it inline as well as TLB_DAR_SLOT and {d,i}tlb_slot_max rather than hardcoding magic (and actually spitfire-only) values. - While at it, suffix the above mentioned functions with "_sun4u" to underline they're architecture-specific. - Use __FBSDID and macros instead of magic values in locore.S. - Remove unused includes and smp_stack in locore.S. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-07T23:41:17.808078Z K 7 svn:log V 69 Allow 53C1010 without NVRAM to negotiate Ultra-3. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-07T23:59:20.987513Z K 7 svn:log V 83 Flatting the vendor dist tree of tzdata. Approved by: bde (mentor, implicit), des END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-08T00:10:02.138451Z K 7 svn:log V 86 Flatten all tags of the dist tree of tzdata Approved by: bde (mentor, implicit), des END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-08T00:15:16.429986Z K 7 svn:log V 209 In the line #pragma STDC CX_LIMITED_RANGE ON the "ON" needs to be in caps. gcc doesn't understand this pragma anyway and assumes it is always on in any case, but icc supports it and cares about the case. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-08T00:16:08.157992Z K 7 svn:log V 32 Remove the "datfiles" directory END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-08-08T00:18:22.830103Z K 7 svn:log V 81 remove the empty "datfiles" directory. Approved by: bde (mentor, implicit), des END K 10 svn:author V 3 das K 8 svn:date V 27 2008-08-08T00:21:27.021882Z K 7 svn:log V 61 Remove some unused variables. Reported by: Intel C Compiler END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-08-08T00:33:35.503027Z K 7 svn:log V 125 Revert bogus mergeinfo that says that 178243 and 178247 were merged from stable/7/sys to stable/7/sys. (byte range locking) END