ƒ²138182 194 2594 296 342 433 128 189 116 116 126 249 260 321 302 180 304 208 435 267 187 221 229 414 276 370 437 276 167 216 297 230 259 207 107 155 236 163 547 1022 243 506 338 296 829 127 112 279 394 172 133 167 344 271 189 144 168 184 782 882 151 143 229 149 209 165 144 138 320 229 291 210 287 1148 315 442 486 129 462 113 125 225 196 190 249 448 194 164 307 644 169 363 356 192 317 332 151 158 172 176 752 168 223 262 223 168 151 134 239 180 1424 309 178 201 249 179 430 239 204 239 260 131 168 227 299 239 767 426 330 160 158 165 551 151 256 254 191 532 190 512 184 271 164 199 113 180 340 174 139 147 163 144 183 412 530 139 251 191 139 158 601 238 151 114 191 155 218 135 170 300 270 151 242 157 297 232 160 177 187 109 333 117 183 324 199 250 125 226 130 351 236 266 267 243 352 264 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-29T00:39:02.000000Z K 7 svn:log V 2496 Merge randomdev_soft.c:1.5, 1.6, 1.7 from HEAD to RELENG_5: ---------------------------- revision 1.7 date: 2004/11/03 10:02:50; author: rwatson; state: Exp; lines: +11 -14 (1) Move from O(n) list copies to O(1) list concatenation, which is supported for STAILQ via STAILQ_CONCAT(). (2) Maintain a count of the number of entries in the thread-local entropy fifo so that we can keep the other fifo counts in synch. MFC after: 3 weeks MFC with: randomdev_soft.c revisions 1.5 and 1.6 Suggested by: jhb (1) ---------------------------- revision 1.6 date: 2004/10/12 14:57:14; author: rwatson; state: Exp; lines: +6 -0 Assert that the entropy source category provided by a caller submitting entropy is valid, as an invalid source will cause dereferencing of an array of queues to an incorrect memory location. ---------------------------- revision 1.5 date: 2004/10/09 22:04:13; author: rwatson; state: Exp; lines: +41 -50 Modify entropy harvesting locking strategy: - Trade off granularity to reduce overhead, since the current model doesn't appear to reduce contention substantially: move to a single harvest mutex protecting harvesting queues, rather than one mutex per source plus a mutex for the free list. - Reduce mutex operations in a harvesting event to 2 from 4, and maintain lockless read to avoid mutex operations if the queue is full. - When reaping harvested entries from the queue, move all entries from the queue at once, and when done with them, insert them all into a thread-local queue for processing; then insert them all into the empty fifo at once. This reduces O(4n) mutex operations to O(2) mutex operations per wakeup. In the future, we may want to look at re-introducing granularity, although perhaps at the granularity of the source rather than the source class; both the new and old strategies would cause contention between different instances of the same source (i.e., multiple network interfaces). Reviewed by: markm Also merge subr_witness.c:1.182 from HEAD to RELENG_5: date: 2004/10/11 08:26:18; author: rwatson; state: Exp; lines: +1 -2 Add entropy harvest mutex to hard-coded spin lock witness lock order, remove previous entropy harvesting mutex names as they are no longer present. Commit to this file was ommitted when randomdev_soft.c:1.5 was made. Feet shot: Robert Huff END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-29T01:32:10.000000Z K 7 svn:log V 200 Disable the beastie menu. It offends some and annoys everyone else, and I'm frankly tired of the controversy. When people ask me why FreeBSD isn't user- friendly, I'll tell them that I tried. RIP. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2004-11-29T03:10:35.000000Z K 7 svn:log V 249 Reviewed by: SUZUKI Shinsuke Approved by: Robert Watson Add locking to the IPv6 scoping code. All spl() like calls have also been removed. Cleaning up the handling of ifnet data will happen at a later date. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-29T08:38:16.000000Z K 7 svn:log V 338 Merge the contents of lstInt.h into the public lst.h. This let's us get rid of a lot of uneccesary casts and temporary variables that have just obfuscated the code. This also let's us implement a couple of the one- liner list functions as macros (the first one is Lst_IsEmpty) and simplify life once we start to throw consts on the code. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-29T09:31:04.000000Z K 7 svn:log V 37 Pick up loader.rc from its old home. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-29T09:35:01.000000Z K 7 svn:log V 98 Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero). Asked to commit by: phk END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-29T09:56:12.000000Z K 7 svn:log V 25 MNT_NODEV is deprecated. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-29T11:54:42.000000Z K 7 svn:log V 23 MFi386: revision 1.38. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-29T11:55:14.000000Z K 7 svn:log V 33 MFi386: revisions 1.77 and 1.78. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-29T12:00:24.000000Z K 7 svn:log V 152 Point at the mac(4) man page when describing the -Z option. Remove reference to /dev/lomac, which is no longer used by mac_lomac(4). MFC after: 3 days END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-29T12:17:13.000000Z K 7 svn:log V 165 Use typedefs for the types of the functions that are passed as arguments to the list functions for better readability. Submitted by: Max Okumoto END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-11-29T14:00:08.000000Z K 7 svn:log V 223 Sigh. I really need to get an internet connection which is less than 2km away from where I'm living, so that I can fix these typos sooner. s/SA_MAX/AF_MAX/ is previous commit. Reported by: marcus, ups, Yiawei Ye, dwhite END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-29T14:49:27.000000Z K 7 svn:log V 206 Don't flag alignment constraints as a reason for bouncing. This fixes the trigger for other misbehaviour in the sym driver that was causing freezes at boot. Thanks to phk@ for reporting and testing this. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-11-29T15:32:31.000000Z K 7 svn:log V 88 Fix typo. Submitted by: Janusz Muc'ka (Defacto) MFC after: 3 days END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-29T16:23:34.000000Z K 7 svn:log V 209 Fix a bug that would truncate the full name of an archive member if the length of happens to be larger than MAXPATHLEN. PR: bin/74368 Submitted by: Max Okumoto Obtained from: DragonFlyBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-29T16:40:30.000000Z K 7 svn:log V 115 Attach the device at acpi_sony instead of acpi_snc. Rename some internal variables as well to reflect the change. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-11-29T17:11:15.000000Z K 7 svn:log V 340 Send NAS-IP-Address as well as NAS-Identifier Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to support pre-rfc2865 RADIUS servers. This pushes our enable/disable items over the 32 bit limit, so reoganise things to allow a bunch more options. Go to version 3.4.1 so that any compatability problems can be identified. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-29T18:47:27.000000Z K 7 svn:log V 175 Fixes a bug in SACK causing us to send data beyond the receive window. Found by: Pawel Worach and Daniel Hartmeier Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-29T18:48:51.000000Z K 7 svn:log V 95 Instead of translating PCI to ACPI power states, just use a CTASSERT that they are equivalent. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-29T19:11:36.000000Z K 7 svn:log V 128 MFC 1.169 - 1.171: Run shutdown code on the BSP. This is only active for i386 and amd64 until jhb@ MFCs the alpha cpuid code. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-11-29T19:51:50.000000Z K 7 svn:log V 135 Add amd64 to the list of supported platforms. PR: docs/74529 Submitted by: Jason Bacon END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-29T22:58:32.000000Z K 7 svn:log V 322 When upgrading the shared lock to an exclusive lock, if we discover that the exclusive lock is already held, then we call panic. Don't clobber internal lock state before panic'ing. This change improves debugging if this case were to happen. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-29T23:05:30.000000Z K 7 svn:log V 184 Fix for a bug in nfs_mkdir() that called vrele() instead of vput() in the error cases, causing panics. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-29T23:09:07.000000Z K 7 svn:log V 278 Make soreceive(MSG_DONTWAIT) nonblocking. If MSG_DONTWAIT is passed into soreceive(), then pass in M_DONTWAIT to m_copym(). Also fix up error handling for the case where m_copym() returns failure. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-29T23:10:59.000000Z K 7 svn:log V 345 If soreceive() is called from a socket callback, there's no reason to do a window update to the peer (thru an ACK) from soreceive() itself. TCP will do that upon return from the socket callback. Sending a window update from soreceive() results in a lock reversal. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-29T23:25:56.000000Z K 7 svn:log V 181 Take advantage of the shutdown processing being wired to the BSP and eliminate the evil cpu_reset_proxy code now that it will never be activated. i386 should pick this up as well. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-29T23:27:07.000000Z K 7 svn:log V 73 MFi386: join the %cr0 setup line now that i386 has lost the I386 ifdefs. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-29T23:40:17.000000Z K 7 svn:log V 121 Teach vinum that amd64 has slices. I'm lost for words. Submitted by: Javier Ramirez PR: 72333 END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-29T23:51:28.000000Z K 7 svn:log V 202 MFC: Turn libobjc.so on for amd64. GNUstep needs it, for example. The original reason libobjc.so was disabled has almost been lost in time. PR: 71674 Submitted by: Pete French END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-30T00:25:26.000000Z K 7 svn:log V 135 Switch from 1024hz to 1000hz on amd64 to match i386. 1024 is a bad choice because it is so in sync with stathz (128hz or 4096hz etc). END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-30T00:55:49.000000Z K 7 svn:log V 164 Update the gdb register extraction support to use the pcb wherever possible, like on i386. Registers are handled differently for caller vs callee saved registers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-30T02:56:53.000000Z K 7 svn:log V 111 s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files for libgdb and should do so here as well. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-11-30T03:23:35.000000Z K 7 svn:log V 15 Fix the build. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-30T05:12:37.000000Z K 7 svn:log V 60 Makefile (only) changes to allow building a cross debugger. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-30T06:18:46.000000Z K 7 svn:log V 143 MFamd64: Remove the cpu_reset_proxy cruft now that we run boot() on cpu 0. Also, restructure cpu_reset to be cleaner (no functional change.) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-30T06:21:38.000000Z K 7 svn:log V 71 Replace a printf with a KASSERT that we are indeed running on the BSP. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-30T06:55:43.000000Z K 7 svn:log V 454 Make sure the link array is big enough to hold both _CRS and _PRS resource lists. It used to be sized based only on _CRS, hence _PRS could perform an out-of-bounds access if it was larger (i.e., when there are dependent functions). Add asserts to detect this case. Note, this is only a temporary fix and I believe _PRS and _CRS should have separate arrays. Also, fix a typo where the wrong irq was being check for the APIC case. Submitted by: tegge END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-30T08:00:14.000000Z K 7 svn:log V 929 Reject tasting of this provider if the sector size isn't a multiple of 512. If I had an audio cdrom in my cd player when I booted my system, I'd get a panic from geom because you can't read 8192 bytes from an audio cdrom. Remove XXX comment about IPL1 and replace it with some information from my soon to be published web page on the pc98 disk layout. The IPL1 test was the result of an observation of a disk with FreeBSD's boot0 program. It was testing part of an area what appears to be reserved for a boot loader name, which comes after a jump over this area. I don't yet know if it is required to be any specific jump instruction, or if the destination has to be location 11. [1] [1] FreeBSD Press No. 13, page 115, poorly translated by myself. The picture there shows offset 8 as the destination of the jump, but FreeBSD's boot0 program has three padding NULs after the IPL1 name and uses a 16-bit 'jmp' instruction. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-11-30T09:04:41.000000Z K 7 svn:log V 147 Create a new definition, PSL_KERNSET, which is used for setting the MSR in kernel mode. Redefine PSL_USERSET in terms of this by or'ing in PSL_PR. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-30T09:40:11.000000Z K 7 svn:log V 413 Add observations of the Linux98 and Grub/98 boot loaders. These observations lead me to believe that the convetion for pc98 boot loaders is to have a jump unstruction, followed by a string, followed by code. The jump usually doesn't have a nop after it and usually the string is NUL terminated, but Grub/98 breaks both of these rules. # I looked for, but failed to find the Minux boot blocks for PC-9801 port. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-30T10:35:04.000000Z K 7 svn:log V 243 Change a couple of the primitve list functions to be macros. This changes the semantic of Lst_Datum which formerly returned NULL when the argument node was NULL. There was only one place in the source that relied on this so change that place. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-30T11:35:30.000000Z K 7 svn:log V 200 Instead of just not defining a bunch of words when TESTMAIN is set, provide stubs that at least handle the stack correctly. This makes it much easier to experiment with loader scripts from userland. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-30T12:02:53.000000Z K 7 svn:log V 732 1. use per-chain mutex instead of global mutex to reduce lock collision. 2. Fix two race conditions. One is between _umtx_unlock and signal, also a thread was marked TDF_UMTXWAKEUP by _umtx_unlock, it is possible a signal delivered to the thread will cause msleep returns EINTR, and the thread breaks out of loop, this causes umtx ownership is not transfered to the thread. Another is in _umtx_unlock itself, when the function sets the umtx to UMTX_UNOWNED state, a new thread can come in and lock the umtx, also the function tries to set contested bit flag, but it will fail. Although the function will wake a blocked thread, if that thread breaks out of loop by signal, no contested bit will be set. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-30T12:18:53.000000Z K 7 svn:log V 31 Forgot to inline umtxq_unlock. END K 10 svn:author V 3 den K 8 svn:date V 27 2004-11-30T14:13:33.000000Z K 7 svn:log V 20 Update to 1.69.2.15 END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-30T15:33:18.000000Z K 7 svn:log V 184 Chmod the shell testscript to be executable if it isn't already. According to the CVS-Meisters x-mode just happens to work, but is not guaranteed to do so. Try to be on the safe side. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-30T15:35:51.000000Z K 7 svn:log V 299 Constify the array of predefined shells. It turns out that we need two versions of the structure definition for this: one with const char pointers, because otherwise gcc won't let us initialize the fields with constant strings, and one without the const, because we need to work with the structure. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-30T16:16:34.000000Z K 7 svn:log V 75 MLINK crypto.4 to cryptodev.4 Stumbled upon by: markus MFC after: 3 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-11-30T16:41:40.000000Z K 7 svn:log V 37 Use ?= with WARNS. Requested by: ru END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-11-30T16:47:27.000000Z K 7 svn:log V 71 MFC: add a `-m' flag to specify the month without specifying the year. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-30T17:46:29.000000Z K 7 svn:log V 249 Stylification: missing spaces, extra space after function names, casts and the sizeof operator, missing empty lines, void casts, extra empty lines. Checked by: diff on make *.o lst.lib/*.o Submitted by: Max Okumoto (partly) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-30T17:48:10.000000Z K 7 svn:log V 178 Don't bother locking in attach(). At boot time, we're single-threaded anyway and for some reason, witness seems confused about what's already locked and triggers a false panic. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-30T19:36:40.000000Z K 7 svn:log V 98 Revert last change. It doesn't break mount(8) reporting but allows a "nodev" in /etc/fstab, etc. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-11-30T20:04:47.000000Z K 7 svn:log V 52 add myself as the contact for the pkg_install tools END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-30T20:07:40.000000Z K 7 svn:log V 76 Remove now unused variable. Pointy hat: njl from nskyline_r35 at yahoo com END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-30T20:25:46.000000Z K 7 svn:log V 90 Remove unused cnt variable for the SMP case. Trim some excessive blank lines while here. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-30T22:28:50.000000Z K 7 svn:log V 686 Move ng_socket and ng_btsocket initialization to SI_SUB_PROTO_DOMAIN as they call net_add_domain(). Calling this function too early (or late) breaks assertations about the global domains list. Actually it should be forbidden to call net_add_domain() outside of SI_SUB_PROTO_DOMAIN completely as there are many places where we traverse the domains list unprotected, but for now we allow late calls (mostly to support netgraph). In order to really fix this we have to lock the domains list in all places or find another way to ensure that we can safely walk the list while another thread might be adding a new domain. Spotted by: se Reviewed by: julian, glebius PR: kern/73321 (partly) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-30T22:38:37.000000Z K 7 svn:log V 786 Implement the check I was talking about in the previous message already. Introduce domain_init_status to keep track of the init status of the domains list (surprise). 0 = uninitialized, 1 = initialized/unpopulated, 2 = initialized/done. Higher values can be used to support late addition of domains which right now "works", but is potential dangerous. I choose to only give a warning when doing so. Use domain_init_status with if_attachdomain[1]() to ensure that we have a complete domains list when we init the if_afdata array. Store the current value of domain_init_status in if_afdata_initialized. This way we can update if_afdata after a new protocol has been added (once that is allowed). Submitted by: se (with changes) Reviewed by: julian, glebius, se PR: kern/73321 (partly) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T02:44:44.000000Z K 7 svn:log V 55 MFC: 1.156; handle all interrupt types in polled mode. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T02:46:45.000000Z K 7 svn:log V 47 MFC: EHCI suspend/resume support from OpenBSD. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T02:52:45.000000Z K 7 svn:log V 132 MFC: Various bug fixes and cleanups from NetBSD: uhub.c 1.64 ehcireg.h 1.6 usb_subr.c 1.73 usbdivar.h 1.42 ehci.c 1.16, 1.17 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T02:53:56.000000Z K 7 svn:log V 53 MFC: 1.65; report the error when a port is disabled. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T03:02:52.000000Z K 7 svn:log V 112 MFC: fix the worst of the timeout race conditions: usb_port.h 1.72 uhci.c 1.159 ehci.c 1.20 ohci.c 1.147 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T03:04:13.000000Z K 7 svn:log V 69 MFC: 1.71, 1.72; ignore timeouts when preemptively clearing a stall. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T03:06:52.000000Z K 7 svn:log V 48 MFC: 1.155; use __inline instead of __inline__. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-12-01T03:08:14.000000Z K 7 svn:log V 42 MFC: 1.55; add device IDs for Intel ICH6. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-01T04:34:08.000000Z K 7 svn:log V 224 Fix "Lock ACPI PCI link not exclusively locked @sys/dev/acpica/acpi_pci_link.c:153" panic by backing out rev 1.37 in the SMP case. It appears that on a dual-proc machine the assertions in the rev 1.37 commit log hold true. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-01T04:59:33.000000Z K 7 svn:log V 133 Remove the last vestiges of the userconfig option. None of this actually did anything, so this commit should be considered a NO-OP. END K 10 svn:author V 3 suz K 8 svn:date V 27 2004-12-01T05:37:29.000000Z K 7 svn:log V 198 MFC: support TCP-MD5(IPv4) in KAME-IPSEC, too. 1.207 src/sys/netinet/tcp_subr.c 1.24 src/sys/netinet6/ah_core.c 1.69 src/sys/netkey/key.c 1.11 src/sys/netkey/key.h 1.11 src/sys/netkey/keydb.h END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-01T05:49:26.000000Z K 7 svn:log V 117 Completely back out 1.37. Something else is going on and John wants to keep the locking and solve the real problem. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-01T05:51:25.000000Z K 7 svn:log V 190 MFC if_fxp.c, 1.219 to RELENG_5: Make interrupt coalescing work on big endian systems. Also change struct ucode.length to be in number of elements (u_int32_t) to help endian handling. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-12-01T06:40:35.000000Z K 7 svn:log V 1051 Change gdb_cpu_setreg() to not take the value to which to set the specified register, but a pointer to the in-memory representation of that value. The reason for this is twofold: 1. Not all registers can be represented by a register_t. In particular FP registers fall in that category. Passing the new register value by reference instead of by value makes this point moot. 2. When we receive a G or P packet, both are for writing a register, the packet will have the register value in target-byte order and in the memory representation (modulo the fact that bytes are sent as 2 printable hexadecimal numbers of course). We only need to decode the packet to have a pointer to the register value. This change fixes the bug of extracting the register value of the P packet as a hexadecimal number instead of as a bit array. The quick (and dirty) fix to bswap the register value in gdb_cpu_setreg() as it has been added on i386 and amd64 can therefore be removed and has in fact been that. Tested on: alpha, amd64, i386, ia64, sparc64 END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-12-01T06:42:21.000000Z K 7 svn:log V 223 Fix for a (blocks) underrun bug where negative values were being returned back to df from a statfs call. Causing df to print negative values. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-12-01T06:48:54.000000Z K 7 svn:log V 350 Clean all dirty pages (dirtied by mmap'ed writes) in nfs_close(). This closes a major hole in close-to-open consistency support. Added a new sysctl so that this can be disabled for single NFS client applications with very large amounts of mmap'ed IO (for performance). Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-12-01T06:51:07.000000Z K 7 svn:log V 394 Fix for a race between lookup and readdirplus, that causes a deadlock (with NFS exclusive vnode locks enabled). Lookup grabs the parent's lock and wants to lock child. Readdirplus locks the child and wants to lock parent (for loading the attrs for ".."). The fix is to not load the attrs for ".." in readdirplus. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-12-01T06:55:47.000000Z K 7 svn:log V 32 MFC: Fix malloc type in free(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-01T07:17:57.000000Z K 7 svn:log V 366 Fix a bunch of stack leaks. These were theoretically harmless, except that they would leave enough elements on the stack that if you escaped to the loader prompt and then typed 'setenv', it would pull in all of the leaked junk and cause an exception in the environment. There still seems to be 3 leaked elements, but they don't appear to be coming from this file. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T07:34:08.000000Z K 7 svn:log V 21 Add missing #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T08:06:27.000000Z K 7 svn:log V 33 Style: move data to top of file. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T09:22:26.000000Z K 7 svn:log V 132 "nfiles" is a bad name for a global variable. Call it "openfiles" instead as this is more correct and matches the sysctl variable. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T09:29:31.000000Z K 7 svn:log V 103 Collect the stuff for the /dev/fd/{%d,std{in,out,err}} pseudo-device driver at the bottom of the file. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T09:42:35.000000Z K 7 svn:log V 98 We already have a lock initialization function, use that for fdesc_mtx also. Polish badfo stuff. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-01T10:29:20.000000Z K 7 svn:log V 154 Style: remove a lot of unnecessary casts, add some and spell the null pointer constant as NULL. Checked by: diff -r on the object files before and after END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-01T11:16:04.000000Z K 7 svn:log V 351 MFC 1.110: - Since divert protocol is not connection oriented, remove SS_ISCONNECTED flag from divert sockets. - Remove div_disconnect() method, since it shouldn't be called now. - Remove div_abort() method. It was never called directly, since protocol doesn't have listen queue. It was called only from div_disconnect(), which is removed now. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T11:51:20.000000Z K 7 svn:log V 101 emit a "typedef vop_foo_t(struct vop_foo_args *);" which we can use to prototype VOP functions with. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-01T11:52:17.000000Z K 7 svn:log V 68 MFC: Utilize m_uiotombuf() instead of home-grown implementation. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-01T11:56:32.000000Z K 7 svn:log V 210 Mechanically rename s/ng_timeout/ng_callout/g, s/ng_untimeout/ng_uncallout/g. This is done to keep both versions in RELENG_5 and support both APIs. Reviewed by: scottl Approved by: julian (mentor), implicitly END K 10 svn:author V 3 nik K 8 svn:date V 27 2004-12-01T12:12:12.000000Z K 7 svn:log V 551 The following code sets up two connected TCP sockets that send data to each other until the window is closed. Then one of the sockets is closed, which will generate a RST once the TCP at the other socket does a window probe. All versions of FreeBSD prior to 11/26/2004 will ignore this RST into a 0 window, causing the connection (and application) to hang indefinitely. On patched versions of FreeBSD (and other operating systems), the RST will be accepted and the program will exit in a few seconds. Submitted by: Michiel Boland Reviewed by: silby END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T12:24:41.000000Z K 7 svn:log V 77 Mechanically change prototypes for vnode operations to use the new typedefs. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-01T13:02:13.000000Z K 7 svn:log V 266 Mechanically rename s/ng_timeout/ng_callout/g, s/ng_untimeout/ng_uncallout/. Restore ng_timeout() and ng_untimeout() as they were in ng_base.c:1.84, so that during RELENG_5 both interfaces are supported. Reviewed by: scottl Approved by: julian (mentor), implicitly END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-01T13:50:04.000000Z K 7 svn:log V 259 If a thread is resumed by thr_wake, it should return 0, especially it should not return ERESTART after it caught a signal, otherwise thr_wake() call will be lost, also a timeout wait should not be restarted. Final, using wakeup not wakeup_one to be safeness. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-01T17:44:04.000000Z K 7 svn:log V 98 Remove a double test for the same ptr != NULL and use the official macro for this; reorder an if. END K 10 svn:author V 4 rees K 8 svn:date V 27 2004-12-01T17:58:37.000000Z K 7 svn:log V 223 Fix for a bug in nfs_mkdir() that called vrele() instead of vput() in the error cases, causing panics. Adapted from similar fix to NFSv3 mkdir submitted by Mohan Srinivasan mohans at yahoo-inc dot com Approved by: alfred END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-01T18:03:18.000000Z K 7 svn:log V 239 Don't allow ISO images to be made that try to use boot.flp to boot as the boot.flp in 5.3 and later is not self-contained and thus not suitable for CD booting. /boot/cdboot is now the only way to boot the install CDs. MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T19:08:40.000000Z K 7 svn:log V 59 Scripted modification of vop_* prototypes to use typedefs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T19:15:00.000000Z K 7 svn:log V 66 Correctly prototype union_write with vop_write_t, not vop_read_t. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T20:18:56.000000Z K 7 svn:log V 80 Remove redundant functions (repo-copied from nfsclient) for dealing with fifos. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T20:24:01.000000Z K 7 svn:log V 84 hpfs_lookup() should have a vop_cachedlookup_t prototype an corresponding argument. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-12-01T21:05:02.000000Z K 7 svn:log V 659 - Do a better job of handling any Dependent Functions (aka DPFs) that appear in the _PRS or _CRS of link devices. If faced with multiple DPFs in a _PRS, we just use the first one. We assume that if _CRS has DPF tags they only contain a single set since multiple DPFs wouldn't make any sense. In practice, the only DPFs I've seen so far for link devices are that the one IRQ resource is surrounded by a DPF tag pair for no apparent reason, and this should handle that case fine now. - Only allocate link structures for IRQ resources for link devices rather than allocating a link structure for every resource. Reviewed by: njl Tested by: phk END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-01T21:33:02.000000Z K 7 svn:log V 71 Fix unvalidated pointer dereference. This is FreeBSD-SA-04:17.procfs. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-01T21:33:57.000000Z K 7 svn:log V 125 FreeBSD-SA-04:17.procfs: MFC (in the spirit of) revision 1.54 of src/sys/fs/procfs/procfs_status.c Approved by: so (nectar) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-01T21:34:43.000000Z K 7 svn:log V 164 FreeBSD-SA-04:17.procfs: MFC revision 1.54 of src/sys/fs/procfs/procfs_status.c MFC revision 1.86 of src/sys/compat/linprocfs/linprocfs.c Approved by: so (nectar) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-01T21:35:57.000000Z K 7 svn:log V 125 FreeBSD-SA-04:17.procfs: MFC (in the spirit of) revision 1.54 of src/sys/fs/procfs/procfs_status.c Approved by: so (nectar) END K 10 svn:author V 4 rees K 8 svn:date V 27 2004-12-01T21:47:51.000000Z K 7 svn:log V 75 don't confuse NFSMNT_ flags with MNT_ flags in statfs Approved by: alfred END K 10 svn:author V 4 rees K 8 svn:date V 27 2004-12-01T22:05:50.000000Z K 7 svn:log V 58 Add nfs4 to list of net filesystems. Approved by: alfred END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:14:10.000000Z K 7 svn:log V 40 Vendor import of Intel ACPI-CA 20041119 END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:14:10.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r138287, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-01T23:14:11.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20041119'. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-01T23:16:38.000000Z K 7 svn:log V 1330 Back when VOP_* was introduced, we did not have new-style struct initializations but we did have lofty goals and big ideals. Adjust to more contemporary circumstances and gain type checking. Replace the entire vop_t frobbing thing with properly typed structures. The only casualty is that we can not add a new VOP_ method with a loadable module. History has not given us reason to belive this would ever be feasible in the the first place. Eliminate in toto VOCALL(), vop_t, VNODEOP_SET() etc. Give coda correct prototypes and function definitions for all vop_()s. Generate a bit more data from the vnode_if.src file: a struct vop_vector and protype typedefs for all vop methods. Add a new vop_bypass() and make vop_default be a pointer to another struct vop_vector. Remove a lot of vfs_init since vop_vector is ready to use from the compiler. Cast various vop_mumble() to void * with uppercase name, for instance VOP_PANIC, VOP_NULL etc. Implement VCALL() by making vdesc_offset the offsetof() the relevant function pointer in vop_vector. This is disgusting but since the code is generated by a script comparatively safe. The alternative for nullfs etc. would be much worse. Fix up all vnode method vectors to remove casts so they become typesafe. (The bulk of this is generated by scripts) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-12-01T23:23:14.000000Z K 7 svn:log V 214 Do not leave build droppings in /usr/src for usr.sbin/pcvt/keycap and usr.bin/lex/lib for the 32 bit libraries on amd64. Add an explicit obj for these two directories that are built in for the "libraries" target. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:34:39.000000Z K 7 svn:log V 84 Unchanged files that are off the vendor branch. Approved by: njl MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:39:45.000000Z K 7 svn:log V 106 Local change: Put various debugging options under ACPI_DISASSEMBLER. Approved by: njl MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:40:48.000000Z K 7 svn:log V 154 Local change: In the resume path, give up after waiting for a while for WAK_STS to be set. Some BIOSs never set it. Approved by: njl MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-01T23:42:21.000000Z K 7 svn:log V 85 Local change: Remove warnings from vendor files. Approved by: njl MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-02T00:05:02.000000Z K 7 svn:log V 335 Local change: Supporting code not yet available, use previous behavior instead for the time being. Intel should fix this. Note that if this commit is correct, it is made on the vendor branch. We expect the Intel folks to fix it, and we don't want to unnecessarily take files off the vendor branch. Approved by: njl MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-02T00:05:02.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r138296, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-02T00:12:19.000000Z K 7 svn:log V 109 Oops, remove unnecessary cast in original, out-commented code. This was a debug leftover. MFC after: 1 week END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-02T00:12:19.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r138298, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-02T00:25:35.000000Z K 7 svn:log V 165 Catch up with AcpiOsSleep() interface change. Catch up with some #define's renaming. Implement AcpiOsGetTimer() as per ACPI 3.0. Approved by: njl MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-02T02:01:37.000000Z K 7 svn:log V 34 MFC: Xref polling.4 and bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-02T02:07:12.000000Z K 7 svn:log V 71 MFC: rev. 1.13 Re-formulate the first sentence for better readability END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-02T03:29:17.000000Z K 7 svn:log V 134 For efficiency move the call to pmap_pte_quick() out of pmap_protect()'s and pmap_remove()'s inner loop. Reviewed by: peter@, tegge@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-02T04:06:40.000000Z K 7 svn:log V 206 For efficiency eliminate the call to pmap_pte() from pmap_protect()'s and pmap_remove()'s inner loop. Instead, call pmap_pde_to_pte(), a new function, prior to the inner loop. Reviewed by: peter@, tegge@ END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-02T08:04:57.000000Z K 7 svn:log V 146 Add the ACPI_PWR_FOR_SLEEP method. It takes a device and outputs the appropriate power (Dx) state, if the BIOS suggests one. MFC after: 3 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-02T08:07:12.000000Z K 7 svn:log V 674 Turn ACPI and PCI devices off or to a lower power state in suspend and back on again in resume. Override the default of D3 with the value the BIOS specifies in _SxD, if present. Skip serial devices (PNP05xx) since they seem to hang when set to D3 and may require special driver support. Also, skip non-type 0 PCI devices (i.e., bridges) since our we don't yet save/restore their config space and that seems to be necessary. If this gives you trouble with suspend/resume, you can disable the new ACPI and PCI power behavior separately with these tunables & sysctls: debug.acpi.do_powerstate hw.pci.do_powerstate Approved by: imp (pci) Tested by: acpi@ (numerous) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-12-02T08:49:54.000000Z K 7 svn:log V 329 MFC 1.41: Try to close a potential, but serious race in our VM subsystem that may result in panic with damaged page bucket hash table or file system corruption. The revision 1.41 tighten the check of vm_contigalloc1() and vm_contigalloc2(). Please note that this MFC does not merged 1.39 and 1.40's changes. Approved by: alc END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-02T09:38:34.000000Z K 7 svn:log V 234 Specifically use the 32-bit version of fuword/suword since that's what we really want vs. the size changing 'long' (i386 vs. AMD64). This fixes the problem with DRM with Radeon's on AMD64. Submitted by: Jung-uk Kim END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-02T10:09:33.000000Z K 7 svn:log V 68 Remove the de_devvp and stop VREF'ing it for every vnode we create. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-02T11:56:13.000000Z K 7 svn:log V 66 Style polishing. Use grepable functions Other minor nitpickings. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-02T12:17:27.000000Z K 7 svn:log V 73 Drop ffree() as a separate function and incorporate the only place used. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-02T13:12:43.000000Z K 7 svn:log V 456 o Terminate an endless loop sh -T goes into in dowait() around waitproc(). XXX from Tor: "The shell can also go into a similar loop if the child was killed by signal 127, since the shell would believe the child to have only stopped (WIFSTOPPED() macro returns nonzero value). Disallowing signals 127 and 128 will fix that problem." See kern/19402 for details. PR: bin/66242 Submitted by: tegge Analysis and testcase by: demon MFC after: 3 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-02T13:13:27.000000Z K 7 svn:log V 57 o Add a missed "." . Reviewed by: ru MFC after: 3 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-02T13:56:53.000000Z K 7 svn:log V 161 o Do not dump core in -W if dumpdates was not readable and ddatev == NULL. PR: bin/69977 o Remove unused ddates_in. Obtained from: NetBSD MFC after: 3 weeks END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-12-02T15:47:15.000000Z K 7 svn:log V 158 Am I smoking crack? Correct stupid, wrong ASSERT -> if conversion and make it do what I had in mind. Noticed by: glebius Pointyhat to: me, myself and mlaier END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-12-02T15:52:28.000000Z K 7 svn:log V 99 MFC: Fixes and improvements to verbose logging of user activity. ftpd.c: rev. 1.184, 1.192, 1.195 END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-02T17:00:58.000000Z K 7 svn:log V 437 Make the tests runnable on a read-only src. To do this you must make sure that you create one of the object directories make knows (see make(1)). This uses the -C flag, so add a test that checks that make actually accepts -C. Also fix the test that selects csh via the .SHELL target to work for tcsh users too. This commit renames shell_test to shell_test.sh. There is no history to preserve so go without a repo-copy. Reviewed by: ru END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-02T17:12:06.000000Z K 7 svn:log V 98 MFC -j 1.5 -j 1.6 Log: Fix typo. Submitted by: Janusz Muc'ka (Defacto) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-12-02T19:01:45.000000Z K 7 svn:log V 419 MFC: Try using packet mode by default, but provide a user with a knob to disable it at build time--flag 0x80 for BOOT_MBR_FLAGS and BOOT_BOOT1_FLAGS. In fact, disabling packet mode completely, even a test for it, should be necessary only for old and brain-damaged machines FreeBSD 5 will hardly run on. mbr/Makefile 1.14 mbr/mbr.s 1.7 boot2/Makefile 1.57 boot2/boot1.S 1.30 Encouraged by: Valentin Nechayev END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-12-02T19:06:43.000000Z K 7 svn:log V 90 Add bge(4) as it has proved itself on Alpha. Tested using: the gigE switch donated by DS END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-02T22:59:32.000000Z K 7 svn:log V 174 Latest timezone data update from Arthur Olson. Most changes are to commentary; only significant change is Cuba, which did not fall back this year due to an energy shortage. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-02T22:59:33.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2004g'. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-02T23:01:25.000000Z K 7 svn:log V 102 Fix import conflicts from tzdata2004g. Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2004g.tar.gz END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-02T23:04:38.000000Z K 7 svn:log V 17 MFV tzdata2004g. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-02T23:13:46.000000Z K 7 svn:log V 84 MFC rev. 1.13 (newsletters V-9 and V-10), required for update of timezone database. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-02T23:16:39.000000Z K 7 svn:log V 243 MFC tzdata2004e and 2004g. This is likely to be the last update of tzdata on the 4-STABLE branch. For ongoing maintenance, users should be aware that compiled zoneinfo formats are compatible across all platforms and all versions of FreeBSD. END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-12-02T23:20:17.000000Z K 7 svn:log V 82 Clarify the structure element size ordering. Obtained from: OpenBSD style.9 1.38 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-02T23:31:48.000000Z K 7 svn:log V 44 Include for trapsignal(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-03T01:01:43.000000Z K 7 svn:log V 50 MFC: rev. 1.13 - add vge(4) - bump document date END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2004-12-03T01:41:55.000000Z K 7 svn:log V 66 Add myself to the committers' birthday calendar Reviewed by: mux END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-03T01:52:27.000000Z K 7 svn:log V 47 MFC: rev. 1.296 MLINK crypto.4 to cryptodev.4 END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-03T04:54:52.000000Z K 7 svn:log V 87 MFC: new Argentina zoneinfo directory Pointed out by: kensmith Pointy hat to: wollman END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-03T08:01:09.000000Z K 7 svn:log V 319 Enable the relaxed behavior for op regions and other workarounds for non-standard BIOSen. We used to implement this in local patches but now that ACPI-CA has merged/re-implemented most of our fixes, they were no longer needed and we just needed to turn this knob on. Also, remove an unnecessary cast. Tested by: phk END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T08:02:52.000000Z K 7 svn:log V 435 Change the algorithm that matches the builtin shells from the name keyword of the .SHELL target. Formerly it used to select the shell with the longest common trailing substring, so that bash would select sh, but pocsh would select csh. Now an exact match is required so that specifying bash without also giving a path and the other keywords will give an error. PR: Submitted by: Reviewed by: ru Approved by: Obtained from: MFC after: END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T08:03:11.000000Z K 7 svn:log V 45 Describe the .SHELL target. Reviewed by: ru END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-03T08:13:08.000000Z K 7 svn:log V 158 Non-x86 platforms cannot use the ACPI includes. This should be fixed but for now, only include the headers for i386, amd64, or ia64. Pointed out by: grehan END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T08:43:07.000000Z K 7 svn:log V 97 Style: fix indentation, protect macro with do { } while (0). Checked with: diff on object file. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-03T08:44:56.000000Z K 7 svn:log V 47 ACPI is not on pc98 either. Informed by: nyan END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T08:56:30.000000Z K 7 svn:log V 66 Add missing vop_bypass (returning EOPNOTSUPP). Tripped up: marks END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-03T11:54:35.000000Z K 7 svn:log V 508 MFC (1.4-1.6): revision 1.6 date: 2004/11/29 15:32:31; author: rik; state: Exp; lines: +1 -1 Fix typo. Submitted by: Janusz Muc'ka (Defacto) MFC after: 3 days ---------------------------- revision 1.5 date: 2004/05/20 16:40:06; author: ru; state: Exp; lines: +293 -261 branches: 1.5.2; Clean up language. Reviewed by: rik ---------------------------- revision 1.4 date: 2004/05/18 07:23:37; author: ru; state: Exp; lines: +389 -269 Markup overhaul. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T11:59:30.000000Z K 7 svn:log V 143 Make sizes to be of type size_t and correct function arguments that should be Byte (as the numerous casts to Byte in the function calls show). END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T12:02:14.000000Z K 7 svn:log V 57 Put macro arguments in paranthesis. Submitted by: johan END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T12:07:03.000000Z K 7 svn:log V 20 Plug a memory leak. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T12:09:34.000000Z K 7 svn:log V 99 Improve vprint() a little bit: break long lines, reduce indent and tell if the VI_LOCK() is held. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T12:15:39.000000Z K 7 svn:log V 63 Make NAMEI_DIAGNOSTIC compile again and add a stragic vprint() END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T12:55:57.000000Z K 7 svn:log V 123 Fix breakage introduced on 64-bit platforms with my last commit. Need to change to size_t in a couple of other places too. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-03T13:03:16.000000Z K 7 svn:log V 41 Remove an extra space. Submitted by: ru END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2004-12-03T14:05:55.000000Z K 7 svn:log V 75 Add a manual page for the kernel's EVENTHANDLER facility. Reviewed by: ru END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-12-03T14:10:04.000000Z K 7 svn:log V 207 Fix description: the argument to setcontext(3) must have been previously initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T16:11:01.000000Z K 7 svn:log V 177 Introduce vfs_byname_kld() which will try to load the filesystem as a module if possible. Use it so we don't have linker magic in the middle of the already complex mount code. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-12-03T16:45:11.000000Z K 7 svn:log V 57 Additional register definitions. Obtained from: NetBSD END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-12-03T16:57:15.000000Z K 7 svn:log V 149 Don not call pp_down()/pp_up() form XX_tlf()/XX_tls() in non PPP mode to privent running of PPP's state machine in non PPP mode. MFC: after 3 days. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T18:14:22.000000Z K 7 svn:log V 65 Do not blindly pass linux filesystem specific mount data across. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-12-03T18:21:30.000000Z K 7 svn:log V 202 - Move chip ID code into separate function. - Initialize sc->pcn_type during ATTACH as softc contents may not surivive from PROBE. - Print out chip-id to assist with ongoing pcn(4) debugging efforts. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-12-03T18:35:00.000000Z K 7 svn:log V 137 - Simplify pcn_probe() by moving vendor/device matching code to pcn_match(). - Avoid LOR in pcn_probe() by removing useless mutex stuff. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T18:40:58.000000Z K 7 svn:log V 68 Retire unused vfs_mount() function in the name of nmount migration. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T19:25:44.000000Z K 7 svn:log V 85 Add early checks for MNT_ROOTFS since we need to allow it later on in the code path. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T19:33:19.000000Z K 7 svn:log V 95 Add vfs_cmount() method to vfs_ops, this is to convert old-style mount args to nmount request. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T20:36:55.000000Z K 7 svn:log V 17 typo in comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T21:14:46.000000Z K 7 svn:log V 240 When omount() is called, check if the filesystem have a cmount method and if so call it. The cmount method will gather and interpret omount() style arguments, and issue a kern_[v]mount() call to execute the corresponding nmount operation. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T21:29:25.000000Z K 7 svn:log V 25 Sort and wash #includes. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-12-03T22:21:20.000000Z K 7 svn:log V 90 MFC: Use M_ZERO to not panic in mtx_init when INVARIANTS enabled. Submitted by: simokawa END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-03T22:38:06.000000Z K 7 svn:log V 231 Implement a function, mount_arg() for accumulating a list of mount parameters to nmount. Make kernel_mount() accept the output from mount_arg() and know how to free the malloc'ed space. Make kernel_vmount() use the new function. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-12-03T23:43:02.000000Z K 7 svn:log V 103 kmod.mk knows how to create empty opt_*.h files so let it deal with the NOINET6 case. Reported by: ru END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-12-04T05:59:36.000000Z K 7 svn:log V 154 MFC: Don't consider boundary constraints when deciding whether to bounce. This fixes certain classes of mysterious hangs in the device probe during boot. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-04T08:24:36.000000Z K 7 svn:log V 30 Replace GNU tar with BSD tar. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-04T09:57:38.000000Z K 7 svn:log V 133 Remove embryonic rootfs mounting facility. In the near future rootfs mounting will not require special handling in the filesystems. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-04T09:58:20.000000Z K 7 svn:log V 38 Remove #if 0'ed rootfs mounting code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-12-04T14:03:45.000000Z K 7 svn:log V 255 Catch up with the new device name of sab(4). The entries for tty[a,b] can't be removed as ofw_console(4) and zs(4) use them so one has to live with some complaints about non-existent devices at boot time and remove the respective entries locally for now. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-12-04T14:20:56.000000Z K 7 svn:log V 140 Revert rev. 1.166 and remove sparc64/pci/ofw_pci_if.m from MFILES again, sparc64/pci/ofw_pci.h is no longer required for compiling modules. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-04T14:41:37.000000Z K 7 svn:log V 170 MFC the current state of the trm(4) driver. It notably adds support for the DC395U2W adapters, and should fix panics/hangs under heavy load. Reported and tested by: jmz END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-04T14:41:51.000000Z K 7 svn:log V 171 MFC rev 1.5 and 1.6 r1.5: Note we now support the DC395U2W cards. r1.6: Change the HARDWARE section to have the same style as in the other FreeBSD section 4 manual pages. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-04T19:01:20.000000Z K 7 svn:log V 148 - Change license to standard 2 clause BSD. [1] - Add a missing period. Noticed by: ru Approved by: Jorge Mario G. Mazo [1] END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-04T21:20:59.000000Z K 7 svn:log V 259 When initializing device, set d_softc and d_no fields for all components, because we know it then and we need it when inserting a component which wasn't destroyed while device was running. Reported by: Michael Handler MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-04T22:02:31.000000Z K 7 svn:log V 171 Replace (inlined) pmap_pte() calls with smaller, faster code where possible, such as the inner loop of pmap_copy(). Remove two comments that apply to i386 but not amd64. END