Īj141820 180 213 201 201 571 568 405 480 709 770 143 197 126 412 348 438 514 235 240 120 306 168 335 113 963 336 557 117 235 143 106 327 112 153 244 113 170 269 231 120 242 176 164 162 129 131 162 117 278 242 129 175 272 421 285 495 196 147 293 193 183 365 600 433 200 259 281 441 185 118 258 123 383 226 431 198 198 118 161 138 151 174 127 138 127 131 132 200 220 267 224 351 229 345 139 326 444 123 572 198 137 151 111 186 453 159 136 135 271 328 200 580 193 548 208 133 166 258 161 252 152 161 255 418 286 160 463 112 427 269 203 177 158 159 142 298 1095 114 330 224 133 133 343 1086 2119 300 116 265 176 148 351 237 323 396 216 244 420 308 362 294 693 603 278 191 410 615 132 131 888 138 136 118 427 438 116 137 116 986 115 116 265 K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-02-13T18:26:31.000000Z K 7 svn:log V 117 Define NIRQ to 64 for CPU_ARM9, because Cirrus Logic EP93XX cores provides 64 irqs. This should be re-thought later. END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2005-02-13T18:34:27.000000Z K 7 svn:log V 103 MFC of recent changes to fix device discovery, and fix amd64 compatibility for 3ware management tools. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-02-13T18:38:06.000000Z K 7 svn:log V 103 Increase the default stacksizes: 32-bit 64-bit main thread 2MB 4MB other threads 1MB 2MB END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T18:38:51.000000Z K 7 svn:log V 474 Merge aiotest regression test from HEAD to RELENG_5: merge through Makefile:1.1 and aiotest.c:1.2: Add a basic aio functionality regression test, which simply writes and then reads from a fairly broad range of object types: regular file, fifo, UNIX socketpair, pty, UNIX pipe, and an md device. Not a deep test of functionality, just a basic test that aio_write followed by aio_read returns the correct data in a relatively timely manner. Requested by: phk END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-13T18:49:48.000000Z K 7 svn:log V 475 Add support for the CPUFREQ_FLAG_INFO_ONLY flag. Devices that report this are not added to the list(s) of available settings. However, other drivers can call the CPUFREQ_DRV_SETTINGS() method on those devices directly to get info about available settings. Update the acpi_perf(4) driver to use this flag in the presence of "functional fixed hardware." Thus, future drivers like Powernow can query acpi_perf for platform info but perform frequency transitions themselves. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T18:50:17.000000Z K 7 svn:log V 308 Merge a portion of subr_witness.c:1.186 from HEAD to RELENG_5: date: 2004/12/28 21:21:27; author: jhb; state: Exp; lines: +1 -2 - Remove the unused witness malloc bucket. Submitted by: Michal Mertl mime at traveller dot cz (1) Remainder of the change (bump WITNESS pool size) ommitted for now. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T18:53:11.000000Z K 7 svn:log V 383 Merge ipx_input.c:1.35 and ipx_var.h:1.18 from HEAD to RELENG_5: date: 2004/12/30 16:56:07; author: rwatson; state: Exp; lines: +7 -8 date: 2004/12/30 16:56:07; author: rwatson; state: Exp; lines: +4 -4 Constify ipx_zeronet, ipx_zerohost, ipx_broadnet, ipx_broadhost. Remove 'allones' since the values of the broadcast network and host variables are set statically. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T18:55:34.000000Z K 7 svn:log V 612 Merge ipx_pcb.c:1.30, ipx_pcb.h:1.19, spx_usrreq.c:1.48 from HEAD to RELENG_5: date: 2004/12/30 17:21:07; author: rwatson; state: Exp; lines: +0 -55 date: 2004/12/30 17:21:07; author: rwatson; state: Exp; lines: +0 -3 date: 2004/12/30 17:21:07; author: rwatson; state: Exp; lines: +0 -50 Garbage collect unused (and incompletely implemented) functions: - ipx_pcbnotify(), which is never called. - ipx_rtchange(), which is never called, is incomplete inplemented, and also #ifdef notdef. - spx_fixmtu(), which is never called, is incompletely implemented, and also #ifdef notdef. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-02-13T19:13:46.000000Z K 7 svn:log V 676 MFC ps.c revision 1.108 date: 2004/11/14 19:30:02; author: csjp; state: Exp; lines: +25 -0 Currently if the user specifies -e and procfs is not mounted on /proc, printing of the process environment will fail silently. -define a function which will check to see if procfs is mounted on /proc -Implement this test if the user specified -e -If procfs is not mounted on /proc and -e was specified, print a warning. informing the user that procfs(5) is required. MFC ps.c revision 1.108 date: 2004/11/19 16:11:54; author: csjp; state: Exp; lines: +6 -9 Use statfs instead of getmntinfo(). This will make the procfs checks play nicer in prisons. It also simplifies things. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-13T19:50:57.000000Z K 7 svn:log V 51 Unbreak the kernel build. Pointy hat to: sobomax. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-13T20:10:28.000000Z K 7 svn:log V 104 Allow users to manually override quirks with the tunable "debug.acpi.quirks". Suggested by: Jung-uk Kim END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-13T20:26:04.000000Z K 7 svn:log V 34 Update documentation of tunables. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:07:07.000000Z K 7 svn:log V 315 Merge mlock regression test from HEAD to RELENG_5: Add a simple regression test for mlock()/munlock() to make sure they work on a single page as root, and fails on a single page as nobody. Intended to help diagnose reports regarding insecure memory use with gnupg. Merged with one tweak: NO_MAN -> NOMAN. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:09:48.000000Z K 7 svn:log V 251 Merge kern_exit.c:1.255 from HEAD to RELENG_5: date: 2005/01/08 04:17:48; author: rwatson; state: Exp; lines: +1 -1 In kern_wait(), let the compiler copy the rusage structure rather than an explicit bcopy() -- it probably does a better job. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:13:53.000000Z K 7 svn:log V 341 Merge udpconnectjail regression test from HEAD to RELENG_5, Makefile:1.2, udpconnectjail.c:1.2: Add udpconnectjail, a simple regression test to exercise an (as yet) unfixed bug in the jail() implementation relating to using the connect() system call on UDP sockets. PR: 26506 The only change in the merge was NO_MAN -> NOMAN. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:15:15.000000Z K 7 svn:log V 417 Merge su.c:1.76 from HEAD to RELENG_5: date: 2005/01/17 19:57:59; author: rwatson; state: Exp; lines: +33 -3 If su(1) is run without an effective uid of 0, generate an error to the user indicating that su is not running setuid, which may help suggest to the user that it should be setuid, or should not be running from a file system mounted nosuid. Suggested by: Ivan Voras END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:20:23.000000Z K 7 svn:log V 138 Merge acl_valid.3:1.16 from HEAD to RELENG_5: date: 2005/01/15 12:21:03; author: ru; state: Exp; lines: +22 -10 Fixed markup bug. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:23:07.000000Z K 7 svn:log V 143 Merge mac.3:1.14 from HEAD to RELENG_5: revision 1.14 date: 2005/01/20 09:17:03; author: ru; state: Exp; lines: +5 -5 Sort sections. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-13T21:23:23.000000Z K 7 svn:log V 28 Bump date. Reminded by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:25:54.000000Z K 7 svn:log V 209 Merge mac.conf.5:1.6-1.7 date: 2005/01/11 20:50:50; author: ru; state: Exp; lines: +2 -1 Scheduled mdoc(7) sweep. date: 2005/01/20 09:17:03; author: ru; state: Exp; lines: +5 -5 Sort sections. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-13T21:29:28.000000Z K 7 svn:log V 77 mdoc(7) review. (I thought Nate has committed it long ago, apparently not.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:30:02.000000Z K 7 svn:log V 238 Merge strvalid.c:1.5 from HEAD to RELENG_5: date: 2005/01/29 13:34:22; author: rwatson; state: Exp; lines: +1 -1 Because the argument to strvalid() is a size_t, use a size_t to iterate over the array. Submitted by: stefanf END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-13T21:31:50.000000Z K 7 svn:log V 22 Line up license text. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-02-13T21:35:54.000000Z K 7 svn:log V 866 Merge tcp_subr.c:1.216-1.217 from HEAD to RELENG_5: date: 2005/01/30 23:30:28; author: rwatson; state: Exp; lines: +1 -1 Have tcp_isn_tick() fire 100 times a second, rather than HZ times a second; since the default hz has changed to 1000 times a second, this resulted in unecessary work being performed. Discussed with: phk, cperciva General head nod: silby date: 2005/01/31 01:35:01; author: rwatson; state: Exp; lines: +1 -1 Update an additional reference to the rate of ISN tick callouts that was missed in tcp_subr.c:1.216: projected_offset must also reflect how often the tcp_isn_tick() callout will fire. Submitted by: silby Note that although the default has not changed for HZ on i386 in RELENG_5, many sites run with elevated HZ for the purposes of DUMMYNET, etc. This will reduce the CPU overhead of this. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-02-13T21:38:34.000000Z K 7 svn:log V 239 When attached to a high-speed device, report a more appropriate base transfer speed to CAM. The actual value used (40MB/s) is fairly arbitrary, but assumes the same 33% overhead as was implied by the 1MB/s figure we used for USB1 devices. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-13T21:51:50.000000Z K 7 svn:log V 464 Request a CPU private mapping from sf_buf_alloc(). If the swap-backed memory disk is larger than the number of available sf_bufs, this improves performance on SMPs by eliminating interprocessor TLB shootdowns. For example, with 6656 sf_bufs, the default on my test machine, and a 256MB swap-backed memory disk, I see the command "dd if=/dev/md0 of=/dev/null bs=64k" achieve ~489MB/sec with the default, shared mappings, and ~587MB/sec with CPU private mappings. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-13T22:25:33.000000Z K 7 svn:log V 26 Expand *n't contractions. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-13T23:07:30.000000Z K 7 svn:log V 139 Fix regression in output with -R compared to previous version. PR: 77466 Submitted by: Andre Guibert de Bruet END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-02-13T23:09:36.000000Z K 7 svn:log V 51 Request a CPU private mapping from sf_buf_alloc(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-13T23:23:30.000000Z K 7 svn:log V 15 who's -> whose END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-02-13T23:29:54.000000Z K 7 svn:log V 229 Fix a buffer overflow in the "none" decompression handler that occurred with large read-ahead requests. This only affected formats that incorrectly make large requests (ZIP did this until recently) or with block sizes over 32k. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-13T23:45:54.000000Z K 7 svn:log V 21 Expand contractions. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T00:07:25.000000Z K 7 svn:log V 58 MFC: infrastructure for the very dreaded NOFOO -> NO_FOO. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T01:08:14.000000Z K 7 svn:log V 148 MFC: rev 1.68: if USER of HOSTNAME is set to an empty value, use the fallback value. rev 1.65: /* -> /*- for copyright notices. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T01:10:50.000000Z K 7 svn:log V 18 Fix a missing /*- END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T01:15:45.000000Z K 7 svn:log V 75 MFC: rev 1.41: use utils from /rescue vs. /stand, and pax vs. cpio & gzip. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-02-14T01:51:51.000000Z K 7 svn:log V 172 Add a new function usbd_abort_default_pipe() that aborts any transfers on the default pipe. This is helpful in device detach routines to stop any active control transfers. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-02-14T02:17:53.000000Z K 7 svn:log V 134 Abort any active transfers when the device detaches. This fixes a few situations where we used to crash, but by no means all of them. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:30:00.000000Z K 7 svn:log V 23 Import sendmail 8.13.3 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:30:00.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r141858, 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 2005-02-14T02:30:01.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'sendmail-vendor-v8_13_3'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-02-14T02:30:02.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:39:14.000000Z K 7 svn:log V 65 Resolve conflicts from sendmail 8.13.3 import MFC after: 4 days END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:41:41.000000Z K 7 svn:log V 32 Remove file no longer in 8.13.3 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:45:25.000000Z K 7 svn:log V 34 Update for sendmail 8.13.3 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T02:58:21.000000Z K 7 svn:log V 65 Remove files no longer in vendor distribution from vendor branch END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T03:01:58.000000Z K 7 svn:log V 22 MFC: white space sync END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T03:04:18.000000Z K 7 svn:log V 180 Commit patch from sendmail.org web site for socket close bug: http://www.sendmail.org/patches/close_wait.p2 This is being put in the vendor branch as it is in the vendor's repo. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T03:04:18.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r141867, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T03:18:00.000000Z K 7 svn:log V 34 MFC: spelling & white space sync. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T03:21:01.000000Z K 7 svn:log V 80 MFC: rev 1.66: use %rip - 1 for the symbol search address (for noreturn funcs). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-14T05:36:13.000000Z K 7 svn:log V 175 Forced commit to clarify that the previous commit should read: Security: This prevents a local DoS that can be exploited by Security: both privileged and unprivileged users. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-14T05:38:47.000000Z K 7 svn:log V 327 New release notes: I386_CPU removed, sf(4) supports device polling and altq(4) (+MFC), ongoing locking work in the network stack, TCP RST bugfix (+MFC), SACK bugfixes (+MFC), RFC 1644 T/TCP support removed, gpt(8) create -f (+MFC), NO_NIS (+MFC), ncal(1) -m (+MFC). These items mostly come from commit logs for November 2004. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-14T05:41:32.000000Z K 7 svn:log V 191 MFC relevant items from rev. 1.783: sf(4) supports device polling and altq(4), ongoing locking work in the network stack, TCP RST bugfix, SACK bugfixes, gpt(8) create -f, NO_NIS, ncal(1) -m. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-14T05:42:06.000000Z K 7 svn:log V 398 MFC 1.218+1.219: Validate ifc->ifc_len before submitting its incarnation to sbuf_new, which will finally lead to kernel panic. Security: This prevents a local DoS that can be exploited by Security: both privileged and unprivileged users. Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl] PR: 77421 Early MFC discussed with and reviewed by: security (simon, trhodes) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-14T06:00:34.000000Z K 7 svn:log V 100 Add sys/dev/ieee488/ibfoo.c for hte pcii driver. Fixes the broken tinderbox for the last few days. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T06:10:22.000000Z K 7 svn:log V 50 Add a release note for the sendmail 8.13.3 import END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T06:25:06.000000Z K 7 svn:log V 200 MFP4: Optimize the layout of softc somewhat. This groups the u_chars into larger sections. I'd like to move to having a flags word, but I need to make sure that there's no adverse locking problems. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-14T06:26:19.000000Z K 7 svn:log V 100 MFC: g_data.9 1.7 Improve EIO error description and mention that it can also occur while writting. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T06:27:23.000000Z K 7 svn:log V 91 Add some comments in preparation for converting bcopy/bzero to busspace. Minor style nits. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T06:47:22.000000Z K 7 svn:log V 272 MFp4: Merge in AX88790 support from my p4 tree. I've had this in my tree since 2003/02/20, and I recently cleaned it up. I'd even closed the PR that I obtained this from Fri Jul 18 23:25:08 MDT 2003 since I looked at my p4 tree. PR: 46889 Submitted by: HASEGAWA Tomoki END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T06:54:06.000000Z K 7 svn:log V 507 Rework DL10019/DL10022 support. This tries to reset things in a more proper way, or at least the same way that NetBSD and Linux do things (I've been unable to obtain datasheets for these parts to know for sure). This has some marginal improvement in the DL10022 and DL10019 cards that I have. Also, report which type, exactly. # There's one or two ed cards that I have which still don't work, but I think # that's due to MII losage on the card that's not presently compensated # for in the MII drivers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T07:00:39.000000Z K 7 svn:log V 340 Remove card_get_function. It looks like it was intended to be a bridge between OLDCARD and NEWCARD for drivers to inquire after the function number (eg, 0, 1, 2). Nobody ever used it, so retire it with honors. NEWCARD never implemented it, and the same information can be obtained by the pccard_get_function_number(). MFC After: 3 days END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-02-14T07:16:25.000000Z K 7 svn:log V 104 No use for this AMD64 special-case "return NULL;" in probe now that we don't do fake "generic" support. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-02-14T07:23:15.000000Z K 7 svn:log V 163 MFC: Remove fake "generic" support, and the AMD64 "return NULL;" it made necessary. PR: kern/76411 Submitted by: Jonathan Fosburgh, jonathan at fosburgh dot org END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-02-14T07:30:04.000000Z K 7 svn:log V 185 Correct the SiS 755 PCI ID. Confirmed against Linux code. PR: kern/76411 Submitted by: Jonathan Fosburgh, jonathan at fosburgh dot org Obtained from: Jung-uk Kim, jkim at niksun.com END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-02-14T07:37:51.000000Z K 7 svn:log V 346 o Add handling of an IPv4-mapped IPv6 address. o Use SYSCTL_IN() macro instead of direct call of copyin(9). Submitted by: ume o Move sysctl_drop() implementation to sys/netinet/tcp_subr.c where most of tcp sysctls live. o There are net.inet[6].tcp[6].getcred sysctls already, no needs in a separate struct tcp_ident_mapping. Suggested by: ume END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-02-14T08:04:08.000000Z K 7 svn:log V 88 Merge mci.c change to add mci_close() from the vendor branch. Problem noted by: marcus END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T08:16:37.000000Z K 7 svn:log V 23 Restore vendor SCM ID. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T08:18:17.000000Z K 7 svn:log V 162 MFC: 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. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T08:20:27.000000Z K 7 svn:log V 28 White space sync with HEAD. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-14T08:29:42.000000Z K 7 svn:log V 291 If no vlan(4) interfaces are configured for the interface, and the driver did VLAN decapsulation in hardware, we were passing a frame as if it came for the parent (non-VLAN) interface. Stop this from happening. Reminded by: glebius Security: This could pose a security risk in some setups END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T09:22:21.000000Z K 7 svn:log V 130 MFC: Use bitmapped IPI handler. Update elcr and default mptable config handler. Tidy up various local apic initialization. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T09:34:40.000000Z K 7 svn:log V 335 MFC: + Make syscons properly inherit the bios capslock/shiftlock/etc state like i386 does. Note that we cannot inherit the bios key repeat rate because that requires a bios call (which is impossible for us). + Give syscons the ability to beep on amd64. + bios_sigsearch() etc is useful for finding tables in roms. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:05:51.000000Z K 7 svn:log V 102 MFC: The non-bus_dmamap_load_mbuf_sg() parts of rev 1.66. This is mostly a style sync with HEAD. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:11:02.000000Z K 7 svn:log V 102 MFC: The non-bus_dmamap_load_mbuf_sg() parts of rev 1.70. This is mostly a style sync with HEAD. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:12:09.000000Z K 7 svn:log V 23 MFC: copyright tweaks. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:16:17.000000Z K 7 svn:log V 66 MFC: rev 1.11: don't use atomic ops to increment interrupt stats. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:30:44.000000Z K 7 svn:log V 43 MFC: rev. 1.625: join the %cr0 setup line. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:32:12.000000Z K 7 svn:log V 56 MFC: rev 1.622: preserve dcons buffer passed by loader. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:33:15.000000Z K 7 svn:log V 79 MFC: rev 1.621: use the definition of struct bios_smap from machine/pc/bios.h. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:42:23.000000Z K 7 svn:log V 32 MFC: s/smp_rv_mtx/smp_ipi_mtx/g END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T10:53:41.000000Z K 7 svn:log V 43 MFC: rev 1.245: add the mp_watchdog hooks. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T11:00:19.000000Z K 7 svn:log V 32 MFC: add the mp_watchdog hooks. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T11:14:08.000000Z K 7 svn:log V 36 MFC: rev 1.116: whitespace cleanup. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-02-14T11:21:48.000000Z K 7 svn:log V 37 Add support for parsing MCFG tables. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T11:23:43.000000Z K 7 svn:log V 104 MFC: add TUNABLE_LONG and TUNABLE_ULONG, and use the latter for the hw.pci.host_mem_start tunable. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2005-02-14T11:24:58.000000Z K 7 svn:log V 123 EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore, so do not export these definitions via manual page END K 10 svn:author V 7 phantom K 8 svn:date V 27 2005-02-14T11:33:12.000000Z K 7 svn:log V 170 . Convert return type of gai_strerror() to 'const char *' as POSIX requires. . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror() END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-14T11:58:54.000000Z K 7 svn:log V 127 Check for non-NULL ac_netgraph field in interface arpcom, instead of checking global presence of ng_ether(4). Reviewed by: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-14T12:01:09.000000Z K 7 svn:log V 254 Add new netgraph control message NGM_ETHER_DETACH, which actually removes netgraph node and unwraps Ethernet interface. This gives us ability to unload ng_ether.ko, when all interfaces are detached, making ng_ether(4) developers happy. Reviewed by: ru END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-14T12:10:14.000000Z K 7 svn:log V 133 Use the system gnuregex library vs. building GNU regex bits into libiberty and using them. Reviewed by: marcel,imp Desired by: ache END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-14T12:57:51.000000Z K 7 svn:log V 253 Add a SUBDIR_TARGETS variable which can be set to a list of additional targets that will cause descending into subdirs. Example: cd /sys/modules; make load SUBDIR_TARGETS=load (But don't try it with your pet.) Submitted by: Alexey Klimov PR: 47601 END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-14T13:20:30.000000Z K 7 svn:log V 48 MFC: 1.52: Time out routes created by redirect. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-14T13:47:06.000000Z K 7 svn:log V 229 Make WITNESS happier: - refactor ngd_constructor, so that make_dev() is called without any locks held, since it mallocs memory with M_WAITOK flag. - rename global mtx, to have name different to per-node mtx MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-14T14:09:21.000000Z K 7 svn:log V 347 Fix parsing of '0' and non-alphanumerics in steps. Previously, an entry having stepping value of zero can cause crontab to hang there, and if the main crontab is being changed in this way, then cron(8) will keep spining. Obtained from: OpenBSD [src/usr.sbin/cron/entry.c,v 1.17] PR: 68683 (my own, but forgot to commit it...) MFC After: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-14T16:32:32.000000Z K 7 svn:log V 31 Note addition of MCFG support. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-14T16:56:15.000000Z K 7 svn:log V 475 Several improvements to ps.1: - Document the fact that empty heading text suppresses the heading line (e.g. 'ps -o pid='), as this is very useful in scripts. - Describe logname keyword more completely. - Describe the printing of arguments more completely. - Put lockname in the correct alphabetical order in the list of all keywords. - Correct sentence in standards section. Submitted by: Jilles Tjoelker PR: docs/73618 MFC After: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-02-14T17:42:58.000000Z K 7 svn:log V 101 Fix most cases where the address of an int is passed to a function expecting a socklen_t * argument. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-14T17:43:42.000000Z K 7 svn:log V 41 Document NGM_ETHER_DETACH functionality. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-02-14T17:51:45.000000Z K 7 svn:log V 55 - Use socklen_t. - No need for two instances of 'num'. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-02-14T17:55:33.000000Z K 7 svn:log V 15 Use socklen_t. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-02-14T17:59:52.000000Z K 7 svn:log V 90 - Use socklen_t. - No need for 'fromlen' to have file scope. - Remove an unused variable. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-14T18:16:35.000000Z K 7 svn:log V 360 Implement priorities. This allows a driver (say, for cooling purposes) to override the current freq level temporarily and restore it when the higher priority condition is past. Note that only the first overridden value is saved. Callers pass NULL to CPUFREQ_SET to restore the saved level. Priorities are not yet used so this commit should have no effect. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-14T18:17:47.000000Z K 7 svn:log V 67 Update information now that support for priorities has been added. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-02-14T18:40:31.000000Z K 7 svn:log V 40 Fix typo. Submitted by: Antoine Brodin END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-14T18:49:19.000000Z K 7 svn:log V 39 Fix English grammar. Submitted by: ru END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-02-14T20:51:39.000000Z K 7 svn:log V 177 - Remove the unused and unsafe ufs_ihashlookup. This function returned a vnode pointer that could not be used since no locks were held. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-02-14T21:01:08.000000Z K 7 svn:log V 236 - Retransmit just one segment on initiation of SACK recovery. Remove the SACK "initburst" sysctl. - Fix bugs in SACK dupack and partialack handling that can cause large bursts while in SACK recovery. Submitted by: Mohan Srinivasan END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-14T21:14:00.000000Z K 7 svn:log V 102 Adapt for new KDB world order. PR: 77528 Submitted by: Jamin Brown MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T22:27:03.000000Z K 7 svn:log V 487 o It turns out that most of the ne-2000 cards that I have got real unhappy with the latest changes. They actually have valid ROM data at location 0 of memory, just like a real NE-2000 ISA card. Use this data, if the ROM passes a few basic tests, as an additional source for the MAC address. Prefer the CIS over this source, but have it take precidence over falling back to reading the attribtue memory. o Minor cleanup of a few devices that we match on based on CIS string. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T22:28:51.000000Z K 7 svn:log V 100 Move the #defines from edreg to edvar which don't have anything to do with talking to the hardware. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-14T23:00:41.000000Z K 7 svn:log V 455 Move the harvesting of the MAC address out of the generic novell probe and into the bus front ends. For ISA and C-BUS cards, we always need to grab it. For PC Card, already committed, we need to do some sanity checking on the data that's in the ROMs before we decide that they are OK to use. The PC Card code has already been committed and is independent of this code (which also has to work on NE-1000 cards, assuming that those cards still work :-). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-02-15T00:53:07.000000Z K 7 svn:log V 110 MFC: rev. 1.2 No one cares about when the manpage first appeared. Mention when the driver appeared instead. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-02-15T01:25:55.000000Z K 7 svn:log V 38 MFC r1.4: Correct the SiS 755 PCI ID. END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-02-15T01:29:38.000000Z K 7 svn:log V 71 MFC r1.20: Remove the fake "generic" support and add many new PCI IDs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-15T02:54:53.000000Z K 7 svn:log V 165 Remove more deadwood that never got implemented in NEWCARD, since NEWCARD went a different direction than was anticipated when these compatibility shims were added. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-15T06:02:34.000000Z K 7 svn:log V 69 Use ANSI function definitions, in preference to the K&R definitions. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-15T06:16:05.000000Z K 7 svn:log V 158 New release notes: tzdata2004g (+MFC), netcat (+MFC), OpenPAM Feterita, OpenSSH 3.9p1, sendmail 8.13.3. These were all culled from CVS import log messages. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-02-15T06:16:44.000000Z K 7 svn:log V 59 MFC subset of items from rev. 1.785: netcat, tzdata2004g. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-15T06:33:28.000000Z K 7 svn:log V 69 Bump __FreeBSD_version for increased size for default thread stacks. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-02-15T07:13:51.000000Z K 7 svn:log V 159 Remove mention of the -k and -wcore options because they don't exist anymore. PR: doc/70943 Submitted by: Jun Reviewed by: delphij END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-15T07:21:20.000000Z K 7 svn:log V 325 Correct a few bugs in the legacy cpu attachment. Get the unit from the parent cpu device before passing it to pcpu_find(). Get the ivars from the child, not parent cpu device. These bugs would cause a panic when dereferencing the pcpu ivar, but weren't present in the acpi attachment which it seems most people are using. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-15T07:22:42.000000Z K 7 svn:log V 193 Bind to the driver's parent cpu before switching, for both absolute and relative drivers. Remove some extraneous KASSERTs since NULL pointers will be found when they're used right afterwards. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-15T07:26:28.000000Z K 7 svn:log V 68 MFi386 rev 1.61: Fix a few bugs in the legacy cpu attachment ivars. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-02-15T07:43:48.000000Z K 7 svn:log V 370 When dealing with systems with no absolute drivers attached, only calibrate the rate for the 100% state once. Afterwards, use that value for deriving states. This should fix the problem where the calibrated frequency was different once a switch was done, giving a different set of levels each time. Also, properly search for the right cpufreqX device when detaching. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-15T09:27:00.000000Z K 7 svn:log V 21 Expand contractions. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-02-15T10:23:01.000000Z K 7 svn:log V 330 Be more careful when doing el_parse() - only do it when el is properly initialized, that happens when lpc is called from a tty. Without this change, it's possible to get SIGSEGV simply doing: echo "..:" | lpc Reported by: Wojciech A. Koszek PR: 77462 (patch rewritten by myself) MFC After: 1 week END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-02-15T10:59:54.000000Z K 7 svn:log V 174 Be concerned about huge callback numbers by truncating them rather than scribbling past the end of our buffer. Problem spotted by: Damien COUDERC couderc at openbsd dot org END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-02-15T15:02:11.000000Z K 7 svn:log V 105 Set the default guardsize and stacksize in the default thread attribute when the library is initialized. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-15T17:47:57.000000Z K 7 svn:log V 86 Remove an outdated comment about ifnet not being locked. OK'ed by: njl, rwatson, sam END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-15T18:41:21.000000Z K 7 svn:log V 67 Initialize Netgraph type at a correct time, before device probing. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-02-15T21:05:01.000000Z K 7 svn:log V 64 MFC rev 1.88: make uart(4) the default driver for serial ports. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-02-15T21:08:19.000000Z K 7 svn:log V 47 MFC rev. 1.9: Start gettys on ttyu0 and ttyu1. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-02-15T21:15:31.000000Z K 7 svn:log V 202 Add a note that people on sparc64 and using the GENERIC kernel need to run mergemaster or edit /etc/ttys manually now that uart(4) is the default serial console. This is easily forgotten or overlooked. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-15T22:17:07.000000Z K 7 svn:log V 997 Rather than overloading the page->object field like UMA does, use instead an unused pageq queue reference in the page structure to stash a pointer to the MemGuard FIFO. Using the page->object field caused problems because when vm_map_protect() was called the second time to set VM_PROT_DEFAULT back onto a set of pages in memguard_map, the protection in the VM would be changed but the PMAP code would lazily not restore the PG_RW bit on the underlying pages right away (see pmap_protect()). So when a page fault finally occured and the VM noticed the faulting address corresponds to a page that _does_ have write access now, it would then call into PMAP to set back PG_RW (i386 case being discussed here). However, before it got to do that, an assertion on the object lock not being owned would get triggered, as the object of the faulting page would need to be locked but was overloaded by MemGuard. This is precisely why MemGuard cannot overload page->object. Submitted by: Alan Cox (alc@) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-15T22:31:05.000000Z K 7 svn:log V 19 Fix grammar error. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-15T23:52:35.000000Z K 7 svn:log V 238 Don't say that mtx_lock() will "sleep" if another kernel thread is holding the mutex, say it will "block". Later in this manual page we say that sleeping while holding a mutex isn't allowed, and this can be confusing. Submitted by: jhb END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2005-02-16T00:22:20.000000Z K 7 svn:log V 128 Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips necessary to establish each connection. MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-16T01:03:30.000000Z K 7 svn:log V 41 Add an XXX comment about string quoting. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-16T01:08:43.000000Z K 7 svn:log V 41 Add location and PNP info to the mii bus END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-02-16T01:46:17.000000Z K 7 svn:log V 251 Fix for a SACK (receiver) bug where incorrect SACK blocks are reported to the sender - in the case where the sender sends data outside the window (as WinXP does :(). Reported by: Sam Jensen Submitted by: Mohan Srinivasan END K 10 svn:author V 3 gad K 8 svn:date V 27 2005-02-16T05:17:58.000000Z K 7 svn:log V 993 Change /bin/sh so *it* implements the processing needed for scripts to work as expected when they have a "shebang line" of: #!/bin/sh -- # -*- perl -*- -p This specific line is recommended in some perl documentation, and I think I've seen similar lines in documentation for ruby and python. Those write-ups expect `sh' to ignore everything after the '--' if the first thing after the '--' is a '#'. See chapter 19, "The Command-Line Interface" in 3rd edition of "Programming Perl", for some discussion of why perl recommends using this line in some circumstances. The above line does work on solaris, irix and aix (as three data points), and it used to work on FreeBSD by means of a similar patch to execve(). However, that change to execve() effected *all* shells (which caused other problems), and that processing was recently removed. PR: 16393 (the original request to fix the same issue) Reviewed by: freebsd-current (looking at a slightly different patch) MFC after: 1 week END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-16T05:41:18.000000Z K 7 svn:log V 2023 Add support for Windows/x86-64 binaries to Project Evil. Ville-Pertti Keinonen (will at exomi dot comohmygodnospampleasekthx) deserves a big thanks for submitting initial patches to make it work. I have mangled his contributions appropriately. The main gotcha with Windows/x86-64 is that Microsoft uses a different calling convention than everyone else. The standard ABI requires using 6 registers for argument passing, with other arguments on the stack. Microsoft uses only 4 registers, and requires the caller to leave room on the stack for the register arguments incase the callee needs to spill them. Unlike x86, where Microsoft uses a mix of _cdecl, _stdcall and _fastcall, all routines on Windows/x86-64 uses the same convention. This unfortunately means that all the functions we export to the driver require an intermediate translation wrapper. Similarly, we have to wrap all calls back into the driver binary itself. The original patches provided macros to wrap every single routine at compile time, providing a secondary jump table with a customized wrapper for each exported routine. I decided to use a different approach: the call wrapper for each function is created from a template at runtime, and the routine to jump to is patched into the wrapper as it is created. The subr_pe module has been modified to patch in the wrapped function instead of the original. (On x86, the wrapping routine is a no-op.) There are some minor API differences that had to be accounted for: - KeAcquireSpinLock() is a real function on amd64, not a macro wrapper around KfAcquireSpinLock() - NdisFreeBuffer() is actually IoFreeMdl(). I had to change the whole NDIS_BUFFER API a bit to accomodate this. Bugs fixed along the way: - IoAllocateMdl() always returned NULL - kern_windrv.c:windrv_unload() wasn't releasing private driver object extensions correctly (found thanks to memguard) This has only been tested with the driver for the Broadcom 802.11g chipset, which was the only Windows/x86-64 driver I could find. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-02-16T05:56:39.000000Z K 7 svn:log V 207 On second though, print the OUI, model and revision. This is the same information that's in the id1 and id2 fields we were using, but is in a form that the drivers will be using in their matching routines. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-02-16T06:48:35.000000Z K 7 svn:log V 21 va_list style tweaks END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-02-16T11:22:20.000000Z K 7 svn:log V 172 A call to maskurg() makes sense only when a transfer is under way, the function will emit an annoying log message otherwise. Reported by: kris MFC: along with rev. 1.202 END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-02-16T11:35:51.000000Z K 7 svn:log V 84 Add some consistency checks to the signal-related code. MFC: along with rev. 1.202 END K 10 svn:author V 5 joerg K 8 svn:date V 27 2005-02-16T12:12:28.000000Z K 7 svn:log V 54 MFC rev 1.12: U1E and U2 are fully supported systems. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-16T12:39:32.000000Z K 7 svn:log V 256 Better version of the patch in 1.117: bring a variable into local scope to prepare for function splitting and slightly reorganise the code in anticipation of Var_Subst returning a Buffer. Submitted by: Max Okumoto (with slight changes) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-02-16T12:46:46.000000Z K 7 svn:log V 144 Fix a memory leak: when freeing the connection structure, don't forget to free the connection buffer as well. PR: bin/76153 MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-02-16T16:00:35.000000Z K 7 svn:log V 226 Remove a recursion protection, which we inherited from splnet() netgraph times. Now several threads may write data to ng_ksocket. Locking of socket is done in sosend(). Reviewed by: archie, julian, rwatson MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T16:12:28.000000Z K 7 svn:log V 303 Remove TDP_GEOM flag from thread after ggate device creation. This flag means "wait for all pending requests before returning to userland". There are pending events for sure, because we just created new provider and other classes want to taste it, but we cannot answer on I/O requests until we're here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T16:13:56.000000Z K 7 svn:log V 123 Remove mutex asserion from g_gate_find(). We don't want g_gate_list_mtx mutex to be held here, because we want speed here. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-02-16T17:20:09.000000Z K 7 svn:log V 149 Mostly stylistic issues: move a variable into local scope, make condition positive and fix long lines. Submitted by: Max Okumoto END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T17:36:36.000000Z K 7 svn:log V 325 Use SCB_TAG to access the scb's tag field consistently. This was missing from a few printfs. This could cause the tag field to appear byteswapped in the printf output. Print the tags in decimal instead of hex. Initialize the timedout_scbs list. Since the softc is zeroed, the missing initialization had no side effects. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T17:39:46.000000Z K 7 svn:log V 213 Initialize the timedout_scbs list. Since the softc is bzeroed, the lack of explicit initialization had no side effects. Add a return after a panic to quiet GCC when compiling with certain optimizations enabled. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T17:43:26.000000Z K 7 svn:log V 267 Report a maximum lun of 63 rather than 255 to CAM. While the later better reflects the controllers capabilities, it is only valid when talking to targets using packetized protol. CAM will need to understand this limitation of SPI-4 before we can tell it the truth. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T18:09:41.000000Z K 7 svn:log V 199 MF5S: Explicitly initialize timedout_scb lists, use SCB_TAG for all access to the hardware_scb->tag field, limit max lun reported to CAM to 63, return after a panic to silence a warning. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T18:16:35.000000Z K 7 svn:log V 598 On Rev. B silicon, we disabled the enhanced busfree detection logic to close holes in detecting busfrees that occur after a packetized target transitions to a non-packetized phase. The most common case where this occurs is when a target is externally reset so the controller believes a packetzied negotiation agreement is still in effect. Unfortunately, disabling this feature seems to cause problems for the 7901B. Re-enable ehanced busfree detection for this part until I can get my hands on a samble to figure out if the old workaround is necessary and, if so, how to make it work correctly. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-16T18:18:30.000000Z K 7 svn:log V 508 KeAcquireSpinLockRaiseToDpc() and KeReleaseSpinLock() are (at least for now) exactly the same as KfAcquireSpinLock() and KfReleaseSpinLock(). I implemented the former as small routines in subr_ntoskrnl.c that just turned around and invoked the latter. But I don't really need the wrapper routines: I can just create an entries in the ntoskrnl func table that map KeAcquireSpinLockRaiseToDpc() and KeReleaseSpinLock() to KfAcquireSpinLock() and KfReleaseSpinLock() directly. This means the stubs can go away. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-16T18:37:14.000000Z K 7 svn:log V 183 Re-staticize a few functions I un-staticized for debugging purposes on amd64 and accidentally forgot to put back. (Have I mentioned that gdb on amd64 needs work? It does. Boy howdy.) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-16T19:21:07.000000Z K 7 svn:log V 97 Fix freeing of custom driver extensions. (ExFreePool() was being called with the wrong pointer.) END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T20:06:11.000000Z K 7 svn:log V 312 Make UMA set the overloaded page->object back to kmem_object for UMA_ZONE_REFCNT and UMA_ZONE_MALLOC zones, as the page(s) undoubtedly came from kmem_map for those two. Previously it would set it back to NULL for UMA_ZONE_REFCNT zones and although this was probably not fatal, it added MORE code for no reason. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T20:29:00.000000Z K 7 svn:log V 517 MFC 1.108: INVARIANTS-only fix. Original commit log: "Fix a INVARIANTS-only bug introduced in Revision 1.104: IF INVARIANTS is defined, and in the rare case that we have allocated some objects from the slab and at least one initializer on at least one of those objects failed, and we need to fail the allocation and push the uninitialized items back into the slab caches -- in that scenario, we would fail to [re]set the bucket cache's ub_bucket item references to NULL, which would eventually trigger a KASSERT." END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T20:35:04.000000Z K 7 svn:log V 35 MFC: Copyright updates as in 1.111 END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T20:37:24.000000Z K 7 svn:log V 34 MFC: Copyright updates, as in 1.5 END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T20:45:57.000000Z K 7 svn:log V 790 MFC: bring in critical fix introduced in 1.114. Original commit message: "While we want the recursion protection for the bucket zones so that recursion from the VM is handled (and the calling code that allocates buckets knows how to deal with it), we do not want to prevent allocation from the slab header zones (slabzone and slabrefzone) if uk_recurse is not zero for them. The reason is that it could lead to NULL being returned for the slab header allocations even in the M_WAITOK case, and the caller can't handle that (this is also explained in a comment with this commit). The problem analysis is documented in our mailing lists: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=153445+0+archive/2004/freebsd-current/20041231.freebsd-current (see entire thread for proper context)." END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-16T20:55:47.000000Z K 7 svn:log V 47 Define PLATFORM correctly when cross-building. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-02-16T21:02:50.000000Z K 7 svn:log V 45 Generate locale-agnostic configuration date. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-02-16T21:24:04.000000Z K 7 svn:log V 24 Remove redundant label. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T21:45:59.000000Z K 7 svn:log V 329 Well, it seems that I pre-maturely removed the "All rights reserved" statement from some files, so re-add it for the moment, until the related legalese is sorted out. This change affects: sys/kern/kern_mbuf.c sys/vm/memguard.c sys/vm/memguard.h sys/vm/uma.h sys/vm/uma_core.c sys/vm/uma_dbg.c sys/vm/uma_dbg.h sys/vm/uma_int.h END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T21:53:08.000000Z K 7 svn:log V 340 MFC: Sync up the Copyright statements for the following files to their latest versions in HEAD: sys/kern/kern_mbuf.c sys/vm/uma.h sys/vm/uma_core.c sys/vm/uma_dbg.c sys/vm/uma_dbg.h sys/vm/uma_int.h (Basically re-add "All rights reserved" in time for 5.4-RELEASE, at least until we clear out the surrounding legal issues once and for all). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T22:13:22.000000Z K 7 svn:log V 24 Fix year in copyrights. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T22:14:52.000000Z K 7 svn:log V 45 Update copyright in files changed this year. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T22:19:13.000000Z K 7 svn:log V 24 Fix year in copyrights. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2005-02-16T22:21:36.000000Z K 7 svn:log V 888 MFC src/sys/kern/kern_mbuf.c 1.6, src/sys/kern/uipc_mbuf.c 1.141, src/sys/sys/mbuf.h 1.165. Original commit message: "Optimize the way reference counting is performed with Mbufs. We do not need to perform an extra memory fetch in the Packet (Mbuf+Cluster) constructor to initialize the reference counter anymore. The reference counts are located in a separate memory region (in the slab header, because this zone is UMA_ZONE_REFCNT), so the memory fetch resulted very often in a cache miss. Additionally, and perhaps more significantly, optimize the free mbuf+cluster (packet) case, which is very common, to no longer require an atomic operation on free (to verify the reference counter) if the reference on the cluster has never been increased (also very common). Reduces an atomic on mbuf free on average. Original patch submitted by: Gerrit Nagelhout " END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T22:24:15.000000Z K 7 svn:log V 23 Copyright year update. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-02-16T22:26:34.000000Z K 7 svn:log V 24 Fix year in copyrights. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-02-16T23:13:38.000000Z K 7 svn:log V 170 aic79xx.c: aic7xxx.c: Allow print_reg() to be called with a NULL column. aic79xx.c: Correct new usage of SCB_GET_TAG(). aic7xxx.c: Fix stray ahd that snuck in here. END