ı0144791 199 177 457 118 146 184 543 237 546 197 144 219 222 791 794 224 214 157 278 112 128 249 145 155 120 140 137 117 140 317 318 164 163 458 199 164 190 168 194 135 206 151 141 981 185 173 310 125 145 188 121 121 158 466 599 173 181 253 507 142 238 640 261 113 253 175 375 531 470 201 124 221 133 195 156 992 150 202 337 164 166 426 253 306 170 305 254 146 233 163 306 295 417 294 271 147 237 149 2109 644 266 550 316 162 734 237 372 151 170 672 644 109 290 228 256 204 249 236 218 459 146 150 167 247 154 180 334 459 184 283 257 191 131 131 130 139 253 510 181 119 380 158 164 154 438 137 155 336 220 145 145 225 175 256 162 204 209 267 227 232 530 253 222 204 123 466 202 241 407 179 747 159 869 163 202 196 1537 157 158 138 178 228 146 148 128 451 120 174 362 300 175 149 136 336 239 205 149 168 144 206 K 10 svn:author V 6 murray K 8 svn:date V 27 2005-04-08T09:50:30.000000Z K 7 svn:log V 82 Commodore Perry was not 4 years old when he sailed to Japan. Correct birth year. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-08T10:25:13.000000Z K 7 svn:log V 362 o Nano optimize ip_reass() code path for the first fragment: do not try to reasseble the packet from the fragments queue with the only fragment, finish with the first fragment as soon as we create a queue. Spotted by: Vijay Singh o Drop the fragment if maxfragsperpacket == 0, no chances we will be able to reassemble the packet in future. Reviewed by: silby END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-04-08T10:32:22.000000Z K 7 svn:log V 25 Grammatical improvement. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-04-08T10:38:12.000000Z K 7 svn:log V 53 Expand contractions. Approved by: brueffer (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-04-08T11:19:50.000000Z K 7 svn:log V 92 Revert parts of previous commits and use a temporary variable to avoid an invalid type pun. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T11:55:56.000000Z K 7 svn:log V 446 MFC: part of revision 1.8: - Xref flowctl.8 revision 1.6, 1.5, 1.4: - Added the SYNOPSIS section. - Sort sections. - Markup style. revision 1.3: 1. To give the user a clue about the expiration timeout values, mention the default timeouts of 1800 (activity) and 15 (inactivity) seconds. 2. Fix the "ifinfo" ASCII control message description: it requires the interface number as an argument. Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-08T11:59:20.000000Z K 7 svn:log V 142 o Merge SA-04:17.procfs, SA-05:01.telnet and SA-05:02.sendfile. Approved by: so (nectar, cperciva) Thanks for testing to: Valentin Nechayev END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T12:01:51.000000Z K 7 svn:log V 449 MFC: part of revision 1.8: - Xref flowctl.8 revision 1.6, 1.5, 1.4: - Added the SYNOPSIS section. - Sort sections. - Markup style. revision 1.3: 1. To give the user a clue about the expiration timeout values, mention the default timeouts of 1800 (activity) and 15 (inactivity) seconds. 2. Fix the "ifinfo" ASCII control message description: it requires the interface number as an argument. Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-08T12:05:37.000000Z K 7 svn:log V 103 - Fix kern/78664, restore the old ioctl length verification code for 5.x. Contributed by: Dan Nelson END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-08T12:16:51.000000Z K 7 svn:log V 52 Put the BUS_DMASYNC_PREWRITE in the rigth position. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T12:31:14.000000Z K 7 svn:log V 122 MFC 1.5, 1.6: - Be more informative about advbase and advskew. - Fix ifconfig commands. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T12:32:52.000000Z K 7 svn:log V 125 MFC 1.5, 1.6: - Be more informative about advbase and advskew. - Fix ifconfig commands. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T12:36:23.000000Z K 7 svn:log V 694 MFC 1.18: When a packet has been reinjected into ipfw(4) after dummynet(4) processing we have a non-NULL args.rule. If the same packet later is subject to "tee" rule, its original is sent again into ipfw_chk() and it reenters at the same rule. This leads to infinite loop and frozen router. Assign args.rule to NULL, any time we are going to send packet back to ipfw_chk() after a tee rule. This is a temporary workaround, which we will leave for RELENG_5. In HEAD we are going to make divert(4) save next rule the same way as dummynet(4) does. PR: kern/79546 Submitted by: Oleg Bulyzhin Reviewed by: maxim, andre Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T12:37:59.000000Z K 7 svn:log V 697 MFC 1.18: When a packet has been reinjected into ipfw(4) after dummynet(4) processing we have a non-NULL args.rule. If the same packet later is subject to "tee" rule, its original is sent again into ipfw_chk() and it reenters at the same rule. This leads to infinite loop and frozen router. Assign args.rule to NULL, any time we are going to send packet back to ipfw_chk() after a tee rule. This is a temporary workaround, which we will leave for RELENG_5. In HEAD we are going to make divert(4) save next rule the same way as dummynet(4) does. PR: kern/79546 Submitted by: Oleg Bulyzhin Reviewed by: maxim, andre Approved by: re (kensmith) END K 10 svn:author V 2 le K 8 svn:date V 27 2005-04-08T12:48:05.000000Z K 7 svn:log V 132 Add support for Sitecom USB to serial cable (v2) PR: usb/79230 Submitted by: Rick van der Zwet END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-08T14:14:09.000000Z K 7 svn:log V 117 Add additional newline to debug.mutex.prof.stats header, so that column names are printed exactly above the columns. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-08T14:26:55.000000Z K 7 svn:log V 65 Change an instance of md_savecrit to md_saved_msr that I missed. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-08T15:33:04.000000Z K 7 svn:log V 185 Add support for the PHY on nVidia, SiS and VIA chips This code is done blindfolded as I dont have such HW here, so reports of success/failure are most welcome. More SATA PHY cleanups. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-08T18:04:39.000000Z K 7 svn:log V 17 Add nForce3-250. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-08T18:12:07.000000Z K 7 svn:log V 31 Document FTDI FT2232C support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-08T19:41:40.000000Z K 7 svn:log V 156 MFC some 64-bit fixes: - Fix some sign extension problems with implicit 32 to 64 bit conversions. - Fix the mmap2() wrapper to not truncate high addresses. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-08T20:24:07.000000Z K 7 svn:log V 50 'apic' isn't optional, so dont speak as if it is. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-08T20:24:45.000000Z K 7 svn:log V 60 'apic' isn't optional on amd64, so don't speak as if it is. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-08T20:58:47.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-08T21:15:38.000000Z K 7 svn:log V 44 Use prototypes in the function definitions. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-08T21:24:23.000000Z K 7 svn:log V 41 Remove unused variables and assignments. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-08T21:31:20.000000Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-08T21:37:41.000000Z K 7 svn:log V 44 ISO C does not allow unnamed union members. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-04-08T21:42:13.000000Z K 7 svn:log V 224 MFC 1.241-1.242: - Return POLLHUP rather than POLLIN/POLLOUT on TS_ZOMBIE ttys - Remove unneeded POLLWRNORM (old bug) - TS_ZOMBIE ttys will set POLLIN and POLLRDNORM - Do not call selrecord in TS_ZOMBIE ttys PR: kern/73821 END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-04-08T21:43:25.000000Z K 7 svn:log V 225 MFC 1.241-1.242: - Return POLLHUP rather than POLLIN/POLLOUT on TS_ZOMBIE ttys - Remove unneeded POLLWRNORM (old bug) - TS_ZOMBIE ttys will set POLLIN and POLLRDNORM - Do not call selrecord in TS_ZOMBIE ttys PR: kern/73821 END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-08T21:43:50.000000Z K 7 svn:log V 72 MFC 1.244: Set default freq to high on boot Approved by: re (kensmith) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-08T22:51:50.000000Z K 7 svn:log V 68 Explicity make atapi-cam depend on CAM. Submitted by: Michal Mertl END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-08T23:02:23.000000Z K 7 svn:log V 365 Renumber the footnotes on the 4.x -> 5 section. Add information from rwatson for the problems he's encountered, along with expanded advise for ports, packages and updating systems that once ran 2.x and/or 3.x. Not kerberos issues, even though I have no work around. This should bring the issues wrt 4.x->5 more up to date. Let me know if there are other issues. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-08T23:30:08.000000Z K 7 svn:log V 106 More information about port upgrading from kris@. Cross reference /usr/ports/UPDATING at his suggestion. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-09T03:09:06.000000Z K 7 svn:log V 68 MFen to 1.10 Obtained from: The FreeBSD Simplified Chinese Project END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-09T03:14:18.000000Z K 7 svn:log V 94 MFen to 1.10 Obtained from: The FreeBSD Simplified Chinese Project Approved by: re (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-09T06:22:32.000000Z K 7 svn:log V 72 MFen to 1.17 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-09T06:24:30.000000Z K 7 svn:log V 98 MFen to 1.17 Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2005-04-09T06:47:24.000000Z K 7 svn:log V 38 Add missing sources. Approved by: re END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-09T08:44:57.000000Z K 7 svn:log V 111 o Document net.inet.ip.maxfragpackets and maxfragsperpacket sysctls. Reviewed by: ru, silby MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-04-09T08:47:38.000000Z K 7 svn:log V 58 Fix small spelling error. Approved by: brueffer (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-09T11:31:31.000000Z K 7 svn:log V 49 Add a missing terminator. Confirmed by: rwatson END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-09T11:53:16.000000Z K 7 svn:log V 887 - If we vrele() a dvp while the child is locked we can potentially deadlock when vrele() acquires the directory lock in the wrong order. Fix this via the following changes: - Keep the directory locked after VOP_LOOKUP() until we've determined what we're going to do with the child. This allows us to remove the complicated post LOOKUP code which determins whether we should lock or unlock the parent. This means we may have to vput() in the appropriate cases later, rather than doing an unsafe vrele. - in NDFREE() keep two flags to indicate whether we need to unlock vp or dvp. This allows us to vput rather than vrele in the appropriate cases without rechecking the flags. Move the code to handle dvp after we handle vp. - Remove some dead code from namei() that was the result of changes to VFS_LOCK_GIANT(). Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-09T12:04:36.000000Z K 7 svn:log V 92 - Remove the namei NOOBJ flag. It is meaningless now. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-09T13:26:35.000000Z K 7 svn:log V 82 MF5: 1.438.2.21: Fix two buglets in build32 on amd64. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-09T13:32:01.000000Z K 7 svn:log V 217 CDEV lock should be before 'system map' lock. Hardcode this order to help track down reported LOR. LOR reported by: Thierry Herbelot LOR info: http://sources.zabbadoz.net/freebsd/lor.html#080 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-09T14:07:13.000000Z K 7 svn:log V 29 Fix 'implicit int' instance. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2005-04-09T14:09:54.000000Z K 7 svn:log V 50 Document the debug.witness.watch sysctl/tuneable. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-09T14:20:18.000000Z K 7 svn:log V 96 unbreak build without YP defined. Submitted by: Andrea Campi END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-09T14:31:41.000000Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-09T14:59:10.000000Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-09T15:00:51.000000Z K 7 svn:log V 62 Remove an unused variable and a useless getuid() declaration. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-09T17:00:17.000000Z K 7 svn:log V 368 Disable the NO_MIXED_MODE option by default but leave it as a commented entry to make it easy to find. It causes some popular motherboards to fail and the magic required to make them work isn't widely known. Requested by: des and others whose email address I've lost Discussed with: peter, obrien, re@ Tested by: various folks on amd64@, des, kensmith MTR5_4: Soon END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-09T17:28:37.000000Z K 7 svn:log V 501 MFR5: revision 1.421.2.12 > date: 2005/04/09 17:00:17; author: kensmith; state: Exp; lines: +4 -1 > Disable the NO_MIXED_MODE option by default but leave it as a commented > entry to make it easy to find. It causes some popular motherboards to > fail and the magic required to make them work isn't widely known. > > Requested by: des and others whose email address I've lost > Discussed with: peter, obrien, re@ > Tested by: various folks on amd64@, des, kensmith Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-09T18:15:17.000000Z K 7 svn:log V 81 Fix another instance of TDP_OWEPREEMPT -> td_owepreempt. Reported by: tinderbox END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-09T18:38:54.000000Z K 7 svn:log V 89 Create links to crypto.9 for every crypto(9) function. OK'ed by: sam MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-09T20:47:08.000000Z K 7 svn:log V 160 Add a machine-specific, optimized implementation of strcmp. PR: 73111 Submitted by: Ville-Pertti Keinonen (taken from NetBSD) MFC after: 3 weeks END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-10T00:53:36.000000Z K 7 svn:log V 409 MFR5: revision 1.132.2.4 > date: 2005/04/08 12:05:37; author: jeff; state: Exp; lines: +1 -3 > - Fix kern/78664, restore the old ioctl length verification code for 5.x. > > Contributed by: Dan Nelson Actual work by: jeff Approved by: re (kensmith, scottl) - I approved commit but couldn't find Jeff in time for him to do this before RC2, scottl said we should go ahead with it so RC2 can be started. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-10T01:04:18.000000Z K 7 svn:log V 45 Ready for RC2... Approved by: re (implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-10T02:06:49.000000Z K 7 svn:log V 141 Centralize usage in usage(), and use in preference to fprintf(). List possible tests in usage(). When running a test, print the test name. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-10T02:31:24.000000Z K 7 svn:log V 547 Suspend all other threads in the process while generating a core dump. The main reason for doing this is that the ELF dump handler expects the thread list to be fixed while the dump header is generated, so an upcall that occurs at the wrong time can lead to buffer overruns and other Bad Things. Another solution would be to grab sched_lock in the ELF dump handler, but we might as well single-thread, since the process is about to die. Furthermore, I think this should ensure that the register sets in the core file are sequentially consistent. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-10T03:17:42.000000Z K 7 svn:log V 164 Initialize vp before using it. Failing to do this can cause instant panic when trying to access a file on mounted smbfs. Submitted by: takawata at jp freebsd org END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-10T03:36:13.000000Z K 7 svn:log V 20 Oops, correct typo. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-10T05:11:06.000000Z K 7 svn:log V 160 Add a machine-specific, optimized implementation of strcpy. PR: 73111 Submitted by: Ville-Pertti Keinonen (taken from NetBSD) MFC after: 3 weeks END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-10T05:19:22.000000Z K 7 svn:log V 84 Remove some unused sack fields. Submitted by : Noritoshi Demizu, Mohan Srinivasan. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-10T05:20:10.000000Z K 7 svn:log V 283 When the rightmost SACK block expands, rcv_lastsack should be updated. (Fix for kern/78226). Submitted by : Noritoshi Demizu Reviewed by : Mohan Srinivasan (mohans at yahoo-inc dot com), Raja Mukerji (raja at moselle dot com). END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-10T05:21:29.000000Z K 7 svn:log V 439 - If the reassembly queue limit was reached or if we couldn't allocate a reassembly queue state structure, don't update (receiver) sack report. - Similarly, if tcp_drain() is called, freeing up all items on the reassembly queue, clean the sack report. Found, Submitted by: Noritoshi Demizu Reviewed by: Mohan Srinivasan (mohans at yahoo-inc dot com), Raja Mukerji (raja at moselle dot com). END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-04-10T05:24:59.000000Z K 7 svn:log V 378 - Tighten up the Timestamp checks to prevent a spoofed segment from setting ts_recent to an arbitrary value, stopping further communication between the two hosts. - If the Echoed Timestamp is greater than the current time, fall back to the non RFC 1323 RTT calculation. Submitted by: Raja Mukerji (raja at moselle dot com) Reviewed by: Noritoshi Demizu, Mohan Srinivasan END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-10T05:45:06.000000Z K 7 svn:log V 108 MF RELENG_5: improve ability to read FreeBSD 2.x and newer tapes. Fix FreeBSD 1.x tapes. Approved by: re@ END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-04-10T07:58:05.000000Z K 7 svn:log V 32 MFC the new pipe sub-namespace. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-10T10:20:25.000000Z K 7 svn:log V 128 Refine the SATA PHY code so the time consumed during probe is reduced. Add the older nVidia nForce2 SATA chip to supported HW. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-04-10T10:53:26.000000Z K 7 svn:log V 36 s/self-distruction/self-destruction END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-10T12:15:25.000000Z K 7 svn:log V 99 Remove duplicated "bytes". Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-10T14:26:58.000000Z K 7 svn:log V 62 o Add DragonFly 1.2.0. o s/DFD/DFB/g as DragonFly people did. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-10T14:45:27.000000Z K 7 svn:log V 896 Fix the output ports on the AD1988 codec. From the submitter: Affects to people WITH an AD1888 codec, the system will output to the port labeled "speaker" instead of microphone. System will work the same in multiple operating systems. If people are currently using their systems with this codec they will need to swap their output ports. I have _not_ checked audio input or line input (basically, I have checked nothing other than line-out). I believe this is an appropriate change, it makes us consistent with documentation, and other operating systems. Furthermore, this feature (playing) is the vast majority of sound activities, so if this makes is right for playback and wrong for recording... playback is more important, and we can fix recoding in the future without worries of screwing people again in the future (since we'll be "right" on the playback). Submitted by: David Cross END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-10T18:05:02.000000Z K 7 svn:log V 54 Compare (mbuf *) with NULL, not 0. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-10T18:05:46.000000Z K 7 svn:log V 105 Update copyright: parts of the netipx implementation are covered by a 2005 copyright. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-10T18:12:07.000000Z K 7 svn:log V 244 Eliminate a conditional branch and as a side-effect eliminate a branch to a return instruction. (The latter is discouraged by the Opteron optimization manual because it disables branch prediction for the return instruction.) Reviewed by: bde END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-10T18:12:08.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-10T18:12:09.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_4'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-10T18:13:57.000000Z K 7 svn:log V 329 Merge sched_4bsd.4:1.1-1.2 and sched_ule.4:1.1 from HEAD to RELENG_5: Add rudimentary man pages for kernel options sched_4bsd and sched_ule, which document some of the sysctls available for configuring 4bsd, some of the bullet features of ule, and that ule is considered experimental still. Fix small spelling error. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-10T18:58:49.000000Z K 7 svn:log V 160 Add a machine-specific, optimized implementation of strcat. PR: 73111 Submitted by: Ville-Pertti Keinonen (taken from NetBSD) MFC after: 3 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:02:29.000000Z K 7 svn:log V 213 Add support for recording the total energy used (in joules) when in verbose mode. This is useful for profiling new adaptive algorithms in performance (via time(1)) and total energy consumed for a given workload. END K 10 svn:author V 5 remko K 8 svn:date V 27 2005-04-10T19:03:48.000000Z K 7 svn:log V 76 Add myself to the calendar. MFC after: 1 week Approved by: simon (mentor) END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:07:08.000000Z K 7 svn:log V 212 Fix support for _PDC by using the proper version/length format for the buffer. Also, reference the Intel document where the _PDC values were found. This now supports ACPI-assisted SpeedStep on my borrowed T42. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:11:23.000000Z K 7 svn:log V 161 Add debugging prints to all the methods in case there are problems with managing levels. This can be enabled with the debug.cpufreq.verbose tunable and sysctl. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:16:27.000000Z K 7 svn:log V 54 Advertise p4tcc via acpi_get_features() _PDC support. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:21:42.000000Z K 7 svn:log V 140 Advertise that we can handle unified SMP control of processor power states, idling, etc. This has been supported since the cpufreq import. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:27:03.000000Z K 7 svn:log V 71 Update for verbose debugging support and add Bruno Ducrot author note. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-04-10T19:56:44.000000Z K 7 svn:log V 208 Sync with -current. Includes man page updates and syslogd.c changes: 1.141 Check facility is not too big. 1.140 Allow : and % in hostnames for IPv6. 1.139 Deal with using whitespace as a hostname delimiter. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T19:57:47.000000Z K 7 svn:log V 202 Properly terminate the table generated from ACPI info. The cpufreq settings are length-counted while the EST table is null-terminated. This fixes extra garbage states being reported with ACPI probing. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T20:04:30.000000Z K 7 svn:log V 324 Set CPU speed to 100% in acpi_throttle attach. This is needed for some systems that boot with this value at the lowest setting. Change the default boot config back to "leave frequency as BIOS set it". Also, fix buglet where acpi_throttle wouldn't be used if p4tcc was present but disabled by the user. MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-10T20:42:55.000000Z K 7 svn:log V 201 Drop the default running value to 60% from 80%. Testing shows that we cycle too much, wasting power if we trigger a jump to full speed too easily. CPU-bound tasks quickly push idle below this level. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-10T20:49:21.000000Z K 7 svn:log V 178 Align the entry point to assembly language functions to a 16-byte boundary. (The Opteron's instruction fetcher reads instructions from the L1 cache in 16-byte, aligned packets.) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-10T21:39:25.000000Z K 7 svn:log V 55 Fix FreeBSD native SPAN arrays. Prodded by: Ian Dowse END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-10T21:43:29.000000Z K 7 svn:log V 144 Use the ata_suspend/resume functions instaead of the bus_generic ones. This should unbreak suspend/resume. Contributed by: Wiktor Niesiobedzki END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-10T23:49:04.000000Z K 7 svn:log V 57 Go ahead and try to allocate PCI_BAR(5) for ata devices. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-11T02:02:35.000000Z K 7 svn:log V 2013 Create new i386 windows/bsd thunking layer, similar to the amd64 thunking layer, but with a twist. The twist has to do with the fact that Microsoft supports structured exception handling in kernel mode. On the i386 arch, exception handling is implemented by hanging an exception registration list off the Thread Environment Block (TEB), and the TEB is accessed via the %fs register. The problem is, we use %fs as a pointer to the pcpu stucture, which means any driver that tries to write through %fs:0 will overwrite the curthread pointer and make a serious mess of things. To get around this, Project Evil now creates a special entry in the GDT on each processor. When we call into Windows code, a context switch routine will fix up %fs so it points to our new descriptor, which in turn points to a fake TEB. When the Windows code returns, or calls out to an external routine, we swap %fs back again. Currently, Project Evil makes use of GDT slot 7, which is all 0s by default. I fully expect someone to jump up and say I can't do that, but I couldn't find any code that makes use of this entry anywhere. Sadly, this was the only method I could come up with that worked on both UP and SMP. (Modifying the LDT works on UP, but becomes incredibly complicated on SMP.) If necessary, the context switching stuff can be yanked out while preserving the convention calling wrappers. (Fortunately, it looks like Microsoft uses some special epilog/prolog code on amd64 to implement exception handling, so the same nastiness won't be necessary on that arch.) The advantages are: - Any driver that uses %fs as though it were a TEB pointer won't clobber pcpu. - All the __stdcall/__fastcall/__regparm stuff that's specific to gcc goes away. Also, while I'm here, switch NdisGetSystemUpTime() back to using nanouptime() again. It turns out nanouptime() is way more accurate than just using ticks(). On slower machines, the Atheros drivers I tested seem to take a long time to associate due to the loss in accuracy. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-04-11T02:07:33.000000Z K 7 svn:log V 549 The script mistakenly ignores the entropy_save_sz variable from rc.conf[.local]. Fix this, and leave the default as 2048. Update the copyright year to include the present. Update the assignment of the copyright to be me personally, instead of "The FreeBSD Project" which is not a legal entity, and therefore not a proper assignee. My intention remains the same however, that this code continue to be BSD licensed, and freely available to anyone that wants it under those terms. PR: conf/75722 Submitted by: Nicolas Rachinsky END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-11T02:08:05.000000Z K 7 svn:log V 173 It isn't a whinable offence to want memory when the bar says ioport. Put that behind bootverbose to make the ata driver less chatty on advanced hardware. Requested by: sos END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-04-11T02:45:05.000000Z K 7 svn:log V 455 The alternative suggested for /entropy as a shutdown save file was /var/db/entropy, which also happens to be the directory where the individual entropy files created by /usr/libexec/save-entropy are stored. Change the suggestion to be /var/db/entropy-file instead. In an error condition where the shutdown file is not created, the error message accessed a variable that doesn't exist. PR: conf/75722 Submitted by: Nicolas Rachinsky END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-11T03:47:42.000000Z K 7 svn:log V 219 Increase PTHREAD_STACK_MIN to MINSIGSTKSZ because thread libraries now use makecontext which enforces a minimum stack size to be MINSIGSTKSZ. Bug report: Bill Middleton , BSD-sharp project. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-11T07:13:29.000000Z K 7 svn:log V 68 Make sure the only thing that follows .endif or .else is a comment. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-11T07:20:10.000000Z K 7 svn:log V 639 Rework the directive parsing code. Instead of using a lot of strcmp()s on every line that starts with a dot use a minimal perfect hash function and a single strcmp() on the first word after the dot to find out whether it is really a directive call and, if yes, which one. Then directly dispatch to a handler function for that directive (or fall through to the dependency handling code). This makes the directive parse a little bit more strict about the syntax: the directive word must be followed by a character that is not alphanumerical and not an underline (making .undefFOO illegal); .endif and .else can only be followed by comments. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-11T07:26:21.000000Z K 7 svn:log V 142 Remove the call to Parse_Init() - there is no need to initialize a static variable to NULL. Forgot this in the previous commit to parse.[ch]. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-11T07:32:49.000000Z K 7 svn:log V 277 Remove an unneccesary forward declaration for MainParseArgs(). getopt() may be called several times - make sure to set optreset to reset it. Cleanup handling of non-option arguments. Remove some misleading comments. Patch: 7.171 Submitted by: Max Okumoto END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-11T07:40:54.000000Z K 7 svn:log V 57 Parse_Init() is gone so remove comments that mention it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T09:19:08.000000Z K 7 svn:log V 77 - vput(tvp) before vrele(tdvp) in kern_rename() to avoid lock order issues. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T09:23:56.000000Z K 7 svn:log V 578 - Assert that we're no longer doing recursive vn_locks in inactive/reclaim as I'd like to get rid of the vxthread. - Handle lock requests which don't actually want a lock as this is a much more convenient place to handle this condition than in vget(). These requests simply want to know that VI_DOOMED isn't set. - Correct a test at the end of vn_lock, if error !=0 should be if error == 0, this has been broken since I comitted the VI_DOOMED changes, but no one ran into it because vget() duplicated this functionality. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T09:28:32.000000Z K 7 svn:log V 550 - Change the VOP_LOCK UPGRADE in vput() to do a LK_NOWAIT to avoid a potential lock order reversal. Also, don't unlock the vnode if this fails, lockmgr has already unlocked it for us. - Restructure vget() now that vn_lock() does all of VI_DOOMED checking for us and also handles the case where there is no real lock type. - If VI_OWEINACT is set, we need to upgrade the lock request to EXCLUSIVE so that we can call inactive. It's not legal to vget a vnode that hasn't had INACTIVE called yet. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-11T10:16:17.000000Z K 7 svn:log V 13 Remove goto. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-11T10:57:54.000000Z K 7 svn:log V 193 Replace buggy for-loops to skip certain character with strspn(). If *fmt was '\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating null character. MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T11:16:29.000000Z K 7 svn:log V 134 - Honor the flags argument passed to null_root(). The filesystem below us will decide whether or not to grab a real shared lock. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T11:17:20.000000Z K 7 svn:log V 162 - Clear VI_OWEINACT before calling vget() with no lock type. We know the node is actually already locked, and VOP_INACTIVE is not desirable in this case. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-04-11T12:40:06.000000Z K 7 svn:log V 108 MFC: It's useful to have this tool for dumping $PIR table on i386 machines. Reviewed by: bms, sam (mentor) END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-04-11T12:54:03.000000Z K 7 svn:log V 156 Use comments after .endif to please make(1) with latest changes so that it's possible to build a kernel without getting flooded with thousands of warnings. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T15:15:03.000000Z K 7 svn:log V 142 - Add the character "E" to the understood lock types. This means the VOP requires an exclusive lock. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T15:17:06.000000Z K 7 svn:log V 124 - Enable ASSERT_VOP_ELOCKED and assert_vop_elocked() now that vnode_if.awk uses it. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-11T15:19:29.000000Z K 7 svn:log V 365 - Mark the VOPs that require exclusive locks. Those that aren't marked with E may be called with a shared lock held. This list really could be made per filesystem if we had any filesystems which differed from ffs in locking guarantees. VFS itself is not sensitive to this except where vgone() etc. are concerned. Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-11T16:23:13.000000Z K 7 svn:log V 52 Add winx32_wrap.S to files.i386 for the NDISulator. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-04-11T16:53:40.000000Z K 7 svn:log V 54 Avoid using the word "interface" twice in a sentence. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-04-11T16:56:52.000000Z K 7 svn:log V 75 Remove wrong -unfilled .Bd argument implied by -literal. MFC after: 1 day END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-04-11T17:04:49.000000Z K 7 svn:log V 152 In winx32_wrap.S, preserve return values in the fastcall and regparm wrappers by pushing them onto the stack rather than keeping them in %esi and %edi. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-11T20:28:15.000000Z K 7 svn:log V 62 Fix the bug that caused SATA disks on VIA etc to fail attach. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-11T20:50:14.000000Z K 7 svn:log V 88 Fix the same silly alloc mistake for nVidia and SiS as with VIA in the previous commit. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-12T00:05:10.000000Z K 7 svn:log V 238 MFC: Since net/net_osdep.c contained only one function that could be trivially implemented as a macro, do that and remove it. NetBSD did this quite a while ago. PR: kern/33201 Prodded by: Matteo Riondato END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-04-12T00:26:40.000000Z K 7 svn:log V 362 Fix the handling of the UCS_RXSTOP flag so that it always tracks whether or not the receive pipe is stopped. This ensures that we do not attempt to start the same transfer twice, and it allows ucomstop() to skip the restarting of the read pipe if it was not originally running, such as when called indirectly from ucomreadcb(). PR: kern/79420 MFC after: 1 day END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-12T00:44:46.000000Z K 7 svn:log V 91 - Add the mising ASSERT_VOP_ELOCKED code in the !DEBUG_VFS_LOCKS case. Pointy hat to: me END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-12T00:48:59.000000Z K 7 svn:log V 187 Back out previous commit (MFC of removal of if_name() function) because it breaks the ABI for at least two kernel modules. The PR is still fixed because the real problem is only in 4.x. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T01:05:50.000000Z K 7 svn:log V 164 Explicitly install linux_base 8 to make sure the right version is installed. PR: bin/74593 Submitted by: Matteo Riondato rionda at gufi dot org MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T03:00:28.000000Z K 7 svn:log V 95 Add debugger event reporting support, current only TD_CREATE and TD_DEATH events are reported. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T03:03:16.000000Z K 7 svn:log V 35 Sync with debugger code in libthr. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T03:04:04.000000Z K 7 svn:log V 35 Report events from thread library. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T03:08:11.000000Z K 7 svn:log V 34 Add missing event reporting code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T03:13:49.000000Z K 7 svn:log V 43 Conditionally report initial thread event. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T04:22:17.000000Z K 7 svn:log V 160 Return the resource created/found in resource_list_add to avoid an extra resouce_list_find in some places. Suggested by: sam Found by: Coventry Analysis tool. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T04:30:35.000000Z K 7 svn:log V 417 Use return value of resource_list_add to avoid a second resource_list_find. Check to make sure that rle is not NULL and panic if it is (but it appears that resource_list_add already panics, so I'm not entirely sure it is necessary now). Add a test to make sure we have a interrupt resource when we're disabling it. This is also a cannot happen, but the extra care shoudln't hurt. Found by: Coventry tool via sam@ END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-12T05:43:03.000000Z K 7 svn:log V 88 - Differentiate two UPGRADE panics so I have a better idea of what's going on here. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-12T05:45:58.000000Z K 7 svn:log V 26 - Remove unused include. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T06:00:06.000000Z K 7 svn:log V 287 Cleanup of resource allocation code after having my attention focused on this code: o rid is stored in the resource, so don't bother keeping track of it here. o Implement memory space o Don't try to activate 'memory card' CFEs. This is type memory, as opposed to the memory resource. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-12T06:08:15.000000Z K 7 svn:log V 66 The next release candidate is -RC3. Approved by: re (implicitly) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T06:21:59.000000Z K 7 svn:log V 72 rman_set_device() seems to have been omitted by mistake. Implement it. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-04-12T06:25:01.000000Z K 7 svn:log V 62 MFC: Remove wrong -unfilled .Bd argument implied by -literal. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-12T08:14:15.000000Z K 7 svn:log V 345 Protect against recursive labels creation in simlar way as it is done in BSD and MBR classes, ie. if provider below us uses the same metadata, don't create labels based on the metadata. This allows to create labels on geoms with rank != 1 without hacks. Tested by: Chris Elsworth on sparc64 OK'ed by: phk MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-12T08:47:04.000000Z K 7 svn:log V 46 Silence a warning on systems without carp(4). END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-12T12:25:27.000000Z K 7 svn:log V 63 Add support for VIA Tech metadata as used on thier SATA parts. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2005-04-12T12:46:08.000000Z K 7 svn:log V 238 Sync with -current. Includes man page updates and syslogd.c changes: 1.141 Check facility is not too big. 1.140 Allow : and % in hostnames for IPv6. 1.139 Deal with using whitespace as a hostname delimiter. Approved by: re@ (ken) END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2005-04-12T13:03:42.000000Z K 7 svn:log V 122 Regen: * Hart: rev 517 of pcidevs.txt (2005-03-21) * Boemler: vendors.txt (2005-04-04) Approved by: re (kensmith) END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2005-04-12T13:05:41.000000Z K 7 svn:log V 48 MFC rev 1.33: regen Approved by: re (kensmith) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-12T13:29:47.000000Z K 7 svn:log V 53 Better use the right name for the VIA software RAID. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-12T13:31:31.000000Z K 7 svn:log V 132 Fix a long-standing bug. Error string has to be copyied from the user process context. Approved by: phk Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T13:33:20.000000Z K 7 svn:log V 78 Autogenerate hardware notes for snd_als4000.4, snd_fm801.4 and snd_via8233.4. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-12T13:34:34.000000Z K 7 svn:log V 163 MFC: sys/geom/geom_ctl.c 1.35 Fix a long-standing bug. Error string has to be copyied from the user process context. Approved by: phk Approved by: re (kensmith) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-04-12T13:52:55.000000Z K 7 svn:log V 67 Adding a brief description for pirtool. Reviewed by: sam (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T13:59:10.000000Z K 7 svn:log V 106 MFC: rev. 1.57 by simon - Fix device names for snd_vibes(4) and snd_via82c686(4). - Bump copyright year. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T14:13:18.000000Z K 7 svn:log V 111 MFC: rev. 1.249 by simon Auto generate device listings for the following drivers: snd_csa(4) and snd_gusc(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T14:37:36.000000Z K 7 svn:log V 169 Quote sound device names which contain numbers. Note that this change does not apply to -CURRENT, because config(8) there has been modified not to require the quoting. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T14:41:30.000000Z K 7 svn:log V 129 MFC: rev. 1.57 by simon - Fix device names for snd_vibes(4) and snd_via82c686(4). - Bump copyright year. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-04-12T14:42:44.000000Z K 7 svn:log V 134 MFC: rev. 1.249 by simon Auto generate device listings for the following drivers: snd_csa(4) and snd_gusc(4). Approved by: re (hrs) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2005-04-12T15:02:57.000000Z K 7 svn:log V 434 (handler): When exitting upon an abnormal signal, yppush_exit() should not attempt to clear its pending jobs list, as this could trigger another signal, and cause an infinite recursion. What yppush_exit() tests in order to determine whether to flush pending jobs is the yppush_joblist chained list, so this is what needs to be cleared in that case (not the yppush_jobs counter). Reviewed by: audit@ (no objection) MFC after: 2 weeks END K 10 svn:author V 6 thomas K 8 svn:date V 27 2005-04-12T15:16:32.000000Z K 7 svn:log V 157 Fix minor discrepancy between documentation and implementation: the destination port is incremented for each packet sent to the same hop. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T15:20:36.000000Z K 7 svn:log V 129 resource_list_purge: release the resources in this list, and purge the elements of this list (eg, reset it). Man page to follow END K 10 svn:author V 6 thomas K 8 svn:date V 27 2005-04-12T15:21:51.000000Z K 7 svn:log V 108 Document that dumpdev may be set to AUTO to dump to the first appropriate swap device listed in /etc/fstab. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-12T15:24:00.000000Z K 7 svn:log V 31 On amd64 int64_t != long long. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T15:25:31.000000Z K 7 svn:log V 373 Big cleanup of resource code for pccard. Once coventry noticed problems here, it became clear we were being too complex. o Don't keep track of resources in two places o Use resource_list_purge instead of rolling our own o Just reassign the ownership of the resource, rather than freeing it and reallocating it. o Fix compile problems when sizeof(u_long) != sizeof(int) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-04-12T15:59:54.000000Z K 7 svn:log V 104 Unbreak the powerpc build by fixing some ATA constants that were renamed. Approved by: grehan (mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-04-12T16:52:04.000000Z K 7 svn:log V 147 MFC to RELENG_5 ng_bt3c_pccard.c v1.11 Correct typo that could cause FIFO overflow. PR: kern/78431 MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-04-12T16:56:09.000000Z K 7 svn:log V 313 MFC to RELENG_5 ng_btsocket.c v1.11 Remove PR_ATOMIC flag in ng_btsocket_protosw[] for BLUETOOTH_PROTO_RFCOMM protocol. RFCOMM is a SOCK_STREAM protocol not SOCK_SEQPACKET. This was a serious bug caused by cut-and-paste. I'm surprised it did not bite me before. Dunce hat goes to me. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T16:56:38.000000Z K 7 svn:log V 87 MF5: Fix some 64-bit issues including problems with mmap2. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-04-12T17:55:13.000000Z K 7 svn:log V 654 Revise crypto api lightly to improve group key handling: o don't pre-assign key index to the global key table entries so device has a chance to decide what to use o make ieee80211_crypto_newkey take the desired flags as an argument instead of wacking the key structure directly; this eliminates a bunch of code warts o add a new flag IEEE80211_KEY_GROUP to indicate a key is a WPA Group key so devices don't need to guess (temporarily add this flag in the ioctl code until we can get wpa_supplicant+hostapd updated) o shuffle IEEE80211_KEY_* bits to move flags used internally to the high nibble of the flags word Reviewed by: Tai-hwa Liang END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-04-12T17:56:43.000000Z K 7 svn:log V 67 honor new IEEE80211_KEY_GROUP key flag Reviewed by: Tai-hwa Liang END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-12T18:50:57.000000Z K 7 svn:log V 773 Dot the i's: 1 Move the debug.clock_adjust_* sysctls to debug.clock.adjust_* to make it easier to get only the clock statistics. 2 Make the sysctls read-only [suggested by Marius]. 3 When determining the new clock adjustment, we checked for an error either larger than 12.5% or smaller than 12.5%. We left out an error of exactly 12.5%. For errors larger than 12.5% we adjust the clock reload value in such a way that the next clock interrupt would be early (as in premature). For errors less than 12.5% we stopped the adjustment. The current algorithm doesn't benefit from excluding an error of exactly 12.5%. Change the code to stop adjusting the clock if the error is *not* larger than 12.5% [suggested by Marius]. Discussed with: marius@ END K 10 svn:author V 8 jylefort K 8 svn:date V 27 2005-04-12T20:06:43.000000Z K 7 svn:log V 66 Add myself as a new ports committer. Approved by: adamw (mentor) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-12T20:14:56.000000Z K 7 svn:log V 107 - Consistently protect against NULL dereference. - Simplify conditional logic to make code easier to read. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-12T20:49:31.000000Z K 7 svn:log V 101 Replace spl protection in rtcin() and writertc() with spinlocks using the existing clock_lock mutex. END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2005-04-12T22:07:11.000000Z K 7 svn:log V 1438 The latest release of the FreeBSD driver (twa) for 3ware's 9xxx series controllers. This corresponds to the 9.2 release (for FreeBSD 5.2.1) on the 3ware website. Highlights of this release are: 1. The driver has been re-architected to use a "Common Layer" (all tw_cl* files), which is a consolidation of all OS-independent parts of the driver. The FreeBSD OS specific portions of the driver go into an "OS Layer" (all tw_osl* files). This re-architecture is to achieve better maintainability, consistency of behavior across OS's, and better portability to new OS's (drivers for new OS's can be written by just adding an OS Layer that's specific to the OS, by complying to a "Common Layer Programming Interface" API. 2. The driver takes advantage of multiple processors. 3. The driver has a new firmware image bundled, the new features of which include Online Capacity Expansion and multi-lun support, among others. More details about 3ware's 9.2 release can be found here: http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf Since the Common Layer is used across OS's, the FreeBSD specific include path for header files (/sys/dev/twa) is not part of the #include pre-processor directive in any of the source files. For being able to integrate twa into the kernel despite this, Makefile. has been changed to add the include path to CFLAGS. Reviewed by: scottl END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-12T22:46:09.000000Z K 7 svn:log V 62 We have an asm version of bcmp(), so we could use it as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T23:12:00.000000Z K 7 svn:log V 66 The memory operands to fldcw and ldmxcsr are inputs, not outputs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T23:12:46.000000Z K 7 svn:log V 46 Use NULL rather than 0 in a couple of places. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T23:15:28.000000Z K 7 svn:log V 86 Tidy vcnt() by moving a duplicated line above #ifdef and removing a useless variable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-12T23:18:54.000000Z K 7 svn:log V 135 Use PCPU_LAZY_INC() for cnt.v_{intr,trap,syscalls} rather than atomic operations in some places and simple non-per CPU math in others. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-12T23:24:40.000000Z K 7 svn:log V 52 Document the SUN_LEN macro. Obtained from: NetBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-12T23:32:26.000000Z K 7 svn:log V 56 don't use C keyword register as CPP macro argument name END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-12T23:33:08.000000Z K 7 svn:log V 32 Fill traceme and events fields. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-04-12T23:45:34.000000Z K 7 svn:log V 354 MFC 1.57: fix the handling of the UCS_RXSTOP flag so that it always tracks whether or not the receive pipe is stopped. This ensures that we do not attempt to start the same transfer twice, and it allows ucomstop() to skip the restarting of the read pipe if it was not originally running, such as when called indirectly from ucomreadcb() PR: kern/79420 END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-12T23:49:57.000000Z K 7 svn:log V 26 Indent structure members. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-12T23:54:34.000000Z K 7 svn:log V 78 Consistently style function declarations in kern_malloc.c. MFC after: 3 days END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T00:01:46.000000Z K 7 svn:log V 267 Implement unix(4) socket options LOCAL_CREDS and LOCAL_CONNWAIT. - Add unp_addsockcred() (for LOCAL_CREDS). - Add an argument to unp_connect2() to differentiate between PRU_CONNECT and PRU_CONNECT2. (for LOCAL_CONNWAIT) Obtained from: NetBSD (with some changes) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T00:30:19.000000Z K 7 svn:log V 205 Provide a sysctl (net.link.tap.user_open) to allow unpriviliged acces to tap(4) device nodes based on file system permission. Duplicate the 'debug.if_tap_debug' sysctl under the 'net.link.tap' hierarchy. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T00:45:49.000000Z K 7 svn:log V 81 Bump __FreeBSD_version for LOCAL_CREDS, LOCAL_CONNWAIT. Requested by: marcus END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T01:32:06.000000Z K 7 svn:log V 55 Invert conditional and use continue to reduce nesting. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T01:44:59.000000Z K 7 svn:log V 42 Save argv[0] and use it in usage message. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-04-13T02:20:17.000000Z K 7 svn:log V 240 Build cpufreq on ia64. The upcoming Montecito processor supports the Enhanced SpeedStep (that is, a follow-up of it called Foxton). Until we actually have support for that, we build to catch regressions in the framework. Triggered by: njl END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-13T03:19:41.000000Z K 7 svn:log V 146 Add -S option which allows to change the pathname of the privileged socket /var/run/logpriv. Reviewed by: glebius and kensmith MFC after: 2 days END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T03:26:24.000000Z K 7 svn:log V 110 Add ISACFGATTR_HINTS flag to allow detection of a device that was created as a result of the hints mechanism. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T03:36:24.000000Z K 7 svn:log V 55 Invert conditional and use continue to reduce nesting. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T04:31:43.000000Z K 7 svn:log V 74 Add support for O_NOFOLLOW and O_DIRECT to Linux fcntl() F_GETFL/F_SETFL. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-13T04:33:06.000000Z K 7 svn:log V 50 Implement SOUND_MIXER_INFO ioctl in compat layer. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-13T04:57:38.000000Z K 7 svn:log V 109 o Code cleanup, eliminate private thread id map, directly use lwpid as thread id. o Export tls pointer. END