Го=152355 190 134 122 167 123 189 128 127 135 123 525 472 173 192 131 123 224 730 235 358 335 535 2389 167 717 1272 275 143 153 412 354 322 317 327 218 216 211 237 379 179 139 220 149 132 201 151 733 744 338 171 217 132 154 150 558 558 116 154 169 135 124 203 158 232 319 1324 1201 420 497 265 1184 463 109 219 164 306 457 173 158 217 120 304 376 167 140 279 660 450 176 142 337 358 134 330 180 1631 347 131 211 129 193 278 154 293 135 176 128 156 406 163 110 173 257 169 979 469 292 119 133 144 146 118 127 165 115 159 144 158 108 127 115 137 118 709 123 593 125 158 593 125 193 109 149 116 116 108 134 143 132 127 112 140 169 128 142 139 141 160 114 143 184 238 162 134 552 534 133 666 188 109 283 175 164 145 379 292 118 556 95 160 155 1607 167 137 116 149 550 127 144 274 140 K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T01:39:55.000000Z K 7 svn:log V 38 Convert mount_cd9660 to use nmount(). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T01:40:36.000000Z K 7 svn:log V 26 Increase WARNS level to 6 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T01:45:32.000000Z K 7 svn:log V 71 Changes to reflect that size_t parameter to build_iovec() is a size_t. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T01:47:04.000000Z K 7 svn:log V 27 Increase WARNS level to 6. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-13T02:17:05.000000Z K 7 svn:log V 97 In get_pv_entry() use PMAP_LOCK() instead of PMAP_TRYLOCK() when deadlock cannot possibly occur. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-13T03:12:32.000000Z K 7 svn:log V 35 MFC revision 1.51 Giant push down. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-13T03:14:00.000000Z K 7 svn:log V 34 MFC revision 1.47 Giant push down END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T03:24:44.000000Z K 7 svn:log V 39 Convert mount_msdosfs to use nmount(). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-13T03:25:39.000000Z K 7 svn:log V 27 Increase WARNS level to 6. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-13T06:22:34.000000Z K 7 svn:log V 432 MFC revision 1.130 Introduce a new lock for the purpose of synchronizing access to the UMA boot pages. Disable recursion on the general UMA lock now that startup_alloc() no longer uses it. Eliminate the variable uma_boot_free. It serves no purpose. Note: This change eliminates a lock-order reversal between a system map mutex and the UMA lock. See http://sources.zabbadoz.net/freebsd/lor.html#109 for details. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T06:45:36.000000Z K 7 svn:log V 374 Merge HEAD's portsnap into RELENG_6. Significant changes are: 1. phttpget (and thus portsnap) now understands the HTTP_PROXY_AUTH environment variable and basic HTTP proxy authentication. 2. portsnap.8 now contains a privacy notice. 3. portsnap can now ignore parts of the tree (similar to cvsup "refuse" directives). 4. portsnap reacts sensibly if host(1) does not exist. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T06:48:50.000000Z K 7 svn:log V 76 MFC documentation and example configuration for portsnap REFUSE directives. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T06:58:36.000000Z K 7 svn:log V 95 MFC bsdiff/bspatch to RELENG_5. This should be identical to the version in HEAD and RELENG_6. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T07:01:03.000000Z K 7 svn:log V 34 MFC: connect bsdiff to the build. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T07:13:45.000000Z K 7 svn:log V 26 MFC portsnap to RELENG_5. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-13T07:17:31.000000Z K 7 svn:log V 126 Bump __FreeBSD_version so that the ports tree can respond to the addition of bsdiff and portsnap to the RELENG_5 base system. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-13T07:38:15.000000Z K 7 svn:log V 637 MFC revisions 1.307 and 1.308 Consider the zero-copy transmission of a page that was wired by mlock(2). If a copy-on-write fault occurs on the page, the new copy should inherit a part of the original page's wire count. If a physical page is mapped by two or more virtual addresses, transmitted by the zero-copy sockets method, and written to before the transmission completes, we need to destroy all of the existing mappings to the page, not just the one that we fault on. Otherwise, the mappings will no longer be to the same page and changes made through one of the mappings will not be visible through the others. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-13T08:44:25.000000Z K 7 svn:log V 142 MFC Introduce the vm.boot_pages tunable and sysctl, which controls the number of pages reserved to bootstrap the kernel memory allocator. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-13T09:57:44.000000Z K 7 svn:log V 261 Define SIGLWP which is an alias for SIGTHR, the reason why I did this is that gdb knows SIGLWP and will pass it to program, otherwise gdb will print out "unknown signal" and discard it, and then thread cancellation won't work for libthr under gdb. MFC: 3 days END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-11-13T10:13:31.000000Z K 7 svn:log V 237 Don't augment the DRIVER_VERSION "v1.12" with __DATE__ and __TIME__. This is the only file of > 1700 files in a buildkernel here doing that. It makes reproducible builds (same source => same binary) impossible. Spotted by: devel/ccache END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-11-13T13:26:37.000000Z K 7 svn:log V 437 Add some cards: - several TerraTec TValue [1] - PixelView PlayTV Pro REV-4C [2] In case you have the PixelView card, please tell us the "pciconf -v -l" output on multimedia@FreeBSD.org if it works. There are revisions out there which may not work and we need to know which ones work. PR: 53383 [1], 76002 [2] Submitted by: Tanja Wittke [1], barner [1], Dan Angelescu [2] MFC after: 2 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-13T13:27:44.000000Z K 7 svn:log V 2291 Moderate rewrite of kernel ktrace code to attempt to generally improve reliability when tracing fast-moving processes or writing traces to slow file systems by avoiding unbounded queueuing and dropped records. Record loss was previously possible when the global pool of records become depleted as a result of record generation outstripping record commit, which occurred quickly in many common situations. These changes partially restore the 4.x model of committing ktrace records at the point of trace generation (synchronous), but maintain the 5.x deferred record commit behavior (asynchronous) for situations where entering VFS and sleeping is not possible (i.e., in the scheduler). Records are now queued per-process as opposed to globally, with processes responsible for committing records from their own context as required. - Eliminate the ktrace worker thread and global record queue, as they are no longer used. Keep the global free record list, as records are still used. - Add a per-process record queue, which will hold any asynchronously generated records, such as from context switches. This replaces the global queue as the place to submit asynchronous records to. - When a record is committed asynchronously, simply queue it to the process. - When a record is committed synchronously, first drain any pending per-process records in order to maintain ordering as best we can. Currently ordering between competing threads is provided via a global ktrace_sx, but a per-process flag or lock may be desirable in the future. - When a process returns to user space following a system call, trap, signal delivery, etc, flush any pending records. - When a process exits, flush any pending records. - Assert on process tear-down that there are no pending records. - Slightly abstract the notion of being "in ktrace", which is used to prevent the recursive generation of records, as well as generating traces for ktrace events. Future work here might look at changing the set of events marked for synchronous and asynchronous record generation, re-balancing queue depth, timeliness of commit to disk, and so on. I.e., performing a drain every (n) records. MFC after: 1 month Discussed with: jhb Requested by: Marc Olzheim END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-13T13:42:03.000000Z K 7 svn:log V 71 Add symlinks for kvm access methods for memstat(3). MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-13T14:06:01.000000Z K 7 svn:log V 620 Modify netstat -mb to use libmemstat when accessing a core dump or live kernel memory and not using sysctl. Previously, libmemstat was used only for the live kernel via sysctl paths. This results in netstat output becoming both more consistent between core dumps and the live kernel, and also more information in the core dump case than previously (i.e., mbuf cache information). Statistics relating to sfbufs still rely on a kvm descriptor as they are not currently exposed via libmemstat. netstat -m operating on a core is still unable to print certain sfbuf stats available on the live kernel. MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-11-13T14:20:26.000000Z K 7 svn:log V 1173 Add support for 24/32 bit audio formats/conversion. It may be the case that you may hear some unwanted noise while playing back with 24/32 bit. This is a problem in the USB system. Explanation from Hans Petter Selasky: ---snip--- The current USB sound driver only uses one isochronous buffer, that is restarted when it is completed. This will lead to a short period of time, +1ms, where no sound data is sent to the external USB device. Depending on the load of your computer, this can be as much as 50ms. So the USB sound driver must use 2 isochronous transfers. At the beginning one will queue both. Then these are restarted on completion. This will result in a constant-rate data stream to the external sound device, a minimum sound buffer equal to the size of the isochronous buffer, and possibly the sound will reach your ears with less delay. Little delay is a result of constant data rate. Currently only my USB driver will support that. If one tries that with the USB driver in *BSD, then it will crash at the first moment one gets a buffer underrun. ---snip--- Submitted by: Kazuhito HONDA Mono-recording still not tested by: julian END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-11-13T14:59:05.000000Z K 7 svn:log V 178 MFC: revision 1.4 date: 2005/11/01 21:16:39; author: trhodes; state: Exp; lines: +0 -6 Quick kill links to the nsmb(8) manual page, there is no such utility that I can find. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-11-13T16:35:50.000000Z K 7 svn:log V 49 MFC rev. 1.3: update list of holidays in Russia. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-11-13T16:37:57.000000Z K 7 svn:log V 59 MFC revs. 1.2, 1.3: fix the path to aac_ioctl.h and style. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-11-13T17:06:49.000000Z K 7 svn:log V 319 MFC: ls.c r1.81 and ls.1 r1.92: date: 2005/11/10 00:02:32; author: mux; state: Exp; lines: +16 -8 Add a -I option to disable the automatic -A flag for the super-user. ls.1 r1.93: date: 2005/11/10 14:26:50; author: mux; state: Exp; lines: +2 -1 Mention the non-standardness of the -I option in ls(1). END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-13T17:16:06.000000Z K 7 svn:log V 258 Be more robust when handling Rx interrupts. If we can't allocate and DMA map a new mbuf, just discard the received frame and reuse the old mbuf. This should fix kernel panics on high network traffic. Obtained from: NetBSD (joerg@) MFC after: 2 weeks END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-13T17:17:40.000000Z K 7 svn:log V 226 Be more robust when handling Rx interrupts. If we can't allocate and DMA map a new mbuf, just discard the received frame and reuse the old mbuf. This should fix kernel panics on high network traffic. MFC after: 2 weeks END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-13T17:19:12.000000Z K 7 svn:log V 221 Be more robust when handling Rx interrupts. If we can't allocate and DMA map a new mbuf, just discard the received frame and reuse the old mbuf. This should fix kernel panics on high network traffic. MFC after: 2 weeks END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-13T17:25:21.000000Z K 7 svn:log V 231 Be more robust when handling Rx interrupts. If we can't allocate a new mbuf, just discard the received frame and reuse the old mbuf. This should prevent the connection from stalling after high network traffic. MFC after: 2 weeks END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-11-13T17:26:36.000000Z K 7 svn:log V 120 Remove the unused AAC_DRIVER_BUILD_DATE macro. Nuke whitespace at EOL while I'm here. Approved by: scottl (MAINTAINER) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-13T17:38:02.000000Z K 7 svn:log V 120 Fix endianness issues. iwi now works on big endian architectures too. Obtained from: NetBSD (scw@) MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-13T19:28:17.000000Z K 7 svn:log V 118 correct check for whether or not md5 signature matches; applied to vendor branch since this is already in their depot END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-13T19:28:17.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r152390, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-13T19:36:59.000000Z K 7 svn:log V 282 Fix a mbuf and refcnt leak in the broadcast code. If the packet is rejected from pfil(9) then continue the loop rather than returning, this means that we can still try to send it out the remaining interfaces but more importantly the mbuf is freed and refcount decremented on exit. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-13T20:26:19.000000Z K 7 svn:log V 83 Fix a second missed case where the refcount is not decremented. MFC after: 3 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-11-13T20:30:13.000000Z K 7 svn:log V 42 Avoid shadowing a local scratch variable, END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-11-13T20:37:25.000000Z K 7 svn:log V 122 Declare find_err in indent_globs.h where the other shared variables live rather than listing it as an extern in indent.c. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-11-13T20:50:17.000000Z K 7 svn:log V 52 Const poision, deregister and use ANSI definitions. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-11-13T21:03:56.000000Z K 7 svn:log V 35 len and len2 work better as size_t END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-11-13T21:17:24.000000Z K 7 svn:log V 103 Use ANSI definitions. Avoid using extern by declaring shared functions in header files. Const poision. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-13T21:36:48.000000Z K 7 svn:log V 57 Restore backwards source compatibility with 6.x and 5.x. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-13T21:45:49.000000Z K 7 svn:log V 640 MFC Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine whether the mapping should permit execute access. Revision Changes Path 1.179 +2 -2 src/sys/alpha/alpha/pmap.c 1.527 +4 -2 src/sys/amd64/amd64/pmap.c 1.37 +3 -3 src/sys/arm/arm/pmap.c 1.531 +2 -2 src/sys/i386/i386/pmap.c 1.163 +4 -3 src/sys/ia64/ia64/pmap.c 1.100 +3 -2 src/sys/powerpc/powerpc/pmap.c 1.149 +3 -2 src/sys/sparc64/sparc64/pmap.c 1.72 +1 -1 src/sys/vm/pmap.h 1.207 +2 -1 src/sys/vm/vm_fault.c 1.368 +2 -2 src/sys/vm/vm_map.c END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-13T21:53:55.000000Z K 7 svn:log V 648 o Slightly refactor the ctlreq code to maximize code sharing between verbs. Only the create verb operates on a provider. All other verbs operate on a GPT geom. Also, the GPT entry oriented verbs require a non-downgraded GPT. o Have all verbs take an optional flags parameter. The flags parameter is a string of single-letter flags. The typical use of these flags is to enable certain behaviour in support fo the gpt(8) tool. o Add dummy implementations for the destroy and recover verbs. This change causes test 2 of the GPT regression test suite to fail. The presence of a geom parameter is now required even for unknown verbs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-13T22:02:04.000000Z K 7 svn:log V 242 Update to match geom_gpt:1.35 o Change the result of gctl(001) now that a bogus verb still requires a valid geom, o Insert gctl(024) to test for an appropriate error when a bogus verb is given that does have a proper geom parameter. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-14T00:20:27.000000Z K 7 svn:log V 79 Add xbox associated options/devices to LINT. Submitted by: Rink P.W. Springer END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-14T00:43:44.000000Z K 7 svn:log V 124 Provide a dummy NO_XBOX option that lives in opt_xbox.h for pc98. This allows us to eliminate a three ifdef PC98 instances. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-14T01:25:05.000000Z K 7 svn:log V 40 Fix misspelling. Submitted by: thompsa END K 10 svn:author V 5 bland K 8 svn:date V 27 2005-11-14T02:01:10.000000Z K 7 svn:log V 60 Reuse delete_and_clear() template helper. Approved by: imp END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-14T03:11:25.000000Z K 7 svn:log V 54 Eliminate build breakage due to warnings about const. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-14T10:40:10.000000Z K 7 svn:log V 461 Merge if_em.c:1.82 from HEAD to RELENG_6: Put probe-time printf of adapter speed and duplex behind bootverbose: since the link takes a bit to negotiate, the information is pretty much never available during the probe. As such, the boot output pretty much always prints N/A for speed and duplex. Since we print out the output of ifconfig during the user space boot, this early boot information is also generally redundant, and added to the noise. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-14T10:40:57.000000Z K 7 svn:log V 461 Merge if_em.c:1.82 from HEAD to RELENG_5: Put probe-time printf of adapter speed and duplex behind bootverbose: since the link takes a bit to negotiate, the information is pretty much never available during the probe. As such, the boot output pretty much always prints N/A for speed and duplex. Since we print out the output of ifconfig during the user space boot, this early boot information is also generally redundant, and added to the noise. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-14T12:50:23.000000Z K 7 svn:log V 25 Unbreak for !INET6 case. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-11-14T12:59:10.000000Z K 7 svn:log V 62 Add support for building other kernels than LINT and GENERIC. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-11-14T13:32:30.000000Z K 7 svn:log V 77 Add support for the += operator, which appends to a multiple-value variable. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-11-14T13:33:17.000000Z K 7 svn:log V 43 Build a PAE kernel if a PAE config exists. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-11-14T13:34:15.000000Z K 7 svn:log V 32 Use the new syntax for GENERIC. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-14T13:35:08.000000Z K 7 svn:log V 106 Eliminate coredump problem introduced by last commit. Noticed by: Guido van Rooij END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-11-14T16:04:01.000000Z K 7 svn:log V 64 o Style: restore tab indentation mangled in the previous delta. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-14T17:39:00.000000Z K 7 svn:log V 135 In build_iovec(), if passed in len is -1, check to see if val is NULL before doing strlen() to calculate new len. Submitted by: maxim END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:16:59.000000Z K 7 svn:log V 224 Fix left/right channel mixed-up during recording by splitting recdev mask to recdev_l and recdev_r, since each have its own unique mask. Submitted by: Watanabe Kazuhiro Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:17:31.000000Z K 7 svn:log V 1228 Use both (enabled by default) DAC1 and DAC2 to provide 2 distinct hardware playback channels. DAC configuration can be accessed through kernel hint - hint.pcm..dac="val" with following possible values: 0 = Enable both DACs (default) 1 = Enable single DAC (DAC1) 2 = Enable single DAC (DAC2) 3 = Enable both DACs, swap position (DAC2 comes first instead of DAC1) Special case for ES1370: Unlike ES1371,2,3/CT5880, volume for each DAC 1 and 2 can be controlled indepedently (synth for DAC1, pcm for DAC2). It is possible that user will confuse by this behaviour, since both DACs are enabled by default. Thus, provide a knob through sysctl hw.snd.pcm.single_pcm_mixer: 0 = each DACs will be controlled separately (synth/pcm). 1 = combine both DACs volume mixer controller into a single "pcm" (default) As a side note, fixed rate operation (provided by previous commit) is not a mandatory if the configuration space does not involve DAC2 (perhaps disabled by user through the above kernel hint). Unlike DAC2, DAC1 has its own register / control space, not affected by the speed settings of ADC. Tested by: multimedia@ Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:18:12.000000Z K 7 svn:log V 1105 - Added few more Intel HDA ids (ICH 6/7) which does have backward compatible AC97 codec. - As the driver supports so many variants, create a table ids for ease of probing and maintenance. Submitted by: yongari Reviewed/Tested by: multimedia@ - From luigi: The code to compute fragment sizes in the ich driver almost invariably ends up using the full buffer available, no matter how the user specifies fragment size and number. With audio telephony (8khz, 16bit-stereo) and the 16k buffer size this results in an unbearable 500ms delay. This patch makes sure that we never use more than 4 fragments, (i don't think we need more unless there are huge interrupt servicing latencies), and obey to the requested fragment size, so that latency is acceptable. Based on this (and after much regression tests), I can conclude that this driver works best with 2 fragments, thus solving various long standing issues of ICH driver not capable to flush or play short files perfectly. Suggested by: luigi (the idea of smaller fragments) - MPSAFE conversion. Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:18:52.000000Z K 7 svn:log V 325 Fix a long standing unhandled interrupt bug which can cause erratic system slowdown (beaten to a pulp) and possible panic. This issue has bugged me for as long as I could remember, until I realized that it is possible for register base offset to hold zero value which is definitely a "FALSE". Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:19:33.000000Z K 7 svn:log V 402 ac97.c: - Added new codec id for CX20468-21 and VIA1617A. Submitted by: Chen Lihong - Re-enable SOUND_MIXER_IGAIN, but set the default level as 0 (mute) Suggested by: luigi mixer.c: - Set default value for SOUND_MIXER_IGAIN as 0 (mute) to avoid feedback problems on some laptops (was disabled by jhb during ac97.c revision 1.42). Approved by: netchild (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-14T18:19:57.000000Z K 7 svn:log V 173 Unlike the rest of the world, NDIS code can access "struct ifnet" before is has been fully initialized by if_attach(). Account for that to avoid a null pointer dereference. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:20:47.000000Z K 7 svn:log V 1088 From luigi: In SNDCTL_DSP_SETFRAGMENT, if you specify both read and write channels, the existing code first acts on the read channel, but as a side effect it updates the arguments (maxfrags, fragsz) passed by the caller according to acceptable values for the read channel, and then uses the modified values to act on the write channel. The problem with this approach is that, given a (maxfrags, fragsz) user-specified value, the actual values computed by the read and write channels may differ: e.g. the read channel might want to allocate more fragments than what the user specified because it has no side-effects on the delay and it helps in case of slow readers, whereas the write channel needs to use as few fragments as possible to keep the audio latency low (very important with telephony apps). This patch stores the values computed by the read channel into temproary variables so the write channel will use the actual arguments of the ioctl. This patch is very helpful with telephony apps such as asterisk. Submitted by: luigi Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:21:23.000000Z K 7 svn:log V 368 From luigi: This one simply tries to simplify the logic to select the buffer sizes. I am not sure it is necessary but the code seems a bit more readable to me. And at least i have tried to document how the buffer sizes are computed. Thanks to luigi for deciphering one of the most cryptic part of sound driver. Submitted by: luigi Approved by: netchild (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-11-14T18:33:07.000000Z K 7 svn:log V 16 Add Intel ICH7. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-11-14T18:37:59.000000Z K 7 svn:log V 124 Update my email address, so people know where the exact / proper / correct place to bug me. Approved by: netchild (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-14T18:38:00.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-14T19:29:56.000000Z K 7 svn:log V 213 MFC: Sync this driver up with HEAD including bus-dma support and some other cleanups such as removing some more old cruft and using kernel functions like m_defrag() and m_devget() rather than homerolling our own. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-14T19:30:09.000000Z K 7 svn:log V 360 In ktr_getrequest(), acquire ktrace_mtx earlier -- while the race currently present is minor and offers no real semantic issues, it also doesn't make sense since an earlier lockless check has already occurred. Also hold the mutex longer, over a manipulation of per-process ktrace state, which requires synchronization. MFC after: 1 month Pointed out by: jhb END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-14T20:36:53.000000Z K 7 svn:log V 79 Listen to jhb, and remove bogus claim of support of DE425. Obtained from: jhb END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-14T20:40:00.000000Z K 7 svn:log V 64 MFC: Listen to jhb, and remove bogus claim of support of DE425. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-11-14T21:10:39.000000Z K 7 svn:log V 121 MFC r1.9: Fix nforce2 with Radeon DRI by setting bits to set the mappings active, and use volatile in a necessary place. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-11-14T21:14:14.000000Z K 7 svn:log V 25 MFC: ATI IGP AGP driver. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-11-14T21:54:20.000000Z K 7 svn:log V 210 0xb1881106 seems to be an AGP bridge and some BIOSes incorrectly handle the bridge. Therefore, we give the same treatment as we did for nForce3-250 and ULi chipsets. VIA AGPv3 code was copied from agp_via.c. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-14T22:24:00.000000Z K 7 svn:log V 280 Add a new sysctl, kern.elf[32|64].can_exec_dyn. When set to 1, one can execute a ET_DYN binary (shared object). This does not make much sense, but some linux scripts expect to be able to execute /lib/ld-linux.so.2 (ldd comes to mind). The sysctl defaults to 0. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-14T22:24:48.000000Z K 7 svn:log V 72 Briefly document the use of kern.elf32.can_exec_dyn. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-14T22:25:33.000000Z K 7 svn:log V 44 MFC r1.59, List IFT_BRIDGE as a valid type. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-11-14T22:33:35.000000Z K 7 svn:log V 186 MFC 1.115 fixed a bug that uRPF does not work properly for an IPv6 packet bound for the sending machine itself (this is a bug introduced due to a change in ip6_input.c:Rev.1.81.2.2) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-11-14T22:48:30.000000Z K 7 svn:log V 566 MFC: agp_amd64 1.8, 1.9 and agpreg.h 1.15. - Add a work-around for nForce3, ULi, and VIA chipsets. Aperture base address encoded in misc. control register and AGP bridge seems to be inconsistent with some BIOSes. Instead of relying on BIOS settings, we just take the initial aperture size and encode them for both miscellaneous control register and AGP bridge. - Add preliminary ULi M1689 chipset support. The idea was taken from Linux because hardware and documentation are unavailable. Not tested. - Add one more VIA chipset PCI ID taken from Linux driver. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-11-14T23:34:50.000000Z K 7 svn:log V 354 Add a new configuration variable, ipv4_addrs_, which adds one or more IPv4 address from a ranged list in CIRD notation: ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28" In the process move alias processing into new ipv4_up/down functions to more toward a less IPv4 centric world. Submitted by: Philipp Wuensche END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-11-15T00:26:00.000000Z K 7 svn:log V 82 MFC: eliminate pcb_rflags, replacing it with padding. It just wastes cpu cycles. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-11-15T00:26:31.000000Z K 7 svn:log V 48 MFC: compensate for removal of pcb->pcb_rflags. END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-11-15T02:38:35.000000Z K 7 svn:log V 244 Keep track of volumes in non-optimal state and expose a simple count of volumes that might need administrator attention through device specific sysctl to simplify device monitoring. Submitted by: Deomid Ryabkov END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-15T03:40:15.000000Z K 7 svn:log V 265 The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. PR: kern/88241 Submitted by: Dan Lukes MFC after: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-11-15T04:19:27.000000Z K 7 svn:log V 42 Unbreak kernel builds. Submitted by: arr END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-15T05:47:20.000000Z K 7 svn:log V 237 bandaid inconsistent state handling: the rate index map may be stale when called to reset rate control state causing us to pickup an invalid index, check for this and skip 'em (things will eventually get fixed up so this is not harmful) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-15T05:49:02.000000Z K 7 svn:log V 88 nuke special handling to extend cts when bursting; it was race prone MFC after: 7 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-15T05:54:54.000000Z K 7 svn:log V 1537 MFC revision 1.525 When support for 2MB/4MB pages was added in revision 1.148 an error was made in pmap_protect(): The pmap's resident count should not be reduced unless mappings are removed. The errant change to the pmap's resident count could result in a later pmap_remove() failing to remove any mappings if the errant change has set the pmap's resident count to zero. MFC revision 1.526 Decouple the unrefing of a page table page from the removal of a pv entry. In other words, change pmap_remove_entry() such that it no longer unrefs the page table page. Now, it only removes the pv entry. MFC revision 1.527 Eliminate unneeded diagnostic code. MFC revision 1.528 Eliminate unneeded diagnostic code. Eliminate an unused #include. (Kernel stack allocation and deallocation long ago migrated to the machine-independent code.) MFC revision 1.529 Simplify the page table page reference counting by pmap_enter()'s change of mapping case. Eliminate a stale comment from pmap_enter(). MFC revision 1.530 When pmap_allocpte() destroys a 2/4MB "superpage" mapping it does not reduce the pmap's resident count accordingly. It should. MFC revision 1.532 Eliminate unnecessary TLB invalidations by pmap_enter(). Specifically, eliminate TLB invalidations when permissions are relaxed, such as when a read-only mapping is changed to a read/write mapping. Additionally, eliminate TLB invalidations when bits that are ignored by the hardware, such as PG_W ("wired mapping"), are changed. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-11-15T05:56:32.000000Z K 7 svn:log V 254 Update ieee80211_mhz2ieee to understand public safety bands and spectrum that can potentially be mapped to negative ieee #'s. NB: before operation on the latter can be supported we need to cleanup various code that assumes ieee channel #'s are >= 0 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-15T10:54:20.000000Z K 7 svn:log V 35 Some whitespace and style cleanup. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-15T14:43:22.000000Z K 7 svn:log V 114 Recognize Broadcom BCM5752 chip, that can be found in HP DC7600. PR: kern/88940 Submitted by: Alexander Hausner END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-15T14:48:52.000000Z K 7 svn:log V 33 Add BCM5752 to HARDWARE section. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-15T17:17:15.000000Z K 7 svn:log V 98 Optimize and clean TX time computation. Avoid a test and a modulus operation. MFC after: 2 weeks END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-15T17:48:49.000000Z K 7 svn:log V 182 Add some initial bits (currently unused) for upcoming AMRR support. AMRR = Adaptive Multi Rate Retry algorithm More information: http://www-sop.inria.fr/rapports/sophia/RR-5208.html END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-15T17:52:35.000000Z K 7 svn:log V 59 er, backout my last commit. committed to the wrong branch. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-15T17:58:16.000000Z K 7 svn:log V 197 Add some initial bits (currently unused) for upcoming AMRR support. AMRR = Adaptive Multi Rate Retry algorithm More information: http://www-sop.inria.fr/rapports/sophia/RR-5208.html More to come. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-11-15T18:48:52.000000Z K 7 svn:log V 43 Add geometry of SiliconSystems 4GB CF card END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-15T19:54:10.000000Z K 7 svn:log V 84 MFC: Sync driver up with head (mostly) including adding locking and marking MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-15T19:59:04.000000Z K 7 svn:log V 36 MFC: Fixup locking and mark MPSAFE. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-15T20:18:13.000000Z K 7 svn:log V 62 Provide a link to the documentation of the I/O APIC at Intel. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-15T20:36:26.000000Z K 7 svn:log V 312 Revise hcsecd(8) and sdpd(8) rc.d scripts. - Have both scripts automatically kldload ng_btsocket(4). I did not want to do it, but its easier for users and it seems other scripts do similar things; - Assign few variables after load_rc_config, so the /etc/rc.conf overrides actually work; MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-15T21:26:49.000000Z K 7 svn:log V 72 Catch up with loader_color -> loader_logo and document beastie_disable. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-15T22:07:00.000000Z K 7 svn:log V 19 MFC: Groff 1.19.2. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-16T02:13:27.000000Z K 7 svn:log V 77 Do not pass noauto to nmount() or external mount program. Noticed by: maxim END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-16T02:26:25.000000Z K 7 svn:log V 160 - Add errmsg to the list of smbfs mount options. - Use vfs_mount_error() to propagate smbfs mount errors back to userspace. Reviewed by: bp (smbfs maintainer) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-16T02:47:12.000000Z K 7 svn:log V 73 Convert mount_smbfs to use nmount(). Reviewed by: bp (smbfs maintainer) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T06:56:09.000000Z K 7 svn:log V 887 MFC the following: o Makefile: 1.319, 1,320 o Makefile.inc1: 1.500, 1.508, 1.509, 1.513, 1.515, 1.517 - Embed the "buildkernels" target into the "universe" target so that the "make -n universe" output looks more builder (human) friendly. - Wrap the "universe" target into a ".if make(universe)"; it's only intended to be called directly so it should be safe to do it. - Make the `distrib-dirs' target official and working properly when cross-building (installing). (This is useful for NFS installing world/kernel to another architecture machine.) - Remove duplicate settings from LIB32MAKE definition. - Install lib32 bits using the real install(1) program. - clean ${LIB32TMP} in _worldtmp - clean ${OBJTREE}/lib32 in _cleanobj - ensure that ${WORLDTMP} exists in build32 - Require DESTDIR to be set when cross-installing. - Force a full Groff upgrade during the build. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:13:37.000000Z K 7 svn:log V 377 Having three options (-a, -A, -I) controlling the output of dotted files is too much and hard to follow. Instead, make the -I option just mean "do not automatically set -A for root". That is, if -A is explicitly set, -I is ignored. Also, document -I in usage(). (The ls.c diff is better viewed relative to rev. 1.80.) No objection: mux Silence from: mnag MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:24:02.000000Z K 7 svn:log V 200 MFC: - Pass -i to pwd_mkdb(8) to ignore locking failures. This can be useful for NFS installing world/kernel to another machine. - Require that DESTDIR be set before running "make distribution". END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:24:31.000000Z K 7 svn:log V 28 Diff reduction to RELENG_6. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:26:26.000000Z K 7 svn:log V 42 MFC: 1.13: Drop useless here SHLIB_MAJOR. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:30:02.000000Z K 7 svn:log V 53 MFC: 1.7: teach lorder(8) to work with .a libraries. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:34:44.000000Z K 7 svn:log V 55 MFC: 1.146: Long overdue, keep up with mbuf.h,v 1.148. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:36:51.000000Z K 7 svn:log V 27 MFC: 1.58: Fix up comment. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:39:24.000000Z K 7 svn:log V 36 MFC: 1.2: Remove redundant include. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:47:44.000000Z K 7 svn:log V 74 MFC: Sync calendar up with HEAD, including adding the Ukrainian calendar. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:50:36.000000Z K 7 svn:log V 24 MFC: 1.28: Expand tabs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:53:16.000000Z K 7 svn:log V 68 MFC: 1.6: Apply the .PHONY attribute to the ../make*/make* targets. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:56:37.000000Z K 7 svn:log V 53 MFC: 1.9: Recognize all current standard node types. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T07:59:50.000000Z K 7 svn:log V 67 MFC: Finish the removal of threads support in ../config.mk,v 1.15. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:01:07.000000Z K 7 svn:log V 17 MFC: 1.5: Style. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:03:33.000000Z K 7 svn:log V 36 MFC: 1.892: Be cross-arch friendly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:06:23.000000Z K 7 svn:log V 24 MFC: Simplified markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:08:07.000000Z K 7 svn:log V 46 MFC: 1.26: err() -> errx() where appropriate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:08:48.000000Z K 7 svn:log V 27 MFC: 1.8: Fix malloc size. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-16T08:11:06.000000Z K 7 svn:log V 612 Merge kern_ktrace.c:1.102, ktrace.h:1.30 from HEAD to RELENG_6: Replace ktr_buffer pointer in struct ktr_header with a ktr_unused intptr_t. The buffer length needs to be written to disk as part of the trace log, but the kernel pointer for the buffer does not. Add a new ktr_buffer pointer to the kernel-only ktrace request structure to hold that pointer. This frees up an integer in the ktrace record format that can be used to hold the threadid, although older ktrace files will have a garbage ktr_buffer field (or more accurately, a kernel pointer value). Space requested by: davidxu END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:12:03.000000Z K 7 svn:log V 32 MFC: 1.87: Drop outdated check. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-16T08:12:11.000000Z K 7 svn:log V 496 Merge kern_descrip.c:1.284 from HEAD to RELENG_6: In closef(), remove the assumption that there is a thread associated with the file descriptor. When a file descriptor is closed as a result of garbage collecting a UNIX domain socket, the file descriptor will not have any associated thread, so the logic to identify advisory locks held by that thread is not appropriate. Check the thread for NULL to avoid this scenario. Expand an existing comment to say a bit more about this. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:13:22.000000Z K 7 svn:log V 34 MFC: 1.3: Drop redundant include. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:14:27.000000Z K 7 svn:log V 67 MFC: 1.21: Document NGM_KSOCKET_ACCEPT ("accept") control message. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-16T08:15:58.000000Z K 7 svn:log V 496 Merge kern_descrip.c:1.284 from HEAD to RELENG_5: In closef(), remove the assumption that there is a thread associated with the file descriptor. When a file descriptor is closed as a result of garbage collecting a UNIX domain socket, the file descriptor will not have any associated thread, so the logic to identify advisory locks held by that thread is not appropriate. Check the thread for NULL to avoid this scenario. Expand an existing comment to say a bit more about this. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:19:26.000000Z K 7 svn:log V 34 MFC: 1.3: Fix vgrind(1) indexing. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-16T08:20:44.000000Z K 7 svn:log V 97 Merge Makefile:1.5 from HEAD to RELENG_6: Add symlinks for kvm access methods for memstat(3). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:21:06.000000Z K 7 svn:log V 18 MFC: 1.12: Style. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:25:19.000000Z K 7 svn:log V 58 MFC: 1.110: Fix .include <> to match documented behavior. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:27:46.000000Z K 7 svn:log V 25 MFC: 1.64: Align output. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:31:52.000000Z K 7 svn:log V 25 MFC: 1.337: Sort SUBDIR. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:33:02.000000Z K 7 svn:log V 17 MFC: 1.7: Style. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:35:22.000000Z K 7 svn:log V 43 MFC: 1.10: Remove now redundant NO_SHARED. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:36:10.000000Z K 7 svn:log V 52 MFC: 1.30: The default fill byte is 0xf6, not 0xf5. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:46:14.000000Z K 7 svn:log V 41 MFC: 1.194: Fix genassym.o dependencies. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:49:22.000000Z K 7 svn:log V 36 MFC: 1.203: Remove a stale comment. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:50:59.000000Z K 7 svn:log V 21 MFC: 1.459: Sorting. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:54:29.000000Z K 7 svn:log V 49 MFC: 1.196: Get rid of duplicate -I's in CFLAGS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T08:59:51.000000Z K 7 svn:log V 78 MFC: Sort ath_rate_* entries. Mark ath_rate_sample as the desired algorithm. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T09:44:56.000000Z K 7 svn:log V 37 MFC: 1.1059: Remove duplicate entry. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:01:27.000000Z K 7 svn:log V 51 MFC: 1.5: Make the cookie constant name canonical. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:03:02.000000Z K 7 svn:log V 48 MFC: 1.88: Use ${S} to pass ${SYSDIR} to ports. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:08:02.000000Z K 7 svn:log V 50 MFC: Use variable-sized arrays where appropriate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:09:51.000000Z K 7 svn:log V 69 MFC: 1.55: Restore part of the code mistakenly dropped in rev. 1.25. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:13:34.000000Z K 7 svn:log V 23 MFC: All recent fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:14:25.000000Z K 7 svn:log V 52 MFC: 1.34: Simplify setting the link-level address. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-16T10:17:15.000000Z K 7 svn:log V 88 MFC: Sync bridge code up with HEAD - plug mbuf and refcnt leak - make funtions static END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-11-16T10:20:16.000000Z K 7 svn:log V 141 MFC: Sync bridge code up with HEAD - plug mbuf and refcnt leak - make funtions static - cleanup on member removal - cleanup bridge hooks END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:31:23.000000Z K 7 svn:log V 71 MFC: Use sparse initializers for "struct domain" and "struct protosw". END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:33:53.000000Z K 7 svn:log V 43 MFC: 1.56: Make IFP2NG() usable as lvalue. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-11-16T10:36:44.000000Z K 7 svn:log V 459 I often find myself doing: % pgrep [to verify which processes match] % pkill To speed such operation up, add -I option which works like rm(1)'s -i option (unfortunately -i is already used in pkill(1)), ie. pkill will ask for confirmation before killing each matching process. After adding -j, -F, -i, -S, -o and -L options and other improvements, I think I can add myself to the copyright header. Glanced at by: maintainer (gad) END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-11-16T10:45:19.000000Z K 7 svn:log V 441 Avoid invoking the current script again when we need to issue sub-commands, e.g., restart = stop + start. By calling run_rc_command instead, we provide rc.d scripts with full control over their configuration variables. For an example problem the former approach caused, see http://lists.freebsd.org/pipermail/freebsd-rc/2005-October/000311.html Reviewed by: freebsd-rc Tested by: Dirk Engling erdgeist erdgeist.org MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T10:50:12.000000Z K 7 svn:log V 42 MFC: Bring /dev/speaker support to amd64. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-11-16T11:03:00.000000Z K 7 svn:log V 573 Sync as close as possible with NetBSD. This includes fixes and cleanups listed below: - If a process dissappears while we are signalling it, don't count it as a match/error. - Better handling of errors and messages. - Downgrade failure to kill(2) (other than ESRCH) from fatal error to a warning; otherwise processing aborts and possibly matching killees would remain unsignalled. This makes pkill match the Solaris behavior. - Exit with 2 on usage errors as documented. Obtained from: NetBSD Glanced at by: maintainer (gad) [a bit different version of this patch] END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-11-16T11:20:51.000000Z K 7 svn:log V 96 Fix currency symbol -- it should be 'NEW SHEQEL SIGN' (U+20AA). Submitted by: Rostislav Krasny END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-16T12:33:04.000000Z K 7 svn:log V 18 Unbreak on amd64. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-11-16T12:36:08.000000Z K 7 svn:log V 190 fixed a kernel crash due to an improper removal of callout-timer (ToDo: similar fix is necessary for other NDP-related callout-timers in netinet6/nd6*.c) PR: kern/88725 MFC after: 1 month END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-11-16T12:44:10.000000Z K 7 svn:log V 79 MFC Revsion 1.50: Update SIGTHR's comment. MFC Revision 1.52: Define SIGLWP. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-16T14:08:17.000000Z K 7 svn:log V 68 Xref ng_ether(4) and ng_iface(4) nodes, which are used in examples. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-16T18:18:52.000000Z K 7 svn:log V 53 Correct description of RLIMIT_CPU. Reported by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-16T20:29:29.000000Z K 7 svn:log V 286 Fix a typo in the check for an invalid APIC. If we are told about an I/O APIC that doesn't exist, then a read of the version register is going to return -1 which is 0xffffffff not 0xffffff. Tested on: i386 Tested by: Nikos Ntarmos ntarmos at ceid dot upatras dot gr MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-16T20:55:57.000000Z K 7 svn:log V 199 Revert previous commit to these files. There isn't a race necessitating an xchg instruction as we only try to execute the startup function if the CPU ID is 0 (i.e. the BSP). I missed this earlier. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-16T20:58:35.000000Z K 7 svn:log V 26 this is no longer needed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-16T20:58:40.000000Z K 7 svn:log V 463 Revert a part of the previous commits to these files that made the NMI IPI_STOP handling code use atomic_readandclear() to execute the restart function on the first CPU to resume and restore the behavior of always executing the restart function on the BSP since this is in fact what the non-NMI IPI_STOP handler does. I did add back in a statement to clear the restart function pointer after it is executed to match the behavior of the non-NMI IPI_STOP handler. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-16T20:58:56.000000Z K 7 svn:log V 4 OBE END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-11-17T01:16:23.000000Z K 7 svn:log V 66 MFC: Label the apic timer interrupt as 'cpuN: timer' like on i386 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-17T01:32:01.000000Z K 7 svn:log V 60 Make the elf wrapper work with recent kernel.debug changes. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-17T02:20:04.000000Z K 7 svn:log V 1513 Rearranged the the optimizations for special cases to reduce the average number of branches. Use a non-bogus magic constant for the threshold of pi/4. It was 2 ulps smaller than pi/4 rounded down, but its value is not critical so it should be the result of natural rounding. Use "<=" comparisons with rounded- down thresholds for all small multiples of pi/4. Cleaned up previous commit: - use static const variables instead of expressions for multiples of pi/2 to ensure that they are evaluated at compile time. gcc currently evaluates them at compile time but C99 compilers are not required to do so. We want compile time evaluation for optimization and don't care about side effects. - use M_PI_2 instead of a magic constant for pi/2. We need magic constants related to pi/2 elsewhere but not here since we just want pi/2 rounded to double and even prefer it to be rounded in the default rounding mode. We can depend on the cmpiler being C99ish enough to round M_PI_2 correctly just as much as we depended on it handling hex constants correctly. This also fixes a harmless rounding error in the hex constant. - keep using expressions n* in the initializers for the static const variables. 2*M_PI_2 and 4*M_PI_2 are obviously rounded in the same way as the corresponding infinite precision expressions for multiples of pi/2, and 3*M_PI_2 happens to be rounded like this, so we don't need magic constants for the multiples. - fixed and/or updated some comments. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-17T02:25:10.000000Z K 7 svn:log V 75 New errata item: ipfw divert rule matches IPv6 packets and discards them. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-11-17T02:32:39.000000Z K 7 svn:log V 42 Fix spelling mistake. Submitted by: kris END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-11-17T02:34:50.000000Z K 7 svn:log V 24 fixed a typo in comment END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-17T03:34:47.000000Z K 7 svn:log V 57 New errata item: if_bridge + packet filter = mbuf leak. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-17T03:53:22.000000Z K 7 svn:log V 457 Minor cleanups: s_cosf.c and s_sinf.c: Use a non-bogus magic constant for the threshold of pi/4. It was 2 ulps smaller than pi/4 rounded down, but its value is not critical so it should be the result of natural rounding. s_cosf.c and s_tanf.c: Use a literal 0.0 instead of an unnecessary variable initialized to [(float)]0.0. Let the function prototype convert to 0.0F. Improved wording in some comments. Attempted to improve indentation of comments. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T06:51:49.000000Z K 7 svn:log V 36 Remove vestiges of oldcard and owi. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T06:59:53.000000Z K 7 svn:log V 53 MFC: Document ${loader_logo} and ${beastie_disable}. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-17T08:56:21.000000Z K 7 svn:log V 177 Prefer NULL to 0. Add missing lock/unlock in sysctl handler. Protect accessing NULL pointer when resource allocation was failed. style(9) Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T09:39:36.000000Z K 7 svn:log V 49 Do not install boot_i386.8 on all architectures. END