ƒ¯k133000 177 125 223 236 149 150 229 159 222 130 117 165 130 124 200 189 435 491 773 250 196 152 513 902 148 479 128 709 129 120 122 135 543 108 206 127 127 115 177 172 267 423 612 166 134 526 175 203 156 125 436 406 98 735 573 233 381 330 122 215 312 278 118 169 130 191 182 122 189 107 400 185 164 222 191 249 146 805 243 206 105 243 151 212 296 367 1434 358 241 287 126 222 150 277 154 908 221 343 118 174 269 134 128 128 343 335 272 719 150 248 210 199 273 130 350 150 225 152 160 197 148 171 421 4289 526 522 144 131 1301 360 132 390 403 123 143 204 356 107 408 509 512 399 150 471 289 1470 224 165 397 370 491 711 162 191 178 346 783 155 1011 217 192 266 155 173 137 229 180 240 117 117 117 164 219 135 130 298 172 141 K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T04:19:22.000000Z K 7 svn:log V 30 Consistently list _CPUCFLAGS. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-08-02T07:28:02.000000Z K 7 svn:log V 127 Improve the wording of the last commit, and update the document date. (1) While here, update an example. (1) Submitted by: ru END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-02T08:10:28.000000Z K 7 svn:log V 139 - Signal handlers must have an int argument. - Use prototypes. - Add a cast for a signed vs unsigned comparison. - Mark as WARNS?=3 clean. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-02T08:18:43.000000Z K 7 svn:log V 53 Don't pass function pointers via a void * parameter. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-02T08:46:23.000000Z K 7 svn:log V 54 Remove an implicit int parameter by using prototypes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-02T09:05:29.000000Z K 7 svn:log V 136 Don't use version number in library name. The library version is checked after dlopen() anyway, so we should be safe. Suggested by: ru END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-02T10:08:28.000000Z K 7 svn:log V 64 Unbreak DEVICE_POLLING build / LINT. Sorry! Submitted by: roam END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2004-08-02T11:08:48.000000Z K 7 svn:log V 124 Remove 'device mem' from GENERIC, which markm@ mistakingly added. We don't have mem/kmem yet. Approved by: grehan (mentor) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T11:10:20.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T11:12:13.000000Z K 7 svn:log V 25 Cross-reference fold(1). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T11:15:01.000000Z K 7 svn:log V 73 Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-08-02T12:23:53.000000Z K 7 svn:log V 35 Fix comments. Spotted out by: mux END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-08-02T12:24:18.000000Z K 7 svn:log V 29 *blush* Fix htonl and htons. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T12:28:28.000000Z K 7 svn:log V 107 Exclude bogus la_LN.* and UTF-8 locales from the output of locale -a to discourage people from using them. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-02T12:50:12.000000Z K 7 svn:log V 97 Remove la_LN.* from the list of bogus locales. They're incomplete, but still potentially useful. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-02T12:56:01.000000Z K 7 svn:log V 338 Attempt to follow the correct procedure for synchronising with the system BIOS to disable legacy device emulation as per the "EHCI Extended Capability: Pre-OS to OS Handoff Synchronisation" section of the EHCI spec. BIOSes that implement legacy emulation using SMIs are supposed to disable the emulation when this procedure is performed. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-02T13:59:02.000000Z K 7 svn:log V 394 When searching for a suitable block of memory on the free list, skip blocks that are too big by a factor of two or greater. This avoids some cases of extremely inefficient memory use that can occur when large (e.g. 64k) blocks on the free list get used when allocating a 4k chunk of 64-byte fragments. Because fragments have their own free list, the 60k difference got lost forever every time. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-02T15:31:10.000000Z K 7 svn:log V 677 Optimize intr_execute_handlers() by combining the pic_disable_source() and pic_eoi_source() into one call. This halves the number of spinlock operations and indirect function calls in the normal case of handling a normal (ithread) interrupt. Optimize the atpic and ioapic drivers to use inlines where appropriate in supporting the intr_execute_handlers() change. This knocks 900ns, or roughly 1350 cycles, off of the time spent servicing an interrupt in the common case on my 1.5GHz P4 uniprocessor system. SMP systems likely won't see as much of a gain due to the ioapic being more efficient than the atpic. I'll investigate porting this to amd64 soon. Reviewed by: jhb END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-02T15:37:35.000000Z K 7 svn:log V 153 Make the USB subsystem unloadable and detachable, though currently a significant amount of memory may be leaked each time a host controller is detached. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T17:50:39.000000Z K 7 svn:log V 100 Sort the miscellaneous devices to restore ordering after the insertion of the mem and null devices. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T17:53:06.000000Z K 7 svn:log V 57 Add the mem and null devices now that they are optional. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T18:14:06.000000Z K 7 svn:log V 417 Don't build and install a mem.ko module. Currently one cannot load the mem.ko module without panicing if mem is compiled into the kernel and one cannot build a kernel w/o "device mem" right now either. Thus it is too dangerous to install mem.ko right now because if one puts 'mem_load="YES"' in /etc/loader.conf they cannot boot an "old" kernel (at the time that a kernel doesn't have to be built with "device mem). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-08-02T18:24:58.000000Z K 7 svn:log V 809 New release notes (changes in the first half of July 2004): bus_dma(9) alignment and boundary compensation support, kqueue(2) EVFILT_FS, KDB framework, sound and snd_* driver reorganization, natd(8) globalports option[*], ppp(8) LQM support[*] and "rad_alive N" option, GEOM_STRIPE FAST mode support, MSDOSFS_LARGE[*], ALTQ framework support added to various network drivers[*], bsdtar(1) now the default tar(1) utility, cvs(1) iso8601 option keyword, multibyte characters support: fgetwln(3), join(1), nextwctype(3), od(1), regex(3), rev(1), sed(1) 'y' command, and tr(1), ftw(3) and nftw(3) implemented, C99 functions: nearbyint(3), am-utils 6.0.9->6.0.10p1 import, GNU grep 2.4d->2.5.1 import, and tcsh 6.11->6.13.00 import. MFC: IPFilter 3.4.31->3.4.35. [*]Based on work by: josef END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T18:37:55.000000Z K 7 svn:log V 53 Fix 2 typos in previous commit: both s/strct/struct/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T18:46:52.000000Z K 7 svn:log V 383 Remove GPT_ENT_TYPE_FREEBSD_UFS2. It was speculatively added before UFS2 was here. It so happened that UFS2 did not need a seperate partition type. Keep the definition as a comment for documentation purposes. If there is a benefit for UFS2 file systems to have a seperate partition type under GPT, then this definition should be restored as that was the intention of the definition. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T18:48:14.000000Z K 7 svn:log V 33 Back out 1.388. Demanded by: jhb END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-02T18:54:01.000000Z K 7 svn:log V 614 Today, RealTek sent me a driver to test which had been compiled with some debug support turned on. It turns out the sections in this driver binary had relative virtual addresses (RVAs) that were different from the raw addresses, and it had a .data section where the virtual size was much larger than the raw size. (Most production binaries produced with the Microsoft DDK have RVA == PA.) There's code in the ndiscvt(8) utility that's supposed to handle the vsize != rsize case, but it turns out it was slightly broken, and it failed to handle the RVA != RA case at all. Hopefully, this commit will fix all that. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-02T19:12:17.000000Z K 7 svn:log V 37 Add definitions for TLS relocations. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-02T19:14:58.000000Z K 7 svn:log V 29 Ignore geom_vinum providers. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T19:21:51.000000Z K 7 svn:log V 27 Really back out rev 1.388. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T19:22:11.000000Z K 7 svn:log V 40 What's in a name: s/disklabel/bsdlabel/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T19:28:03.000000Z K 7 svn:log V 447 Add Linux swap partition and MS reserved partition descriptions. While here: o Make the UUIDs static to avoid runtime initialization, o Rename ext to mslinux, o Replace the use of memcmp() with uuid_equal(), o Various style(9) improvements, o Order the comparisons based on importance, o Remove the word partition from all the descriptions, o Other description improvements. Includes patch from: T. Muthu Mohan < Muthu_T at dell dot com > END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-02T19:57:37.000000Z K 7 svn:log V 17 Typo in comment. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-02T19:59:41.000000Z K 7 svn:log V 111 Go back to the historical minor numbers. Add a module version while I'm here. Asked for minor numbers by: jhb END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-02T20:32:56.000000Z K 7 svn:log V 33 Sort includes; minor whitespace. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-02T20:36:47.000000Z K 7 svn:log V 33 Diff reduction WRT i386 version. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-02T20:42:28.000000Z K 7 svn:log V 21 Add module versions. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-02T20:53:31.000000Z K 7 svn:log V 81 Reinstate a usb_transfer_complete() call that got lost in the previous revision. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-02T21:52:43.000000Z K 7 svn:log V 77 Put a cap on the auto-tuning of kern.maxvnodes. Cap value chosen by: scottl END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-02T22:55:23.000000Z K 7 svn:log V 170 Add some style(9) touch ups; style(9) states that new code should follow these conventions and, well, this is a new driver. Tested on: i386, sparc64 Reviewed by: scottl END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-02T23:18:48.000000Z K 7 svn:log V 327 Move the inclusion of libdisk.h from sysinstall.h to the source files that actually need it. This makes it easier for a platform porter to find the files that may need tweaking to support whatever MD specific partitioning is needed. It also helps to prevent that the libdisk API gets exposed and/or used where it's not needed. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-02T23:32:23.000000Z K 7 svn:log V 516 - Set the CAM status to CAM_SCSI_STATUS_ERROR rather than CAM_REQ_CMP in case of a CHECK CONDITION. - Make this driver return SCSI status information. - While here, factor out the clearing of the CAM status from every element of the switch statement to only once before the switch. This fixes burning CDs with recent cdrecord 2.01 alpha versions and burners attached to asr(4) controllers but there could have been other applications and da(4) etc. also affected. Reviewed by: gibbs, scottl MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-02T23:33:15.000000Z K 7 svn:log V 71 Add the PM1564 to the list of supported controllers. OK'ed by: scottl END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-02T23:48:43.000000Z K 7 svn:log V 39 Remove an argument that is never used. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T00:41:47.000000Z K 7 svn:log V 433 Change EISA probing to be less invasive. Instead of probing all slots unconditionally, stop after the first one (system board) if no EISA hardware is detected. This fixes a boot hang (i.e. Thinkpad) when ACPI is disabled. Also, split the probe code into a separate function and do some style cleanup. Note that the Adaptec 2842 VLB controller probe is broken by this change and will fail to probe. It should be fixed separately. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-03T01:43:29.000000Z K 7 svn:log V 80 Repeat after me: "Do not apply your tested patches to your commit tree by hand" END K 10 svn:author V 3 hsu K 8 svn:date V 27 2004-08-03T02:01:44.000000Z K 7 svn:log V 110 Fix bug with tracking the previous element in a list. Found by: edrt@citiz.net Submitted by: pavlin@icir.org END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-03T02:23:06.000000Z K 7 svn:log V 60 s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/g Dicussed with: deischen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-03T02:39:24.000000Z K 7 svn:log V 29 Remove redundant definition. END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-08-03T02:59:15.000000Z K 7 svn:log V 341 Standardize pipe locking, ensuring that everything is locked via pipelock(), not via a mixture of mutexes and pipelock(). Additionally, add a few KASSERTS, and change some statements that should have been KASSERTS into KASSERTS. As a result of these cleanups, some segments of code have become significantly shorter and/or easier to read. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-08-03T04:14:55.000000Z K 7 svn:log V 310 Remove race condition between reading of MSR, setting md_savecrit, and setting MSR. This was most evident with the idle proc running with interrupts disabled and causing a lockup. Switch over to the i386 style which does things in the right order. debug assisted by: gallatin, and the invaluable KTR option. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T05:13:56.000000Z K 7 svn:log V 7 /tmp/m END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T05:15:56.000000Z K 7 svn:log V 642 Forced commit to note intended log message for previous revision: Cleanup to prepare for locking commit. Add comments, clarify printfs, remove old unused locking macros. Additional changes: * Remove an old workaround for the bug in AcpiEnterSleepState() that caused it to return with the hardware mutex still held. It no longer can fail this way. * Remove ACPI_DEBUGGER checkpoints in the probe. We have a reasonably stable probe/attach process now. * Use an sbuf instead of sprintf/strcat for a sysctl. Also, use strlcpy instead of a bzero/strncpy. * Simplify acpi_name, acpi_Enable, and acpi_Disable. * Don't bzero the softc END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-03T06:19:08.000000Z K 7 svn:log V 475 GNU and POSIX disagree about -o and -l. For -l, upset everyone by breaking it. Specifically, -l now produces a lengthy error message that suggests --check-links (POSIX -l) or --one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set, use the POSIX interpretation. For -o, please everyone by making it work both ways: * -xo uses POSIX behavior * -co uses "almost GNU" behavior (as close as we can get until libarchive implements a true V7 tar format) END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-08-03T06:31:30.000000Z K 7 svn:log V 141 adopt structs to reflect code change from May 2000 for NGM_PPP_SET_CONFIG/NGM_PPP_GET_CONFIG. Reviewed by: archie Approved by: pjd (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-08-03T06:34:55.000000Z K 7 svn:log V 289 Do not change link[n].conf.latency for internal usage but have link[n].latency calculated from user supplied value. This prevents repeated NGM_PPP_SET_CONFIG/NGM_PPP_GET_CONFIG from failing because of link[n].conf.latency being out of range. Reviewed by: archie Approved by: pjd (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-08-03T06:37:46.000000Z K 7 svn:log V 238 Correct L2TP header offset handling: - according to RFC2661 an offset size of 0 is allowed. - when skipping offset padding do not forget to also skip the 2 octets of the offset size field. Reviewed by: archie Approved by: pjd (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-03T06:40:04.000000Z K 7 svn:log V 31 Whitespace nit. OK'ed by: kan END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-08-03T06:45:38.000000Z K 7 svn:log V 123 add a new control message to set sequence numbers on an uninitialized node. Reviewed by: archie Approved by: pjd (mentor) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T06:48:36.000000Z K 7 svn:log V 219 Use the slot, not an otherwise unused index variable as the probe offset. This passed testing because the variable happened to be 0 in most cases. Compile warning found by: David Syphers END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-08-03T06:52:55.000000Z K 7 svn:log V 186 Implement minimalistic L2TP sessions statistics and correct man page for L2TP tunnel statistics (which do not take an argument sessionID). Reviewed by: archie Approved by: pjd (mentor) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-03T08:21:48.000000Z K 7 svn:log V 26 Add style(9) foolishness. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-08-03T08:47:35.000000Z K 7 svn:log V 77 allow ::1 explicitly. Pointed out by: mistral@imasy.or.jp MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-03T08:51:00.000000Z K 7 svn:log V 38 Add support for Thread Local Storage. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-03T08:54:01.000000Z K 7 svn:log V 99 Add stubs for TLS functions. These will be replaced at runtime by the functional versions in rtld. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-08-03T08:58:34.000000Z K 7 svn:log V 90 Use RFC 3849 address for examples. Pointed out by: mistral@imasy.or.jp MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-03T09:04:01.000000Z K 7 svn:log V 30 Add regression tests for TLS. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-03T10:18:33.000000Z K 7 svn:log V 95 Add Wiretek UBRJ4 to the list of supported devices. Submitted by: Soeren Vrist END K 10 svn:author V 3 den K 8 svn:date V 27 2004-08-03T12:16:44.000000Z K 7 svn:log V 15 Minor typo fix END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-03T12:31:38.000000Z K 7 svn:log V 305 o Move all parts of the IP reassembly process into the function ip_reass() to make it fully self-contained. o ip_reass() now returns a new mbuf with the reassembled packet and ip->ip_len including the IP header. o Computation of the delayed checksum is moved into divert_packet(). Reviewed by: silby END K 10 svn:author V 3 den K 8 svn:date V 27 2004-08-03T13:12:11.000000Z K 7 svn:log V 93 Merge from recent English versions Obtained from: The FreeBSD Russian Documentation Project END K 10 svn:author V 3 den K 8 svn:date V 27 2004-08-03T13:32:33.000000Z K 7 svn:log V 72 Use lang="ru" Obtained from: The FreeBSD Russian Documentation Project END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-03T13:54:11.000000Z K 7 svn:log V 127 o Move the inflight sysctls to their own sub-tree under net.inet.tcp to be more consistent with the other sysctls around it. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-03T14:06:12.000000Z K 7 svn:log V 97 The inflight sysctls have moved to net.inet.tcp.inflight.*, so adjust documentation accordingly. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-03T14:13:36.000000Z K 7 svn:log V 154 o Delayed checksums are now calculated in divert_packet() for diverted packets Remove the XXX-escaped code that did it in ip_output()'s IPHACK section. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-03T14:14:53.000000Z K 7 svn:log V 51 Initialize variables to fix kernel build on AMD64. END K 10 svn:author V 8 matusita K 8 svn:date V 27 2004-08-03T14:59:09.000000Z K 7 svn:log V 707 MFC: Enable KEYMAP_PATH environment variable to tweak keymap path. This commit imports following commit to RELENG_4: src/usr.sbin/kbdcontrol/kbdcontrol.1 rev 1.27 src/usr.sbin/kbdcontrol/kbdcontrol.c rev 1.34, 1.35 If my build sandbox works as expected, Jul/17/2004 or later RELENG_4 release build is broken iff old build environment is used. This is because that even if a new keymap hits the tree, release build doesn't see src/ directory but /usr/share/syscons/keymaps. About three years before, 5-current had a fix for that by sobomax, but it was not MFCed yet. Let me give a chance to fix for RELENG_4. Tested on: tora.jp.FreeBSD.org (aka snapshots.jp.FreeBSD.org RELENG_4 buildbox) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-03T15:20:55.000000Z K 7 svn:log V 147 Enable packet mode by default. Disk drives have gotten so large now, it is often the case the partition one wants to boot is above cylinder 1023. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-03T15:39:23.000000Z K 7 svn:log V 113 Don't skip permission checks when sending signals to zombie processes. Pointed out by: bde Reviewed by: rwatson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-03T15:41:33.000000Z K 7 svn:log V 13 Fix comment. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-03T17:00:39.000000Z K 7 svn:log V 148 Minor cleanups: - Fix typo in comment - Remember to free() sc->ndis_txarray on detach - Remember to do an ifmedia_removeall() for ethernet devices END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T17:16:30.000000Z K 7 svn:log V 59 Fix the ACPI_DEBUG case by removing a now unused variable. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-03T18:43:43.000000Z K 7 svn:log V 117 Make the SIGCHLD handler static and declare its argument as unused, so that make can be compiled with WARNS=3 again. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-08-03T18:43:45.000000Z K 7 svn:log V 200 Teach moused about Synaptics touchpads. While I'm here, document the existence of the '-l' option, which allows one to use moused to use psm in some more interesting ways. Approved by: njl (mentor) END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-08-03T18:44:27.000000Z K 7 svn:log V 274 Instead of calling ia32_pause() conditionally on __i386__ or __amd64__ being defined, define and use a new MD macro, cpu_spinwait(). It only expands to something on i386 and amd64, so the compiled code should be identical. Name of the macro found by: jhb Reviewed by: jhb END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-03T18:56:31.000000Z K 7 svn:log V 1338 Put variable assignments from the command line into the MAKEFLAGS variable as required by POSIX. This causes such variables to be pushed into all sub-makes called by the make (except when the MAKEFLAGS variable is explicitely changed in the sub-make's environment). This makes them also mostly un-overrideable in sub-makes except on the sub-make's command line. Therefor specifying 'make CC=icc' will cause icc to be used as C compiler in all sub-makes no matter what the Makefiles itself try to do to the CC variable. This patch also corrects the handling of the MFLAGS variable. MFLAGS contains all the command line flags but not the command line variable assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only). Makefiles can use MFLAGS for their own purposes given that they do not except MFLAGS to be undefined at the beginning and that they don't evaluate .MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance, but it is unfortunately heavily used by the X makefiles. This has been extensively tested by port builds (thanks to portmgr), new worlds and kernels. PR: standards/57295 (1st part above) Submitted by: James E. Flemer Approved by: portmgr Obtained from: NetBSD (1st part above) MFC after: 4 weeks END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-03T19:14:14.000000Z K 7 svn:log V 263 Correct the description of the MFLAGS and .MAKEFLAGS variables. Add the MFLAGS target. Document that variable assignments from the MAKEFLAGS environment variable and the .MAKEFLAGS and .MFLAGS target have the same precedence as command line variable assignments. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-03T19:24:54.000000Z K 7 svn:log V 146 Making a loadable null.ko for /dev/(null|zero) proved rather unpopular, so remove this (mis)feature. Encouragement provided by: jhb (and others) END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-08-03T19:28:08.000000Z K 7 svn:log V 191 MFC moused.c r1.67 and moused.8 r1.46 Document the existence of the '-l' option to specify at what level to operate the mouse driver. This has been undocumented for more than six years :-) END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-03T19:29:48.000000Z K 7 svn:log V 32 Update for the null.ko removal. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-03T20:46:23.000000Z K 7 svn:log V 127 - Make the HARDWARE section preamble text have a call to the Nm macro, so the driver name will appear in the Hardware Notes. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-03T20:52:28.000000Z K 7 svn:log V 56 - Add a HARDWARE section which lists supported devices. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T21:17:36.000000Z K 7 svn:log V 184 Use the acpi_{Get,Set}Integer functions instead of rolling custom ones. Clean up return path of each function to have a single exit point. This reduces diffs against the MPSAFE tree. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-03T21:27:43.000000Z K 7 svn:log V 62 Bump WARNS to 2 for all other ACPI drivers and minor cleanup. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-03T22:12:45.000000Z K 7 svn:log V 813 Auto generate the device listings in the Hardware Notes based on manual pages, to avoid duplicating work between the Hardware Notes and manual pages. Each text line in the output from the manual page parser is generated as a SGML entity, making it possible for translators to only translate lines which actually contains English text (this neat idea came from hrs). To determine which drivers are usable on which architectures the dev.archlist.txt file is used to explicitly list this. It it an imperfect solution, but the best I have been able to come up with for now. This commit converts most of the devices which has a section 4 manual page with a HARDWARE section to be the new auto generated format. Reviewed in principle by: ru, hrs, trhodes Good ideas for improvements: hrs No objections: -doc, re END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-08-03T22:37:09.000000Z K 7 svn:log V 125 Further cleanup: merge the three led toggling functions into a single general function to handle all leds. Approved by: njl END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-08-04T00:21:19.000000Z K 7 svn:log V 250 Fix problems with the OFW console which happen when the system goes into single-user mode (as seen on sparc64 and PPC). Problems were due to a minor oversight in the changes committed in revision 1.25. Submitted by: grehan Tested by: gad & yongari END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-04T00:23:00.000000Z K 7 svn:log V 27 Allow 'create '. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-08-04T00:46:58.000000Z K 7 svn:log V 79 Update for conversion to X.Org as default X in -current. Requested by: scottl END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-04T02:47:32.000000Z K 7 svn:log V 176 In next(), ensure that 'done' is set in the case when a file cannot be opened, to avoid trying to read standard input after already closing it, which resulted in EBADF errors. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-04T02:51:46.000000Z K 7 svn:log V 42 Add ENVIRONMENT and DIAGNOSTICS sections. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-04T02:55:25.000000Z K 7 svn:log V 36 Add a standard DIAGNOSTICS section. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-04T03:02:14.000000Z K 7 svn:log V 36 Add a standard DIAGNOSTICS section. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-08-04T03:13:51.000000Z K 7 svn:log V 250 Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a gets most of it content back now, when symbols from LIB2FUNCS are actually compiled. Noticed by: Steve Kargl Pointy hat to: kan END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-08-04T03:24:25.000000Z K 7 svn:log V 242 Remove these three files left-over from my unsuccessful attempt to re-import `patch' into this location. Instead I think I will import it to 'patch-b', and that way I can be sure that I am starting with a clean slate WRT the CVS repository. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T03:46:35.000000Z K 7 svn:log V 175 Add minimal socketpair() regression test to confirm that we can create (and close) PF_UNIX socket pairs, and that we can't create PF_INET socket pairs. More tests to follow. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-04T05:40:15.000000Z K 7 svn:log V 623 Pass the partition type to get_mountpoint() and new_part(). This way we'll actually create an EFI partition with a FAT file system instead of an UFS file system. It also allows us to give a sensible default mount point for EFI partitions so that people don't have to guess. This also means that we can now remove new_efi_part(), which did the same thing as new_part(), except it created a FAT file system. The function wasn't called when the EFI partition was created from scratch though, which was the problem. By passing the partition type to the various functions, we can deal with EFI without having to duplicate code. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-04T06:19:31.000000Z K 7 svn:log V 53 Correct the names and descriptions of the man pages. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-04T06:46:02.000000Z K 7 svn:log V 153 Move libbsnmp.so to /lib so that it is available to atmconfig. At the moment the only dependency on this library is bsnmpd. Approved by: silence on re@ END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-04T07:40:58.000000Z K 7 svn:log V 115 Add a regression test for the passing of command line variable assignments via the MAKEFLAGS environment variable. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-04T08:10:37.000000Z K 7 svn:log V 104 Give sshd a secure startup, but with a tweakable timeout so that the box won't hang forever at startup. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2004-08-04T08:11:33.000000Z K 7 svn:log V 175 Add Canon CanoScan LIDE 20 and Canon CanoScan LIDE 30 to the list of supported devices. While I'm there add CanoScan to the names of other Canon scanners. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-04T08:58:52.000000Z K 7 svn:log V 39 MFC: 1.41: make -p cover symlinks too. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-04T08:58:58.000000Z K 7 svn:log V 257 In dev_pager_updatefake, m->valid is typically 0 on entry. It should be set to VM_PAGE_BITS_ALL before returning, to ensure that neither vm_pager_get_pages nor vm_fault calls vm_page_zero_invalid after dev_pager_getpages has returned. Submitted by: tegge END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-04T10:02:06.000000Z K 7 svn:log V 58 MFp4: We don't really need g_mirror_free_disk() function. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-04T12:09:53.000000Z K 7 svn:log V 132 - Add "prefer" balance algorithm. When used, only disk with the biggest priority will be used for reading. - Bump version number. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-08-04T12:18:39.000000Z K 7 svn:log V 55 Fix and add deivce ID's. Obtained from: DragonFly BSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-04T12:18:42.000000Z K 7 svn:log V 68 Add regression test for "prefer" balance algorithm in MIRROR class. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-08-04T14:29:22.000000Z K 7 svn:log V 101 Unbreak LINT by making sure that method is always defined. Submitted by: roam Pointy hat to: philip END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-08-04T14:36:40.000000Z K 7 svn:log V 54 MFC: Re-implement LQM, this time according to the rfc END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-04T15:10:35.000000Z K 7 svn:log V 77 Correct the .Dd date. Pluralize 'assignment' in one place. Requested by: ru END K 10 svn:author V 6 marcus K 8 svn:date V 27 2004-08-04T15:17:08.000000Z K 7 svn:log V 325 Fix Skinny and PPTP NAT'ing after the introduction of the {ip,tcp,udp}_next functions. Basically, the ip_next() function was used to get the PPTP and Skinny headers when tcp_next() should have been used instead. Symptoms of this included a segfault in natd when trying to process a PPTP or Skinny packet. Approved by: des END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-08-04T17:55:34.000000Z K 7 svn:log V 4193 Correct a very rare case where command ordering could be compromised by a transaction performing a driver handled message sequence (an scb with the MK_MESSAGE flag set). SCBs that perform host managed messaging must always be at the head of their per-target selection queue so that the firmware knows to manually assert ATN if the current negotiation agreement is packetized. In the past we guaranteed this by queuing these SCBs separarately in the execution queue. This exposes the system to potential command reordering in two cases: 1) Another SCB for the same ITL nexus is queued that does not have the MK_MESSAGE flag set. This SCB will be queued to the per-target list which can be serviced before the MK_MESSAGE scb that preceeded it. 2) If the target cannot accept all of the commands in the per-target selection queue in one selection, the remainder is queued to the tail of the selection queues so as to effect round-robin scheduling. This could allow the MK_MESSAGE scb to be sent to the target before the requeued commands. This commit changes the firmware policy to defer queuing MK_MESSAGE SCBs into the selection queues until this can be done without affecting order. This means that the target's selection queue is either empty, or the last SCB on the execution queue is also a MK_MESSAGE SCB. During any wait, the firmware halts the download of new SCBs so only a single "holding location" is required. Luckily, MK_MESSAGE SCBs are rare and typically occur only during CAM's bus probe where only one command is outstanding at a time. However, during some recovery scenarios, the reordering *could* occur. aic79xx.c: Update ahd_search_qinfifo() and helper routines to search for pending MK_MESSAGE scbs and properly restitch the execution queue if either the MK_MESSAGE SCB is being aborted, or the MK_MESSAGE SCB can be queued due to the execution queue draining due to aborts. Enable LQOBUSFREE status to assert an interrupt. This should be redundant since a BUSFREE interrupt should always occur along with an LQOBUSFREE event, but on the Rev A, this doesn't seem to be guaranteed. When a PPR request is rejected when a previously existing packetized agreement is in place, assume that the target has been reset without our knowledge and revert to async/narrow transfers. This corrects two issues: the stale ENATNO setting that was used to send the PPR is cleared so the firmware is not confused by a future packetized selection with ATN asserted but no MK_MESSAGE flag in the SCB and it speeds up recovery by aborting any pending packetized transactions that by definition are now dead. When re-queueing SCBs after a failed negotiation attempt, ensure command ordering by freezing the device queue first. Traverse the list of pending SCBs rather than the whole SCB array on the controller when pushing MK_MESSAGE flag changes out to the controller. The original code was optimized for the aic7xxx controllers where there are fewer controller slots then pending SCBs and the firmware picks SCB slots. For the U320 controller, the hope is that we have fewer pending SCBs then the 512 slots on the controller. Enhance some diagnostics. Factor out some common code. aic79xx.h: Add prototype for new ahd_done_with_status() that is used to factor out some commone code. aic79xx.reg: Add definisions for the pending MK_MESSAGE SCB. aic79xx.seq: Defer MK_MESSAGE SCB queing to the execution queue so as to preserve command ordering. Re-arrange some of the selection processing code so the above change had no performance impact on the common code path. Close a few critical section holes. When entering a non-packetized phase, manually enable busfree interrupts, since the controller hardware does not do this automatically. aic79xx_inline.h: Enhance logging for queued SCBs. aic79xx_osm.c: Add new a new DDB ahd command, ahd_dump, which invokes the ahd_dump_card_state() routine on the unit specified with the ahd_sunit DDB command. aic79xx_pci.c: Turn on the BUSFREEREV bug for the Rev B. controller. This is required to close the busfree during non-packetized phase hole. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-04T18:03:43.000000Z K 7 svn:log V 433 add a set of scripts that I posted to -current last year. This makes debugging kernels and kernel modules much easier. It will automaticly locate kernel source, extract kernel module information, and rerun gdb to load kernel module symbol information (if available by compiling module w/ debuging symbols). I have not run these recently, so may need to be updated to work with gdb6. Feel free to fix as appropriate for -current. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-04T18:04:44.000000Z K 7 svn:log V 429 Post-locking clean up/simplification, particularly, the elimination of vm_page_sleep_if_busy() and the page table page's busy flag as a synchronization mechanism on page table pages. Also, relocate the inline pmap_unwire_pte_hold() so that it can be used to shorten _pmap_unwire_pte_hold() on alpha and amd64. This places pmap_unwire_pte_hold() next to a comment that more accurately describes it than _pmap_unwire_pte_hold(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T18:14:19.000000Z K 7 svn:log V 48 Annotate locking strategy for 'struct uidinfo'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T18:19:09.000000Z K 7 svn:log V 35 Remove spl's from kern_resource.c. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-08-04T18:22:50.000000Z K 7 svn:log V 1205 More minor cleanups and one small bug fix: - In ntoskrnl_var.h, I had defined compat macros for ntoskrnl_acquire_spinlock() and ntoskrnl_release_spinlock() but never used them. This is fortunate since they were stale. Fix them to work properly. (In Windows/x86 KeAcquireSpinLock() is a macro that calls KefAcquireSpinLock(), which lives in HAL.dll. To imitate this, ntoskrnl_acquire_spinlock() is just a macro that calls hal_lock(), which lives in subr_hal.o.) - Add macros for ntoskrnl_raise_irql() and ntoskrnl_lower_irql() that call hal_raise_irql() and hal_lower_irql(). - Use these macros in kern_ndis.c, subr_ndis.c and subr_ntoskrnl.c. - Along the way, I realised subr_ndis.c:ndis_lock() was not calling hal_lock() correctly (it was using the FASTCALL2() wrapper when in reality this routine is FASTCALL1()). Using the ntoskrnl_acquire_spinlock() fixes this. Not sure if this actually caused any bugs since hal_lock() would have just ignored what was in %edx, but it was still bogus. This hides many of the uses of the FASTCALLx() macros which makes the code a little cleaner. Should not have any effect on generated object code, other than the one fix in ndis_lock(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T18:27:55.000000Z K 7 svn:log V 263 Now that IPv6 performs basic in6pcb and inpcb locking, enable inpcb lock assertions even if IPv6 is compiled into the kernel. Previously, inclusion of IPv6 and locking assertions would result in a rapid assertion failure as IPv6 was not properly locking inpcbs. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-04T18:30:31.000000Z K 7 svn:log V 38 Fix module builds for i386 and amd64. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T18:35:33.000000Z K 7 svn:log V 293 Assert Giant in the following file descriptor-related functions: Function Reason -------- ------ fdfree() VFS setugidsafety() KQueue fdcheckstd() VFS _fgetvp() VFS fgetsock() Conditional assertion based on debug.mpsafenet END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-04T18:39:07.000000Z K 7 svn:log V 306 Assert Giant in namei(). Bugs have been reported in which, following a sleep() call waking up in namei(), a later assertion triggers that Giant is not held. By asserting Giant at the start of namei(), we can know that if that assertion triggers, Giant is lost during the call to namei(), and not before. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-04T18:57:41.000000Z K 7 svn:log V 29 o Fix a typo in the comment. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-04T19:12:14.000000Z K 7 svn:log V 51 Add stubs for powerpc TLS. Submitted by: ssouhlal END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-04T20:04:01.000000Z K 7 svn:log V 109 Temporarily unhook the English Hardware Notes from the build to unbreak the web build. Pointy hat to: simon END K 10 svn:author V 4 arun K 8 svn:date V 27 2004-08-04T20:09:41.000000Z K 7 svn:log V 262 Use a 256MB TR instead of a 64MB TR to make sure that the kernel text/data are covered on APs. This enables the kernel to boot on a 4 way Intel Itanium-2 platform. This has a secondary effect of keeping the TRs identical on BP and the APs. reviewed by: marcel@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-04T20:16:17.000000Z K 7 svn:log V 15 Whitspace fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-04T20:18:45.000000Z K 7 svn:log V 315 Cache the value of curthread in the _get_sleep_lock() and _get_spin_lock() macros and pass the value to the associated _mtx_*() functions to avoid more curthread dereferences in the function implementations. This provided a very modest perf improvement in some benchmarks. Suggested by: rwatson Tested by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-04T20:24:40.000000Z K 7 svn:log V 416 Workaround a possible deadlock on SMP due to a spin lock LOR by disabling the immediate awakening of proc0 (scheduler kproc, controls swapping processes in and out). The scheduler process periodically awakens already, so this will not result in processes not being swapped in, there will just be more latency in between a thread being made runnable and the scheduler waking up to swap the affected process back in. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-04T20:31:19.000000Z K 7 svn:log V 419 Remove a potential deadlock on i386 SMP by changing the lazypmap ipi and spin-wait code to use the same spin mutex (smp_tlb_mtx) as the TLB ipi and spin-wait code snippets so that you can't get into the situation of one CPU doing a TLB shootdown to another CPU that is doing a lazy pmap shootdown each of which are waiting on each other. With this change, only one of the CPUs would do an IPI and spin-wait at a time. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-08-04T20:43:57.000000Z K 7 svn:log V 305 - Update l2ping(8) man page and mention that it is possible to use names instead of BD_ADDRs - Convert BD_ADDRs in l2ping(8) output into the human readable names via bt_gethostbyaddr(3) - Introduce and document '-n' - numberic output option Suggested by: Anil Madhavapeddy END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-04T20:49:43.000000Z K 7 svn:log V 56 Oops. Didn't commit this as part of the mem module fix. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-04T21:35:05.000000Z K 7 svn:log V 378 - Add two fields to bio structure: 'bio_cflags' which can be used by consumer and 'bio_pflags' which can be used by provider. - Remove BIO_FLAG1 and BIO_FLAG2 flags. From now on new fields should be used for internal flags. - Update g_bio(9) manual page. - Update some comments. - Update GEOM_MIRROR, which was the only one using BIO_FLAGs. Idea from: phk Reviewed by: phk END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-04T22:03:16.000000Z K 7 svn:log V 196 - Push down the acquisition and release of Giant into pmap_enter_quick() on those architectures without pmap locking. - Eliminate the acquisition and release of Giant in vm_map_pmap_enter(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-04T23:04:14.000000Z K 7 svn:log V 1373 ia64 specific: o Remove the code that creates the boot directory on the EFI file system after it has been mounted, as well as remove the code that creates the symlink from /boot -> /efi/boot (*). As a result, /boot will be extracted onto the root file system. o Add a function efi_mountpoint() that returns the mount point of the EFI file system or NULL if no EFI partition is created. This function is used to both check whether there's an EFI file system and to return what its mount point is. o When there's no EFI file system, ask the user if this is what he or she wants. Since we extract /boot onto the root file system, we do not actually need an EFI file system for the installation to work. Whether one wants to install without an EFI partition is of course an entirely different question. We allow it... o When we're done installing and need to fix up the various bits and pieces, check if there's an EFI partition and if yes, move /boot to /efi/boot and create a symlink /boot -> /efi/boot (*). This is a much more reliable way to get /boot onto the EFI partition than creating the symlink up front and hope its being respected. It so happened that we never had the boot directory end up on the EFI partition. We make the symlink relative. (*) /efi is a place holder for the actual EFI mount point of course. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-05T00:32:08.000000Z K 7 svn:log V 127 Move definition of mem_range_softc from mp_machdep.c to machdep.c so that it is defined for non-SMP builds, not just SMP ones. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-08-05T01:44:55.000000Z K 7 svn:log V 73 Use isnormal() instead of fpclassify() to avoid dependency on libc.so.5. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-08-05T01:46:11.000000Z K 7 svn:log V 304 Replace s_isnan.c and s_isnanf.c with the more compact s_isnan.c from libc. The externally-visible effect of this is to add __isnanl() to libm, which means that libm.so.2 can once again link against libc.so.4 when LD_BIND_NOW is set. This was broken by the addition of fdiml(), which calls __isnanl(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-05T02:37:36.000000Z K 7 svn:log V 273 Do a lockless read of the BPF interface structure descriptor list head before grabbing BPF locks to see if there are any entries in order to avoid the cost of locking if there aren't any. Avoids a mutex lock/ unlock for each packet received if there are no BPF listeners. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-08-05T02:52:33.000000Z K 7 svn:log V 394 Implement TCP/UDP Transmit/Receive checksum offload. Since HME doesn't compensate the checksum for UDP datagram which can yield to 0x0, UDP transmit checksum offload is disabled by default. The UDP Transmit checksum offload can be reactivated by setting special link option link0 with ifconfig(8). Approved by: jake (mentor) Reviewed by: tmm Tested by: Herve Boulouis END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2004-08-05T03:09:54.000000Z K 7 svn:log V 613 Fix the startup logic for sendmail. If sendmail_enable=yes, don't start the submit and outbound daemon, else if sendmail_submit_enable=yes, don't start the outbound daemon. Only one daemon should be started. Also, do not rebuild database maps at boot time. The code didn't pay attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may not want maps automatically rebuilt just because the back end database has changed. Finally, some maps are built with mode tools than just makemap (e.g., using cidrexpand on the access text file before sending it to makemap). Noticed by: ache Reviewed by: ache END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-05T04:06:41.000000Z K 7 svn:log V 68 MFC rev. 1.31: the signal number has to be less than NSIG strictly. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-05T05:46:22.000000Z K 7 svn:log V 94 Ensure that there's always a space between the user name and group name in -tv output format. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-05T05:48:12.000000Z K 7 svn:log V 81 Forced commit to acknowledge that the previous fix was due to: Stefan Farfeleder END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-08-05T06:00:05.000000Z K 7 svn:log V 253 Move boot2 BSS zeroing into btx startup code out of boot1. boot1 does not have clear idea on boot2 BSS size and leaves portion of it not zeroed out. btxcsu.s is in much better position for this job. Obtained from: DragonflyBSD (with minor adjustments) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-05T06:29:12.000000Z K 7 svn:log V 690 Remove the attempt to cache the previous page mapped at our identity location (for the wake code). It should not be needed since we don't map other pages at the same location and if there was an old mapping, it would be restored by a fault. The old code had serious problems, namely that it was restoring the new page it had just removed (not opage) and it could only guess at the right protection (since there's no pmap_extract_protect function). Thanks to Alan Cox for explaining much of this to me. Also, remove a commented-out initializecpu() call since it is not needed. Restoring the cpu context is better than attempting to init from scratch. Reviewed by: alc (earlier version) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-08-05T06:51:24.000000Z K 7 svn:log V 59 MFC rev. 1.75 PR: bin/69674 Approved by: julian (mentor) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-05T06:54:16.000000Z K 7 svn:log V 918 Work around non-compliant BIOS PCI link devices. Some systems have the following behavior: * Link devices return invalid status (_STA) values. The results are very unreliable -- sometimes never present. Just ignore the status and pick the best configuration from _PRS. * Link devices return invalid current settings (_CRS). Even after setting the link value, many systems still return a different setting for _CRS. When setting an IRQ, don't bother to check _CRS to see if we succeeded. Note that we still check _CRS before routing and this should be addressed as well. Since this is a sensitive area, leave the old behavior accessible via uncommenting the define for ACPI_OLD_PCI_LINK at the top of the file. Once this has been thoroughly tested, this option and the code it covers will be removed. Thanks to Len Brown at Intel for informing us of these issues as he worked around them in Linux. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-05T07:04:33.000000Z K 7 svn:log V 124 Remove a product specific workaround for wrong modes when mmap(2)'ing devices. They have had plenty of time to adjust now. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-08-05T07:15:35.000000Z K 7 svn:log V 95 Finish the PRISON_ROOT -> SUSER_ALLOWJAIL renaming by removing the definition of the old name. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-08-05T07:20:24.000000Z K 7 svn:log V 173 Now that mem(4) is a kernel module, we need to add a dependency on it in drm(4) for mem_range_attr_set(). This fixes loading a DRM driver as a module. Reviewed by: anholt END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-05T07:24:06.000000Z K 7 svn:log V 61 Add another test that checks for a working '+' command flag. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-05T08:07:40.000000Z K 7 svn:log V 81 This file is not suppose be be all one big comment :-( Pointed out by: ssouhlal END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-08-05T08:12:46.000000Z K 7 svn:log V 41 Set ip_v field properly. PR: kern/69957 END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-05T08:44:00.000000Z K 7 svn:log V 134 Remove extra spaces. Remove double quotes around error messages - they are not needed and will actually be printed. Submitted by: ru END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-05T09:11:44.000000Z K 7 svn:log V 86 Back out something I'm working on that crept in with the last commit. Spotted by: ru END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-08-05T12:44:12.000000Z K 7 svn:log V 144 In pmap_page_protect, clear the vm page's PG_WRITEABLE flag if downgrading to read-only. Found by triggering the KASSERT in vm_pageout_flush(). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-05T12:58:52.000000Z K 7 svn:log V 24 MFi386: revision 1.410. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-05T13:00:11.000000Z K 7 svn:log V 24 MFi386: revision 1.502. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-05T13:01:29.000000Z K 7 svn:log V 24 MFi386: revision 1.597. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-05T13:22:17.000000Z K 7 svn:log V 72 Simplify a bit - we could use 'sc' here as it was initialized properly. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-08-05T13:35:43.000000Z K 7 svn:log V 121 Increase the suggested minimum free space for release-building. It needed slightly over 3GB when I built one yesterday. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-05T13:51:56.000000Z K 7 svn:log V 43 Add myself as a maintainer of geom_mirror. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-05T14:07:21.000000Z K 7 svn:log V 38 Don't use 'bp' after its destruction! END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-08-05T14:07:24.000000Z K 7 svn:log V 202 Only use rfs and wfs if ARM_HARD_FLOAT is defined, and use stubs if it is not, in order to unbreak arm make world. The right way to do it with soft floats will be figured out later. Discussed with: das END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-05T15:07:16.000000Z K 7 svn:log V 80 Be a bit nicer for those who want to work on my code. Dedicated to: mux, bosko END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-08-05T15:44:26.000000Z K 7 svn:log V 49 Add 'i' to the getopt string. Noticed by: jhein END