ƒ´ 165807 178 306 208 407 1007 107 351 115 190 576 343 150 116 505 179 266 157 160 125 114 172 567 157 111 312 177 562 3422 807 196 698 175 247 114 115 558 118 421 241 334 158 129 132 153 158 245 202 193 237 111 167 119 117 381 409 574 230 127 123 146 166 217 194 269 285 280 435 160 171 1896 280 201 331 170 280 176 166 580 174 996 2103 987 224 346 190 231 248 162 389 403 356 141 293 300 344 657 427 232 148 121 140 172 309 165 108 165 390 207 136 191 344 152 165 205 218 252 256 290 285 178 370 146 457 596 408 138 197 428 111 130 286 309 186 184 329 259 236 260 295 262 350 378 127 147 164 951 147 190 154 201 161 234 200 150 155 254 173 120 105 125 539 134 134 554 104 356 799 226 346 174 251 606 280 125 174 210 455 187 310 K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-05T16:20:21.000000Z K 7 svn:log V 208 If append_archive fails while writing an archive header, output the error message from the archive being written (not the message from the archive being read, where no error has occurred). MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-05T17:51:33.000000Z K 7 svn:log V 112 Another (minor) CAM_NEW_TRAN backport thingie, plus a slightly closer to __FreeBSD_version comparison for this. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-05T19:09:01.000000Z K 7 svn:log V 314 - Add a new function uma_zone_exhausted() to see if a zone is full. - Add a printf in swp_pager_meta_build() to warn if the swapzone becomes exhausted so that there's at least a warning before a box that runs out of swapzone space before running out of swap space deadlocks. MFC after: 1 week Reviwed by: alc END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-05T19:59:46.000000Z K 7 svn:log V 914 - Close a race between enumerating UNIX domain socket pcb structures via sysctl and socket teardown by adding a reference count to the UNIX domain pcb object and fixing the sysctl that enumerates unpcbs to grab a reference on each unpcb while it builds the list to copy out to userland. - Close a race between UNIX domain pcb garbage collection (unp_gc()) and file descriptor teardown (fdrop()) by adding a new garbage collection flag FWAIT. unp_gc() sets FWAIT while it walks the message buffers in a UNIX domain socket looking for nested file descriptor references and clears the flag when it is finished. fdrop() checks to see if the flag is set on a file descriptor whose refcount just dropped to 0 and waits for unp_gc() to clear the flag before completely destroying the file descriptor. MFC after: 1 week Reviewed by: rwatson Submitted by: ups Hopefully makes the panics go away: mx1 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-05T20:06:40.000000Z K 7 svn:log V 14 Fix style(9). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-05T21:04:37.000000Z K 7 svn:log V 258 Add code to parse the utrace(2) entries generated by malloc(3) in a more human-readable format. Note that we report 'realloc(p, 0)' as 'free(p)' since both cases are encoded the same way and 'free()' is more common than a realloc() to 0. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-05T21:38:46.000000Z K 7 svn:log V 23 MFC: Whitespace fixes. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-05T22:49:05.000000Z K 7 svn:log V 95 (commented out) multipath fault injection code. Some code to make diffs with RELENG_6 easier. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-05T22:55:19.000000Z K 7 svn:log V 482 - Clean up Aperture Access Global Enable (APEN) bit access. - Rename confusing AGP_INTEL_I845_MCHCFG to AGP_INTEL_I845_AGPM. - Move E7205 and E7505 from i8x5 to i8x0 family. It probably worked because the actual offset is the same. In fact, all three families have the bit at the exact same place. Only differences are name and width of the registers, i.e., NBXCFG (0x50, dword), RDCR (0x51, byte), AGPM (0x51, byte), MCHCFG (0x50, word) depending on the family of the chipsets. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-05T22:59:26.000000Z K 7 svn:log V 247 Check the return from registering FC4 types with the fabric name server. Don't complain about a hard loop id of 0xffff- we get this in point-to-point topologies with the 2300 and 2K Login firmware. Up the timeout on register FC4 types commands. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-05T23:01:35.000000Z K 7 svn:log V 55 error print cleanup && turn off ints if RISC is paused END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-05T23:01:54.000000Z K 7 svn:log V 21 RELENG_6 compilation END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-05T23:45:38.000000Z K 7 svn:log V 411 - Fix a comparison in sched_choose() that caused cpus to be constantly marked idle, thus breaking cpu load balancing. - Change sched_interact_update() to fix cases where the stored history has expanded significantly rather than handling them in the callers. This fixes a case where sched_priority() could compute a bad value. - Add a sysctl to disable the global load balancer for experimentation. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-06T01:09:56.000000Z K 7 svn:log V 87 MFC: Merge MPEG2-TS/HDV support for fwcontrol. Submitted by: Petr Holub PR: bin/98134 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-06T02:34:23.000000Z K 7 svn:log V 172 - Don't IPI unless we're going to interrupt something exiting in the kernel. otherwise we can afford the latency. This makes a significant performance improvement. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-01-06T02:56:41.000000Z K 7 svn:log V 63 fix declaration / definition mismatch with ieee80211_chan2ieee END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-06T04:20:29.000000Z K 7 svn:log V 65 MFC 1.41: Add a chip timeout to ENABLE/MODIFY/DISABLE lun calls. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-06T04:40:44.000000Z K 7 svn:log V 32 - Add colors for up to 8 cpus. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-06T05:38:18.000000Z K 7 svn:log V 19 Fix compile error. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2007-01-06T08:31:31.000000Z K 7 svn:log V 75 Restore agp aperture size after resume, in case it is modified after boot. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-06T08:44:13.000000Z K 7 svn:log V 473 - Fix the sched_priority() invalid priority bugs. Use roundup() instead of max() when computing the divisor in SCHED_TICK_PRI(). This prevents cases where rounding down would allow the quotient to exceed SCHED_PRI_RANGE. - Garbage collect some unused flags and fields. - Replace TDF_HOLD with sched_pin_td()/sched_unpin_td() since it simply duplicated this functionality. - Re-enable the rebalancer by default and fix the sysctl so it can be modified. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-06T11:30:04.000000Z K 7 svn:log V 61 Add function __mq_oshandle() to get file handle of a mqueue. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-06T11:32:15.000000Z K 7 svn:log V 15 Fix compiling. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-06T12:33:43.000000Z K 7 svn:log V 218 - Don't let SCHED_TICK_TOTAL() return less than hz. This can cause integer divide faults in roundup() later if it is able to return 0. For some reason this bug only shows up on my laptop and not my testboxes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-06T13:12:24.000000Z K 7 svn:log V 83 o One more typo in the comment. PR: kern/107609 Submitted by: Dr. Markus Waldeck END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-06T15:58:34.000000Z K 7 svn:log V 464 MFi386 rev 1.56: Bring the linux mmap code more into line with how linux (2.4.x) behaves. Tested by: Scot Hetzel on amd64 without PROT_EXEC Additionally to the i386 version always use PROT_EXEC in the mapping like the previous version of the amd64 code did. We need to examinate this further to decide what the right thing to do is. For now this fixes several problems in the LTP test runs and should behave regarding PROT_EXEC like before. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-06T18:59:35.000000Z K 7 svn:log V 3323 Extend the emu10kx driver. With the words of the author: ---snip--- New features: 1. Optional multichannel recording (32 channels on Live!, 64 channels on Audigy). All channels are 16bit/48000Hz/mono, format is fixed. Half of them are copied from sound output, another half can be used to record any data from DSP. What should be recorded is hardcoded in DSP code. In this version it records dummy data, but can be used to record all DSP inputs, for example.. Because there are no support of more-than-stereo sound streams multichannell stream is presented as one 32(64)*48000 Hz 16bit mono stream. Channel map: SB Live! (4.0/5.1) offset (words) substream 0x00 Front L 0x01 Front R 0x02 Digital Front L 0x03 Digital Front R 0x04 Digital Center 0x05 Digital Sub 0x06 Headphones L 0x07 Headphones R 0x08 Rear L 0x09 Rear R 0x0A ADC (multi-rate recording) L 0x0B ADC (multi-rate recording) R 0x0C unused 0x0D unused 0x0E unused 0x0F unused 0x10 Analog Center (Live! 5.1) / dummy (Live! 4.0) 0x11 Analog Sub (Live! 5.1) / dummy (Live! 4.0) 0x12..-0x1F dummy Audigy / Audigy 2 / Audigy 2 Value / Audigy 4 offset (words) substream 0x00 Digital Front L 0x01 Digital Front R 0x02 Digital Center 0x03 Digital Sub 0x04 Digital Side L (7.1 cards) / Headphones L (5.1 cards) 0x05 Digital Side R (7.1 cards) / Headphones R (5.1 cards) 0x06 Digital Rear L 0x07 Digital Rear R 0x08 Front L 0x09 Front R 0x0A Center 0x0B Sub 0x0C Side L 0x0D Side R 0x0E Rear L 0x0F Rear R 0x10 output to AC97 input L (muted) 0x11 output to AC97 input R (muted) 0x12 unused 0x13 unused 0x14 unused 0x15 unused 0x16 ADC (multi-rate recording) L 0x17 ADC (multi-rate recording) R 0x18 unused 0x19 unused 0x1A unused 0x1B unused 0x1C unused 0x1D unused 0x1E unused 0x1F unused 0x20..0x3F dummy Fixes: 1. Do not assign negative values to variables used to index emu_cards array. This array was never accessed when index is negative, but Alexander (netchild@) told me that Coverity does not like it. After this change emu_cards[0] should never be used to identify valid sound card. 2. Fix off-by-one errors in interrupt manager. Add more checks there. 3. Fixes to sound buffering code now allows driver to use large playback buffers. 4. Fix memory allocation bug when multichannel recording is not enabled. 5. Fix interrupt timeout when recording with low bitrate (8kHz). Hardware: 1. Add one more known Audigy ZS card to list. Add two cards with PCI IDs betwen old known cards and new one. Other changes: 1. Do not use ALL CAPS in messages. Incomplete code: 1. Automute S/PDIF when S/PDIF signal is lost. Tested on i386 only, gcc 3.4.6 & gcc41/gcc42 (syntax only). ---snip--- This commits enables a little bit of debugging output when the driver is loaded as a module. I did a cross-build test for amd64. The code has some style issues, this will be addressed later. The multichannel recording part is some work in progress to allow playing around with it until the generic sound code is better able to handle multichannel streams. This is supposed to fix CID: 171187 Found by: Coverity Prevent Submitted by: Yuriy Tsibizov END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-06T19:08:39.000000Z K 7 svn:log V 709 Sync with NetBSD: revision 1.98 is NOT merged, because FreeBSD does not support this syntax. revision 1.99 is NOT merged, "const poisoning" part is not applicable to FreeBSD. There is no variable shadowing, GCC can't find this one (but there are others) revision 1.100 is NOT merged, because it was null patch (no changes) revision 1.101 is NOT merged, there is no BIT() macro in FreeBSD revision 1.102 is merged revision 1.103 is partially merged. There is no ai.ifaceh in FreeBSD revision 1.104 is NOT merged revision 1.105 is merged revision 1.106 is not merged, because of rev. 1.107 revision 1.107 is a backuout of 1.106 Submitted by: Yuriy Tsibizov END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-06T19:11:48.000000Z K 7 svn:log V 99 Fixes module build with DEB(x) defined to x. Submitted by: Yuriy Tsibizov END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-06T20:46:02.000000Z K 7 svn:log V 601 When performing a mount update to change a mount from read-only to read-write, do not call markvoldirty() until the mount has been flagged as read-write. Due to the nature of the msdosfs code, this bug only seemed to appear for FAT-16 and FAT-32. This fixes the testcase: #!/bin/sh dd if=/dev/zero bs=1m count=1 oseek=119 of=image.msdos mdconfig -a -t vnode -f image.msdos newfs_msdos -F 16 /dev/md0 fd120m mount_msdosfs -o ro /dev/md0 /mnt mount | grep md0 mount -u -o rw /dev/md0; echo $? mount | grep md0 umount /mnt mdconfig -d -u 0 PR: 105412 Tested by: Eugene Grosbein END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:18:17.000000Z K 7 svn:log V 83 Remove modf from libm's symbol map. It's actually in libc for hysterical raisins. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:22:38.000000Z K 7 svn:log V 154 Correctly handle inf/nan. This routine is currently unused because we seem to have assembly versions for all architectures, but it can't hurt to fix it. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:22:57.000000Z K 7 svn:log V 22 Correctly handle NaN. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:23:20.000000Z K 7 svn:log V 23 Fix a cut-and-paste-o. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:46:23.000000Z K 7 svn:log V 465 Fix a problem relating to fesetenv() clobbering i387 register stack. Details: As a side-effect of restoring a saved FP environment, fesetenv() overwrites the tag word, which indicates which i387 registers are in use. Normally this isn't a problem because the calling convention requires the register stack to be empty on function entry and exit. However, fesetenv() is inlined, so we need to tell gcc explicitly that the i387 registers get clobbered. PR: 85101 END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-06T21:50:04.000000Z K 7 svn:log V 26 Handle inf/nan correctly. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-01-06T22:04:46.000000Z K 7 svn:log V 326 More minor cleanups: 1. Fix small typo "retorted ." -> "retorted." 2. Remove from fortunes a story that is duplicated in fortunes2-o 3. Remove from fortunes and fortunes2-o Zippy the Pinhead quotes that are already in the zippy file. 4. ... therefore remove zippy from fortunes.sp.ok 5. Remove a duplicate in the zippy file. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-06T22:17:15.000000Z K 7 svn:log V 144 MFC 1.56: Fix mount update from read-only to read-write for FAT-16 and FAT-32. PR: 105412 Tested by: Eugene Grosbein END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-06T22:28:28.000000Z K 7 svn:log V 237 When returning early from audit_arg_file() due to so->so_pcb being NULL (due to an early reset or the like), remember to unlock the socket lock. This will not occur in 7-CURRENT, but could in theory occur in 6-STABLE. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-01-07T00:10:53.000000Z K 7 svn:log V 63 MFC rev 1.21: Use the proper definition for the minbrk symbol. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-01-07T00:12:24.000000Z K 7 svn:log V 34 MFC 1.58: Enable gmon on PowerPC. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-01-07T00:34:00.000000Z K 7 svn:log V 37 MFC 1.89: Build gperf(1) on PowerPC. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-01-07T01:07:22.000000Z K 7 svn:log V 58 MFC 1.14: ata_generic_hw() takes a device, not a channel. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-01-07T02:40:37.000000Z K 7 svn:log V 63 MFC (1.67): Completing the process of UUCP migration to ports. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-07T03:02:02.000000Z K 7 svn:log V 149 Fix a parsing bug when specifying more than one address with dotted decimal netmask. Reported by: Igor Anishchuk PR: kern/107565 MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-07T06:43:25.000000Z K 7 svn:log V 106 Up the event class reporting from 10 (basically, nothing) to EVT_CLASS_INFO. Submitted by: Doug Ambrisko END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-07T06:44:37.000000Z K 7 svn:log V 98 Up the event class reporting from EVT_CLASS_DEBUG to EVT_CLASS_INFO. Submitted by: Doug Ambrisko END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-01-07T07:32:04.000000Z K 7 svn:log V 144 Declare the map entry created by kmem_init() for the range from VM_MIN_KERNEL_ADDRESS to the end of the kernel's bootstrap data as MAP_NOFAULT. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-07T07:54:21.000000Z K 7 svn:log V 19 Implement modfl(). END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-07T09:25:22.000000Z K 7 svn:log V 75 Fix a few of the tests so that correct implementations actually pass them. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-07T09:50:01.000000Z K 7 svn:log V 25 MFC rev. 1.101: grammar. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-01-07T12:13:10.000000Z K 7 svn:log V 24 MFi386: revision 1.646. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2007-01-07T13:20:24.000000Z K 7 svn:log V 288 MFC: The nfsm_srvpathsiz() macro in nfsrv_symlink() in nfs_serv.c should check length of the pathname in the range 0<=n<=NFS_MAXPATHLEN, not 0shared with the lock in case of CLONE_THREAD. Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-07T19:14:06.000000Z K 7 svn:log V 171 MFp4 (112534): Dont lock em in a case of just using em->shared->group_pid because the group_pid never changes. Submitted by: rdivacky Reviewed by: kib Glanced at by: jhb END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-07T19:20:17.000000Z K 7 svn:log V 187 MFp4 (112535): No need to lock prison in a case of linux_use26 because the int setting is atomic and process cannot leave jail. Submitted by: kib Reviewed by: jhb Requested by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-07T19:30:19.000000Z K 7 svn:log V 182 MFp4 (112646): Now (ok it's been a while...) that FreeBSD has RLIMIT_AS too, we can use it in the linuxolator instead of ignoring it. This fixes a LTP test. Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-07T19:43:59.000000Z K 7 svn:log V 337 Disable multichannel recording in snd_emu10kx module. Whith multichannel recording enabled some programs (audio/audacity from ports) can't correctly enumerate all /dev/dsp device. Note: previous commit did not enable some debugging stuff, my eyes did misread "#undef" as "#define". Submitted by: Yuriy Tsibizov END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-07T20:30:27.000000Z K 7 svn:log V 64 Document that we supported Intel PRO/100 VM Network Connection. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-01-07T21:32:25.000000Z K 7 svn:log V 74 Special case to support hard-coded configuration for building on Windows. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-01-07T21:53:42.000000Z K 7 svn:log V 1802 Re-work Cx handling to be per-cpu and asymmetrical, fixing support on modern dual-core systems as well. - Parse the _CST packages for each cpu and track all the states individually, on a per-cpu basis. - Revert to generic FADT/P_BLK based Cx control if the _CST package is not present on all cpus. In that case, the new driver will still support per-cpu Cx state handling. The driver will determine the highest Cx level that can be supported by all the cpus and configure the available Cx state based on that. - Fixed the case where multiple cpus in the system share the same registers for Cx state handling. To do that, added a new flag parameter to the acpi_PkgGas and acpi_bus_alloc_gas functions that enable the caller to add the RF_SHAREABLE flag. This flag could also be useful to other callers (acpi_throttle?) in the tree but this change is not yet made. - For Core Duo cpus, both cores seems to be taken out of C3 state when any one of the cores need to transition out. This broke the short sleep detection logic. It is disabled now if there is more than one cpu in the system for now as it fixed it in my case. This quirk may need to be re-enabled later differently. - Added support to control cx_lowest on a per-cpu basis. There is still a generic cx_lowest to enable changing cx_lowest for all cpus with a single sysctl and for ease of use. Sample output for the new sysctl: dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 dev.cpu.0.cx_lowest: C3 dev.cpu.0.cx_usage: 0.00% 43.16% 56.83% dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 dev.cpu.1.cx_lowest: C3 dev.cpu.1.cx_usage: 0.00% 45.65% 54.34% hw.acpi.cpu.cx_lowest: C3 This work was done by Stephane E. Potvin with some simple reworking by myself. Thank you. Submitted by: Stephane E. Potvin MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-07T22:25:45.000000Z K 7 svn:log V 184 Garbage collect the code for auto-loading modules based on ISAPNP IDs, which is #if'ed out since nearly eight years, along with its outdated database. Agreed by: ru (some months ago) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-07T23:01:32.000000Z K 7 svn:log V 108 open(2) returns EROFS when O_CREAT is specified and the named file would reside on a read-only file system. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-07T23:06:53.000000Z K 7 svn:log V 238 Be more specific in ENXIO description: - O_NONBLOCK flag has to be set, if it is not set, open(2) will wait for another process opening the fifo for reading, - Use O_WRONLY which implies that the file has to be opened _only_ for write. END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-01-07T23:53:16.000000Z K 7 svn:log V 78 Tell backing v_object the filesize right on it's creation. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-01-08T00:19:53.000000Z K 7 svn:log V 183 Initialize legacy SYS_RES_IRQ resources before attempting to use MSI. This fixes legacy SYS_RES_IRQ resource allocation failure when MSI is disabled. Reported by: rrs Tested by: rrs END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-08T00:33:27.000000Z K 7 svn:log V 81 - Garbage collect more alpha remnants. - Fix a typo in a comment in boot_font.c. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-01-08T00:45:46.000000Z K 7 svn:log V 74 Fix LINT and ACPI_DEBUG builds and add print for use of flush cache inst. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-01-08T00:58:00.000000Z K 7 svn:log V 483 Don't rely on GM_GP_CTRL register contents when mii(4) layer reports link state changes. Instead, build new speed/duplex/flow-control settings from the values reported from PHY. This should fix speed/duplex/flow-control mismatches between GMAC and PHY which resulted in very poor Rx performance due to lots of out-of-order packet delivery. Reported by: Arno J. Klaassen Tested by: Arno J. Klaassen END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-01-08T01:03:18.000000Z K 7 svn:log V 78 Fix a typo which blindly enabled TSO capability without respect to chip type. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-08T01:08:24.000000Z K 7 svn:log V 900 In ofw_pcibus_attach() skip dupe PCI devices reported by the firmware (mainly 'pmu' and its 'lomp' dupe found in a couple of later USII{e,i}-based machines) by checking whether a device with the same triple of bus number, slot and function already has been added. This is the simple yet effective approach introduced in OpenBSD some time ago, but which has the flaw that it assumes that the device and its dupe(s) found in the OFW device tree are equal or at least the one encountered first is in some way the more important one (this is the case with 'pmu' and 'lomp'; the 'pmu' node has couple of properties and children while the 'lomp' one misses most of these). If there's ever a device/dupe pair where we don't encounter the more important node first, we'll probably need to introduce a quirk list in order to add the desired device but prevent its dupe(s) from being added. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-08T01:26:47.000000Z K 7 svn:log V 2006 o Changes to psycho_attach(): [1] - Clear the PCI AFSR and status error bits as previous errors still might be indicated. - Set up the PCI control and diagnostic registers according to the capabilities, workarounds, etc of/for specific revisions of the supported bridges. This includes no longer setting Hummingbird-/ Sabre-specific bits in the PCI control register but preserving what the firmware has initialized them to like OpenSolaris does. Previously we were setting these bits according to the example in the Sabre documentation, which I doubt is appropriate for all Sabre based designs and especially not for Hummingbirds. This also includes not enabling bus parking unless the firmware tells us to. - Set the PCI latency timer register as this isn't always done by the firmware. o Remove a redundant argument from psycho_set_intr() and in this function check the return value of bus_setup_intr(). [2] o Let psycho_setup_intr() return ENOMEM instead of 0 when it can't allocate memory for the interrupt wrapper stub and EINVAL instead of 0 if it can't find the interrupt vector in the interrupt map. o Add a workaround for a bug of the Sabre-APB-combination where it doesn't drain DMA write data for devices behind additional PCI-PCI bridges underneath the APB PCI-PCI bridge. This workaround (do things necessary in order to achieve a manual drain when coherency is required) is currently implemented in psycho_setup_intr() and psycho_intr_stub() (for easy MFC'ing) and therefore is only applied for interrupt handlers. This should be moved to psycho(4)-specific bus_dma_tag_create() and bus_dmamap_sync() methods, respectively, once this driver is converted to make use of BUS_GET_DMA_TAG(), so the workaround is also applied for polling(4) callbacks. [3] o Fix some minor style issues. Info from: OpenSolaris [1] Info from: Linux, OpenBSD, OpenSolaris [3] Suggested by: Coverity Prevent (CID 682) [2] MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-08T17:24:51.000000Z K 7 svn:log V 894 Correct several issues with rate set negotiation: o add IEEE80211_F_JOIN flag to ieee80211_fix_rate to indicate a station is joining a BSS; this is used to control whether or not we over-write the basic rate bit in the calculated rate set o fix ieee80211_fix_rate to honor IEEE80211_F_DODEL when IEEE80211_F_DONEGO is not specified (e.g. when joining an ibss network) o on sta join always delete unusable rates from the negotiated rate set, this was being done only ibss networks but is also needed for 11g bss with mixed stations o on sta join delete unusable rates from the bss node's rate set, not the scan table entry's rate set o when calculating a rate set for new neighbors in an ibss caculate a negotiated rate set so drivers are not presented with rates they should not use Submitted by: Sepherosa Ziehau (w/ modifications) Obtained from: DragonFly MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-08T17:35:36.000000Z K 7 svn:log V 131 Remove the advertising clause. UCB did this some time ago, but these files were never updated to reflect that. MFC After: 2 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T17:49:59.000000Z K 7 svn:log V 249 Canonicalize copyrights in some files I hold copyrights on: - Sort by date in license blocks, oldest copyright first. - All rights reserved after all copyrights, not just the first. - Use (c) to be consistent with other entries. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T17:55:32.000000Z K 7 svn:log V 94 Canonicalize copyright: use a date range rather than comma-delimited list. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T17:58:27.000000Z K 7 svn:log V 134 Break out my copyrights with our 2-clause BSD license from the UMich copyright, which while similar, is different. MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-08T18:10:12.000000Z K 7 svn:log V 155 MFC 1.142: change error codes returned by protocol operations when an incpb is dropped [revised for RELENG_6 code base] Reviewed by: rwatson, Eric Huss END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-08T18:12:34.000000Z K 7 svn:log V 70 MFC 1.25: document recent change to return ECONNRESET for tcp sockets END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-08T18:23:43.000000Z K 7 svn:log V 296 Fix potential node refcnt leak. If mbufs are q'd on ic_mgtq when the state machine clocks to INIT, node references are not reclaimed. Add a new routine ieee80211_drain_ifq that does this and use it instead of IF_DRAIN. Submitted by: Sepherosa Ziehau Obtained from: DragonFly MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-08T18:25:58.000000Z K 7 svn:log V 310 Per Olivier Houchard, use the proper license for this file. He bogusly used the kvm_powerpc.c file as a template for the license, but then either wrote the code himself, or cribbed it from the kvm_i386 file. The only thing from the kvm_powerpc.c file was the license. Correct this mistake with his blessing. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T20:35:13.000000Z K 7 svn:log V 259 Resort copyrights and licenses in kern_acct.c: per UCB letter, the UCB license now excludes the advertising clause. I'm not interested in it either, so move my copyright. This leaves only a CGD copyright with the advertising clause. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T20:37:02.000000Z K 7 svn:log V 45 Sort copyrights together. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-08T21:21:45.000000Z K 7 svn:log V 200 Replace (name) with Henric Vestergaard Draboel since it was clear that this was just cut N paste and '(name)' doesn't make any sense. If someone knows how to contact Mr. Draboel, please let me know. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T22:14:00.000000Z K 7 svn:log V 203 Factor out UCB and my copyrights from copyrights of Mike Mitchell; the former use a three-clause BSD license (per UCB authorization letter), whereas he uses a four-clause BSD license. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-08T22:30:39.000000Z K 7 svn:log V 247 Factor out my copyrights + licenses from Charles D. Cranor and University of Washington copyrights, which include the advertising clause. Move $NetBSD$ into standard location for FreeBSD source files, and normalize formatting. MFC after: 3 days END K 10 svn:author V 6 alfred K 8 svn:date V 27 2007-01-08T23:21:06.000000Z K 7 svn:log V 561 Add the following functions to abstract away the creation of task threads for usb. I hope that this will eventually be used for generic devices that need full fledged blocking threads for event processing. Create a taskqueue: void usb_ether_task_init(device_t, int, struct usb_taskqueue *); Enqueue a task: void usb_ether_task_enqueue(struct usb_taskqueue *, struct task *); Wait for all tasks queued to complete: void usb_ether_task_drain(struct usb_taskqueue *, struct task *); Destroy the taskqueue: void usb_ether_task_destroy(struct usb_taskqueue *); END K 10 svn:author V 6 alfred K 8 svn:date V 27 2007-01-08T23:24:21.000000Z K 7 svn:log V 331 Remove my "custom" locks that allow for lock acquire abort, they are not needed if the proper ordering is done in attach and shutdown. Remove usage of if_timer/watchdog and roll my own by piggybacking off the tick() function. Use the new usb system to allocate task queues instead of using the system wide thread for taskqueues. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T00:28:16.000000Z K 7 svn:log V 139 Per Regents of the University of Calfornia letter, remove advertising clause. # If I've done so improperly on a file, please let me know. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-09T00:33:10.000000Z K 7 svn:log V 56 bandaid to unbreak build (user code includes this file) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T00:38:24.000000Z K 7 svn:log V 29 Remove silly n that crept in END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T01:02:06.000000Z K 7 svn:log V 48 Remove California Regent's clause 3, per letter END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-01-09T01:31:22.000000Z K 7 svn:log V 76 Remove duplicated legacy SYS_RES_IRQ resources assignment. Noticed by: jhb END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-01-09T03:29:49.000000Z K 7 svn:log V 213 MFC rev 1.25: Pull in /etc/rc.conf.d/network so that ifconfig_ variables can be set there. This is required for consistency with /etc/rc.d/netif. PR: conf/103893 Submitted by: Nick Hibma END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T04:17:20.000000Z K 7 svn:log V 73 Julian says that he doesn't need the advertising clause, so out it goes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T04:26:51.000000Z K 7 svn:log V 16 Capitalize this END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-09T04:37:05.000000Z K 7 svn:log V 73 reduce user-visible namespace to just what is needed MFC after: 2 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-01-09T08:05:56.000000Z K 7 svn:log V 292 Fix the copyright notice; it was always intended to be a vanilla 2-clause BSD license, but somehow some confusing extra verbage get copied from somewhere. Also, update the copyright dates to 2007 for all of the files. Prompted by: several questions about what those extra words really mean END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-01-09T08:12:17.000000Z K 7 svn:log V 109 Correct the copyright messages: Make this a standard vanilla 2-clause BSD license, update the year to 2007. END K 10 svn:author V 5 bland K 8 svn:date V 27 2007-01-09T08:22:57.000000Z K 7 svn:log V 42 Update for japanese holidays. PR: 107703 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-09T15:00:01.000000Z K 7 svn:log V 95 Document recent changes about supported compression and encryption modes. Wording by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-09T17:50:05.000000Z K 7 svn:log V 251 Add various utrace's for use with ktrace to the ELF runtime linker. To activate the traces, set the LD_UTRACE (or LD_32_UTRACE) environment variable. This also includes code in kdump(8) to parse the traces. Reviewed by: kan, jdp MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-09T18:04:58.000000Z K 7 svn:log V 60 MFC: Use the vnode interlock to close a vnode destroy race. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-09T19:23:22.000000Z K 7 svn:log V 72 Add SSSE3 extensions and correct CNXT-ID spelling for Intel processors. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-01-09T21:03:07.000000Z K 7 svn:log V 109 Remove two lines that somehow snuck back in after testing. ip is now an argument to the function ipfw_log() END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-09T23:27:39.000000Z K 7 svn:log V 125 Boris Popov has granted permission to remove the advertising clause from lib/libncp. Make it so. Also, renumbered clauses. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-10T01:29:46.000000Z K 7 svn:log V 155 The pc98 porting team's copyright year should be 2003, when 5.0-RELEASE, the first release including pc98 is released. Noticed by: hrs Confirmed by: nyan END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-10T11:34:51.000000Z K 7 svn:log V 160 MFC: ipfw2.c, 1.101: Fix a parsing bug when specifying more than one address with dotted decimal netmask. Reported by: Igor Anishchuk PR: kern/107565 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-10T12:57:46.000000Z K 7 svn:log V 192 Sync the hardware list with the driver and with what I could find on the Areca website. Also remove the module from the FILES section, it's already covered in the SYNOPSIS. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-10T14:36:32.000000Z K 7 svn:log V 188 The pc98 porting team's copyright year should be 2003, when 5.0-RELEASE, the first release including pc98 is released. Noticed by: hrs Confirmed by: nyan Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-10T15:04:10.000000Z K 7 svn:log V 82 Fix accounting of incoming octets. Submitted by: Alexander Motin END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-10T18:45:18.000000Z K 7 svn:log V 274 Add missing SC_NO_MODE_CHANGE option. Disable it in the powerpc NOTES though, as ofw_syscons(4) doesn't properly interface with syscons(4) regarding loading the font specified with SC_DFLT_FONT, causing a kernel with both options SC_OFWFB and SC_NO_MODE_CHANGE to not link. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-10T19:04:00.000000Z K 7 svn:log V 51 Correct the VGA_NO_MODE_CHANGE end marker comment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-10T21:04:43.000000Z K 7 svn:log V 360 Remove uma_zalloc_arg() hack, which coerced M_WAITOK to M_NOWAIT when allocations were made using improper flags in interrupt context. Replace with a simple WITNESS warning call. This restores the invariant that M_WAITOK allocations will always succeed or die horribly trying, which is relied on by many UMA consumers. MFC after: 3 weeks Discussed with: jhb END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-11T00:17:02.000000Z K 7 svn:log V 502 - Use the correct test in the ipi bitmask handler for IPI_PREEMPT so that we actually issue preemptions. - Remove the #ifdef IPI_PREEMPTION so it is always compiled in. Leave the option which optionally enables support in sched_4bsd. sched_ule.c will soon use this functionality as a run time rather than compile time option. - Compare against the idlethread rather than the priority. There are some idle prio tasks that we can preempt. Discussed with: ups Tested on: i386, amd64 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-01-11T00:19:00.000000Z K 7 svn:log V 311 Return an error status (127) from the builtins 'type' and 'command' (with either -v or -V) if a file with a slash in the name doesn't exist (if there is no slash we already did that). Additionally, suppress the error message for command -v for files with a slash. PR: 107674 Submitted by: Martin Kammerhofer END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-01-11T00:25:20.000000Z K 7 svn:log V 42 Add regression tests for exec.c rev 1.30. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2007-01-11T01:43:24.000000Z K 7 svn:log V 104 Correct the comment describing the BGE_PCISTATE_PCI_BUSSPEED bit. It had the sense of the bit reversed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-11T03:17:28.000000Z K 7 svn:log V 331 - Instead of if_watchdog/if_timer interface use our own timer that piggybacks on bce_tick() callout. - Instead of unconditionally resetting the controller, try to skip the reset in case we got a pause frame, like em(4) did. - Lock bce_tick() using callout_init_mtx(). Discussed with/Reviewed by: glebius, scottl, davidch END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-11T03:18:31.000000Z K 7 svn:log V 15 Space cleanup. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-11T05:00:30.000000Z K 7 svn:log V 38 Remove 3rd clause, per email from bms END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-11T11:33:34.000000Z K 7 svn:log V 188 MFC: rev. 1.5 Sync the hardware list with the driver and with what I could find on the Areca website. Also remove the module from the FILES section, it's already covered in the SYNOPSIS. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-11T11:34:34.000000Z K 7 svn:log V 211 MFC: rev. 1.5 Sync the hardware list with the driver and with what I could find on the Areca website. Also remove the module from the FILES section, it's already covered in the SYNOPSIS. Approved by: re (hrs) END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-01-11T15:19:53.000000Z K 7 svn:log V 91 Add Wise Words from Colin on irregular verbs and code quality. :-) Submitted by: cperciva END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-11T16:31:47.000000Z K 7 svn:log V 92 MFC: Use a regular mutex instead of a spin mutex and remove unneeded locking during attach. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-01-11T17:03:51.000000Z K 7 svn:log V 233 Fix head -c ### where ### is greater than 2^31. Unlike the submitted patch this uses off_t. WARNSify and add $FreeBSD$ to Makefile. PR: bin/107824 Submitted by: Brian Cornell MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-01-11T18:17:24.000000Z K 7 svn:log V 164 Fix jail rc.d script privilege escalation via symlink attack against /var/log/console.log and mount points. Security: FreeBSD-SA-07:01.jail Approved by: re (bmah) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-01-11T18:18:57.000000Z K 7 svn:log V 141 Fix jail rc.d script privilege escalation via symlink attack against /var/log/console.log and mount points. Security: FreeBSD-SA-07:01.jail END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-01-11T18:19:33.000000Z K 7 svn:log V 165 Fix jail rc.d script privilege escalation via symlink attack against /var/log/console.log and mount points. Security: FreeBSD-SA-07:01.jail Approved by: so (simon) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-01-11T18:27:07.000000Z K 7 svn:log V 200 Also document FreeBSD-SA-07:01.jail on this branch which is for: Fix jail rc.d script privilege escalation via symlink attack against /var/log/console.log and mount points. Approved by: re (bmah) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-11T18:45:41.000000Z K 7 svn:log V 167 o Document SO_TIMESTAMP and SO_BINSTAMP socket options. PR: docs/107696 Submitted by: Rob Robertson Reviewed by: ru Obtained from: NetBSD (mostly) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-11T19:13:27.000000Z K 7 svn:log V 257 Wrap propagate_priority() in a critical section to prevent unwanted preemptions when adjusting the priority of a thread that is on a run queue. This was only observed when FULL_PREEMPTION was enabled. Reported by: kris Diagnosed by: ups MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-11T19:40:19.000000Z K 7 svn:log V 285 Remove magic from rman_activate_resource() that uses the direct map at KERNBASE for the first 1 MB of RAM instead of calling pmap_mapdev(). pmap_mapdev() knows how to handle the first 1 MB (and has known for a while now) and properly maps the memory as UC to boot. MFC after: 2 weeks END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T19:44:45.000000Z K 7 svn:log V 34 New release note: SA-07:01.jail. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T19:48:51.000000Z K 7 svn:log V 54 MFC: SA-07:01.jail. Bump copyright date while here. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T19:53:37.000000Z K 7 svn:log V 71 MFC: SA-07:01.jail. Bump copyright date while here. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-11T19:56:24.000000Z K 7 svn:log V 858 Various updates to most of the smbus(4) drivers: - Use printf() and device_printf() instead of log() in ichsmb(4). - Create the mutex sooner during ichsmb(4) attach. - Attach the interrupt handler later during ichsmb(4) attach to avoid races. - Don't try to set PCIM_CMD_PORTEN in ichsmb(4) attach as the PCI bus driver does this already. - Add locking to alpm(4), amdpm(4), amdsmb(4), intsmb(4), nfsmb(4), and viapm(4). - Axe ALPM_SMBIO_BASE_ADDR, it's not really safe to write arbitrary values into BARs, and the PCI bus layer will allocate resources now if needed. - Merge intpm(4) and intsmb(4) into just intsmb(4). Previously, intpm(4) attached to the PCI device and created an intsmb(4) child. Now, intsmb(4) just attaches to PCI directly. - Change several intsmb functions to take a softc instead of a device_t to make things simpler. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T19:56:34.000000Z K 7 svn:log V 54 MFC: SA-07:01.jail. Bump copyright date while here. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T20:01:45.000000Z K 7 svn:log V 97 Simplified Chinese version of SA-07:01.jail release note. Approved by: re Submitted by: delphij END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-11T20:14:48.000000Z K 7 svn:log V 61 New errata: SA-07:01.jail. Bump copyright date while here. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-01-11T20:23:01.000000Z K 7 svn:log V 105 Fix build on architectures where off_t is signed by casting to uintmax_t before comparing with a size_t. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-11T20:30:32.000000Z K 7 svn:log V 65 Semantically sync with English revision. Approved by: re (bmah) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2007-01-11T20:31:35.000000Z K 7 svn:log V 139 Fix re_setmulti() so that it works correctly for PCIe chips where the multicast hash table are in reverse order compared to older devices. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-11T21:13:27.000000Z K 7 svn:log V 107 Add a device ID for the 631xESB/6321ESB SMBus controller. Submitted by: Reed A. Cartwright END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-01-11T21:47:14.000000Z K 7 svn:log V 53 Prepare for 6.2-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-01-11T21:59:11.000000Z K 7 svn:log V 58 We think we're ready to go... Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-01-11T22:54:45.000000Z K 7 svn:log V 156 Bump BUILDNAME too. It had remained -STABLE in 6.1 but other previous releases used -RELEASE so go with that. Noticed by: bmah Approved by: re (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-01-11T22:54:46.000000Z K 7 svn:log V 77 This commit was manufactured by cvs2svn to create tag 'RELENG_6_2_0_RELEASE'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-12T05:36:17.000000Z K 7 svn:log V 28 fix typo MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-12T05:36:28.000000Z K 7 svn:log V 13 add man page END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-12T07:20:25.000000Z K 7 svn:log V 33 Marked these as packed correctly END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-12T07:23:31.000000Z K 7 svn:log V 446 Marking this as __packed was needed to get the alignment and offset of members right. However, it also said it was aligned(1), which meant that gcc generated really bad code. Mark this as aligned(4). This makes things a little faster on arm (a couple percent), but also saves about 30k on the size of the kernel for arm. I talked about doing this with bde, but didn't check with him before the commit, so I'm hesitant say 'reviewed by: bde'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-12T07:26:21.000000Z K 7 svn:log V 42 Remove 3rd clause, renumber, ok per email END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-12T07:31:30.000000Z K 7 svn:log V 42 Remove 3rd clause, renumber, ok per email END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-12T07:40:30.000000Z K 7 svn:log V 461 When ntp_gettime() was converted from a sysctl + wrapper to a system call, its semantics were unintentionally changed. It went from returning the time state to returning 0 or -1. Since 0 means time normal, and non-zero effectively only shows up around leap seconds, this went unnoticed until now. At least unnoticed until someone was trying to run a binary they didn't have source for and it was misbehaving... Submitted by: Judah Levine MFC After: 2 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-12T08:44:55.000000Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T12:25:12.000000Z K 7 svn:log V 259 Re-style aarp with style(9): normal plethora of white space, brace, etc, changes. Remove a small amount of #if !defined(__FreeBSD__) code. Add missing include guard for _NETATALK_AARP_H_. Remove unneeded (and conflicting) extern prototype for aarptfree(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T13:18:08.000000Z K 7 svn:log V 702 Cleanup of netatalk atalk layer includes, protocol definitions, and routing: - style(9) cleanup -- white space, braces, etc. - Make include guards consistent with our more general naming convention. - Rearrange and complete forward structure declarations in at_extern.h, remove testing of guards of various other include files to protect function declarations. This leaves an ifdef _KERNEL in at_var.h, but from inspection it seems likely that this file is not actually safe for inclusion in user space still. However, since it's not included from within src/ so this does not appear to be an issue (ifconfig, etc, have migrated to the generic cross-protocol ioctls for address operations). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T13:33:56.000000Z K 7 svn:log V 133 - Condense the comment for Intel chipset MSI blacklist entries. - Blacklist the E7210. PR: kern/105768 (2) Reported by: marcus (2) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T15:07:51.000000Z K 7 svn:log V 249 Clean up DDP layer netatalk code: - General style(9) cleanup -- white space, braces, line wraps, etc. - Annotate a lack of synchronization the global route cache if the input routine is invoked with parallelism. - Remove unused debugging code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T16:12:59.000000Z K 7 svn:log V 82 MFC: Add uma_zone_exhausted() and warn if we run out of objects in the swap_zone. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T16:21:29.000000Z K 7 svn:log V 158 MFC: Close a race between UNIX domain pcb garbage collection (unp_gc()) and file descriptor teardown (fdrop()) by adding a new garbage collection flag FWAIT. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T16:24:23.000000Z K 7 svn:log V 513 MFC: Close a race between enumerating UNIX domain socket pcb structures via sysctl and socket teardown. Note that we engage in a bit of trickery to preserve the ABI of 'struct unpcb' in 6.x. We change the UMA zone to hold a 'struct unpcb_wrapper' which holds a 6.x 'struct unpcb' followed by the new reference count needed for handling the race. We then cast 'struct unpcb' pointers to 'struct unpcb_wrapper' pointers when we need to access the reference count. Submitted by: ups (including the ABI trickery) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-12T16:46:51.000000Z K 7 svn:log V 184 MFC 1.18-1.19: Add a function that checks for duplicate requests (based on some fairly tight criteria) so we avoid having broken clients spam rpc.lockd to death. Plus some whitespace. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-12T16:47:55.000000Z K 7 svn:log V 29 MFen 1.73.2.36 -> 1.73.2.37. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T21:30:25.000000Z K 7 svn:log V 82 Blacklist a few more Intel chipsets re: MSI based on user reports: E7500 and 855. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-12T21:37:51.000000Z K 7 svn:log V 117 Disable MSI for two ServerWorks chipsets. The first is based on a user report. The second is blacklisted in Linux. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T21:49:36.000000Z K 7 svn:log V 358 Add a regression test for sending and writing zero bytes to sockets of various types, as well as pipes and fifos for good measure. RELENG_6 currently passes all of these tests, but 7-CURRENT fails 0-byte writes and sends on all stream socket types (and fifos, as they are based on stream sockets). Bumped into by: peter Diagnosed by: jhb Problem of: andre END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T22:01:03.000000Z K 7 svn:log V 91 Re-wrap comments to wider margins now that they have been relocated from within functions. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-12T22:17:31.000000Z K 7 svn:log V 213 Ignore EINPROGRESS error on TCP connect(), and pick up the result of the non-blocking connect later using select(). This case didn't trigger on my UP test box, but did on Peter's SMP test box. Spotted by: peter END