ƒ¡i160824 176 396 222 235 173 249 384 915 222 453 419 146 289 465 381 196 250 275 136 158 2151 214 135 177 156 207 223 276 224 128 215 217 174 98 398 217 284 128 132 151 183 156 177 363 257 1016 123 266 239 138 182 166 794 264 213 381 235 140 368 810 2110 558 266 751 156 160 639 157 239 340 178 240 173 352 151 199 262 184 167 249 127 200 147 148 308 144 239 159 155 169 108 307 199 328 283 181 249 200 373 193 205 548 634 258 235 168 121 121 481 187 357 534 276 152 130 1062 258 234 337 248 97 150 152 132 609 267 806 573 630 172 202 1099 306 259 130 138 217 204 233 243 241 337 143 284 408 310 158 189 213 126 206 143 133 217 174 526 186 155 416 342 158 162 149 442 596 716 754 198 180 183 104 183 179 187 123 166 122 K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-29T21:46:16.000000Z K 7 svn:log V 303 Add a new sysctl, hw.acpi.handle_reboot. If set, acpi will attempt to perform the reboot action via the reset register instead of our legacy method. Default is 0 (use legacy). This is needed because some systems hang on reboot even though they claim to support the reset register. MFC after: 2 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-29T21:47:24.000000Z K 7 svn:log V 129 Document many of the sysctls in acpi. Bump the date on acpi_thermal.4 because I forgot to on the last change. MFC after: 1 day END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T22:01:26.000000Z K 7 svn:log V 140 Add some rough notes on how to import a new OpenSSL version into the FreeBSD base system. Parts are inspired by the OpenSSH upgrade notes. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T22:40:45.000000Z K 7 svn:log V 79 Sync FREEBSD-Xlist with what was actually excluded from OpenSSL 0.9.8b import. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-29T23:49:25.000000Z K 7 svn:log V 151 Remove mention of 'tp' format, since that support has been removed. (It was introduced experimentally and I have simply never had time to finish it.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-29T23:51:10.000000Z K 7 svn:log V 286 Don't mention 'pax' in the context of POSIX-1988, since pax wasn't introduced until the 1993 (?) revision. (I need to double-check when pax was introduced and clarify some of the history here. In particular, I should explain that the 'pax' standard now owns the 'ustar' format spec.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-30T00:29:01.000000Z K 7 svn:log V 817 Use 'skip' when ignoring data in tar archives. This dramatically increases performance when extracting a single entry from a large uncompressed archive, especially on slow devices such as USB hard drives. Requires a number of changes: * New archive_read_open2() supports a 'skip' client function * Old archive_read_open() is implemented as a wrapper now, to continue supporting the old API/ABI. * _read_open_fd and _read_open_file sprout new 'skip' functions. * compression layer gets a new 'skip' operation. * compression_none passes skip requests through to client. * compression_{gzip,bzip2,compress} simply ignore skip requests. Thanks to: Benjamin Lutz, who designed and implemented the whole thing. I'm just committing it. ;-) TODO: Need to update the documentation a little bit. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-07-30T06:11:43.000000Z K 7 svn:log V 129 MFC 1.85: do not overload the port number on to the return value of str2number(). this could result in an unexpected code path. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-30T06:30:01.000000Z K 7 svn:log V 355 MFC libarchive 1.2.53 to FreeBSD 6. * Fixes bin/86690 (sparse file extraction) * Fixes bin/87911 (assertion failure after failed open) * Corrects handling of very old files (negative mtime) * Better error checking for memory allocation failures * Style and portability fixes * Documentation corrections * Initial extended attribute support END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-30T06:32:14.000000Z K 7 svn:log V 321 MFC bsdtar 1.2.53 to FreeBSD 6: * Fixes bin/87911 (internal error attempting -u with empty file) * Fixes bin/84993 (warnings with GCC 4.1) * Fixes bin/95175 (core dump on nonexistent symlink) * Documentation fixes * Corrections to pathname matching * Portability fixes * Initial extended attribute support END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-30T07:41:28.000000Z K 7 svn:log V 52 o Kill unneeded assignment. Obtained from: OpenBSD END K 10 svn:author V 5 mckay K 8 svn:date V 27 2006-07-30T12:54:37.000000Z K 7 svn:log V 194 This script should probably have an enabling variable since it can produce surprising results. For now, at least make it safe to boot the default kernel when /boot/kernel is already a symlink. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-30T14:03:03.000000Z K 7 svn:log V 370 Fix a bug in the padlock engine when handling small data blocks. This could cause problem e.g. when using OpenVPN. This is a direct commit to RELENG_6 since the issue was fixed by the OpenSSL 0.9.8b import in -CURRENT. PR: bin/86598 Submitted by: Mike Tancsa Tested by: Mike Tancsa, pjd Obtained from: OpenSSL CVS (eng_padlock.c 1.12 -> 1.13 diff) END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-30T14:17:54.000000Z K 7 svn:log V 286 Resolve conflicts after import of OpenSSL 0.9.8b. This was missed the first time around since eng_padlock.c was not part of OpenSSL 0.9.7e and therefor did not have the v0_9_7e CVS tag used during original resolve of conflicts. Noticed by: Antoine Brodin END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-30T18:33:20.000000Z K 7 svn:log V 99 Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it. Thanks to: VMiklos END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-30T18:34:40.000000Z K 7 svn:log V 152 Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it. While I'm here, correctly alphabetize 't' after 's'. Thanks to: VMiklos END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-30T19:29:26.000000Z K 7 svn:log V 180 Pass BN_CTX to internal functions instead of allocating it internally. This allows msqrt() to only call BN_CTX_new() once intead of many times. Suggested and reviewed by: stefanf END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-30T19:32:52.000000Z K 7 svn:log V 42 MFC 1.7: Add Memory Corp 512MB CF Flash. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-30T20:51:41.000000Z K 7 svn:log V 63 Use NO_SHARED=YES to force a static link. Pointed out by: ru@ END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-07-30T23:25:21.000000Z K 7 svn:log V 2055 Fix the following bugs in re(4) - Correct the PCI ID for the 8169SC/8110SC in the device list (I added the macro for it to if_rlreg.h before, but forgot to use it.) - Remove the extra interrupt spinlock I added previously. After giving it some more thought, it's not really needed. - Work around a hardware bug in some versions of the 8169. When sending very small IP datagrams with checksum offload enabled, a conflict can occur between the TX autopadding feature and the hardware checksumming that can corrupt the outbound packet. This is the reason that checksum offload sometimes breaks NFS: if you're using NFS over UDP, and you're very unlucky, you might find yourself doing a fragmented NFS write where the last fragment is smaller than the minimum ethernet frame size (60 bytes). (It's rare, but if you keep NFS running long enough it'll happen.) If checksum offload is enabled, the chip will have to both autopad the fragment and calculate its checksum header. This confuses some revs of the 8169, causing the packet that appears on the wire to be corrupted. (The IP addresses and the checksum field are mangled.) This will cause the NFS write to fail. Unfortunately, when NFS retries, it sends the same write request over and over again, and it keeps failing, so NFS stays wedged. (A simple way to provoke the failure is to connect the failing system to a network with a known good machine and do "ping -s 1473 " from the good system. The ping will fail.) Someone had previously worked around this using the heavy-handed approahch of just disabling checksum offload. The correct fix is to manually pad short frames where the TCP/IP stack has requested checksum offloading. This allows us to have checksum offload turned on by default but still let NFS work right. - Not a bug, but change the ID strings for devices with hardware rev 0x30000000 and 0x38000000 to both be 8168B/8111B. According to RealTek, they're both the same device, but 0x30000000 is an earlier silicon spin. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-07-30T23:32:20.000000Z K 7 svn:log V 119 MFC: correct PCI ID for 8169SC/8110SC, remove spinlock, work around checksum offload bugs, correct device descriptions END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-31T01:27:16.000000Z K 7 svn:log V 40 Add proc-ia64.sgml to SRCS (uncomment). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-31T01:32:30.000000Z K 7 svn:log V 82 Add the bones for PowerPC release documentation. This has been derived from ia64. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-31T04:57:46.000000Z K 7 svn:log V 59 Remove two unused variables. Thanks to: Stefan Farfeleder END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T09:25:20.000000Z K 7 svn:log V 114 Granting the amount of misunderstanding the last change received, extend it with an example to clarify the point. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T11:32:12.000000Z K 7 svn:log V 130 Do not forget to increment the input line counter when reading a word spanning multiple lines. PR: bin/101094 MFC after: 5 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T12:41:13.000000Z K 7 svn:log V 183 Actually skip over undocumented options with "continue" to avoid artifacts in the manpage generated. Previously an orphaned paragraph on dependencies of such an option would appear. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T13:08:47.000000Z K 7 svn:log V 131 Document some more src.conf(5) options: WITHOUT_GNU, WITHOUT_NS_CACHING, WITHOUT_PAM. Noticed by: src/tools/build/options/makeman END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T13:15:04.000000Z K 7 svn:log V 36 Regen from src/tools/build/options. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T13:20:44.000000Z K 7 svn:log V 122 telnetd(8) doesn't really go to the crunched floppies, so its Makefile needn't test for RELEASE_CRUNCH. Suggested by: ru END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T13:29:36.000000Z K 7 svn:log V 124 Stop enforcing dependencies between MK_* options at Makefile level. All the dependencies are satisfied now in . END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T13:53:27.000000Z K 7 svn:log V 82 Tell the bitter truth that WITHOUT_GNU and WITHOUT_PAM don't have any effect now. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T14:13:25.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-07-31T14:17:04.000000Z K 7 svn:log V 302 In 'od -c' mode, deal with printable but zero-width combining characters correctly. These characters are displayed "combined" with a space character. PR: misc/100215 Submitted by: "J.R. Oldroyd" <> Reviewed by: "J.R. Oldroyd" <> (revised patch) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-31T15:31:43.000000Z K 7 svn:log V 124 Trim an obsolete comment. ktrgenio() stopped doing crazy gymnastics when ktrace was redone to be mostly synchronous again. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-07-31T15:44:13.000000Z K 7 svn:log V 188 Rather than print out a nice error message giving details sufficent to fix a 'ufs_dirbad' and then panicing (making it very hard to see the details), put them in the panic message itself. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-31T16:49:25.000000Z K 7 svn:log V 31 Mark two more items as merged. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-31T16:52:15.000000Z K 7 svn:log V 35 MFC: Note my(4) altq(4=) support. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-31T17:04:28.000000Z K 7 svn:log V 54 Note hardware supported by powerpc, based on GENERIC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-31T18:53:09.000000Z K 7 svn:log V 91 MFC: Expand locking coverage to cover if_drv_flags in a few places where it wasn't locked. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-31T18:53:55.000000Z K 7 svn:log V 64 MFC: Add a mutex to protect the list of interrupt config hooks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-31T18:55:14.000000Z K 7 svn:log V 85 MFC: Fix hw.physmem/MAXMEM usage on systems with SMAP (including systems with ACPI). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-31T19:15:10.000000Z K 7 svn:log V 270 inetd and telnetd are not included in the standard release crunched floppies, but they can be included as options in src/release/picobsd (omitted by default though.) Therefore preserve the RELEASE_CRUNCH knob in their Makefiles, but tell its real purpose in a comment. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-31T20:24:46.000000Z K 7 svn:log V 160 Add some statistics that are needed to support RFC4188 as part of the SoC2006 work on a bridge monitoring module for BSNMP. Submitted by: shteryana (SoC 2006) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-31T23:00:05.000000Z K 7 svn:log V 919 Close a race that occurs when using sendto() to connect and send on a UNIX domain socket at the same time as the remote host is closing the new connections as quickly as they open. Since the connect() and send() paths are non-atomic with respect to another, it is possible for the second thread's close() call to disconnect the two sockets as connect() returns, leading to the consumer (which plans to send()) with a NULL kernel pointer to its proposed peer. As a result, after acquiring the UNIX domain socket subsystem lock, we need to revalidate the connection pointers even though connect() has technically succeed, and reurn an error to say that there's no connection on which to perform the send. We might want to rethink the specific errno number, perhaps ECONNRESET would be better. PR: 100940 Reported by: Young Hyun MFC after: 2 weeks MFC note: Some adaptation will be required END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-08-01T01:23:39.000000Z K 7 svn:log V 28 Correct spelling of 3DNow!. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-08-01T05:31:29.000000Z K 7 svn:log V 168 If skip_file_dev and skip_file_ino haven't been set (are still == 0), then don't use them for testing for a recursive add. Thanks to: Spencer Minear MFC after: 7 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-08-01T07:37:22.000000Z K 7 svn:log V 143 MFC: (1.191) Fix "taskqueue_drain with the following non-sleepable locks held" witness(9) warning on detach. Ok'ed by: ru Tested on: 6-STABLE END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-01T09:47:11.000000Z K 7 svn:log V 46 MFC rev. 1.27: Fix a misspelled module name. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-01T09:53:53.000000Z K 7 svn:log V 90 MFC rev. 1.24-1.25: test(1) doesn't do shortcut evaluation in its logical operators. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-01T10:03:51.000000Z K 7 svn:log V 70 MFC r1.67 Remove variables that are overridden by ether_ifattach(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-01T10:30:26.000000Z K 7 svn:log V 697 Reimplement socket buffer tear-down in sofree(): as the socket is no longer referenced by other threads (hence our freeing it), we don't need to set the can't send and can't receive flags, wake up the consumers, perform two levels of locking, etc. Implement a fast-path teardown, sbdestroy(), which flushes and releases each socket buffer. A manual dom_dispose of the receive buffer is still required explicitly to GC any in-flight file descriptors, etc, before flushing the buffer. This results in a 9% UP performance improvement and 16% SMP performance improvement on a tight loop of socket();close(); in micro-benchmarking, but will likely also affect CPU-bound macro-benchmark performance. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-08-01T14:02:54.000000Z K 7 svn:log V 166 - add read only sysctl to indicate if write-combining was enabled - enable mxge_dummy_rdma() right after reset, and make sure to disable when detaching the driver. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-08-01T15:26:09.000000Z K 7 svn:log V 118 o Reserve space for 3.x releases similar to 2.1. o 3.0.1 is a security/critical release. Submitted by: rpaulo@netbsd END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T15:29:46.000000Z K 7 svn:log V 288 Some cosmetic tweaks: - Right justify 'pid' label. - Move the uid column to the right 2 columns so that the 3 process id columns (pid, ppid, pgrp) are grouped together. - Expand the uid column to 5 chars. - Don't indent the tid for multithreaded processes. Requested by: bde (1, 2, 4) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T15:30:56.000000Z K 7 svn:log V 142 Don't lock each of the processes while looking for a pid. The allproc and proctree locks that we already hold provide sufficient protection. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T15:32:25.000000Z K 7 svn:log V 48 Use TAILQ_FOREACH_SAFE() in a couple of places. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T16:27:14.000000Z K 7 svn:log V 275 - Add a new function nfsrv_destroycache() to tear down the server request cache when unloading the nfsserver module. This fixes a memory leak and a stale pointer. - Use callout_drain() rather than callout_stop() when unloading the nfsserver module. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T16:32:20.000000Z K 7 svn:log V 717 Make system call modules a bit more robust: - If we fail to register the system call during MOD_LOAD, then note that so that we don't try to deregister it or invoke the chained event handler during the subsequent MOD_UNLOAD event. Doing the deregister when the register failed could result in trashing system call entries. - Add a SI_SUB_SYSCALLS just before starting up init and use that to register syscall modules instead of SI_SUB_DRIVERS. Registering system calls as late as possible increases the chances that any other module event handlers or SYSINITs in a module are executed to initialize the data in a kld before a syscall dependent on that data is able to be invoked. MFC after: 3 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-08-01T17:18:25.000000Z K 7 svn:log V 2014 Another small update to the re(4) driver: - Change the workaround for the autopad/checksum offload bug so that instead of lying about the map size, we actually create a properly padded mbuf and map it as usual. The other trick works, but is ugly. This approach also gives us a chance to zero the pad space to avoid possibly leaking data. - With the PCIe devices, it looks issuing a TX command while there's already a transmission in progress doesn't have any effect. In other words, if you send two packets in rapid succession, the second one may end up sitting in the TX DMA ring until another transmit command is issued later in the future. Basically, if re_txeof() sees that there are still descriptors outstanding, it needs to manually resume the TX DMA channel by issuing another TX command to make sure all transmissions are flushed out. (The PCI devices seem to keep the TX channel moving until all descriptors have been consumed. I'm not sure why the PCIe devices behave differently.) (You can see this issue if you do the following test: plug an re(4) interface into another host via crossover cable, and from the other host do 'ping -c 2 ' to prime the ARP cache, then do 'ping -c 1 -s 1473 '. You're supposed to see two packets sent in response, but you may only see one. If you do 'ping -c 1 -s 1473 ' again, you'll see two packets, but one will be the missing fragment from the last ping, followed by one of the fragments from this ping.) - Add the PCI ID for the US Robotics 997902 NIC, which is based on the RTL8169S. - Add a tsleep() of 1 second in re_detach() after the interrupt handler is disconnected. This should allow any tasks queued up by the ISR to drain. Now, I know you're supposed to use taskqueue_drain() for this, but something about the way taskqueue_drain() works with taskqueue_fast queues doesn't seem quite right, and I refuse to be tricked into fixing it. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2006-08-01T17:28:10.000000Z K 7 svn:log V 462 In vlan_input(), if the network interface does not perform h/w based vlan tag processing, the code will use bcopy() to remove the vlan tag field but the code copies 2 bytes too many, which essentially overwrites the protocol type field. Also, a tag value of -1 is generated for unrecognized interface type, which would cause an invalid memory access in the vlans[] array. In addition, removed a line of dead code and its associated comments. Reviewed by: sam END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-08-01T17:36:50.000000Z K 7 svn:log V 171 MFC: fix padding of short checksum offload frames, fix TX DMA channel stall, add USR NIC PCI ID, add tsleep() to re_detach() to avoid possible crash when unloading module END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T17:40:13.000000Z K 7 svn:log V 658 MFC: Sync up with HEAD in some of the locking primitive details: - Teach WITNESS_SAVE() and WITNESS_RESTORE() to work with spin locks instead of only sleep locks. - Do the extra step required when destroying a locked spin mutex. - Initialize thread0.td_contested in init_turnstiles() rather than mutex_init(). - Add LOCK_CLASS() macro and sync with HEAD on its usage. For RELENG_6 this just maps to lock->lo_class. (In HEAD lo_class was removed an array index was encoded into lo_flags instead.) - Add subr_lock.c including adding lock_init() and lock_destroy() functions as we as moving the 'show lock' command into this file from kern_mutex.c. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T18:38:35.000000Z K 7 svn:log V 64 MFC: Write a magic value into mtx_lock when destroying a mutex. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T18:39:39.000000Z K 7 svn:log V 68 MFC: Mark the thread pointer used during an adaptive spin volatile. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-08-01T19:06:06.000000Z K 7 svn:log V 546 Complete the transition from pmap_page_protect() to pmap_remove_write(). Originally, I had adopted sparc64's name, pmap_clear_write(), for the function that is now pmap_remove_write(). However, this function is more like pmap_remove_all() than like pmap_clear_modify() or pmap_clear_reference(), hence, the name change. The higher-level rationale behind this change is described in src/sys/amd64/amd64/pmap.c revision 1.567. The short version is that I'm trying to clean up and fix our support for execute access. Reviewed by: marcel@ (ia64) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-01T21:30:07.000000Z K 7 svn:log V 62 MFC rev. 1.29: Propagate overrun conditions to the TTY layer. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-01T21:51:19.000000Z K 7 svn:log V 143 MFC rev 1.3, 1.4 and 1.5: o Add defines for the 5 interrupt sources typical for serial devices. o Add bit masks for the various definitions. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-08-01T22:19:01.000000Z K 7 svn:log V 243 Add device to access and modify Open Firmware NVRAM settings in PowerPC-based Apple's machines and small utility to do it from userland modelled after the similar utility in Darwin/OSX. Only tested on 1.25GHz G4 Mac Mini. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-01T22:30:55.000000Z K 7 svn:log V 86 Fix two nits in the ps header that offset each other making them largely unnoticable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-01T22:57:07.000000Z K 7 svn:log V 144 MFC revs 1.7, 1.8 and 1.9: o Add support for non-standard rclk values. o Add Quatech ID o Add 2 NEC IDs o Add 2 HP IDs o Add 5 Timedia IDs END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-08-01T23:17:33.000000Z K 7 svn:log V 81 Don't use f-word in comments. We are gentlemans. Pointed out by: Maciej Sobczak END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T00:45:27.000000Z K 7 svn:log V 255 Move updated of 'numopensockets' from bottom of sodealloc() to the top, eliminating a second set of identical mutex operations at the bottom. This allows brief exceeding of the max sockets limit, but only by sockets in the last stages of being torn down. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T01:36:40.000000Z K 7 svn:log V 55 Be sure to disable the port when removing it from STP. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-08-02T02:36:59.000000Z K 7 svn:log V 102 Fix incorrect busy check for PHY write operation. While I'm here remove unnecessary return statement. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T02:47:27.000000Z K 7 svn:log V 165 Add a callback so we can notify the parent bridge that a port state change has occured, we need to do this from a taskqueue to avoid a LOR with the if_bridge mutex. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T02:51:42.000000Z K 7 svn:log V 88 Fix style in the last commit, the variable declaration goes at the top of the function. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T02:59:24.000000Z K 7 svn:log V 71 Tell bridgestp that we are about to free the memory so it can cleanup. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T03:54:28.000000Z K 7 svn:log V 152 - Use the new bridgestp callback to once again flush our bridge routes when an interface is disabled. - Log port changes to syslog, defaulting to off END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-08-02T04:11:25.000000Z K 7 svn:log V 31 Document the log_stp variable. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-08-02T04:27:31.000000Z K 7 svn:log V 103 MFC: if_sk.c, 1.128 if_skreg.h, 1.38 to RELENG_6 Add device ID for second generation D-Link DGE-530T. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-02T04:54:14.000000Z K 7 svn:log V 55 remove unnecessary null ptr check Coverity ID: 173911 END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-02T04:55:04.000000Z K 7 svn:log V 56 remove unneccessary null ptr check Coverity ID: 173918 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-08-02T05:28:52.000000Z K 7 svn:log V 211 Replace hard-coded magic constants to system defined constants (BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). These pseudo PHY drivers were forgotten from the conversion due to the repo copy to dc driver location. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-08-02T07:02:19.000000Z K 7 svn:log V 47 Cleanup and add our standard SYNOPSIS section. END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-08-02T07:21:25.000000Z K 7 svn:log V 146 MFC: add control of thermal zone setpoints, add sysctl to enable ACPI-based rebooting, fix sysctl printing of negative decimals, document it all. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-08-02T07:34:51.000000Z K 7 svn:log V 63 INT_MAX is defined in file sys/limits.h, include the file now. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-08-02T07:38:59.000000Z K 7 svn:log V 59 don't include sys/thr.h and sys/umtx.h, it is unnecessary. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-08-02T08:09:24.000000Z K 7 svn:log V 73 Don't include sys/thr.h and umtx.h in sys/sysproto.h, it is unnecessary. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-08-02T08:14:01.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-08-02T12:42:20.000000Z K 7 svn:log V 214 Block SIGHUP before killing init(8), to avoid a race condition which may kill the current process and hang the system when attempting reboot. PR: bin/64664 Reviewed by: ssouhal, phk (historic) MFC after: 30 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T13:01:58.000000Z K 7 svn:log V 102 Remove 'register'. Use ANSI C prototypes/function headers. More deterministically line wrap comments. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-08-02T13:05:38.000000Z K 7 svn:log V 235 Block a variety of signals which may afffect reboot(8), before killing init(8), to avoid losing a race to them and dying before being able to call reboot(2). PR: bin/64664 Submitted by: maxim Obtained from: NetBSD MFC after: 30 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-08-02T13:21:44.000000Z K 7 svn:log V 190 Add a new command-line option, -P, which allows the user to specify an arbitrary port to which syslog messages are to be sent. PR: bin/54026 Submitted by: Oliver Fromme MFC after: 10 days END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2006-08-02T14:29:31.000000Z K 7 svn:log V 86 MFC link: rc.conf.local(5)->rc.conf(5) PR: docs/87698 Approved by: trhodes (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T14:30:58.000000Z K 7 svn:log V 152 Remove now unneeded ENOTCONN clause from SOCK_DGRAM side of uipc_send(): we have to check it regardless of the target address, so don't check it twice. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-08-02T14:58:51.000000Z K 7 svn:log V 106 Do not leak memory while flushing rules. Noticed by: yar Approved by: glebius (mentor) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-08-02T15:01:59.000000Z K 7 svn:log V 276 Sync with HEAD merging many things: - Support for BCM5754, BCM5755, BCM5787. - Recognize BCM5703 B0 ASIC. - Correctly recognize chips that can do Jumbo. - Fix kern/68351 - Rewrite arrays that hold names of chips and revisions. Also: - Big style(9) and whitespace cleanup. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-08-02T15:24:59.000000Z K 7 svn:log V 96 Fix build when .CURDIR != .OBJDIR. Noticed by: "Alexander Mogilny" END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-08-02T15:26:15.000000Z K 7 svn:log V 107 Fix doxygen target. Submitted by: "Alexander Mogilny" Pointy hat to: netchild END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-02T15:27:48.000000Z K 7 svn:log V 455 Fix some bugs in the previous revision (1.419). Don't perform extra vfs_rel() on the mountpoint if the MAC checks fail in kern_statfs() and kern_fstatfs(). Similarly, don't perform an extra vfs_rel() if we get a doomed vnode in kern_fstatfs(), and handle the case of mp being NULL (for some doomed vnodes) by conditionalizing the vfs_rel() in kern_fstatfs() on mp != NULL. CID: 1517 Found by: Coverity Prevent (tm) (kern_fstatfs()) Pointy hat to: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T16:18:05.000000Z K 7 svn:log V 537 Move soisdisconnected() in tcp_discardcb() to one of its calling contexts, tcp_twstart(), but not to the other, tcp_detach(), as the socket is already being torn down and therefore there are no listeners. This avoids a panic if kqueue state is registered on the socket at close(), and eliminates to XXX comments. There is one case remaining in which tcp_discardcb() reaches up to the socket layer as part of the TCP host cache, which would be good to avoid. Reported by: Goran Gajic END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T16:22:34.000000Z K 7 svn:log V 161 Remove call to soisdisconnected() in at_pcbdetach(): by the time the socket is being detached, there are no consumers left worth notifying about the disconnect. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T16:23:52.000000Z K 7 svn:log V 138 Change two XXX's to two notes: the fact that SOCK_LOCK(so) == SOCKBUF_LOCK(&so->so_rcv) is encoded, which is worth noting, but not a bug. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-08-02T16:24:23.000000Z K 7 svn:log V 76 Define the additional page fault error codes that are implemented by amd64. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-02T17:16:48.000000Z K 7 svn:log V 26 Remove remnants of Alpha. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-02T17:22:30.000000Z K 7 svn:log V 26 Remove remnants of Alpha. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-02T17:41:58.000000Z K 7 svn:log V 388 - Use m_getcl(), m_get(), and m_gethdr() rather than the older macros for alloc'ing mbufs so that there is less error handling required. - Go ahead and account for the data space in the first mbuf before entering the loop to alloc more mbuf's. This simplifies the loop logic and avoids confusing Coverity. CID: 817 Reviewed by: sam Tested by: pjd Found by: Coverity Prevent (tm) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-02T17:50:31.000000Z K 7 svn:log V 95 Don't ignore errors from intr_event_add_handler(). CID: 1516 Found by: Coverity Prevent (tm) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-08-02T18:37:44.000000Z K 7 svn:log V 260 Move destroying kqueue state from above pru_detach to below it in sofree(), as a number of protocols expect to be able to call soisdisconnected() during detach. That may not be a good assumption, but until I'm sure if it's a good assumption or not, allow it. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-08-02T18:44:12.000000Z K 7 svn:log V 441 MFC: - Remove hardcoded /etc/ntp.conf configuration file from ntpdate rc.d script and replace it with a new ntpdate_config variable. - Document it in defaults/rc.conf and rc.conf.5. - Document ntpdate_hosts in defaults/rc.conf. src/etc/rc.d/ntpdate: rev 1.15 -> 1.16 src/share/man/man5/rc.conf.5: rev 1.299 -> 1.300 src/etc/defaults/rc.conf: rev 1.288 -> 1.289 Requested by: Chris Timmons END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-08-03T00:15:19.000000Z K 7 svn:log V 179 Fix re(4) breakge introduced in tree from rev 1.68. This should fix incorrect configuration of station address on big-endian architectures. Reviewed by: wpaul Tested on: sparc64 END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T03:28:03.000000Z K 7 svn:log V 61 Add the library directory where DTrace library scripts live. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T03:30:53.000000Z K 7 svn:log V 39 Alphabetical order is probably better. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-08-03T03:34:36.000000Z K 7 svn:log V 965 In DCE 1.1, the time_low value is defined as an unsigned 32-bit integer. Presently, our implementation employs an approach that converts the value to int64_t, then back to int, unfortunately, this approach can be problematic when the the difference between the two time_low is larger than 0x7fffffff, as the value is then truncated to int. To quote the test case from the original PR, the following is true with the current implementation: 865e1a56-b9d9-11d9-ba27-0003476f2e88 < 062ac45c-b9d9-11d9-ba27-0003476f2e88 However, according to the DCE specification, the expected result should be: 865e1a56-b9d9-11d9-ba27-0003476f2e88 > 062ac45c-b9d9-11d9-ba27-0003476f2e88 This commit adds a new intermediate variable which uses int64_t to store the result of subtraction between the two time_low values, which would not introduce different semantic of the MSB found in time_low value. PR: 83107 Submitted by: Steve Sears MFC After: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-08-03T03:55:52.000000Z K 7 svn:log V 161 When the volume is being downgraded from a read-write mode, mark it as clean. PR: kern/85366 Submitted by: Dan Lukes MFC After: 2 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:19:33.000000Z K 7 svn:log V 142 Add an option to enable KSE support. Add an option to build in kernel DTrace hooks. Without this option, the DTrace modules acn't be loaded. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:26:51.000000Z K 7 svn:log V 245 Add fields to struct sysent to support the DTrace syscall provider called systrace. Another file called systrace_args.c is generated. This will be compiled into systrace and is used to map the syscall arguments into the 64-bit parameter array. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:29:09.000000Z K 7 svn:log V 156 Generate another file called systrace_args.c. This will be compiled into systrace and is used to map the syscall arguments into the 64-bit parameter array. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:31:28.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:32:43.000000Z K 7 svn:log V 59 Regen. Note the addition of the extra file now generated. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:44:51.000000Z K 7 svn:log V 61 Not allowed to use tabs. The rule that proves the rule. Heh. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T05:46:32.000000Z K 7 svn:log V 41 Add the DTrace library script directory. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-08-03T08:07:05.000000Z K 7 svn:log V 513 MFC rev 1.2: - Use SWIDTH0 for combining characters. - Unicode 4.1 related changes: - Add definitions for a new range of code points U+1DC0..U+1DFF "Combining Diacritical Marks Supplement". - Add U+04F6 and U+04F7 to the Cyrillic range. - Mark U+034F "Combining Grapheme Joiner" as non-printable. - Add new combining characters in the range U+0350..U+035F to the section "Combining Diacritical Marks". ============================================================================= END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-08-03T09:06:52.000000Z K 7 svn:log V 171 MFC rev 1.9: "In 'od -c' mode, deal with printable but zero-width combining characters correctly. These characters are displayed "combined" with a space character." END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-08-03T09:20:11.000000Z K 7 svn:log V 709 Merge in new driver from Intel, version 6.0.5. It adds support for 80003 NICs and NICs found on ICH8 mobos, and improves support for already known chips. Details: - if_em.c. Merged manually, viewing diff between new vendor driver and previous one. This was an easy task, because most changes between 5.1.5 and 6.0.5 are bugfixes taken from FreeBSD. - if_em_hw.h. Dropped in from vendor, and then restored revisions 1.16, 1.17, 1.18. - if_em_hw.c. Dropped in from vendor, and then restored revision 1.15. - if_em_osdep.h. Added new required macros from vendor file and add a hack against define namespace mangling in if_em_hw.h. Intel made another hack, but I prefer mine. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-03T09:50:15.000000Z K 7 svn:log V 480 Back out rev. 1.107 because it introduced as many problems as it tried to solve: - it smuggled hidden 802.1q details into otherwise protocol-neutral code; - it put an important code consistency check under DEBUG, which was never defined by anyone but a developer hacking this file for the moment; - lastly, the former bcopy() call had been correct as long as the "dead" code was there. (A new version of the fix for tag of -1 to come in the next commit.) Agreed by: qingli END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-03T09:59:08.000000Z K 7 svn:log V 537 Should vlan_input() ever be called with ifp pointing to a non-Ethernet interface, do not just assign -1 to tag because it breaks the logic of the code to follow. The better way is to handle this case as an unsupported protocol and return unless INVARIANTS is in effect and we can panic. Panic is good there because the scenario can happen only because of a coding error elsewhere. We also should show the interface name in the panic message for easier debugging of the problem, should it ever emerge. Submitted by: qingli (initially) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-08-03T12:50:21.000000Z K 7 svn:log V 76 MFC revision 1.27. Don't allow non-root user to set a scheduler policy. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-03T13:19:15.000000Z K 7 svn:log V 109 MFC rev. 1.122: Tell more of the sh(1) history. Acknowledge Kenneth Almquist's contribution in AUTHORS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-08-03T15:31:52.000000Z K 7 svn:log V 1005 - Fix ncp_poll() to not panic if the socket doesn't have any pending data. We have to adjust curthread's state enough so that it appears to be in a poll(2) or select(2) call so that selrecord() will work and then teardown that state after calling sopoll(). - Fix some minor nits in nearby ncp_sock_rselect() and in the identical nbssn_rselect() function in the netsmb code: - Don't call nb_poll()/ncp_poll() now that ncp_poll() already fakes up poll(2) state since the rselect() functions already do that. Just invoke sopoll() directly. - To make things slightly more intuitive, store the results of sopoll() in a new 'revents' variable rather than 'error' since that's what sopoll() actually returns. - If the requested timeout time has been exceeded by the time we get ready to block, then return EWOULDBLOCK rather than 0 to signal a timeout as this is what the calling code expects. Tested by: Eric Christeson (1) MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-08-03T16:31:25.000000Z K 7 svn:log V 212 MFC: Add extra code into kbdmux(4)s read_char() method to poll (i.e. call read_char() method) slave keyboards. This workaround should fix problem with kbdmux(4) and atkbd(4) not working in ddb(4) and mid-boot. END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2006-08-03T19:05:04.000000Z K 7 svn:log V 161 Revert back changes to made in rev 1.109 of if_em.c which were unnecessary. This makes it easier for us to get the changes into -current and to -stable quickly. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-08-03T20:43:51.000000Z K 7 svn:log V 38 Update document date. Noticed by: ru END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-03T21:19:13.000000Z K 7 svn:log V 47 Report the correct function name in a DPRINTF. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-08-03T22:44:46.000000Z K 7 svn:log V 120 Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during unaligned 64-bits load/stores. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-08-03T23:56:11.000000Z K 7 svn:log V 111 When sleeping on a busy page, use the lock from the containing object rather than the global page queues lock. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-08-04T05:53:20.000000Z K 7 svn:log V 140 The page queues lock is no longer required by vm_page_io_start(). Reduce the scope of the page queues lock in kern_sendfile() accordingly. END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-08-04T07:19:01.000000Z K 7 svn:log V 150 Improve quoting of the S1-S5 states. Suggested by yar@. Add a workaround for conflicts between ACPI Cx CPU idling and LAPIC timer. MFC after: 1 day END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-08-04T07:31:55.000000Z K 7 svn:log V 148 Use floating point instead of hacking something together. Suggested by bde@. Fix nearby int conversion and a couple style bugs. MFC after: 1 day END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-08-04T07:56:35.000000Z K 7 svn:log V 244 Commit the results of the typo hunt by Darren Pilgrim. This change affects documentation and comments only, no real code involved. PR: misc/101245 Submitted by: Darren Pilgrim Tested by: md5(1) MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-08-04T10:21:11.000000Z K 7 svn:log V 51 _close() should be called instead of close() here. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-08-04T10:50:51.000000Z K 7 svn:log V 190 Remove useless NULL pointer check: we are using M_WAITOK flag for memory allocation. Submitted by: Andrey Elsukov Approved by: glebius (mentor) MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-08-04T12:26:07.000000Z K 7 svn:log V 315 Check if the filedes of kevent is expected one. Though our old resolver opened just one socket, BIND9's resolver may open more than one sockets. And, BIND9's resolver doesn't close the socket on timeout. So, we need this check. Reported by: freebsd-cvs-src__at__oldach.net (Helge Oldach), bz Hinted by: rwatson END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-08-04T13:36:27.000000Z K 7 svn:log V 213 Turn off by default "feature" that overwrites MAC address on output frames. Many people were confused with not working CARP, ng_bridge(4) and other subsystems, because ng_ether(4) overwritten source MAC address. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-08-04T13:37:54.000000Z K 7 svn:log V 62 In symlook_obj(): fix _rtld_error output. MFC After: 2 weeks END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-08-04T13:49:16.000000Z K 7 svn:log V 98 Dont overwrite cpu_model in the case of Via's C3-CPU. Noticed by: Mike Tancsa MFC after: 2 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-04T17:55:55.000000Z K 7 svn:log V 117 Add stub functions. This allows libthread_db to be built and installed, which means that we also have . END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-04T17:56:31.000000Z K 7 svn:log V 31 Build libthread_db on PowerPC. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-08-04T17:58:40.000000Z K 7 svn:log V 108 Copy the link-layer address from our ifnet pointer at reset time so that the mac address can be overridden. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-08-04T18:28:57.000000Z K 7 svn:log V 47 By default "autosrc" is off. Submitted by: ru END K 10 svn:author V 3 des K 8 svn:date V 27 2006-08-04T18:37:03.000000Z K 7 svn:log V 41 Forgot to add mountlate to the Makefile. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-08-04T20:14:03.000000Z K 7 svn:log V 121 Rename ioctl driven task management functions so they don't collide with task management definitions on other platforms. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-08-04T20:14:52.000000Z K 7 svn:log V 79 Initialize 2300 request/response pointers in isp_reset- not in isp_fibre_init. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-08-04T20:20:00.000000Z K 7 svn:log V 430 Fix na_fcentry_t to not have a lun field. Fix indentation in handly the notify structs. Fix messages in isp_got_msg_fc to print out the loop id of the sender- not the wwpn which will be synthesized later, if possible, in the outer layers. Put in debug printouts to pair a notify ack to a notify so one can see the start/close of an immediate notify event. Put in spsace for TASK MANAGEMENT response flags (which we don't do yet). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-08-04T20:20:55.000000Z K 7 svn:log V 91 Increase local reserved (high && low) storage in each command structure from 2 to 3 words. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-08-04T21:15:09.000000Z K 7 svn:log V 60 Use TAILQ_EMPTY instead of checking if TAILQ_FIRST is NULL. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-08-04T21:27:40.000000Z K 7 svn:log V 320 With exception of the if_name() macro, all definitions in net_osdep.h were unused or already in if_var.h so add if_name() to if_var.h and remove net_osdep.h along with all references to it. Longer term we may want to kill off if_name() entierly since all modern BSDs have if_xname variables rendering it unnecessicary. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-04T21:28:42.000000Z K 7 svn:log V 246 Fix (static) buffer overflow bug. The dest buffer is of size MAXPATHLEN, so dest[MAXPATHLEN] falls outside the buffer. This bug corrupted arenas[0] defined in libc's malloc.c on PowerPC when kldxref is shared, which triggered a delayed SIGSERV. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-08-04T21:29:22.000000Z K 7 svn:log V 63 The KAME compatability shims in net_osdep.h have been removed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-08-04T21:29:39.000000Z K 7 svn:log V 67 Build shared on PowerPC now that the bug has been found and fixed. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-04T21:45:08.000000Z K 7 svn:log V 58 Fix for architectures where sizeof(void *) > sizeof(int). END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-04T22:54:10.000000Z K 7 svn:log V 350 Add some compatibility definitions for OpenSolaris source. These are only defined if _SOLARIS_C_SOURCE is defined, so they don't polute the FreeBSD compile environment. They are used all over the OpenSolaris source, so defining them here removes the need to continually resolve differences in FreeBSD system haeder files from Solaris header files. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-04T23:10:11.000000Z K 7 svn:log V 504 Add some OpenSolaris compatibility definitions which are only visible if _SOLARIS_C_SOURCE is defined. Add two function prototypes which are required to feed high-resolution times to DTrace. DTrace requires it's own functions with the dtrace_ prefix so that it knows not to try and trace them. This is a rule that code executed from the DTrace probe context must obey. The two functions are only be compiled if the KDTRACE option is defined to compile in kernel support for loading the DTrace modules. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-04T23:31:16.000000Z K 7 svn:log V 624 Add a type definition for the cyclic timer callback function. The cyclic timer is a high-resolution timer allows timeouts at nanosecond intervals where hardware support is available. Typically on i386 there is no HPET (high performance event timer) like the one Intel started specifying some time in 2004, so the best that tye cyclic timer subsystem can do is run at Hz. The cyclic timer code itself is ported from OpenSolaris and is covered by the CDDL, so it is only loaded as a module. This function type definition is used in machine-dependent code to provide a hook for the module to register it's callback function. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-08-04T23:47:30.000000Z K 7 svn:log V 662 Add OpenSolaris compatibility definitions for stat64 and fstat64 which are only visible if _SOLARIS_C_SOURCE is defined. Note thar FreeBSD stat() and fstat() are 64-bit functions now and Solaris still persists with both 32- and 64-bit versions. When I query this, I am referred to: . But when you look at the main page of unix.org you will see that the Single Unix Specification is the most recent standard they are pushing. And there are no stat64() fstat64() functions defined there. I guess this just goes to prove that there are so many standards, you can take your pick. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-08-05T04:21:20.000000Z K 7 svn:log V 102 Remove reference to PTI cards. They haven't been functioning or around for probably at least 5 years. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T04:58:25.000000Z K 7 svn:log V 88 raw 802.11 packet transmit support Submitted by: Andrea Bittau END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:07:17.000000Z K 7 svn:log V 91 raw 802.11 packet transmit support Joint work with: Andrea Bittau END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:09:20.000000Z K 7 svn:log V 12 raw tx stat END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:12:03.000000Z K 7 svn:log V 91 crude stumbler using raw packet api's Submitted by: Andrea Bittau END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:13:31.000000Z K 7 svn:log V 87 802.11 packet injection test tool Submitted by: Andrea Bittau END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:18:03.000000Z K 7 svn:log V 95 test programs for 802.11 packet injection Submitted by: Andrea Bittau END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-08-05T05:20:40.000000Z K 7 svn:log V 31 hook packet injection tools up END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-08-05T05:49:29.000000Z K 7 svn:log V 74 MFC: acpi man page formatting updates, sysctl temperature printing fixes. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-08-05T11:41:46.000000Z K 7 svn:log V 30 Unbreak nForce3 SATA support. END