ƒ°150532 194 104 126 193 438 442 362 360 430 336 350 404 210 148 366 140 155 174 128 131 426 180 122 216 122 302 262 195 142 581 256 180 184 181 158 154 202 216 152 197 226 115 787 420 161 354 137 217 156 248 760 277 581 355 269 166 156 197 168 251 289 228 264 493 213 247 108 164 243 189 141 130 269 412 386 386 358 114 122 208 107 265 187 259 133 218 426 386 167 201 227 1067 394 780 418 393 333 375 232 274 249 105 278 230 198 320 221 330 343 309 182 149 348 250 818 375 153 258 218 682 656 574 130 124 172 348 322 276 250 328 306 110 1003 104 101 104 105 145 103 133 156 193 208 205 178 146 212 187 166 215 185 155 333 295 141 858 634 162 225 171 160 149 123 145 122 237 440 423 625 337 232 246 307 268 419 177 165 126 309 383 400 232 196 346 852 97 171 164 129 625 706 789 206 362 173 K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-25T01:38:02.000000Z K 7 svn:log V 12 Fix comment END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-25T01:39:04.000000Z K 7 svn:log V 34 Remove OLDCARD vestiges from here END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-25T12:11:38.000000Z K 7 svn:log V 97 MFC 1.31-1.34: Several style fixes by ru@ and document alternative superblock location for UFS2. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-09-25T17:12:41.000000Z K 7 svn:log V 342 Overhaul error handling in the IPS driver. Don't use a magic value for driver-induced errors, instead be better about propagating error status upwards. Add more error definitions, courtesy of the linux driver. Fix a command leak in the ioctl handler. Re-arrange some of the command handlers to localize error handling. MFC After: 3 days END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-09-25T18:34:18.000000Z K 7 svn:log V 347 Try to avoid crashes during kernel startup by limiting the # of EISA slots to probe. Problems have been reported in this area, lets hope this bandaid helps. !! Owners of EISA-equipped Alpha machines are requested to at least !! boot-test a 6-BETA build and report back to the Alpha list. Thanks! Approved by: re (scottl) Suggested by: ticso END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T18:45:56.000000Z K 7 svn:log V 265 Merge rc.conf:1.260, kerberos:1.5, rc.conf.5:1.265 from HEAD to RELENG_6: Add a new rc.conf entry, kerberos5_server_flags, which allows the administrator to specify additional start-up flags to the Kerberos 5 Authentication Server. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T18:51:45.000000Z K 7 svn:log V 263 Merge Makefile:1.262, namei.9:1.27, and VFS_LOCK_GIANT.9:1.1 from HEAD to RELENG_6: Add discussion of Giant, the MPSAFE flag, and NDHASGIANT() to namei(9). Add a VFS_LOCK_GIANT(9)/VFS_UNLOCK_GIANT(9) man page. Discussed with: jeff Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T18:54:28.000000Z K 7 svn:log V 333 Merge kern_acct.c:1.75 from HEAD to RELENG_6: Pass 'curthread' into VFS_STATFS() from acctwatch(), rather than passing NULL. The NFS client expects that a thread will always be present for a VOP so that it can check for signal conditions, and will dereference a NULL pointer if one isn't present. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T19:06:24.000000Z K 7 svn:log V 239 Merge rc.conf:1.260, kerberos:1.5, rc.conf.5:1.265 from HEAD to RELENG_5: Add a new rc.conf entry, kerberos5_server_flags, which allows the administrator to specify additional start-up flags to the Kerberos 5 Authentication Server. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T19:11:08.000000Z K 7 svn:log V 253 Merge rc.conf:1.260, rc.conf.5:1.265, and notionally kerbero:1.5 from HEAD to RELENG_4: Add a new rc.conf entry, kerberos5_server_flags, which allows the administrator to specify additional start-up flags to the Kerberos 5 Authentication Server. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T19:14:02.000000Z K 7 svn:log V 307 Merge kern_acct.c:1.75 from HEAD to RELENG_5: Pass 'curthread' into VFS_STATFS() from acctwatch(), rather than passing NULL. The NFS client expects that a thread will always be present for a VOP so that it can check for signal conditions, and will dereference a NULL pointer if one isn't present. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T19:34:54.000000Z K 7 svn:log V 117 This file never needed to see what is in the internal struct resource, all it needed was a call to rman_get_start(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T19:48:51.000000Z K 7 svn:log V 56 Substitute rman_get_start() for __RMAN_RESOURCE_VISIBLE END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-25T19:52:09.000000Z K 7 svn:log V 269 Lock the read socket receive buffer when frobbing the sb_state flag on that socket during open, not the write socket receive buffer. This might explain clearing of the sb_state SB_LOCK flag seen occasionally in soreceive() on fifos. MFC after: 3 days Spotted by: ups END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T20:03:41.000000Z K 7 svn:log V 48 __RMAN_RESOURCE_VISIBLE is not actually needed. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T20:10:10.000000Z K 7 svn:log V 63 Add rman_is_region_manager() for the benefit of an alpha hack. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T20:12:30.000000Z K 7 svn:log V 82 Replace __RMAN_RESOURCE_VISIBLE with calls to public entry points in rman module. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T20:21:14.000000Z K 7 svn:log V 36 __RMAN_RESOURCE_VISIBLE not needed. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T20:21:48.000000Z K 7 svn:log V 39 __RMAN_RESOURCE_VISIBLE not necessary. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-09-25T20:36:02.000000Z K 7 svn:log V 329 MFC: if_bridge.c, r1.22 > Fix an alignment panic my preserving the 2byte padding (ETHER_ALIGN) on our > copied mbuf, which keeps the IP header 32-bit aligned. This copied mbuf is > reinjected back into ether_input and off to the IP routines. > > Reported and tested by: Peter van Dijk Approved by: re (scottl), mlaier (mentor) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-09-25T21:06:50.000000Z K 7 svn:log V 85 Fix multiple abuses of __RMAN_RESOURCE_VISIBLE in the arm code. Spotted out by: phk END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-25T21:23:19.000000Z K 7 svn:log V 30 Correct filesystem mountpoint END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-25T21:24:06.000000Z K 7 svn:log V 123 OLDCARD is being removed from the tree, so remove it from here. # the snc pccard entry might be able to be moved to files END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-25T21:26:09.000000Z K 7 svn:log V 30 Remove references to OLDCARD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-25T21:29:32.000000Z K 7 svn:log V 209 Remove the kernel portion of OLDCARD. I'm working on a replacement for pccardc dumpcis, but until I'm done with that, I'm leaving pccardc in place. As such, I'm leaving the .h files in place for the moment. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-09-26T05:29:46.000000Z K 7 svn:log V 165 Add dummy support for ifmedia subsystem. This allows devd to see cdce as an ethernet device and configure IP etc. Submitted by: Craig Boston END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-09-26T06:23:43.000000Z K 7 svn:log V 98 minor style.Makefile(5) fixes: - WARNS before CFLAGS - CFLAGS -DXXX before -IXXX Approved by: ru END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-09-26T07:45:35.000000Z K 7 svn:log V 50 Fix order and style(9) to match surrounding defs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-26T08:02:24.000000Z K 7 svn:log V 484 Acquire Giant in uprintf() and tprintf() rather than asserting it. In the vast majority of cases, these functions are called without mutexes held, meaning that in all but two cases, there will be no ordering issues with doing this, and it will eliminate the need for changes in the caller. In two cases, mutexes are held, so Giant must be acquired before those mutexes such that uprintf() and tprintf() recurse Giant rather than generating a lock order reversal. Suggested by: bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-26T08:17:03.000000Z K 7 svn:log V 159 Assert v_fifoinfo is non-NULL in fifo_close() in order to catch non-conforming cases sooner. MFC after: 3 days Reported by: Peter Holm END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T12:03:37.000000Z K 7 svn:log V 86 MFC 1.77: Do not ignore all other TCP options when TCP_MD5. Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T12:06:18.000000Z K 7 svn:log V 90 MFC 1.160: Undo optimization which broke BIOCGSEESENT handling. Approved by: re (scottl) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-26T12:16:27.000000Z K 7 svn:log V 89 Accept "maximum" and "minimum" modes as well as their abbreviations. MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T13:12:01.000000Z K 7 svn:log V 64 MFC 1.160: Undo optimization which broke BIOCGSEESENT handling. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T13:18:19.000000Z K 7 svn:log V 60 MFC 1.77: Do not ignore all other TCP options when TCP_MD5. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T13:58:56.000000Z K 7 svn:log V 109 MFC: Zero donecount on auto request sense. PR: kern/81450 Submitted by: Sean McNeil sean at mcneil dot com END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-09-26T14:14:55.000000Z K 7 svn:log V 119 Reorder statements to avoid accessing unknown memory. In theory, invoking kenv with very long string can panic kernel. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T14:36:54.000000Z K 7 svn:log V 60 MFC: DEVFS fixes of many sorts. Approved by: re@ (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-26T14:46:10.000000Z K 7 svn:log V 100 MFC 1.71, 1.72: Check IFF_DRV_RUNNING before calling em_start_locked(). Approved by: re (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T14:57:27.000000Z K 7 svn:log V 133 Remove the old Makefile based nanobsd build method, the new shell script based is far better and the only one supported from now on. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T14:58:58.000000Z K 7 svn:log V 23 This one goes as well. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-26T14:59:12.000000Z K 7 svn:log V 690 MFC 1.113: Several fixes to rt_setgate(), that fix problems with route changing: - Rearrange code so that in a case of failure the affected route is not changed. Otherwise, a bogus rtentry will be left and later rt_check() can recurse on its lock. [1] - Remove comment about protocol cloning. - Fix two places where rtentry mutex was recursed on, because accessed via two different pointers, that were actually pointing to the same rtentry in some cases. [1] - Return EADDRINUSE instead of bogus EDQUOT, in case when gateway uses the same route. [2] Reported & tested by: ps, Andrej Zverev [1] PR: kern/64090 [2] Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-26T15:00:34.000000Z K 7 svn:log V 323 MFC 1.80: - Understand EADDRINUSE, and forget EDQUOT. [1] - Add description for EEXIST. - Change description for ENOBUFS. Routing socket can return this error for many different reasons, including general memory shortage, mbuf memory shortage and rtentry zone. PR: kern/64090 [1] Approved by: re (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T15:00:49.000000Z K 7 svn:log V 69 MFC: nanobsd conversion to shell script. Approved by: re@ (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-26T16:55:11.000000Z K 7 svn:log V 257 Add "show allpcpu" to DDB, which prints the current CPU id followed by the per-cpu data for all CPUs. This is easier to ask users to do than "figure out how many CPUs you have, now run show pcpu, then run it once for each CPU you have". MFC after: 3 days END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-09-26T17:21:15.000000Z K 7 svn:log V 42 sync with HEAD. Approved by: re (scottl) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-09-26T17:31:36.000000Z K 7 svn:log V 121 sync with HEAD. o Brings WME and IBSS support. o Fix association with APs hiding their SSIDs. Approved by: re (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T18:14:38.000000Z K 7 svn:log V 64 MFC: Fixes for various races in md. Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-26T18:22:24.000000Z K 7 svn:log V 155 Go ahead and detach our children in our detach routine. I'm undecided if we should delete them also or not, but have decided not to do so for the moment. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-26T18:27:13.000000Z K 7 svn:log V 667 Emit a warning when a card matches multiple entries in our table. A number of cards have been discovered to be matching on the strings of the cis rather than manufacturer/product id for cards we already had a prod id for. This is a result of getting the list from the NetBSD driver which also includes the OID for the cards where such a distinction mattered (since it was tested against the MAC address we got from the card). Since we do not try to match OIDs, we do not need the extra entries and they just waste space. I'm guessing that some of the dlink entires (DE-660, DE-660+) and many of the corega cards may fall into this boat and can safely be removed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T18:30:12.000000Z K 7 svn:log V 184 Add the spin lock used by the binary nvidia driver to the static lock order list so that WITNESS and the driver play together nicely. Tested by: Harald Schmalzbauer MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T18:42:27.000000Z K 7 svn:log V 488 Small fixes to sis(4): - Remove sis_unit and use device_printf() and if_printf() instead. - Use callout_init_mtx() for the callout. - Remove spls. - Fix locking for ifmedia to happen in the ifmedia handlers rather than in sis_ioctl(). - Log an error message if we fail to allocate any resources. Perform cleanup if we fail to allocate any resources so that we don't leave a mutex hanging around. Tested by: Jason Tsai jason dot tsai at newcyberian dot com (1-4) MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-26T18:48:01.000000Z K 7 svn:log V 258 Merge missing patch hunk from netisr.c:1.12 from HEAD to RELENG_5: Include opt_net.h from netisr.c, or compiling in NET_WITH_GIANT will not change the default setting for debug.mpsafenet. Submitted by: Ed Maste END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:35:33.000000Z K 7 svn:log V 176 MFC: Add a memory barrier for PREWRITE operations to ensure all writes by the CPU have drained before further writes to kick off the DMA operation. Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-09-26T19:35:34.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:36:38.000000Z K 7 svn:log V 64 MFC: Fixup locking and mark MPSAFE. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:38:12.000000Z K 7 svn:log V 104 MFC: Explicitly switch to the new TSS when adding one in i386_extend_pcb(). Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:40:14.000000Z K 7 svn:log V 76 MFC: Explicitly switch to the new TSS when adding one in i386_extend_pcb(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:43:37.000000Z K 7 svn:log V 158 MFC: Add a new simple facility for marking the current thread as being in a state where sleeping on a sleep queue is not allowed. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:49:12.000000Z K 7 svn:log V 196 MFC: Use the new thread no sleeping facility to replace the g_xup, g_xdown, and dont_sleep_in_callout mutexes. Also, disallow sleeping in hardware interrupt handlers. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:50:38.000000Z K 7 svn:log V 135 MFC: Adjust comment to note that we now do handle the PMC LVT entry and try to avoid recursively panicing. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-26T19:54:19.000000Z K 7 svn:log V 171 MFC: Stop using the '+' constraint modifier with memory operands in inline assembly. We still use it for register operands in various places. Approved by: re (kensmith) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T20:25:16.000000Z K 7 svn:log V 398 Implement IP_DONTFRAG IP socket option enabling the Don't Fragment flag on IP packets. Currently this option is only repected on udp and raw ip sockets. On tcp sockets the DF flag is controlled by the path MTU discovery option. Sending a packet larger than the MTU size of the egress interface returns an EMSGSIZE error. Discussed with: rwatson Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T20:31:00.000000Z K 7 svn:log V 120 Add a .sinclude directive which does the exact same as .include, except whine when the file cannot be found and opened. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-26T20:33:53.000000Z K 7 svn:log V 154 Correct the logic for determining whether the user has already entered a password. Also, work around some harmless type pun warnings. MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-26T20:34:09.000000Z K 7 svn:log V 16 Increase WARNS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T20:34:21.000000Z K 7 svn:log V 72 Update coordinates for "mph" hash generator now that it lives in ports. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T20:35:45.000000Z K 7 svn:log V 148 Replace custom mbuf writeability test with generic M_WRITABLE() test covering all edge cases too. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-09-26T20:58:49.000000Z K 7 svn:log V 95 Document the IP_DONTFRAG IP socket option. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-26T22:07:59.000000Z K 7 svn:log V 49 Please ship the pointy hat to its home position. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-09-27T01:59:32.000000Z K 7 svn:log V 35 Report status in hex, not decimal. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-27T02:05:55.000000Z K 7 svn:log V 173 Don't print anything if we can't do any localpkg shutdown (start already does this). Submitted by: Andre Albsmeier PR: conf/86606 END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-27T05:57:47.000000Z K 7 svn:log V 319 MFC: 1.297 and 1.298 Split the do_powerstaes knob into do_power_resume and do_power_nodriver. Go ahead and enable power state management for suspend/resume, but leave the nodriver powerdown off by default. The MFC that changed do_power_state default to 0 broke some resume on some laptops. Approved by: re@ (scottl) END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-09-27T07:49:05.000000Z K 7 svn:log V 291 MFC: 1.39 date: 2005/09/24 19:41:56; author: krion; state: Exp; lines: +1 -1 Remove '\n' since it's redundant in case if file doesn't exist while running 'pkg_info -g' Based on PR: bin/42609 Submitted by: Jeff King MFC after: 3 days END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-09-27T07:54:08.000000Z K 7 svn:log V 291 MFC: 1.39 date: 2005/09/24 19:41:56; author: krion; state: Exp; lines: +1 -1 Remove '\n' since it's redundant in case if file doesn't exist while running 'pkg_info -g' Based on PR: bin/42609 Submitted by: Jeff King MFC after: 3 days END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-09-27T07:56:03.000000Z K 7 svn:log V 263 MFC: 1.20 date: 2005/09/24 21:41:47; author: krion; state: Exp; lines: +1 -1 Do not bitch about bsdpan modules not having origin. Based on PR: bin/82269 Submitted by: Steven Hartland MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-27T08:02:03.000000Z K 7 svn:log V 23 Fixup previous commit. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-27T08:06:21.000000Z K 7 svn:log V 31 Remove redundant `\&' escapes. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-09-27T09:01:11.000000Z K 7 svn:log V 115 Convert fxp(4) to use the new bus_alloc_resources() API, it simplifies the resource allocation code significantly. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-27T09:11:44.000000Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-27T10:42:02.000000Z K 7 svn:log V 168 - Print space character in show_stat(). Remove a lot of priuntf(" "). - Utilize show_stat() in sidewaysintpr() loop. This makes periodic statistics to honor -h flag. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-09-27T12:00:31.000000Z K 7 svn:log V 91 MFC revisions 1.156 - 1.159, improve stability of ULE scheduler. Approved by: re (scottl) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-09-27T12:17:38.000000Z K 7 svn:log V 162 MFC kern/sys_process.c revision 1.132 kern/kern_kse.c revision 1.215 > Fix a LOR between sched_lock and sleep queue lock. Approved by: re(scottl) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-09-27T13:10:24.000000Z K 7 svn:log V 40 Switch from OLDCARD to NEWCARD on pc98. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-27T13:33:46.000000Z K 7 svn:log V 126 Calling rman_get_start() after bus_release_resource() is evil. It became fatal after a recent "struct resource" split change. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-09-27T13:37:53.000000Z K 7 svn:log V 331 MFC: 1.39 date: 2005/09/24 19:41:56; author: krion; state: Exp; lines: +1 -1 Remove '\n' since it's redundant in case if file doesn't exist while running 'pkg_info -g' Based on PR: bin/42609 Submitted by: Jeff King MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-09-27T13:39:06.000000Z K 7 svn:log V 291 MFC: 1.20 date: 2005/09/24 21:41:47; author: krion; state: Exp; lines: +1 -1 Do not bitch about bsdpan modules not having origin. Based on PR: bin/82269 Submitted by: Steven Hartland MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-27T14:32:04.000000Z K 7 svn:log V 74 Mark the extended attribute syscalls as being MP safe. Requested by: jhb END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-27T14:36:59.000000Z K 7 svn:log V 107 Update the "created from" section to reflect the most recent version of syscalls.master Requested by: jhb END K 10 svn:author V 2 mp K 8 svn:date V 27 2005-09-27T14:49:41.000000Z K 7 svn:log V 135 Bump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow ports builds in the cluster to work correctly. Approved by: re END K 10 svn:author V 3 rik K 8 svn:date V 27 2005-09-27T16:12:49.000000Z K 7 svn:log V 974 Backout if_cp 1.26, if_ct 1.27, if_cx 1.47 by obrien: ---------------------------- revision 1.26 date: 2005/09/07 09:53:35; author: obrien; state: Exp; lines: +1452 -1453 Reorder code to not depend on an ISO-C illegal forward extern declaration. ---------------------------- Reason: do not move large functions location without serious reason. The same could be done by forward function declaration. Please do not enlarge diff without a reason any more. Backout if_cp 1.27 ---------------------------- revision 1.27 date: 2005/09/19 03:10:16; author: imp; state: Exp; lines: +3 -2 Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call. Reason: bad previous commit. Would be restored by next commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T16:45:22.000000Z K 7 svn:log V 297 Back out fifo_vnops.c:1.127, which introduced an sx lock around I/O on a fifo. While this did indeed close the race, confirming suspicions about the nature of the problem, it causes difficulties with blocking I/O on fifos. Discussed with: ups Also spotted by: Peter Holm END K 10 svn:author V 3 rik K 8 svn:date V 27 2005-09-27T16:57:44.000000Z K 7 svn:log V 687 Restore if_cp.c 1.27 ---------------------------- revision 1.27 date: 2005/09/19 03:10:16; author: imp; state: Exp; lines: +3 -2 Make sure that we call if_free(ifp) after bus_teardown_intr. Since we could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call. In fact, this change do nothing for this driver. It is protected from this by cp_destroy variable. This variable also protects driver from initiation of any activity from network stack with disabled intr handler with this change applied. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-27T17:03:53.000000Z K 7 svn:log V 321 MFC 1.64: Restore a historical ufs_inactive behavior that respect the RDONLY option, so subsequent call of UFS_TRUNCATE (ffs_truncate) would not panic the system. This fixes a panic that can happen when mounting a corrputed filesystem read-only, and reading data from it. Reviewed by: mckusick Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-27T17:05:46.000000Z K 7 svn:log V 296 MFC 1.64: Restore a historical ufs_inactive behavior that respect the RDONLY option, so subsequent call of UFS_TRUNCATE (ffs_truncate) would not panic the system. This fixes a panic that can happen when mounting a corrputed filesystem read-only, and reading data from it. Reviewed by: mckusick END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T17:39:11.000000Z K 7 svn:log V 240 Add a new atomic_fetchadd() primitive that atomically adds a value to a variable and returns the previous value of the variable. Tested on: i386, alpha, sparc64, arm (cognet) Reviewed by: arch@ Submitted by: cognet (arm) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T17:59:29.000000Z K 7 svn:log V 282 - Document atomic_fetchadd(9) and add a MLINK. - Add arm and ppc to the list of archs not supporting operations on 64-bit integers. - Update the sample code for acquiring a mutex to be more recent and to take into account the recent atomic_foo_ptr() changes. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T18:01:33.000000Z K 7 svn:log V 139 Add a simple reference count API that is simply a thin wrapper API around atomic operations on ints. Reviewed by: arch@ MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T18:03:15.000000Z K 7 svn:log V 181 Use the refcount API to implement reference counts on process argument structures rather than using a global mutex to protect the reference counts. Tested on: i386, alpha, sparc64 END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:04:20.000000Z K 7 svn:log V 154 Implement 32 bit getcontext/setcontext/swapcontext on amd64. I've added stubs for ia64 to keep it compiling. These are used by 32 bit apps such as gdb. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:04:52.000000Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T18:07:05.000000Z K 7 svn:log V 185 Use the reference count API to manage the reference counts for process limit structures rather than using pool mutexes to protect the reference counts. Tested on: i386, alpha, sparc64 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-27T18:09:42.000000Z K 7 svn:log V 137 Use the refcount API to manage the reference count for user credentials rather than using pool mutexes. Tested on: i386, alpha, sparc64 END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:10:26.000000Z K 7 svn:log V 103 Don't let the upper bits of %dr6/%dr7 get set. Submitted by: Nate Eldredge END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-27T18:10:43.000000Z K 7 svn:log V 224 Remove bridge(4) from the tree. if_bridge(4) is a full functional replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:13:07.000000Z K 7 svn:log V 126 MFi386: If we take a trap with interrupts disabled while in a critical section, don't enable them if we're servicing an NMI. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:15:57.000000Z K 7 svn:log V 235 Don't report Maxmem as 'real memory'. It is really the highest address available and can give the wrong impression when there are memory holes. Report the total amount of usable memory that we detected instead of the highest address. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:18:23.000000Z K 7 svn:log V 248 Add a bare minimum (but wrong) R_X86_64_JMP_SLOT relocation type for kernel modules. We actually need to include any addends and the symbol offset value, but for gcc/binutils didn't set it anywhere I've found on 'cc -fpic -shared' kernel modules. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T18:32:46.000000Z K 7 svn:log V 214 Fix a minor nit that has been bugging me for a while. Fix the obvious cases of using a 64 bit operation to zero a register. 32 bit opcodes are smaller and supposedly faster, and clear the upper 32 bits for free. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-27T18:42:20.000000Z K 7 svn:log V 90 MFC: CIS exported to userland, and a number of cosmetic fixups Approved by: re@ (scottl) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-27T18:51:02.000000Z K 7 svn:log V 54 Document bridge(4) removal. Approved by: re (scottl) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-27T18:52:17.000000Z K 7 svn:log V 252 s/routnes/routines/ in help message. This file is already off the vendor branch and there hasn't been a bc release in more than 4 years so I can't see any harm in fixing this. Submitted by: Arne Woerner PR: gnu/86627 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T20:28:43.000000Z K 7 svn:log V 153 No longer maintain mbstat statistics for the mbuf allocator, UMA statistics and libmemstat(3) are now used to track mbuf statistics. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-09-27T20:57:50.000000Z K 7 svn:log V 724 - Add a work-around for nForce3-250. Aperture base address encoded in misc. control register and AGP bridge seems to be inconsistent with some BIOS. Instead of relying on BIOS settings, we just take the initial aperture size and encode them for both miscellaneous control register and AGP bridge. Some idea was borrowed from agp_nvidia.c. - Add preliminary ULi M1689 chipset support. The idea was taken from Linux because hardware and documentation are unavailable. Not tested. - Add more VIA chipset PCI IDs taken from Linux driver. Approved by: anholt (mentor) Tested by: Adam Gregoire Ganael Laplanche K Wieland END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T21:02:59.000000Z K 7 svn:log V 278 In lockstatus(), don't lock and unlock the interlock when testing the sleep lock status while kdb_active, or we risk contending with the mutex on another CPU, resulting in a panic when using "show lockedvnods" while in DDB. MFC after: 3 days Reviewed by: jhb Reported by: kris END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T21:10:10.000000Z K 7 svn:log V 59 Kill pcb_rflags. It served no purpose. Reported by: bde END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-27T21:11:35.000000Z K 7 svn:log V 163 I believe the stack underflows during early development that caused me to add spare padding at the beginning of the pcb are long gone. Remove the padding fields. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T21:12:05.000000Z K 7 svn:log V 121 If KDB_STOP_NMI is compiled into the kernel, default debug.kdb.stop_cpus_with_nmi to 1 rather than 0. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T21:14:10.000000Z K 7 svn:log V 585 Merge uipc_socket.c:1.249, socket.h:1.89 from HEAD to RELENG_6: Add three new read-only socket options, which allow regression tests and other applications to query the state of the stack regarding the accept queue on a listen socket: SO_LISTENQLIMIT Return the value of so_qlimit (socket backlog) SO_LISTENQLEN Return the value of so_qlen (complete sockets) SO_LISTENINCQLEN Return the value of so_incqlen (incomplete sockets) Minor white space tweaks to existing socket options to make them consistent. Discussed with: andre Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-27T21:54:03.000000Z K 7 svn:log V 559 Merge uipc_socket.c:1.249, socket.h:1.89 from HEAD to RELENG_5: Add three new read-only socket options, which allow regression tests and other applications to query the state of the stack regarding the accept queue on a listen socket: SO_LISTENQLIMIT Return the value of so_qlimit (socket backlog) SO_LISTENQLEN Return the value of so_qlen (complete sockets) SO_LISTENINCQLEN Return the value of so_incqlen (incomplete sockets) Minor white space tweaks to existing socket options to make them consistent. Discussed with: andre END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-28T00:30:56.000000Z K 7 svn:log V 480 Push Giant down in jails. Pass the MPSAFE flag to NDINIT, and keep track of whether or not Giant was picked up by the filesystem. Add VFS_LOCK_GIANT macros around vrele as it's possible that this can call in the VOP_INACTIVE filesystem specific code. Also while we are here, remove the Giant assertion. from the sysctl handler, we do not actually require Giant here so we shouldn't assert it. Doing so will just complicate things when Giant is removed from the sysctl framework. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-09-28T03:02:16.000000Z K 7 svn:log V 35 Correct a typo. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-28T06:05:45.000000Z K 7 svn:log V 32 Remove more OLDCARD references. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-28T06:23:47.000000Z K 7 svn:log V 80 Comment out WARNS, the OpenSSL headers don't compile cleanly on some platforms. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:47:32.000000Z K 7 svn:log V 251 Merge fifo_vnops.c:1.128 from HEAD to RELENG_6: For reasons of consistency (and necessity), assert an exclusive vnode lock on the fifo vnode in fifo_open(): we rely on the vnode lock to serialize access to v_fifoinfo. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:48:09.000000Z K 7 svn:log V 225 Merge fifo_vnops.c:1.128 from HEAD to RELENG_5: For reasons of consistency (and necessity), assert an exclusive vnode lock on the fifo vnode in fifo_open(): we rely on the vnode lock to serialize access to v_fifoinfo. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:52:10.000000Z K 7 svn:log V 179 Merge uipc_usrreq.c:1.156 from HEAD to RELENG_6: Canonicalize the UNIX domain socket copyright layout: original holders before more recent holders. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:52:35.000000Z K 7 svn:log V 153 Merge uipc_usrreq.c:1.156 from HEAD to RELENG_5: Canonicalize the UNIX domain socket copyright layout: original holders before more recent holders. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:55:02.000000Z K 7 svn:log V 231 Merge fifo_vnops.c:1.129 from HEAD to RELENG_6: Lock the read socket receive buffer when frobbing the sb_state flag on that socket during open, not the write socket receive buffer. Spotted by: ups Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T06:56:14.000000Z K 7 svn:log V 209 Merge fifo_vnops.c:1.129 from HEAD to RELENG_5: Lock the read socket receive buffer when frobbing the sb_state flag on that socket during open, not the write socket receive buffer. Spotted by: ups END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T06:57:56.000000Z K 7 svn:log V 19 Simplified markup. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-28T07:03:03.000000Z K 7 svn:log V 906 Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57, osf1_signal.c:1.41, amd64/amd64/trap.c:1.291, linux_socket.c:1.60, svr4_fcntl.c:1.36, svr4_ioctl.c:1.23, svr4_ipc.c:1.18, svr4_misc.c:1.81, svr4_signal.c:1.34, svr4_stat.c:1.21, svr4_stream.c:1.55, svr4_termios.c:1.13, svr4_ttold.c:1.15, svr4_util.h:1.10, ext2_alloc.c:1.43, i386/i386/trap.c:1.279, vm86.c:1.58, unaligned.c:1.12, imgact_elf.c:1.164, ffs_alloc.c:1.133: Now that Giant is acquired in uprintf() and tprintf(), the caller no longer leads to acquire Giant unless it also holds another mutex that would generate a lock order reversal when calling into these functions. Specifically not backed out is the acquisition of Giant in nfs_socket.c and rpcclnt.c, where local mutexes are held and would otherwise violate the lock order with Giant. This aligns this code more with the eventual locking of ttys. Suggested by: bde END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:20:46.000000Z K 7 svn:log V 13 Sort SUBDIR. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:31:18.000000Z K 7 svn:log V 10 Sort MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:32:43.000000Z K 7 svn:log V 13 Sort MLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:40:03.000000Z K 7 svn:log V 14 Sort LOCALES. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-09-28T07:40:27.000000Z K 7 svn:log V 51 Unbreak - remove leftover reference to pcb_rflags. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:49:30.000000Z K 7 svn:log V 12 Add NO_OBJ. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:52:27.000000Z K 7 svn:log V 42 Add NO_OBJ, remove redundant SCRIPTSNAME. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T07:54:18.000000Z K 7 svn:log V 65 Oops, revert last commit (the manpage is still built in objdir). END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-09-28T08:04:16.000000Z K 7 svn:log V 98 Fix reference paths. Noticed by: Ilya Kiselyov Approved by: trhodes (mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-28T08:11:15.000000Z K 7 svn:log V 112 Redirect bridge(4) to if_bridge(4). These should have pointed to if_bridge from the begining. Reminded by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T08:17:30.000000Z K 7 svn:log V 113 We bootstrap make(1) if necessary during an upgrade, so checking if MACHINE_ARCH is defined is no longer needed. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-28T08:18:55.000000Z K 7 svn:log V 83 Redirect bridge(4) to if_bridge(4) and rename sysctl accordingly. Reminded by: ru END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-28T08:25:48.000000Z K 7 svn:log V 51 Document bridge(4) leftovers. Submitted by: maxim END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-09-28T09:19:17.000000Z K 7 svn:log V 116 Do not commit before the first cup of coffee. Other entries don't have a preceeding slash. Pointed out by: thompsa END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T09:27:46.000000Z K 7 svn:log V 96 Fix "taskqueue_drain with the following non-sleepable locks held" witness(9) warning on detach. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2005-09-28T12:12:15.000000Z K 7 svn:log V 72 Introduce "route del" as an alias to "route delete". Reviewed by: arch END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-09-28T12:39:00.000000Z K 7 svn:log V 117 Add SHA256 checksums to the release build. Requested by: cperciva (so) Reviewed/improved by: ru MFC after: 2 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-09-28T13:07:43.000000Z K 7 svn:log V 93 Minor clarifications and fixes to wording, grammar, and markup around ${network_interfaces}. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-09-28T14:00:13.000000Z K 7 svn:log V 58 MFC v1.30: Update for RELENG_6. Approved by: re (scottl) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-09-28T14:10:00.000000Z K 7 svn:log V 235 MFC v1.43: Move hme_stop() BEFORE ether_ifdetach() and if_free() to prevent a memory-referenced-after-free panic if the hme interface fails to attach. Patch obtained from: marius Suggested same thing: brooks Approved by: re (scottl) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-09-28T14:19:31.000000Z K 7 svn:log V 199 Note the requirement for 'device apic' on i386 systems. [1] Consistently use 'x86' when referring to behaviour common to the i386 and amd64. Submitted by: Niklas Sorensson [1] END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T14:36:16.000000Z K 7 svn:log V 50 Commenting out WARNS actually brought it up to 4. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-09-28T14:54:07.000000Z K 7 svn:log V 762 Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t and do some preparations for handling 12x22 fonts (currently lots of code implies and/or hardcodes a font width of 8 pixels). This will be required on sparc64 which uses a default font size of 12x22 in order to add font loading and saving support as well as to use a syscons(4)-supplied mouse pointer image. This API breakage is committed now so it can be MFC'ed in time for 6.0 and later on upcoming framebuffer drivers destined for use on sparc64 and which are expected to rely on using font loading internally and on a syscons(4)-supplied mouse pointer image can be easily MFC'ed to RELENG_6 rather than requiring a backport. Tested on: i386, sparc64, make universe MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-09-28T15:01:58.000000Z K 7 svn:log V 538 Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs on big-endian archs like sparc64, e.g.: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid @HEd041 on isa0 is now correctly printed as: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid PNP0501 on isa0 There are probably other endianness issues lurking in the PnP code which however aren't exhibited on sparc64 as the PnP devices there are sort of PnP BIOS devices rather than ISA PnP devices. Tested on: i386, sparc64 MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-09-28T15:22:17.000000Z K 7 svn:log V 68 o Follow the trend and update a host-based wireless bridge example. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-09-28T16:05:13.000000Z K 7 svn:log V 129 Use SO_REUSEADDR on the socket, to make the use of syslogd in jails easier. Submitted by: Jeremie Le Hen END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-09-28T16:14:43.000000Z K 7 svn:log V 76 setsockopt() will return -1 on error, not 0. Pointy hat to: Jeremie Le Hen END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-09-28T16:24:47.000000Z K 7 svn:log V 68 Make it a good-mannered rcNG script respectful to the command line. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T16:46:17.000000Z K 7 svn:log V 58 MFC: 1.57: Respect IFF_PROMISC. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-28T16:50:25.000000Z K 7 svn:log V 32 MFC: 1.57: Respect IFF_PROMISC. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-09-28T16:51:27.000000Z K 7 svn:log V 48 MFC: rev. 1.6 Fix typo. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-09-28T16:52:09.000000Z K 7 svn:log V 25 MFC: rev. 1.6 Fix typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-28T18:01:41.000000Z K 7 svn:log V 144 Rename the lapic timer interrupt counters from lapicX: timer to cpuX: timer since it's not always obvious that lapic == cpu. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-28T18:04:11.000000Z K 7 svn:log V 347 Add interrupt counters for IPIs. By default they are disabled, but they can be enabled by enabling COUNT_IPIS in smptests.h. When enabled, each CPU provides an interrupt counter for nearly all of the IPIs it receives (IPI_STOP currently doesn't have a counter) that can be examined using vmstat -i, etc. MFC after: 3 days Requested by: rwatson END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-28T18:06:25.000000Z K 7 svn:log V 330 puc(4) does strange things to resources in order to fool the subdrivers to hook up. It should probably be rewritten to implement a simple bus to which the sub drivers attach using some kind of hint. Until then, provide a couple of crutch functions with big warning signs so it can survive the recent changes to struct resource. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-09-28T18:18:29.000000Z K 7 svn:log V 527 Nuke duplicates found via fuzzy logic: - typos - different spelling, punctuation, whitespace - phonetically similar names - words rearranged ("was once" vs "once was" etc) If a limerick appeared as a single one and as part of a double or triple, the singleton was removed. With a little help from: sort limerick|uniq -d This still turns up 20 lines being repeated, but the respective limericks are sufficiently unique to leave them in (i.e. most differ in at least two lines). Nuke spaces in front of colons while I'm here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-28T19:20:49.000000Z K 7 svn:log V 244 Implement suspend/resume methods to be more ACPI friendly. I'm able to suspend/resume my laptop without this change, but then I need to wait for the watchdog to reset the card. With this change, it is ready immediately. Glanced at by: glebius END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-09-28T19:41:25.000000Z K 7 svn:log V 139 add product ID for Linux Ethernet/RNDIS gadget on pxa210/25x/26x. Submitted by: Keiichi SHIMA MFC after: 2 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-28T19:59:18.000000Z K 7 svn:log V 150 Be less IPv4 centric. When checking if the interface is already configured, check if the UP flag is set instead of checking for the netmask keyword. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-09-29T01:40:03.000000Z K 7 svn:log V 211 The 'intr_bufferfull' driver statistic actually counts the number of times sampling was stopped due to a space shortage; change its description in the output of `pmcstat -s` to match reality. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-29T08:56:15.000000Z K 7 svn:log V 175 Add a note in example as well, that last sector is used for metadata, so it don't provoke confusions. Noticed by: Victor Sudakov MFC after: 2 days END K 10 svn:author V 6 peadar K 8 svn:date V 27 2005-09-29T10:37:20.000000Z K 7 svn:log V 323 Close a race in biodone(), whereby the bio_done field of the passed bio may have been freed and reassigned by the wakeup before being tested after releasing the bdonelock. There's a non-zero chance this is the cause of a few of the crashes knocking around with biodone() sitting in the stack backtrace. Reviewed By: phk@ END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-09-29T11:56:16.000000Z K 7 svn:log V 84 Add -DINVARIANT_SUPPORT -DINVARIANTS (to commented out CFLAGS, used for debugging). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-29T12:31:44.000000Z K 7 svn:log V 73 Return zero when disabling watchdog, unless any of the drivers complain. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-09-29T13:09:04.000000Z K 7 svn:log V 35 err() -> errx() where appropriate. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-29T13:19:10.000000Z K 7 svn:log V 212 MFC 1.62: - Print space character in show_stat(). Remove a lot of priuntf(" "). - Utilize show_stat() in sidewaysintpr() loop. This makes periodic statistics to honor -h flag. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-29T13:23:34.000000Z K 7 svn:log V 286 In em_process_receive_interrupts() store and clear adapter->fmt. This make function reenterable. In the runtime the race is masked by serializing of em_process_receive_interrupts() either by interrupt thread, or by polling. The race can be triggered when polling is switched on or off. END K 10 svn:author V 6 peadar K 8 svn:date V 27 2005-09-29T14:09:46.000000Z K 7 svn:log V 304 Remove checks for BOOTSIG[23] from FAT32 bootblocks. There seems to be very little documentary evidence outside this implementation to suggest a these checks are neccessary, and more than one camera-formatted flash disk fails the check, but mounts successfully on most other systems. Reviewed By: bde@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T14:56:30.000000Z K 7 svn:log V 139 - Use PCIR_BAR macro rather than hardcoding 0x10. - Use pci_enable_busmaster() rather than doing it by hand. - Remove duplicate if_free(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-29T14:57:51.000000Z K 7 svn:log V 103 I added the device IDs to the header, but not to the table. Add them to the table. MFC After: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T15:00:09.000000Z K 7 svn:log V 253 Don't save and restore the ELCR register across suspend and resume for the Intel 82371AB PCI-ISA bridge. We now do this all the time for the !APIC case in the atpic driver. This cuts the raw line count for this driver by about 40%. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T15:04:41.000000Z K 7 svn:log V 759 - Consolidate duplicated code for assigning interrupts to PCI devices via routing, etc. in a static pci_assign_interrupt() function. - Add a sledgehammer that allows the user to override the interrupt assignment of any PCI device via a tunable (e.g. "hw.pci0.7.INTB=5" would force any functions on the pci device in slot 7 of bus 0 that use B# to use IRQ 5). This should be used with great caution! Generally, if the interrupt routing in use provides specific tunables (such as hard-wiring the IRQ for a given $PIR or ACPI PCI link device), then those should be used instead. One instance where this tunable might be useful is if a box has an MPTable with duplicate entries for the same PCI device with different IRQs. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T15:04:58.000000Z K 7 svn:log V 6 Typo. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-29T16:06:59.000000Z K 7 svn:log V 79 Fix a bug in disk geometry calculation. Fix NANO_TOOLS usage in FlashDevice() END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-29T16:45:53.000000Z K 7 svn:log V 72 Dcoument typical debugging options, plus the new CIS device for pccard. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T16:47:08.000000Z K 7 svn:log V 37 Use if_printf() and device_printf(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T16:52:19.000000Z K 7 svn:log V 532 - Use if_printf() and device_printf() in re(4) and remove rl_unit from the softc. - Use callout_init_mtx() and rather than timeout/untimeout in both rl(4) and re(4). - Fix locking for ifmedia by locking the driver in the ifmedia handlers rather than in the miibus functions. (re(4) didn't lock the mii stuff at all!) - Fix some locking in re_ioctl(). Note: the two drivers share the same softc declared in if_rlreg.h, so they had to be change simultaneously. MFC after: 1 week Tested by: several on rl(4), none on re(4) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-29T18:40:36.000000Z K 7 svn:log V 609 Merge subr_prof.c:1.119, 1.120, 1.121, nfs_socket.c:1.130, rpcclnt.c:1.14 from HEAD to RELENG_6: Acquire Giant in uprintf() and tprintf() due to the non-MPSAFEty of the tty code invoked from these functions. In two cases, during timeout handling in NFS-related RPC client code, acquire Giant in the caller before other mutexes the caller might hold, in order to avoid lock order reversals with Giant (a recursive acquire is not a reversal as it won't ever wait). Correct age-old comments about uprintf()/tprintf() sleeping: they will never sleep. Much useful feedback from: bde Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-29T18:45:02.000000Z K 7 svn:log V 692 Merge subr_prof.c:1.119, 1.120, 1.121 from HEAD to RELENG_6: Acquire Giant in uprintf() and tprintf() due to the non-MPSAFEty of the tty code invoked from these functions. Correct age-old comments about uprintf()/tprintf() sleeping: they will never sleep. Unlike in the merge to RELENG_6, it is not necesary to acquire Giant in the NFS code, as the NFS client runs entirely under Giant in 5.x. Likewise, this is not a critical fix in 5.x as the vast majority of relevant calls to uprintf() are in the VFS code, which also runs with Giant in 5.x. However, there are some exposed code paths that make this MFC a good idea. Much useful feedback from: bde Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T18:47:31.000000Z K 7 svn:log V 113 MFC: Add the spin lock used by the binary nvidia-driver to the static lock order list. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T18:52:21.000000Z K 7 svn:log V 269 MFC various fixes to sis(4): - Remove sis_unit and use device_printf() and if_printf() instead. - Use callout_init_mtx() for the callout. - Remove spls. - Fix locking for ifmedia to happen in the ifmedia handlers rather than in sis_ioctl(). Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T18:53:10.000000Z K 7 svn:log V 81 MFC: Use correct VFS locking in kern_alternate_path(). Approved by: re (scottl) END