ƒ°~143201 196 351 113 396 2347 174 130 125 179 222 219 108 172 110 452 517 346 605 224 321 181 324 858 325 107 199 134 123 120 150 410 145 160 673 207 1070 192 160 140 164 212 2508 211 428 160 306 178 204 177 213 316 217 335 199 195 205 164 189 432 339 140 142 141 145 413 142 181 166 186 131 281 224 685 188 222 173 221 136 175 174 181 268 124 519 286 527 456 192 180 118 127 205 139 266 110 361 231 161 199 170 185 320 205 162 141 214 136 493 208 152 247 222 164 138 224 158 121 117 126 264 120 363 216 131 314 151 184 349 200 135 390 134 140 284 293 187 211 215 190 395 220 159 174 168 150 151 132 154 156 228 422 149 169 163 142 135 199 385 167 112 268 657 264 250 553 492 434 1101 719 344 555 149 188 543 284 150 335 153 203 182 1060 218 751 161 205 225 147 298 262 385 118 179 172 328 433 129 165 K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-03-07T01:52:24.000000Z K 7 svn:log V 255 physmem is a much better indicator for 'real' memory on PPC than Maxmem since there are often significant holes in the memory map due to the kernel, loader and OFW data structures not being included: Maxmem is the highest available, so can be misleading. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-03-07T02:18:52.000000Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 4 grog K 8 svn:date V 27 2005-03-07T02:20:14.000000Z K 7 svn:log V 302 Correct indentation style: - "options" is followed by the characters \040\011, not \011\011. Correct both my own sins and those of others. - Comment blocks start and end with an empty line ^#$. - Remove non-standard comments added in my last commit. Requested by: njl Correctness confirmed by: bde END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-03-07T03:05:31.000000Z K 7 svn:log V 2251 When you call MiniportInitialize() for an 802.11 driver, it will at some point result in a status event being triggered (it should be a link down event: the Microsoft driver design guide says you should generate one when the NIC is initialized). Some drivers generate the event during MiniportInitialize(), such that by the time MiniportInitialize() completes, the NIC is ready to go. But some drivers, in particular the ones for Atheros wireless NICs, don't generate the event until after a device interrupt occurs at some point after MiniportInitialize() has completed. The gotcha is that you have to wait until the link status event occurs one way or the other before you try to fiddle with any settings (ssid, channel, etc...). For the drivers that set the event sycnhronously this isn't a problem, but for the others we have to pause after calling ndis_init_nic() and wait for the event to arrive before continuing. Failing to wait can cause big trouble: on my SMP system, calling ndis_setstate_80211() after ndis_init_nic() completes, but _before_ the link event arrives, will lock up or reset the system. What we do now is check to see if a link event arrived while ndis_init_nic() was running, and if it didn't we msleep() until it does. Along the way, I discovered a few other problems: - Defered procedure calls run at PASSIVE_LEVEL, not DISPATCH_LEVEL. ntoskrnl_run_dpc() has been fixed accordingly. (I read the documentation wrong.) - Similarly, the NDIS interrupt handler, which is essentially a DPC, also doesn't need to run at DISPATCH_LEVEL. ndis_intrtask() has been fixed accordingly. - MiniportQueryInformation() and MiniportSetInformation() run at DISPATCH_LEVEL, and each request must complete before another can be submitted. ndis_get_info() and ndis_set_info() have been fixed accordingly. - Turned the sleep lock that guards the NDIS thread job list into a spin lock. We never do anything with this lock held except manage the job list (no other locks are held), so it's safe to do this, and it's possible that ndis_sched() and ndis_unsched() can be called from DISPATCH_LEVEL, so using a sleep lock here is semantically incorrect. Also updated subr_witness.c to add the lock to the order list. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:52:43.000000Z K 7 svn:log V 82 Alias scalbnf as ldexpf. The two are identical in binary floating-point formats. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:52:58.000000Z K 7 svn:log V 38 Add scalbnl, also known as as ldexpl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:53:11.000000Z K 7 svn:log V 33 Add an assembly version of fmal. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:53:36.000000Z K 7 svn:log V 87 Define the LDBL_PREC to be the number of significant bits in a long double's mantissa. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:53:48.000000Z K 7 svn:log V 129 - Define the LDBL_PREC to be the number of significant bits in a long double's mantissa. - Add an assembly version of scalbnl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:54:02.000000Z K 7 svn:log V 126 - Define the LDBL_PREC to be the number of significant bits in a long double's mantissa. - Add an assembly version of fmal. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:54:20.000000Z K 7 svn:log V 16 Implement fmal. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:54:39.000000Z K 7 svn:log V 80 Alias frexp as frexpl on platforms where a long double is the same as a double. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:54:51.000000Z K 7 svn:log V 18 Implement frexpl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:55:22.000000Z K 7 svn:log V 359 Define LDBL_NBIT to be a mask indicating the position of the integer bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:55:40.000000Z K 7 svn:log V 424 - Define LDBL_NBIT to be a mask indicating the position of the integer bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0 anyway. - Add an XXX comment for the big endian case. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:55:58.000000Z K 7 svn:log V 253 - Try harder to trick gcc into not optimizing away statements that are intended to raise underflow and inexact exceptions. - On systems where long double is the same as double, nextafter should be aliased as nexttoward, nexttowardl, and nextafterl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:56:46.000000Z K 7 svn:log V 512 Implement nexttoward and nextafterl; the latter is also known as nexttowardl. These are not needed on machines where long doubles look like IEEE-754 doubles, so the implementation only supports the usual long double formats with 15-bit exponents. Anything bizarre, such as machines where floating-point and integer data have different endianness, will cause problems. This is the case with big endian ia64 according to libc/ia64/_fpmath.h. Please contact me if you managed to get a machine running this way. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:57:38.000000Z K 7 svn:log V 131 Implement nexttowardf. This is used on both platforms with 11-bit exponents and platforms with 15-bit exponents for long doubles. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:57:50.000000Z K 7 svn:log V 228 - Implement scalblnl. - In scalbln and scalblnf, check the bounds of the second argument. This is probably unnecessary, but strictly speaking, we should report an error if someone tries to compute scalbln(x, INT_MAX + 1ll). END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:58:03.000000Z K 7 svn:log V 89 Alias scalbn as ldexpl and scalbnl on platforms where long double is the same as double. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:58:43.000000Z K 7 svn:log V 231 - Define FP_FAST_FMA for sparc64, since fma() is now implemented using sparc64's 128-bit long doubles. - Define FP_FAST_FMAL for ia64. - Prototypes for fmal, frexpl, ldexpl, nextafterl, nexttoward{,f,l}, scalblnl, and scalbnl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:59:11.000000Z K 7 svn:log V 765 - Remove s_ldexpf.c (now aliased to scalbn.) - Add nexttoward{,f,l} and nextafterl. On all platforms, nexttowardl is an alias for nextafterl. - Add fmal. - Add man pages for new routines: fmal, nextafterl, nexttoward{,f,l}, scalb{,l}nl. Note that on platforms where long double is the same as double, we generally just alias the double versions of the routines, since doing so avoids extra work on the source code level and redundant code in the binary. In particular: ldbl53 ldbl64/113 fmal s_fma.c s_fmal.c ldexpl s_scalbn.c s_scalbnl.c nextafterl s_nextafter.c s_nextafterl.c nexttoward s_nextafter.c s_nexttoward.c nexttowardf s_nexttowardf.c s_nexttowardf.c nexttowardl s_nextafter.c s_nextafterl.c scalbnl s_scalbn.c s_scalbnl.c END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:59:30.000000Z K 7 svn:log V 232 Remove ldexp and ldexpf. The former is in libc, and the latter is identical to scalbnf, which is now aliased as ldexpf. Note that the old implementations made the mistake of setting errno and were the only libm routines to do so. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:59:43.000000Z K 7 svn:log V 15 Document fmal. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T04:59:53.000000Z K 7 svn:log V 106 Add nexttoward to the list of implemented functions, and explicitly list the four that are still missing. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:00:29.000000Z K 7 svn:log V 42 Document nextafterl and nexttoward{,f,l}. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:00:44.000000Z K 7 svn:log V 31 Document scalbnl and scalblnl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:00:54.000000Z K 7 svn:log V 28 Document frexpl and ldexpl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:01:04.000000Z K 7 svn:log V 58 Add manpage links for frexpf, frexpl, ldexpf, and ldexpl. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:02:09.000000Z K 7 svn:log V 317 - If z is 0, one of x or y is 0, and the other is infinite, raise an invalid exception and return an NaN. - If a long double has 113 bits of precision, implement fma in terms of simple long double arithmetic instead of complicated double arithmetic. - If a long double is the same as a double, alias fma as fmal. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T05:03:46.000000Z K 7 svn:log V 53 Test cases for nextafter{,f,l} and nexttoward{,f,l}. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-03-07T06:05:14.000000Z K 7 svn:log V 68 Add a story about confusing information theory with thermodynamics. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-03-07T07:26:42.000000Z K 7 svn:log V 576 Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket for the duration of the send() call. Such approach may be less than ideal in threading environment, when several threads share the same socket and it might happen that several of them are calling linux_send() at the same time with and without SO_NOSIGPIPE set. However, such race condition is very unlikely in practice, therefore this change provides practical improvement compared to the previous behaviour. PR: kern/76426 Submitted by: Steven Hartland MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-03-07T07:31:20.000000Z K 7 svn:log V 111 Replaced previous hw.physmem extraction with des's mods to getenv_ulong() - much simpler. Pointed out by: des END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-03-07T08:42:49.000000Z K 7 svn:log V 973 Make background fsck based summary adjustments actually work by initializing the sysctl mibs data before actually using them. The original patchset (which is the actual version that is running on my testboxes) have checked whether all of these sysctls and refuses to do background fsck if we don't have them. Kirk has pointed out that refusing running fsck on old kernels is pointless, as old kernels will recompute the summary at mount time, so I have removed these checks. Unfortunatelly, as the checks will initialize the mib values of those sysctl's, and which are vital for the runtime summary adjustment to work, we can not simply remove the check, which will lead to problem when running background fsck over a dirty volume. Add these checks in a different way: give a warning rather than refusing to work, and complain if the functionality is not available when adjustments are necessary. Noticed by: A power failure at my lab Pointy hat: me MFC After: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-07T09:55:43.000000Z K 7 svn:log V 95 Remove superfluous .Pp call. Submitted by: Joel Dahl MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-07T09:59:49.000000Z K 7 svn:log V 63 MFC: Remove superfluous .Pp calls. Approved by: re (blanket) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T11:05:47.000000Z K 7 svn:log V 48 Add placeholder mutex argument to new_unrhdr(). END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-03-07T11:05:48.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-07T12:43:59.000000Z K 7 svn:log V 117 Move the 'M' and 'N' modifiers into their own function. Patch: 7.101 Submitted by: Max Okumoto END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-07T13:08:05.000000Z K 7 svn:log V 2410 Merge uipc_socket.c:1.233, uipc_usrreq.c:1.151, atm_cm.c:1.33, atm_socket.c:1.23, atm_var.h:1.26, ipatm_load.c:1.l21, ng_btsocket_l2cap.c:1.16, ng_btsocket_rfcomm.c:1.15, tcp_usrreq.c:1.15, spx_usrreq.c:1.62, socketvar.h:1.139 from HEAD to RELENG_5: In the current world order, solisten() implements the state transition of a socket from a regular socket to a listening socket able to accept new connections. As part of this state transition, solisten() calls into the protocol to update protocol-layer state. There were several bugs in this implementation that could result in a race wherein a TCP SYN received in the interval between the protocol state transition and the shortly following socket layer transition would result in a panic in the TCP code, as the socket would be in the TCPS_LISTEN state, but the socket would not have the SO_ACCEPTCONN flag set. This change does the following: - Pushes the socket state transition from the socket layer solisten() to to socket "library" routines called from the protocol. This permits the socket routines to be called while holding the protocol mutexes, preventing a race exposing the incomplete socket state transition to TCP after the TCP state transition has completed. The check for a socket layer state transition is performed by solisten_proto_check(), and the actual transition is performed by solisten_proto(). - Holds the socket lock for the duration of the socket state test and set, and over the protocol layer state transition, which is now possible as the socket lock is acquired by the protocol layer, rather than vice versa. This prevents additional state related races in the socket layer. This permits the dual transition of socket layer and protocol layer state to occur while holding locks for both layers, making the two changes atomic with respect to one another. Similar changes are likely require elsewhere in the socket/protocol code. Reported by: Peter Holm Review and fixes from: emax, Antoine Brodin Philosophical head nod: gnn Note that this changes the behavior of the pru_listen() protocol entry point; all protocols are updated to match the new behavior. We do not know of any third party protocol implementations that this might cause problems for. Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T13:10:48.000000Z K 7 svn:log V 118 MFC: Add isa_dmatc() function to check for Terminal Count condition. (pre-cursor for IEEE488 MFC) Approved by: re@ END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-03-07T13:20:49.000000Z K 7 svn:log V 335 - Encapsulate the code responsible for initializing a new TX descriptor from an mbuf into the fxp_encap() function, as done in other drivers. - Don't waste time calling bus_dmamap_load_mbuf() if we know the mbuf chain is too long to fit in a TX descriptor, call m_defrag() first. - Convert fxp(4) to use bus_dmamap_load_mbuf_sg(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T13:46:40.000000Z K 7 svn:log V 68 MFC: IEEE488 driver. (userland still to follow) Approved by: re@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-07T13:50:16.000000Z K 7 svn:log V 209 When upcalling from a socket in soisconnected() for an accept filter, call with flag M_DONTWAIT rather than M_TRYWAIT, as we don't want to do blocking memory allocation (etc) in the netisr. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-03-07T13:53:39.000000Z K 7 svn:log V 85 MFC: Don't use the ptoa() to set the 'realmem' variable. Approved by: re (kensmith) END K 10 svn:author V 7 phantom K 8 svn:date V 27 2005-03-07T13:57:24.000000Z K 7 svn:log V 107 Add korean NLS message catalogs for libc Submitted by: Hye-Shik Chang PR: misc/78290 END K 10 svn:author V 7 phantom K 8 svn:date V 27 2005-03-07T14:03:09.000000Z K 7 svn:log V 81 MFC: rev 1.9; Respect LC_MESSAGES locale category while handling of NLS catalogs END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-07T15:29:11.000000Z K 7 svn:log V 116 Prefer 's __printflike() macro to the recently added __GNUCLIKE_ATTRIBUTE_PRINTF. Approved by: mjacob END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-07T15:38:37.000000Z K 7 svn:log V 219 Don't try to use 'typedef struct foo' if just 'struct foo' makes more sense and works on all compilers. This also removes the need for __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT in . OK'ed by: marcel, dfr END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-07T15:40:25.000000Z K 7 svn:log V 120 The macros __GNUCLIKE_ATTRIBUTE_PRINTF and __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT are no longer needed, remove them. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-07T16:08:39.000000Z K 7 svn:log V 240 Factor out the 'S' modifier into its own function. Move a variable that is now used for both the 'M'/'N' branch and the 'S' branch of the switch statement into a common scope. Patch: 7.102-105 Submitted by: Max Okumoto END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-07T16:10:39.000000Z K 7 svn:log V 104 Constify the input argument to brk_string. Patch: 7.106 Submitted by: Max Okumoto END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-07T16:14:50.000000Z K 7 svn:log V 100 Style: fix indendation of VarModify(). Patch: 7.107 Submitted by: Max Okumoto END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-07T16:23:53.000000Z K 7 svn:log V 110 Constify the callers of brk_string in this file. Patch: 7.108 Submitted by: Max Okumoto END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-03-07T16:32:24.000000Z K 7 svn:log V 70 MFC rev. 1.495: s/opt_ifpw.h/opt_ipfw.h/. Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-03-07T17:03:18.000000Z K 7 svn:log V 97 MFC: add /rescue/init to default init path, before /stand/sysinstall Approved by: re (kensmith) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-03-07T17:11:43.000000Z K 7 svn:log V 339 MFC: > fix a bug where bpf would try to wakeup before updating the state.. This > was causing kqueue not to see the correct state and not wake up a process > that is waiting... > > Submitted by: nCircle Network Security, Inc. > > Revision Changes Path > 1.146 +6 -2 src/sys/net/bpf.c Approved by: re (kensmith) END K 10 svn:author V 2 le K 8 svn:date V 27 2005-03-07T19:58:58.000000Z K 7 svn:log V 247 Remove test for zero sectorsize when tasting. This check doesn't seem to be necessary anymore, and it prevents tasting a valid drive when booting with geom_vinum already loaded, since SCSI disks set their sectorsize not until first opening them. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-07T20:28:26.000000Z K 7 svn:log V 44 Remove an obsolete sentence from a comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T20:29:16.000000Z K 7 svn:log V 50 MFC: Userland side of IEEE488. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T20:38:51.000000Z K 7 svn:log V 49 MFC: userland ieee488 support Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T20:39:34.000000Z K 7 svn:log V 53 MFC: userland support for ieee488 Approved by: re@ END K 10 svn:author V 3 das K 8 svn:date V 27 2005-03-07T21:27:37.000000Z K 7 svn:log V 320 Replace strong references with weak references. There's no particularly good reason to do this, except that __strong_reference does type checking, whereas __weak_reference does not. On Alpha, the compiler won't accept a 'long double' parameter in place of a 'double' parameter even thought the two types are identical. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-07T21:34:50.000000Z K 7 svn:log V 50 MFC: ieee488 userland support. Approved by: re@ END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-03-07T21:37:30.000000Z K 7 svn:log V 87 s/IPFIRWALL/IPFIREWALL/. Spotted by: Andre Guibert de Brue Approved by: re (kensmith) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-03-07T21:37:31.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_4'. END K 10 svn:author V 4 grog K 8 svn:date V 27 2005-03-08T00:09:41.000000Z K 7 svn:log V 93 When building cscopnamefile, default architecture to ${MACHINE}, not i386. Suggested by: ru END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-03-08T00:58:50.000000Z K 7 svn:log V 34 Typo & grammar fixes in comments. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2005-03-08T01:37:36.000000Z K 7 svn:log V 188 Make note of the ktrdump(8) utility in the opening paragraph of this manual page. Fix indentation of code block in EXAMPLE section so the manual page can be viewed in a 80 column window. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-03-08T02:28:42.000000Z K 7 svn:log V 128 MFC rev 1.48: Link in "mdoc/example.9" to the RELENG_5 build. Reminded by: ru Approved by: re (kensmith) Pointy hat to: jkoshy END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-03-08T02:47:18.000000Z K 7 svn:log V 588 Fix the silly bug that prevented most EHCI interrupt transfers from ever working correctly: the code was linking the QHs together but then immediately overwriting the "next" pointers. Oops. Also initialise qh_endphub, since the EHCI spec says that we should always set the pipe multiplier field to something sensible. This appears to make basic split transactions work, so enable split transactions for control, bulk and interrupt pipes (split isochronous transfers are not yet implemented). It should now be possible to use USB1 devices even when they are connected through a USB2 hub. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-03-08T03:13:36.000000Z K 7 svn:log V 96 MFC 1.60: ignores ICMPv6 code field in case of ICMPv6 Packet-Too-Big Approved by: re(kensmith) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-03-08T03:24:32.000000Z K 7 svn:log V 129 prevent a crash when the watched proc exits... This bug was inadvertantly fixed in v1.77 on HEAD... Prodded to investigate: ps END K 10 svn:author V 3 hmp K 8 svn:date V 27 2005-03-08T06:58:56.000000Z K 7 svn:log V 81 Document the '-i' option which allows the user to specify a ktr events log file. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T07:43:57.000000Z K 7 svn:log V 126 Finish constification of Var_Parse() and Var_Subst(). Patch: 0.18, 0.8, 7.110 Submitted by: Max Okumoto END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T07:45:50.000000Z K 7 svn:log V 42 Mark functions that don't return as dead. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T07:47:14.000000Z K 7 svn:log V 81 Add a debugging function that prints a message and appends the current strerror. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T08:12:35.000000Z K 7 svn:log V 82 Make the returnvalue of times(3) insensitive to changes in wall-clock. PR: 78537 END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-03-08T08:49:04.000000Z K 7 svn:log V 89 Reference the Usenix conference paper. The paper explains very clearly how portals work. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-03-08T09:34:54.000000Z K 7 svn:log V 174 - Lock access to the buffer_map with the vm_map lock. In 4.x this was done with splbio, in 5.x this was done with Giant. Discussed with: alc Reported by: julian, pho END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T10:40:03.000000Z K 7 svn:log V 32 Fix signedness of minor2unit(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T10:40:48.000000Z K 7 svn:log V 426 Reengineer subr_unit Add support for passing in a mutex. If NULL is passed a global subr_unit mutex is used. Add alloc_unrl() which expects the mutex to be held. Allocating a unit will never sleep as it does not need to allocate memory. Cut possible range in half so we can use -1 to mean "out of number". Collapse first and last runs into the head by means of counters. This saves memory in the common case(s). END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-03-08T11:18:14.000000Z K 7 svn:log V 193 Use __func__ in the KTR_BUSDMA traces. This avoids copy and paste errors like in the bus_dmamap_load_mbuf_sg() case where we were wrongly displaying the function name as bus_dmamap_load_mbuf. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2005-03-08T12:52:00.000000Z K 7 svn:log V 433 Sync with upstream: Allow the user to run unifdef without defining any symbols. This is useful in conjunction with the -k flag. Fix a bug in the -s handling code that would have caused out-of-bounds array accesses. Add a -n option to insert #line directives in the output. Ignore comment markers inside string and character literals (bug reported by Amos Shapira ). More accurate copyright notices. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-03-08T13:14:46.000000Z K 7 svn:log V 358 Use 12 columns for (int) values, 20 columns for (long) and align headers properly (right justified for numbers, left justified for everything else). This fixes the alignment of the fields on i386, sparc64 and amd64 today but does not dynamically assign column widths or bear in mind that some of the values may be 64-bit in the future. Reviewed by: alfred END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T13:15:18.000000Z K 7 svn:log V 98 Create a new function Buf_Peel that returns the string from inside a Buffer and frees the Buffer. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T13:15:51.000000Z K 7 svn:log V 86 Use the new Buf_Peel function to simplify things. Remove an unused struct definition. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T14:29:23.000000Z K 7 svn:log V 24 Style: fix indentation. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T14:30:18.000000Z K 7 svn:log V 33 Remove useless local prototypes. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T14:33:58.000000Z K 7 svn:log V 110 Use the Buf_Peel function to get to the string contained into a buffer without using an extra local variable. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T14:37:47.000000Z K 7 svn:log V 45 Use Buf_Peel to get rid of a local variable. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-03-08T14:44:33.000000Z K 7 svn:log V 173 Oops, CTR*() macros are not varadic macros, and the number indicates the number of parameters. Fix my previous commit to use the correct CTR*() macros. Pointy hat to: mux END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-03-08T14:49:05.000000Z K 7 svn:log V 18 Fixup KTR traces. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-03-08T16:11:41.000000Z K 7 svn:log V 264 Add kernel-only flag MSG_NOSIGNAL to be used in emulation layers to surpress SIGPIPE signal for the duration of the sento-family syscalls. Use it to replace previously added hack in Linux layer based on temporarily setting SO_NOSIGPIPE flag. Suggested by: alfred END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-03-08T16:27:41.000000Z K 7 svn:log V 138 MFC 1.1.1.3 (partly): NLS catclose() bug avoidance (KAJIMOTO Masato). PR: bin/44504 Tested by: mistral@imasy.or.jp (Yoshihiko Sarumaru) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-08T16:30:32.000000Z K 7 svn:log V 67 Style: fix indentation of SuffExpandChildren before working on it. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-03-08T16:57:20.000000Z K 7 svn:log V 101 Remove redundant initialization that is repeated in the for() loop right below it. Approved by: jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-08T17:01:03.000000Z K 7 svn:log V 78 reclaim mbuf chain when ieee80211_crypto_encap fails Noticed by: David Young END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-08T17:04:14.000000Z K 7 svn:log V 93 honor any desired bssid when creating an ibss Prodded by: David Young Obtained from: netbsd END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-03-08T17:22:11.000000Z K 7 svn:log V 227 - If we fail to find an entry in the PRT, output a warning message. - Fix a bug in the same condition where we forgot to drop the ACPI pcib lock. This fixes hangs after the pcib0 attach on some machines. Tested by: sos (2) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-08T17:52:01.000000Z K 7 svn:log V 112 allow the destination of m_move_pkthdr to have external storage (e.g. a cluster) Glanced at by: rwatson, silby END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T19:51:27.000000Z K 7 svn:log V 70 Remove kernelside support for devfs rules filtering on major numbers. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T21:32:19.000000Z K 7 svn:log V 49 Add ioctl to ask DEVFS about the name of device. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-08T21:35:52.000000Z K 7 svn:log V 121 Have ttyname_r() try to ask DEVFS for the device name. Document ttyname_r(). Simplify threaded/unthreaded stuff a lot. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-08T21:46:18.000000Z K 7 svn:log V 40 Initialise `sn' before using its value. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-03-08T23:25:46.000000Z K 7 svn:log V 397 The DC driver asks for an alignment of PAGE_SIZE for data buffers, but also asks that each buffer be (2048 * 256) bytes long. I suspect that alignment isn't a real requirement since busdma only recently started honoring it. The size is also bogus. Fix both of these and stop busdma from trying to exhaust the system memory pool with bounce pages. Submitted by: Kevin Oberman MFC After: 7 days END K 10 svn:author V 6 alfred K 8 svn:date V 27 2005-03-09T00:17:33.000000Z K 7 svn:log V 112 Make MSG_NOSIGNAL available to native programs. Bump FreeBSD_version to note this change. Reviewed by: sobomax END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-03-09T00:54:55.000000Z K 7 svn:log V 57 Bugger, wiped out a needed comma in the previous commit. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2005-03-09T01:56:48.000000Z K 7 svn:log V 154 Remove stale information in IMPLEMENTATION NOTES section about alq_open() using the calling thread's ucred. While I am there, fix references to my name. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-03-09T03:57:08.000000Z K 7 svn:log V 126 Be consistent about the serial line terminal type. CVS ---------------------------------------------------------------------- END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-09T07:53:03.000000Z K 7 svn:log V 70 Var_Subst() cannot return NULL so there is no reason to check for it. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-03-09T07:56:09.000000Z K 7 svn:log V 46 spell resource correctly... MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-03-09T10:00:01.000000Z K 7 svn:log V 127 Make ARP do not complain about wrong interface if correct interface is a carp one and address matched it. Reviewed by: brooks END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-09T10:10:51.000000Z K 7 svn:log V 62 Prefer the __printflike() macro to GCC's __attribute__ stuff. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-09T11:28:46.000000Z K 7 svn:log V 25 __FUNCTION__ -> __func__ END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-09T11:50:55.000000Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-09T11:57:32.000000Z K 7 svn:log V 30 Fix dubious C code construct. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-03-09T12:16:45.000000Z K 7 svn:log V 171 My addled brains didn't realize that since vtp points into value, we can't freeenv(value) before we're done inspecting vtp[0]. Tested by: Anish Mistry END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-09T12:29:07.000000Z K 7 svn:log V 24 Device counts are gone. END K 10 svn:author V 3 den K 8 svn:date V 27 2005-03-09T14:03:59.000000Z K 7 svn:log V 270 Merge the following from the English version: 1.261 -> 1.274 hardware/common/dev.sgml 1.13 -> 1.14 hardware/i386/proc-i386.sgml 1.4 -> 1.5 hardware/pc98/proc-pc98.sgml 1.28 -> 1.30 installation/common/install.sgml 1.780 -> 1.782 relnotes/common/new.sgml END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-03-09T14:39:48.000000Z K 7 svn:log V 123 reported from VANHULLEBUS Yvan [remote kernel crash may result] Submitted by: itojun Obtained from: KAME MFC after: 1 day END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-09T15:28:48.000000Z K 7 svn:log V 39 correct space check Submitted by: ume END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-03-09T15:33:58.000000Z K 7 svn:log V 221 - Remove the BURN_BRIDGES marked support for hooking into the ISA timer 0 interrupt. - Remove the timer_func variable as it now has a static value of hardclock() and is only used in one place. Axe borrowed from: phk END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-09T15:53:27.000000Z K 7 svn:log V 59 connect wlan_acl to the build Submitted by: Alexey Zelkin END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-03-09T16:22:21.000000Z K 7 svn:log V 87 The third parameter to SHA_Update and SHA1_Update is a "size_t", not a "unsigned int". END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-09T16:51:43.000000Z K 7 svn:log V 254 Split SuffExpandChildren into three functions: one that skips variables and expands archive specifications, one that expands wild cards and a driver that loops over the children list and expands each child if necessary replacing it with it's expansions. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-09T16:53:31.000000Z K 7 svn:log V 105 Implement a new macro LST_NEXT which is like Lst_Succ but doesn't check for its argument to be non-NULL. END K 10 svn:author V 5 novel K 8 svn:date V 27 2005-03-09T17:41:42.000000Z K 7 svn:log V 41 Add myself. Approved by: krion (mentor) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-03-09T18:21:42.000000Z K 7 svn:log V 297 New release notes: ddb(4) "show alllocks" command, fix reading config files with a line without a newline character, TCP RST handling improved and net.inet.tcp.insecure_rst sysctl, lpd(8) data file check, and syslogd(8) ":" and "%" characters in hostname. MFC: ipfw with debug.mpsafenet=1. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-03-09T18:32:29.000000Z K 7 svn:log V 42 Retire the Early Adopter's Guide in HEAD. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-03-09T18:41:42.000000Z K 7 svn:log V 48 Markup fixes: use &tm.*;, &man.*;, and . END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-03-09T18:59:20.000000Z K 7 svn:log V 191 MFC Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc(). Change the spelling of the "catch" option to be consistent with the new options. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-03-09T19:23:04.000000Z K 7 svn:log V 195 In light of the recent 2^69 operation collision-finding attack on SHA1, add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-09T21:38:53.000000Z K 7 svn:log V 91 Document, via WITNESS, that the NFS server mutex falls ahead of the socket buffer mutexes. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-09T22:31:56.000000Z K 7 svn:log V 116 Add manual page for snd_vibes(4). Submitted by: Joel Dahl PR: docs/78580 MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-09T22:39:26.000000Z K 7 svn:log V 120 Add manual page for snd_via82c686(4). Submitted by: Joel Dahl PR: docs/78586 MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-09T22:44:23.000000Z K 7 svn:log V 96 - Auto generate device listings for snd_vibes(4) and snd_via82c686(4). - Sort dev.archlist.txt. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-03-09T23:14:10.000000Z K 7 svn:log V 303 Add limits on the number of elements in the sack scoreboard both per-connection and globally. This eliminates potential DoS attacks where SACK scoreboard elements tie up too much memory. Submitted by: Raja Mukerji (raja at moselle dot com). Reviewed by: Mohan Srinivasan (mohans at yahoo-inc dot com). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-09T23:41:57.000000Z K 7 svn:log V 122 MFC: rev. 1.2 (partly) by njl Comment in the HISTORY section. rev. 1.4 by ru Markup fixes. Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-09T23:57:22.000000Z K 7 svn:log V 62 MFC: rev. 1.7 by ru Markup fixes. Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-10T00:04:54.000000Z K 7 svn:log V 77 MFC: rev. 1.6 by ru Use lists where appropriate. Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-10T00:50:59.000000Z K 7 svn:log V 71 MFC: rev. 1.3 Remove superfluous .Pp call. Approved by: re (blanket) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-10T00:57:01.000000Z K 7 svn:log V 54 Use socklen_t where appropriate. Approved by: alfred END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-10T00:58:21.000000Z K 7 svn:log V 55 Remove an superfluous assignment. Approved by: alfred END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-03-10T08:07:59.000000Z K 7 svn:log V 35 s/cdrom/CD-ROM/ MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-03-10T08:25:49.000000Z K 7 svn:log V 58 Avoid pointer arithmetics on void *. Approved by: alfred END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-10T08:44:56.000000Z K 7 svn:log V 62 MFC: Add snd_neomagic(4) manual page. Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-10T08:47:06.000000Z K 7 svn:log V 133 MFC 1.45+1.47+1.55: - Add hptmv(4). - Add snd_audiocs(4). - Auto generate device listing for snd_neomagic(4). Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-03-10T08:50:01.000000Z K 7 svn:log V 327 MFC 1.237+1.248+1.262+1.274: - Autogenerate device listings for hptmv(4). - Add vge(4) to the Hardware Notes. - Auto generate device listings for the following drivers: snd_ad1816, snd_cmi, snd_cs4281, snd_ds1, snd_emu10k1, snd_es137x, and snd_solo. - Auto generate device listing for snd_neomagic(4). Approved by: re (hrs) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-10T09:28:39.000000Z K 7 svn:log V 55 Add a man page for ng_ccatm(4). Reminded by: brueffer END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-03-10T09:56:39.000000Z K 7 svn:log V 72 Belatedly update the md5(1) man page to reflect the addition of sha256. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-10T10:16:03.000000Z K 7 svn:log V 69 Style: fix function style before working on it (mainly intendation). END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-03-10T11:40:53.000000Z K 7 svn:log V 50 use cast128 in opencrypto to nuke duplicate code. END K 10 svn:author V 3 den K 8 svn:date V 27 2005-03-10T11:44:05.000000Z K 7 svn:log V 43 Remove early-adopter translation from HEAD END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-03-10T13:07:32.000000Z K 7 svn:log V 105 Backout revision 1.20. I was a misunderstanding. Pointed out by: Watanabe Kazuhiro Pointy hat to: nyan END K 10 svn:author V 3 den K 8 svn:date V 27 2005-03-10T14:15:08.000000Z K 7 svn:log V 292 Add a Russian override of dev-auto.sgml (device entities only) and example script which can translate some repeated device entities. With -o option it can be used to update translated list of entities (skip translated ones). Obtained from: The FreeBSD Russian Documentation Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:19:31.000000Z K 7 svn:log V 71 Marginally reformat my copyright statement to remove the spurious ','. END K 10 svn:author V 3 den K 8 svn:date V 27 2005-03-10T14:21:32.000000Z K 7 svn:log V 20 MFen 1.274 -> 1.275 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:23:27.000000Z K 7 svn:log V 171 Merge README:1.5 from HEAD to RELENG_5: Marginally reformat my copyright statement to remove the spurious ','. Approved by: re (blanket netipx locking merge approval) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:27:00.000000Z K 7 svn:log V 560 Merge ipx_input.c:1.44 ipx_pcb.c:1.42, ipx_pcb.h:1.23 from HEAD to RELENG_5: Introduce a global mutex, ipxpcb_list_mtx, to protect the global IPX PCB lists. Add macros to initialize, destroy, lock, unlock, and assert the mutex. Initialize the mutex when IPX is started. Add per-IPX PCB mutexes, ipxp_mtx in struct ipxpcb, to protect per-PCB IPX/SPX state. Add macros to initialize, destroy, lock, unlock, and assert the mutex. Initialize the mutex when a new PCB is allocated; destroy it when the PCB is free'd. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:28:21.000000Z K 7 svn:log V 167 Merge ipx_input.c:1.45 from HEAD to RELENG_5: Hold the global IPX PCB list mutex in the IPX input path when walking the IPX PCB list. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:29:17.000000Z K 7 svn:log V 153 Merge ipx_input.c:1.46 from HEAD to RELENG_5: Hold the IPX PCB mutex around calls to ipx_input() in the IPX input path. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:30:31.000000Z K 7 svn:log V 456 Merge ipx_pcb.c:1.43 from HEAD to RELENG_5: date: 2005/01/09 05:10:43; author: rwatson; state: Exp; lines: +21 -1 Assert or acquire the IPX PCB list lock or IPX PCB locks throughout the IPX-related PCB routines. In general, the list lock is required to iterate the PCB list, either for read or write; the PCB lock is required to access or modify a PCB. To change the binding of a PCB, both locks must be held. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:32:30.000000Z K 7 svn:log V 395 Merge ipx_usrreq.c:1.51 from HEAD to RELENG_5: Acquire or assert the IPX PCB list lock or IPX PCB lock during various protocol methods relating to IPX. Conditionally acquire the PCB list lock in the send operation only if the socket requires binding in order to use the requested address. Remove spl's generally no longer required during these accesses. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:34:02.000000Z K 7 svn:log V 337 Merge ipx_input.c:1.47 and ip_usrreq.c:1.52 from HEAD to RELENG_5: Protect ipx_pexseq with the IPX PCB list mutex. When processing socket options against IPX PCBs, generally protect PCB fields using the IPX PCB mutex. Where possible, use unlocked reads on integer values to avoid locking overhead. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:36:35.000000Z K 7 svn:log V 1003 Merge ipx_input.c:1.48, spx_srreq.c:1.61 from HEAD to RELENG_5: Use the IPX PCB list mutex and IPX PCB mutexes to lock down the SPX portion of IPX/SPX: - Protect IPX PCB lists with the IPX PCB list mutex, in particular when calling PCB and PCB list manipulation routines in ipx_pcb.c. - Protect both IPX PCB state and SPX PCB state using the IPX PCB mutex. - Generally annotate locking, as well as adding liberal use of lock assertions to document locking requirements. - Where possible, use unlocked reads when reading integer or smaller sized socket options on SPX sockets. - De-spl throughout. Notes: - spx_input() expects both the list mutex and PCB mutex to be held on entry, but will release both on return. Because sonewconn() is called from spx_input(), it may actually drop one PCB lock and acquire another during generation of a new connection, meaning the caller is not in a position to unlock the PCB mutex. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:38:19.000000Z K 7 svn:log V 622 Merge ipx.c:1.30, ipx_input.c:1.49 from HEAD to RELENG_5: Recent changes have locked down most of the highly dynamic data structures in IPX/SPX -- primarily, sequence numbering, PCB lists, and PCBs for IPX raw sockets, IPX datagram sockets, and IPX/SPX. As such, remove remove NET_NEEDS_GIANT() for IPX, and remove the assertion of Giant in the ipxintr() IPX input path. Note that IPX/SPX is not fully MPSAFE, and that there are some problems with IPX/SPX locking that will require some further work. However, it is now safe enough to run in general without the Giant lock. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-03-10T14:39:02.000000Z K 7 svn:log V 247 Merge ipx_input.c:1.50 from HEAD to RELENG_5: Mark the IPX netisr as MPSAFE so that inbound IPX traffic is processed without Giant, and can be directly dispatched in the ithread when net.isr.enable is turned on. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-03-10T14:44:25.000000Z K 7 svn:log V 458 MFC 1.9: Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such precision when IP packet may travel through internet for several seconds. Also uptime measured in milliseconds overflows every 48+ days. But we have to do same to keep compatibility with Cisco and flow-tools. Make a macro MILLIUPTIME, which does overflowable multiplication to 1000. Requested by: Sergey Ryabin, Oleg Bulyzhin Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-03-10T14:54:23.000000Z K 7 svn:log V 56 MFC: Backout revision 1.20. Approved by: re (kensmith) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-10T14:54:47.000000Z K 7 svn:log V 94 Reorganize Suff_EndTransform to be called only for nodes for which it is needed (transforms). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-03-10T14:58:59.000000Z K 7 svn:log V 446 MFC the background fsck_ffs(8) fixes which will calculate the superblock summary by getting the sysctl mibs initialized during setup phrase. This will make the background fsck summary adjustment actually functional. MFC'ed revisions: > Revision Changes Path > 1.36 +1 -0 src/sbin/fsck_ffs/fsck.h > 1.42 +5 -5 src/sbin/fsck_ffs/pass5.c > 1.49 +18 -0 src/sbin/fsck_ffs/setup.c Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-03-10T15:26:45.000000Z K 7 svn:log V 187 Add antifootshooting workaround, which will make all routes "connected" to carp(4) interfaces host routes. This prevents a problem, when connected network is routed to carp(4) interface. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-10T15:30:09.000000Z K 7 svn:log V 56 Call ParseFinishLine() for the last line of a file too. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-03-10T15:35:31.000000Z K 7 svn:log V 242 MFC 1.38: Give a better advice on how to convert DOS text to UNIX text. The former tip used `col -bx', which would not only discard CR's, but also expand TAB's and remove BS'en. This effect is not always wanted. Approved by: re (kensmith) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-03-10T15:38:01.000000Z K 7 svn:log V 59 Constify Var_Dump and simplify it by inlining VarPrintVar. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2005-03-10T15:58:16.000000Z K 7 svn:log V 106 Update comment to reflect default GENCAT value (changed in previous rev) Reminded by: Joerg Sonnenberger END K 10 svn:author V 3 des K 8 svn:date V 27 2005-03-10T17:09:16.000000Z K 7 svn:log V 90 MFC: (1.38, 1.39) recognize k/m/g/t suffixes in all tunables. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-03-10T18:09:25.000000Z K 7 svn:log V 967 Fix a couple of problems with the probe code when used with pnpbios resources. When allocating 6 ports for a 4 port range isa code returns an error. I'm not sure yet why this is the case, but suspect it is just a non-regularity in how the resource allocation code works which should be corrected. Use 1 as the ports size in this case. However, in the hints case, we have to specify the length, so use 6 in that case. I believe that this is also acpi friendly. Also, complain when we can't allocate FDOUT register space. Right now we silently fail when we can't. This failure is referred to above. When there's no resource for FDCTL, go ahead and allocate one by hand. Many PNPBIOS tables don't list this resource, and our hints mechanism also doesn't cover that range. If we can't allocate it, whine, but fake up something. Before, we were always bogusly faking it and no one noticed the sham (save the original author who has now fixed his private shame). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-10T18:21:34.000000Z K 7 svn:log V 125 Try to fix the mess I made of devname, with the minimal subset of the larger minor/major patch which was posted for testing. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-03-10T18:23:15.000000Z K 7 svn:log V 658 MFC if_fxp.c revision 1.225: date: 2005/03/03 00:22:59; author: mux; state: Exp; lines: +13 -8 Fix the panic recently reported on -current@ occuring when configuring a vlan interface attached to a fxp(4) card when it has not been initialized yet. We now set the links from our internel TX descriptor structure to the TX command blocks at attach time rather than at init time. While I'm here, slightly improve the style in fxp_attach(). PR: kern/78112 Reported by: Gavin Atkinson and others Tested by: flz, Gavin Atkinson Approved by: re@ (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-03-10T18:49:17.000000Z K 7 svn:log V 69 One more bit of the major/minor patch to make ttyname happy as well. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-03-10T19:27:08.000000Z K 7 svn:log V 108 Plug item leak in case when NGI_FN is applied to invalid node. Submitted by: Roselyn Lee MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-03-10T19:34:20.000000Z K 7 svn:log V 128 Plug item leak in macro NG_RESPOND_MSG. Item was leaked when destination node couldn't be addressed. Submitted by: Roselyn Lee END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-03-10T21:23:06.000000Z K 7 svn:log V 55 fix spelling of match in comment... MFC after: 3 days END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-03-10T21:50:50.000000Z K 7 svn:log V 200 Make some basic grammar and style fixes to ng_source.c and ng_source.h. The latter was particularly violated by someone's editor in the past, due to an effect I like to call "premature linewrapping." END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-03-10T22:02:40.000000Z K 7 svn:log V 169 Document new pipe sub-namespace. Alphabetically order the description of the sub-namespaces. Add usage examples for the net and pipe sub-namespaces. MFC after: 1 month END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-03-10T22:10:16.000000Z K 7 svn:log V 292 Add a new pipe sub-namespace. This allows us to: - perform scatter gather operations without using temporary files, - create non-linear pipelines, and - implement file views using symbolic links. File view idea by: Vassilios Karakoidas Portalfs pointer by: John Ioannidis MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-03-10T22:21:16.000000Z K 7 svn:log V 26 Kill trailing white space END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-03-10T23:38:49.000000Z K 7 svn:log V 84 MFC: rev 1.2: Unconditionally support the AMD64 GART HW. Approved by: re(kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-03-11T01:39:57.000000Z K 7 svn:log V 80 SampleRate rate control algorithm for the ath driver Submitted by: John Bicket END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-03-11T03:50:47.000000Z K 7 svn:log V 235 MFC The m_ext reference counts are potentially shared and modified asynchronously by different threads. Thus, declare as volatile the reference count that is accessed through m_ext's pointer, ref_cnt. Approved by: re (dwhite,jhb) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-03-11T05:27:05.000000Z K 7 svn:log V 340 Revert changes of 1.49. Lots-a-people broke with it, for reasons unknown (since my sony vaio didn't :-(. Instead, fix the problem described by 1.49 in a different way: just add the two calls I'd hoped I'd avoid in 1.49 by doing the (wrong) gymnastics there. While 1.49 is a good direction to go in, each step of the way should work :-(. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-03-11T05:30:59.000000Z K 7 svn:log V 37 Doh! silly typo precludes compiling END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-03-11T05:37:18.000000Z K 7 svn:log V 72 Fix minor grammar and punctuation nits in a few recently-added entries. END