ƒ­R160609 215 213 324 238 152 188 167 233 350 122 238 822 1075 404 121 221 216 405 312 324 398 212 352 644 605 327 178 425 172 135 154 136 209 1150 126 124 127 151 180 148 164 542 230 217 152 159 160 123 202 378 184 138 132 179 552 137 359 189 123 201 134 138 162 239 133 128 105 224 484 138 287 172 115 354 296 275 165 280 245 207 221 389 233 175 262 150 174 163 258 300 262 174 118 199 246 111 509 174 128 142 130 114 161 123 129 119 484 216 277 286 189 150 474 201 137 134 151 145 164 177 132 128 132 170 384 134 219 170 304 118 165 170 218 270 167 143 118 132 176 184 139 341 115 205 113 115 197 183 170 242 327 179 346 283 118 503 189 876 499 339 319 209 190 389 166 671 642 320 136 121 178 140 246 203 112 287 142 116 354 327 144 313 153 154 121 234 337 98 1085 238 527 123 316 210 361 181 134 543 444 211 154 1195 168 174 200 465 126 239 182 144 538 121 364 144 136 232 K 10 svn:author V 4 mnag K 8 svn:date V 27 2006-07-24T02:32:27.000000Z K 7 svn:log V 119 MFC 1.15: - Add dependency of firmware(9). "MODULE_DEPEND(iwi, firmware, 1, 1, 1);" Approved by: brueffer (implict) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-24T03:58:53.000000Z K 7 svn:log V 230 New release notes: iwi(4) update (+MFC), jexec(8) -u/-U (+MFC), extensible printf(3) (+MFC), tail(1) -q (+MFC) Updated release notes: ath(4) HAL 0.9.17.2 (+MFC). MFCs noted: ath(4) et al. in GENERIC, resolver update, /media. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-24T04:00:44.000000Z K 7 svn:log V 144 MFC: ath(4) HAL 0.9.17.2, ath(4) et al. in GENERIC, iwi(4) updates, jexec(8) -u/-U, extensible printf(3), resolver update, tail(1) -q, /media. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-24T04:01:56.000000Z K 7 svn:log V 59 Oops. Remove a couple of &merged; entities that snuck in. END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-07-24T04:41:20.000000Z K 7 svn:log V 96 MFC 1.104->1.105: Remove the "oldorder" processing, and replace three strncpy's with strlcpy's. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-24T07:32:23.000000Z K 7 svn:log V 73 o GC MT_FTABLE removed in rev. 1.192 mbuf.h. o Correct MT_HEADER define. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-24T10:07:27.000000Z K 7 svn:log V 140 Improve mark-up: References to "start" as an rc.d method should be tagged with ".Cm". (Refs to "stop" are OK already.) MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-07-24T10:44:50.000000Z K 7 svn:log V 257 Finally fix support for the newer MCP51/MCP55 nVidia chipsets. The register layout has changed since the original NV4 - sigh. Hotplug support has been fixed for all nVidia chipsets that supports it (including the MCP51/55). HW donated by: Kingsley College END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-24T12:24:56.000000Z K 7 svn:log V 26 Remove a duplicated line. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-24T14:34:04.000000Z K 7 svn:log V 141 Forced commit to recognize repo-copy of uipc_socket2.c to uipc_sockbuf.c, which will hold socket buffer specific routines. Thanks to: simon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-24T15:20:08.000000Z K 7 svn:log V 725 soreceive_generic(), and sopoll_generic(). Add new functions sosend(), soreceive(), and sopoll(), which are wrappers for pru_sosend, pru_soreceive, and pru_sopoll, and are now used univerally by socket consumers rather than either directly invoking the old so*() functions or directly invoking the protocol switch method (about an even split prior to this commit). This completes an architectural change that was begun in 1996 to permit protocols to provide substitute implementations, as now used by UDP. Consumers now uniformly invoke sosend(), soreceive(), and sopoll() to perform these operations on sockets -- in particular, distributed file systems and socket system calls. Architectural head nod: sam, gnn, wollman END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-07-24T15:42:04.000000Z K 7 svn:log V 977 Rather than calling mircotime() in catchpacket(), make catchpacket() take a timeval indicating when the packet was captured. Move microtime() to the calling functions and grab the timestamp as soon as we know that we're going to call catchpacket at least once. This means that we call microtime() once per matched packet, as opposed to once per matched packet per bpf listener. It also means that we return the same timestamp to all bpf listeners, rather than slightly different ones. It would be more accurate to call microtime() even earlier for all packets, as you have to grab (1+#listener) locks before you can determine if the packet will be logged. You could always grab a timestamp before the locks, but microtime() can be costly, so this didn't seem like a good idea. (I guess most ethernet interfaces will have a bpf listener these days because of dhclient. That means that we could be doing two bpf locks on most packets going through the interface.) PR: 71711 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-24T16:21:31.000000Z K 7 svn:log V 307 Remove non-socket buffer routines from uipc_sockbuf.c, and socket buffer specific routines from uipc_socket2.c following repo-copy. We might rethink the location of one or two at some point, but the division was relatively clean. uipc_sockbuf.c is now the home of routines that manipulate socket buffers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-24T17:34:12.000000Z K 7 svn:log V 29 MFC: NO_SYSCTL_DESCR option. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-24T17:54:56.000000Z K 7 svn:log V 128 MFC: Add ability to configure subset of miibus subsystem, down to the individual phys. This can save about 64k in kernel size. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-24T19:47:00.000000Z K 7 svn:log V 123 Add a few more devices to the supported list. Specifically, the PHAROS and the silly dongly I just bought at Radio Shack. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-24T19:49:39.000000Z K 7 svn:log V 310 MFC 1.42: Enable DSO (Dynamic Shared Object) support. This makes it possible for OpenSSL to load engines run-time, e.g. for using the opensc engine port. The OpenSSL Configure script enables DSO support on FreeBSD by default, we just don't use the Configure script during OpenSSL builds in the base system. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-24T19:57:20.000000Z K 7 svn:log V 217 MFC: Add FreeBSD version information to the menu title so it's possible to see which release you are installing (really which FreeBSD version the installer is running, but that shouldn't matter in all normal cases). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-24T20:42:36.000000Z K 7 svn:log V 227 MFC Announce all interfaces to devd on attach/detach. This adds a new devctl notification so all interfaces including pseudo are reported. r1.33 src/etc/devd.conf r1.9 src/etc/rc.d/devd r1.256 src/sys/net/if.c END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-24T20:46:14.000000Z K 7 svn:log V 301 MFC Add rc.d/bridge which is invoked when a new interface arrives and can automaticly add it to an Ethernet bridge. r1.287 src/etc/defaults/rc.conf r1.73 src/etc/rc.d/Makefile r1.1 src/etc/rc.d/bridge r1.20 src/etc/rc.d/netif r1.299 src/share/man/man5/rc.conf.5 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-24T22:09:47.000000Z K 7 svn:log V 116 Only use -mno-apcs-frame if DDB is not in the kernel, as it prevent the backtraces from working. MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-24T22:14:24.000000Z K 7 svn:log V 256 MFC rev 1.9: Fix ALT_BREAK_TO_DEBUGGER on the AT91 : The core uart code expects the receive method to actually puts the characters read into its buffers. For AT91, it's done in the ipend routine, so also check if we have the alternate break sequence here. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-24T22:25:16.000000Z K 7 svn:log V 548 If we have multiple interrupt resources, like for Z8530 clones on the mac-io bus, we cannot setup FAST interrupt handlers. This because we use spinlocks to protect the hardware and all interrupt resources are assigned the same interrupt handler. When the interrupt handler is invoked for interrupt X, it could be preempted for interrupt Y while it was holding the lock (where X and Y are the interrupt resources corresponding a single instance of this driver). This is a deadlock. By only using a MPSAFE handler in that case we prevent preemption. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-24T23:20:59.000000Z K 7 svn:log V 508 MFC Add a pseudo interface for packet filtering IPSec connections before or after encryption. r1.2 src/share/man/man4/enc.4 r1.4 src/share/man/man4/fast_ipsec.4 r1.1126 src/sys/conf/files r1.549 src/sys/conf/options r1.4 src/sys/net/if_enc.c r1.22 src/sys/net/if_types.h r1.12 src/sys/netipsec/ipsec.h r1.12 src/sys/netipsec/ipsec_input.c r1.12 src/sys/netipsec/ipsec_output.c r1.13 src/sys/netipsec/xform_ipip.c END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-07-24T23:28:09.000000Z K 7 svn:log V 232 MFC: Bring kernel side of minidumps to 6.x on i386 and amd64. Note: these are defaulting to off for the moment. Use 'sysctl debug.minidump=1' to enable them. These should be turned on relatively soon though. Reminded by: emaste END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-07-24T23:29:06.000000Z K 7 svn:log V 84 MFC: Bring libkvm side of minidumps to 6.x on i386 and amd64. Reminded by: emaste END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-24T23:41:38.000000Z K 7 svn:log V 328 Merge sysv_shm.c:1.104 from HEAD to RELENG_6: Re-order MAC and DAC checks in shmget() in order to give precedence to the MAC result, as well as avoid losing the DAC check result when MAC is enabled. Reported by: Patrick LeBlanc Reminded by: shangjie dot li at gmail dot com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:08:32.000000Z K 7 svn:log V 76 Add gentbi, a generic TBI(teb-bit interface) PHY driver ported from NetBSD. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:14:00.000000Z K 7 svn:log V 39 Add IC Plus IP1000A integrated PHY id. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:16:09.000000Z K 7 svn:log V 58 Add ip1000 PHY driver for IC Plus IP1000A integrated PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:20:11.000000Z K 7 svn:log V 40 Connect gentbi, ip1000phy to the build. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-25T00:23:54.000000Z K 7 svn:log V 113 Revert previous commit. Spinlocks hold interrupts disabled, so preemption is not possible. Pointed out by: jhb@ END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:37:09.000000Z K 7 svn:log V 1052 Add stge(4), a driver for Sundance/Tamarack TC9021 Gigabit Ethernet controller ported from NetBSD. It supports the following Gigabit Ethernet adapters. o Antares Microsystems Gigabit Ethernet o ASUS NX1101 Gigabit Ethernet o D-Link DL-4000 Gigabit Ethernet o IC Plus IP1000A Gigabit Ethernet o Sundance ST-2021 Gigabit Ethernet o Sundance ST-2023 Gigabit Ethernet o Sundance TC9021 Gigabit Ethernet o Tamarack TC9021 Gigabit Ethernet The IP1000A Gigabit Ethernet is also found on some motherboards (LOM) from ABIT. Unlike NetBSD stge(4) it does not require promiscuous mode operation to revice packet and it supports all hardware features(TCP/UDP/IP checksum offload, VLAN tag stripping/insertion features and JUMBO frame) and polling(4). Due to lack of hardware, hardwares that have TBI trantransceivers were not tested at all. Special thanks to wpaul who provided valauble datasheet for the controller and helped to debug jumbo frame related issues. Whitout his datasheet I would have spent many hours to debug this chip. Tested on: i386, sparc64 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:45:55.000000Z K 7 svn:log V 30 Hook up stge(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:51:38.000000Z K 7 svn:log V 28 Add a man page for stge(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:53:14.000000Z K 7 svn:log V 31 Hook up state(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:54:58.000000Z K 7 svn:log V 55 Add stge(4) to the list of devices supporting polling. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:56:47.000000Z K 7 svn:log V 84 Add stge(4) to the list of devices supporting full VLAN processing in the hardware. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:58:00.000000Z K 7 svn:log V 52 Add stge(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T00:59:39.000000Z K 7 svn:log V 68 Add stge(4) to the list of device drivers use the miibus interface. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-25T00:59:54.000000Z K 7 svn:log V 446 When probing to attach the CAM functionality, check against desired role configuration instead of existing role. This gets us out of the mess where we configured a role of NONE (or were LAN only, for example), but didn't continue to attach the CAM module (because we had neither initiator nor target role set). Unfortunately, the code that rewrites NVRAM to match actual to desired role only works if the CAM module attaches. MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-25T01:01:09.000000Z K 7 svn:log V 134 bus_alloc_resource_any is actually defined in the RELENG_4 branch, so there's no need to have a compilation difference here any more. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T01:02:22.000000Z K 7 svn:log V 120 Add an entry for the stge(4) module. While I'm here remove a stale wx(4) entry which was removed 4 years, 9 months ago. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T01:03:55.000000Z K 7 svn:log V 56 Add stge(4) to the list of supported network interface. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-25T01:06:24.000000Z K 7 svn:log V 63 MFC r1.97 Avoid calling into the usb code with the lock held. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-25T01:06:32.000000Z K 7 svn:log V 64 Add stge(4) to the list of drivers supported by GENERIC kernel. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2006-07-25T01:08:41.000000Z K 7 svn:log V 29 Cleanup. Approved by: cognet END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-25T02:15:28.000000Z K 7 svn:log V 105 Add uipc_sockbuf.c to standard files list; accidentally missed in earlier commit. Spotted by: tinderbox END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-25T02:27:38.000000Z K 7 svn:log V 285 Add support for overriding the values for _CRT, _HOT, and _PSV via sysctl. Prevent casual modification by requiring hw.acpi.thermal.user_override to be set first. Fix printing of negative temperatures in the K->C conversion. Document the remaining thermal sysctls. MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-25T02:28:43.000000Z K 7 svn:log V 92 Fix printing of negative decimal values in Kelvin to Celsius conversion. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-25T05:13:53.000000Z K 7 svn:log V 41 Autogenerate hardware notes for stge(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-25T05:20:06.000000Z K 7 svn:log V 35 singular -> plural and a typo fix. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-25T11:07:31.000000Z K 7 svn:log V 86 Specify correct argument range for tag/untag keywords. Approved by: glebius (mentor) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-25T12:50:05.000000Z K 7 svn:log V 455 1. Don't override underscore version of aio_suspend(), system(), wait(), waitpid() and usleep(), they are internal versions and should not be cancellation points. 2. Make wait3() as a cancellation point. 3. Move raise() and pause() into file thr_sig.c. 4. Add functions _sigsuspend, _sigwait, _sigtimedwait and _sigwaitinfo, remove SIGCANCEL bit in wait-set for those functions, the signal is used internally to implement thread cancellation. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-25T13:31:00.000000Z K 7 svn:log V 43 o Add NetBSD 3.0.1 and DragonFlyBSD 1.6.0. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T14:15:50.000000Z K 7 svn:log V 266 In udf_find_partmaps(), when we find a type 1 partition map, we have to skip the actual type 1 length (6 bytes). With this change, it is now possible to correctly spot the VAT partition map in certain discs. Submitted by: Pedro Martelletto END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-25T16:01:46.000000Z K 7 svn:log V 96 New release notes: snd_emu10kx(4), nfe(4), stge(4), enc(4) (+MFC), sysinstall(8) title (+MFC). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:10:35.000000Z K 7 svn:log V 31 Add diagnostics to load_kld(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:14:38.000000Z K 7 svn:log V 108 We notify of failures with err or warn. Messages should end in full stop unless that can lead to confusion. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:16:48.000000Z K 7 svn:log V 42 Sync comments around _doit with the code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-25T17:19:00.000000Z K 7 svn:log V 46 Don't load geom_md.ko if there is no need to. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:20:22.000000Z K 7 svn:log V 70 Avoid extra runs of test(1) by using its built-in logical operations. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:25:44.000000Z K 7 svn:log V 146 Use more rc.subr(8) features. Skip useless work when ${natd_interface} is unset. Double quote user-supplied vars unless there is a reason not to. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T17:28:18.000000Z K 7 svn:log V 41 De-uglify messages from the ipfw script. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-07-25T18:29:32.000000Z K 7 svn:log V 36 MFC 1.84: remove obsolete comments. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-25T19:04:26.000000Z K 7 svn:log V 13 Style fixes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-25T19:06:54.000000Z K 7 svn:log V 131 Modify PADLOCK_ALIGN() macro, so when the given address is already 16 bytes aligned, it will be used directly, not 'address + 16'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-25T19:32:58.000000Z K 7 svn:log V 391 Avoid memory allocations when the given address is already 16 bytes aligned. Such an address can be used directly in padlock's AES. This improves speed of geli(8) significantly: # sysctl kern.geom.zero.clear=0 # geli onetime -s 4096 gzero # dd if=/dev/gzero.eli of=/dev/null bs=1m count=1000 Before: 113MB/s After: 203MB/s BTW. If sector size is set to 128kB, I can read at 276MB/s :) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-25T20:00:55.000000Z K 7 svn:log V 46 Remove redundant check committed by accident. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-25T21:30:58.000000Z K 7 svn:log V 193 New release notes: acpi_thermal(4) temperature overrides, interface groups, mount(8) late/-l, FILE 4.17. Modified release notes: Improved padlock(4) crypto support (+MFC), OpenBSM 1.0alpha7. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-25T21:39:00.000000Z K 7 svn:log V 79 MFC: Minidumps, padlock(7) VIA C7 support, enc(4), sysinstall(8) menu titles. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-25T21:48:28.000000Z K 7 svn:log V 22 MFC noted: minidumps. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-25T22:20:05.000000Z K 7 svn:log V 260 Fix 32-bit integer math on 64-bit processor. Just use int32_t(!) instead of incorrect and machine-dependent integer math. Now we can encrypt a file on an i386 and decrypt it on an amd64, and vice versa. Submitted by: Andrew Heybey < ath at niksun dot com > END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-25T22:39:57.000000Z K 7 svn:log V 203 Rev. 1.44 of this file didn't introduce a right solution, but we don't seem to have one yet, so just add an XXX comment on passing rux_runtime to bintime2timeval() wrongly. Spotted by: gcc(1) (warning) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-25T23:07:35.000000Z K 7 svn:log V 179 Use virtual_avail instead of freemempos as the starting point of the available physical memory, as the vm uses the memory between freemempos and virtual_avail. MFC After: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-25T23:17:46.000000Z K 7 svn:log V 70 Ooops, while MFC'ing I forgot we had to include opt_comconsole.h too. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:05:34.000000Z K 7 svn:log V 187 o move min/max beacon interval and dtim period to public location o add min/max beacon miss threshold settings o delete IEEE80211_SWBMISS_THRESHOLD, it was never used MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:07:36.000000Z K 7 svn:log V 152 add IEEE80211_IOC_BMISSTHRESHOLD for managing the beacon miss threshold Submitted by: Henrik Brix Andersen MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:08:45.000000Z K 7 svn:log V 114 add beacon miss threshold control Submitted by: Henrik Brix Andersen MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:09:32.000000Z K 7 svn:log V 128 set default beacon miss threshold to 10 beacons Submitted by: Henrik Brix Andersen MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T03:10:01.000000Z K 7 svn:log V 293 Fix braino: The cl_range field should not hold the shifted I/O space range per channel, but rather the unshifted range. The shifting depends on the bus. The hardcoded shift was specific to the SBus on sparc64. The shifted range is now determined at run-time. This fixes the mac-io attachment. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:15:16.000000Z K 7 svn:log V 140 add support for 802.11 packet injection via bpf Together with: Andrea Bittau Reviewed by: arch@ MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:30:50.000000Z K 7 svn:log V 83 support for 802.11 packet injection via bpf Reviewed by: arch@ MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T03:48:41.000000Z K 7 svn:log V 169 check tim is present in the beacon before defer'ing the mcast buffer bit; insures we don't do this when operating in adhoc mode Submitted by: avatar@ MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-26T04:09:04.000000Z K 7 svn:log V 58 add missing \n's Submitted by: avatar@ MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-26T06:48:18.000000Z K 7 svn:log V 82 Make it easier to find that we have test(1) built-in in sh(1). MFC after: 3 days END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-07-26T07:46:32.000000Z K 7 svn:log V 72 Increase the number of CPUs to 32 to suit sun4v. Reviewed by: rwatson@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-26T07:46:51.000000Z K 7 svn:log V 161 MFC 1.23: Unlock aac_io_lock before returning, thus eliminates a mutex leak. Submitted by: Beyond Luo PR: kern/100046 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-26T07:49:37.000000Z K 7 svn:log V 203 MFC scsi_cd.c,v 1.96 and scsi_da.c,v 1.191 Drop Giant before returning in error path, thus eliminates two mutex leaks. Submitted by: Beyond Luo PR: kern/100046 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-26T08:03:24.000000Z K 7 svn:log V 169 Back out rev. 1.63. It was a poor idea because test(1) is built in sh(1) and it always evaluates both sides of -a or -o, unlike && or || in sh(1). Requested by: dougb END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-26T08:35:46.000000Z K 7 svn:log V 82 Fix build w/o INET6. Submitted by: Andre Albsmeier END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-26T08:36:46.000000Z K 7 svn:log V 26 Respect MK_INET6_SUPPORT. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-26T08:58:00.000000Z K 7 svn:log V 102 Make sure that the sc pointer gets initialized. No functional change should happen with this change. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T09:41:04.000000Z K 7 svn:log V 149 Remove variables that are overridden by ether_ifattach(). This clears up any confusion especially as *if_output was pointed to a different function. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T10:43:02.000000Z K 7 svn:log V 15 /tmp/cvsuusTrc END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T10:45:38.000000Z K 7 svn:log V 412 Forced commit due to missing log on the last revision. Split the spanning tree state into its own structures and provide a simple API to perform functions such as adding and deleting ports. This is just a mechanical change and the STP operation remains the same. The bridgestp code now has no knowledge of if_bridge. This makes the code easier to read and can now also support other bridges such as ng_bridge. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-26T10:53:32.000000Z K 7 svn:log V 80 MFC 1.5: Use tr(1) to lowercase strings in a way which works with all locales. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-07-26T11:49:23.000000Z K 7 svn:log V 35 MFC: Add minidump support on pc98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-07-26T11:57:25.000000Z K 7 svn:log V 49 MFi386: Add the ath and the wlan crypto support. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-07-26T11:58:32.000000Z K 7 svn:log V 37 MFC: Remove NEC SV-98/2-B05 and B06. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-07-26T12:59:42.000000Z K 7 svn:log V 21 Add snd_emu10kx_load END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-26T16:31:10.000000Z K 7 svn:log V 68 Add an entry for enigma(1)/crypt(1) change on 64-bit architectures. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-26T16:56:56.000000Z K 7 svn:log V 31 Remove stale comment about arm END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:05:11.000000Z K 7 svn:log V 34 Forward declare struct trapframe. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:06:39.000000Z K 7 svn:log V 24 Include needed clock.h. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:12:54.000000Z K 7 svn:log V 388 o Move the prototype of mem_valid() from ofw_machdep.h to md_var.h. This avoids that mem.c has to include ofw_machdep.h, including all OFW related headers. o Provide a stub for OF_decode_addr(), which is used by low-level console drivers to obtain a tag and handle given a OFW phandle. This is different from sparc64, where a fake bus tag needs to be created explicitly. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:17:23.000000Z K 7 svn:log V 120 Implement uart_cpu_eqres() and uart_cpu_getdev(). This allows FreeBSD to use a serial console, as per the OFW settings. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:21:59.000000Z K 7 svn:log V 181 Implement UART_IOCTL_BAUD for the Z8530. This allows a serial console on PowerPC use the current setting of the hardware and not second guess what the OFW does on various machines. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:29:37.000000Z K 7 svn:log V 190 On PowerPC the clock for the BRG comes from RTxC, not PCLK. Add a quick hack to deal with this. We may need to formalize this better and have this information come from the bus attachments. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:34:05.000000Z K 7 svn:log V 94 o Enable -Werror o Remove commented-out sio(4) o Remove zs(4) o Add scc(4) o Add uart(4) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T17:35:40.000000Z K 7 svn:log V 55 o Remove device zs o Remove nodevice uart o Reorder END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-26T19:16:34.000000Z K 7 svn:log V 377 Remove call to soisdisconnected() in uipc_detach(), since it will already have been invoked by uipc_close() or uipc_abort(), and the socket is in a state of being torn down by the time we get to this point, so kqueue state frobbed by soisdisconnected() is not available, so frobbing it will result in a panic. Reported by: Munehiro Matsuda END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T19:29:11.000000Z K 7 svn:log V 105 Repocopy from: src/sys/powerpc/psim/sio_iobus.c to: src/sys/powerpc/psim/uart_iobus.c Meister: simon@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T19:39:55.000000Z K 7 svn:log V 42 Turn this into an uart(4) bus attachment. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T19:43:02.000000Z K 7 svn:log V 39 Replace sio_iobus.c with uart_iobus.c. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-26T19:44:42.000000Z K 7 svn:log V 56 Remove zs(4). It has been replaced by scc(4) & uart(4). END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-26T20:35:52.000000Z K 7 svn:log V 51 Add Memory Corp 512MB CF Flash. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T20:56:02.000000Z K 7 svn:log V 68 Remove stp variables that are already initialised in bstp_attach(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-07-26T21:49:25.000000Z K 7 svn:log V 82 MFC: 1.26 Don't print an error if used on a kernel with no ipv6, just do nothing. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T22:07:39.000000Z K 7 svn:log V 36 Add bridgestp as a seperate module. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T22:10:10.000000Z K 7 svn:log V 32 Hook bridgestp up to the build. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-26T22:15:15.000000Z K 7 svn:log V 36 bridgestp is now a seperate module. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-27T00:07:10.000000Z K 7 svn:log V 75 Properly propagate overrun conditions to the TTY layer. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-27T00:26:20.000000Z K 7 svn:log V 287 Make sure to use the same DMA map in DMA map load/unload operations by remembering a map used in bus_dmamap_load_mbuf_sg(9). I have no idea how it could ever worked before. This fixes a warning generated by a diagnostic check in sun4v iommu driver. Reported by: jb Tested by: jb(sun4v) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-27T00:29:44.000000Z K 7 svn:log V 38 Nuke invalid use of BUS_DMA_ALLOCNOW. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-27T00:43:34.000000Z K 7 svn:log V 122 Prepending an mbuf after loading a DMA map results in unexpected result. So, modify mbuf chains before loading a DMA map. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-07-27T03:50:38.000000Z K 7 svn:log V 75 Fixing compilation bustage: net/if_bridgevar.h depends on net/bridgestp.h. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-07-27T04:00:12.000000Z K 7 svn:log V 208 Fix cpp logic in arena_malloc() to adjust size when assertions are enabled, even if stats gathering is disabled. [1] Remove 'size' parameter from several functions that do not use it. Reported by: [1] ache END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T04:54:03.000000Z K 7 svn:log V 26 Respect MK_INET6_SUPPORT. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-27T05:06:43.000000Z K 7 svn:log V 69 Add device ID for second generation D-Link DGE-530T. PR: kern/99903 END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-07-27T06:15:37.000000Z K 7 svn:log V 75 Fixing compilation bustage: net/if_bridgevar.h depends on net/bridgestp.h. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-27T11:41:37.000000Z K 7 svn:log V 122 Define BYTE_MSF if we're compiling a big endian kernel, so that DDB can correctly disassemble instructions on big endian. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T11:52:12.000000Z K 7 svn:log V 177 Fix what looks like a typo: MODULE_DEPEND() takes module names, not KLD file names; and GELI module's name is g_eli, not geom_eli. Approved by: pjd (silence) MFC after: 5 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T12:05:05.000000Z K 7 svn:log V 75 Cook CFLAGS by the modern recipe: - use WARNS; - respect MK_INET6_SUPPORT. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T12:15:37.000000Z K 7 svn:log V 51 Respect MK_INET6_SUPPORT. Apply style.Makefile(5). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T12:28:05.000000Z K 7 svn:log V 26 Respect MK_INET6_SUPPORT. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T12:36:46.000000Z K 7 svn:log V 40 style.Makefile(5) is good for our eyes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-27T12:58:08.000000Z K 7 svn:log V 79 MFC: rev. 1.33 Mention that MegaRAID SAS controllers are supported by mfi(4). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T13:26:29.000000Z K 7 svn:log V 92 Obey MK_INET6_SUPPORT. This is also a good chance to apply style.Makefile(5) in some cases. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T13:47:02.000000Z K 7 svn:log V 47 rpcinfo(1) doesn't depend on INET6 explicitly. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T14:19:30.000000Z K 7 svn:log V 248 Respect MK_INET6_SUPPORT. Move INET6 out of the RELEASE_CRUNCH conditional block because it saves as little as 2% of the binary size and IPv6 is rather popular today. (Some other binaries, e.g., telnetd, include INET6 for RELEASE_CRUNCH already.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T14:20:14.000000Z K 7 svn:log V 23 Obey MK_INET6_SUPPORT. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-27T14:36:28.000000Z K 7 svn:log V 109 Use 4 as QUANTUM_2POW_MIN on arm as it is on any other architecture, to avoid triggering an assertion later. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T14:49:51.000000Z K 7 svn:log V 21 Fix build w/o INET6. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T14:52:12.000000Z K 7 svn:log V 23 Obey MK_INET6_SUPPORT. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T15:28:22.000000Z K 7 svn:log V 104 ndp, rrenumd, rtadvd, and rtsold are IPv6-only tools, they belong to under MK_INET6 with their friends. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T15:31:13.000000Z K 7 svn:log V 91 These IPv6-only tools have no explicit dependency on the INET6 macro. Tested with: cmp(1) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T15:39:29.000000Z K 7 svn:log V 78 ip6addrctl belongs to under MK_INET6, it is of no use w/o IPv6 in the system. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T17:50:05.000000Z K 7 svn:log V 149 rtsol is just a stripped-down version of rtsold and as such it should be built only if MK_INET6 is true: it's specific to IPv6. Pointed out by: ume END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T17:56:57.000000Z K 7 svn:log V 234 INET6 has no effect on rtsol, it's an IPv6-only tool with its code independent of the macro. This utility is just omitted from the build as a whole by ../Makefile if MK_INET6 is set to false. Pointed out by: ume Tested with: cmp(1) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T18:28:14.000000Z K 7 svn:log V 87 Add eye candy while I'm here: a blank line between the license and the $FreeBSD$ line. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-27T19:08:21.000000Z K 7 svn:log V 253 Document that both sides of -a or -o are always evaluated. This "feature" doesn't seem to be in the standards or elsewhere, and it is against what we are used to in C and sh(1), so put the paragraph under BUGS. Pointed out by: dougb MFC after: 3 days END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-07-27T19:09:32.000000Z K 7 svn:log V 187 Conditionally expand the size_invs lookup table in arena_run_reg_dalloc() so that architectures with a quantum of 8 (rather than 16) work. Restore arm's quantum to 8. Submitted by: jmg END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-27T19:12:49.000000Z K 7 svn:log V 23 Remove Alpha remnants. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T19:47:22.000000Z K 7 svn:log V 410 Don't allow MAXMEM or hw.physmem to extend the top of memory if our memory map was obtained from the SMAP. SMAP is trustworthy, and the memory extending feature is a band-aid for older systems where FreeBSD's methods of detecting memory were not always trustworthy. This fixes the issue where using hw.physmem could result in the ACPI tables getting trashed breaking ACPI. MFC after: 3 days Tested on: i386 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T19:50:16.000000Z K 7 svn:log V 97 Add missing ptrace(2) system-call stops to various syscall() implementations. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T19:54:41.000000Z K 7 svn:log V 783 Fix a file descriptor race I reintroduced when I split accept1() up into kern_accept() and accept1(). If another thread closed the new file descriptor and the first thread later got an error trying to copyout the socket address, then it would attempt to close the wrong file object. To fix, add a struct file ** argument to kern_accept(). If it is non-NULL, then on success kern_accept() will store a pointer to the new file object there and not release any of the references. It is up to the calling code to drop the references appropriately (including a call to fdclose() in case of error to safely handle the aforementioned race). While I'm at it, go ahead and fix the svr4 streams code to not leak the accept fd if it gets an error trying to copyout the streams structures. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T19:58:18.000000Z K 7 svn:log V 406 Write a magic value into mtx_lock when destroying a mutex that will force all other mtx_lock() operations to block. Previously, when the mutex was destroyed, it would still have a valid value in mtx_lock(): either the unowned cookie, which would allow a subsequent mtx_lock() to succeed, or a pointer to the thread who destroyed the mutex if the mutex was locked when it was destroyed. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T20:00:27.000000Z K 7 svn:log V 246 Hold the reference on the mountpoint slightly longer in kern_statfs() and kern_fstatfs() so that it is still held when prison_enforce_statfs() is called (since that function likes to poke and prod at the mountpoint structure). MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-07-27T20:33:48.000000Z K 7 svn:log V 225 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. MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-27T21:01:48.000000Z K 7 svn:log V 112 Remove the dependency of bridgestp.h on if_bridgevar.h by moving a couple of private structures to if_bridge.c. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T21:25:50.000000Z K 7 svn:log V 98 Add KTR_SYSC tracing to the syscall() implementations that didn't have it yet. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T21:45:55.000000Z K 7 svn:log V 296 Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it is a count of all non-spin locks, not just lockmgr locks. This can give us a much cheaper way to see if we have any locks held (such as when returning to userland via userret()) without requiring WITNESS. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T22:19:02.000000Z K 7 svn:log V 74 Argh, fix compile with XBOX enabled. Somehow I missed a LINT compile. :( END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-27T22:32:30.000000Z K 7 svn:log V 578 Unify the checking for lock misbehavior in the various syscall() implementations and adjust some of the checks while I'm here: - Add a new check to make sure we don't return from a syscall in a critical section. - Add a new explicit check before userret() to make sure we don't return with any locks held. The advantage here is that we can include the syscall number and name in syscall() whereas that info is not available in userret(). - Drop the mtx_assert()'s of sched_lock and Giant. They are replaced by the more general checks just added. MFC after: 2 weeks END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-07-28T06:10:33.000000Z K 7 svn:log V 546 - Use SWIDTH0 for combining characters. [1] - 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". PR: misc/100212 [1] Submitted by: "J.R. Oldroyd" <> Reviewed by: "J.R. Oldroyd" <> (revised patch) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T06:33:27.000000Z K 7 svn:log V 227 Kerberos/Heimdal doesn't really depend on the INET6 macro. In the Heimdal distro, only kerberized telnet refers to INET6, but we don't build it, we use contrib/telnet linked with the Kerberos libs instead. Tested with: cmp(1) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-28T08:43:49.000000Z K 7 svn:log V 39 Mention the dependency on firmware(4). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T10:16:24.000000Z K 7 svn:log V 29 Populate the MK_INET6 block. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T10:50:11.000000Z K 7 svn:log V 86 The lukemftpd code depends on INET6. Therefore MK_INET6_SUPPORT should be respected. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T10:59:27.000000Z K 7 svn:log V 48 Do not forget about INET6 and MK_INET6_SUPPORT. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T11:09:21.000000Z K 7 svn:log V 153 Avoid useless work: Do not build inet6.c if INET6 support is off. This also avoids pretending that netstat includes inet6.c in the output from ident(1). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T11:17:17.000000Z K 7 svn:log V 110 Both fields of struct timeval are of a non-basic type, so we should cast them to a type printf() knows about. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-28T13:56:17.000000Z K 7 svn:log V 20 Update manual page. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2006-07-28T14:37:38.000000Z K 7 svn:log V 191 'make distribution' must be run from src, not src/etc, so that the proper set of /usr/share/mk/* is available. This is necessary to build a 7.x NanoBSD image on a 6.x host. Reviewed by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-28T14:46:19.000000Z K 7 svn:log V 50 Use existing roundup2() macro. Suggested by: njl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-28T14:48:30.000000Z K 7 svn:log V 24 Remove trailing spaces. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-28T16:00:59.000000Z K 7 svn:log V 259 Add a test program which performs some very basic tests of libmp(3). It is by no means expected to perform a complete test of the library for correctness, but is meant to test the API to make sure libmp (or libcrypto) updates don't totally break the library. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T16:09:19.000000Z K 7 svn:log V 234 Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel counters. Tested on: i386 amd64 ia64 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-28T16:10:27.000000Z K 7 svn:log V 50 MFC rev. 1.106: NetBSD 3.0.1, DragonFlyBSD 1.6.0. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T16:16:40.000000Z K 7 svn:log V 220 - Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. - Fix a nlist initialization: it should be terminated by a NULL entry. - Constify. - Catch an unused parameter. Tested on: i386 amd64 ia64 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-28T16:17:49.000000Z K 7 svn:log V 59 MFC rev. 1.35: complete fix for large group lines parsing. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-28T16:22:41.000000Z K 7 svn:log V 60 MFC rev. 1.29 fsdb.8 and rev. 1.33 fsdb.c: findblk command. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-28T16:27:40.000000Z K 7 svn:log V 27 MFC an 'optional' keyword. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-28T16:45:25.000000Z K 7 svn:log V 141 MFC rev. 1.15: Improve mark-up: References to "start" as an rc.d method should be tagged with ".Cm". (Refs to "stop" are OK already.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T16:56:17.000000Z K 7 svn:log V 244 - Explicitly lock Giant to protect the fields in the svr4_strm structure except for s_family (which is read-only once after it is set when the structure is created). - Mark svr4_sys_ioctl(), svr4_sys_getmsg(), and svr4_sys_putmsg() MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T16:56:44.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-28T18:06:39.000000Z K 7 svn:log V 987 - fix memory leak after "kldunload snd_ak452x.ko" - fix "No sound in KDE": The problem is related to the implementation of Envy24(1712) hardware mixer support in the driver. Envy24(1712) has very precise 36bit wide hardware mixer, which is superior that vchans (software sound mixer in the kernel). The driver supports Envy24(1712) hardware mixer, so up to 10 channels (5 stereo pairs) can be playback simultaneously. However, there are problems with the implementation of Envy24(1712) hardware mixer support in the driver, one of them is the problem with "no sound in KDE": When playing back several channels simultaneously and stoping one of the channels, sound starts to stutter and plays at very low speed. Another problem is: Playing back simultaneously more than one 24bit/32bit sound file or 16bit sound file and 24bit/32bit sound file doesn't work as expected. Submitted by: "Konstantin Dimitrov" END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T18:55:18.000000Z K 7 svn:log V 145 Various fixes to comments in the syscall master files including removing cruft from the audit import and adding mention of COMPAT4 to freebsd32. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T19:05:28.000000Z K 7 svn:log V 434 Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to mark system calls as being MPSAFE: - Stop conditionally acquiring Giant around system call invocations. - Remove all of the 'M' prefixes from the master system call files. - Remove support for the 'M' prefix from the script that generates the syscall-related files from the master system call files. - Don't explicitly set SYF_MPSAFE when registering nfssvc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T19:08:37.000000Z K 7 svn:log V 31 Regen for MPSAFE flag removal. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-28T20:14:43.000000Z K 7 svn:log V 221 Add missing .El to close list. This confused the manual page -> hardware notes perl script somewhat and resulted in part of the output for the stge(4) entry not to be present in the hardware notes. Noticed by: brueffer END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-28T20:22:58.000000Z K 7 svn:log V 117 Retire SYF_ARGMASK and remove both SYF_MPSAFE and SYF_ARGMASK. sy_narg is now back to just being an argument count. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-28T20:23:03.000000Z K 7 svn:log V 266 - Add more debugging information to make it simpler to understand what's going on in cases where the "state engine" doesn't act as expected, e.g. in the case of a list not being closed in the manual page being parsed. - Bump copyright year. MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-28T21:20:00.000000Z K 7 svn:log V 84 Allow to configure a kernel with envy24 support as documented in the manual page... END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-07-28T21:34:37.000000Z K 7 svn:log V 38 Remove debug code. Suggested by: des END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-28T23:00:16.000000Z K 7 svn:log V 448 Do not put BN_CTX structures on the stack, but instead allocate them runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we can only allocate BN_CTX on the stack by including an internal OpenSSL header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having it on the stack is not possible at all. This is done as preparation for OpenSSL 0.9.8b import. Tested on: amd64 i386 ia64 Tested with: src/tools/regression/lib/libmp END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-07-29T04:22:32.000000Z K 7 svn:log V 351 MFC 1.81-1.83: - clean-up: rewrote explore_null and explore_numeric without using sentinel. we do not need it since we make (at most) a single addrinfo entry in these cases. - RFC3493 requires use of inet_aton for AF_INET. - simplification in explore_numeric: unified the post-process with GET_AI and GET_PORT. Commented on an impossible case. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-07-29T04:26:09.000000Z K 7 svn:log V 118 MFC 1.59, 1.60: - draft-ietf-ipngwg-icmp-namelookups-09 - make it compilable - stop use of mutex lock in ICMP lookup. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-29T06:29:07.000000Z K 7 svn:log V 62 Extend the MK_INET6 section by rescue/ping6 and the manpages. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-29T08:24:12.000000Z K 7 svn:log V 1100 MFC: src/sys/netinet/ip_dummynet.c rev. 1.101 - Fix following rules: pipe X (tag|altq) Y ... src/sys/netinet/ip_fw.h rev. 1.106 src/sys/netinet/ip_fw2.c rev. 1.132 1.134 1.135 src/sbin/ipfw/ipfw2.c rev. 1.89 1.91 src/sbin/ipfw/ipfw.8 rev. 1.188 1.189 1.190 - Implement internal (i.e. inside kernel) packet tagging using mbuf_tags(9). Since tags are kept while packet resides in kernelspace, it's possible to use other kernel facilities (like netgraph nodes) for altering those tags. Submitted by: Andrey Elsukov Submitted by: Vadim Goncharov - install_state(): style(9) cleanup - Add support of 'tablearg' feature for: a) 'tag' & 'untag' action parameters. b) 'tagged' & 'limit' rule options. - Minor imporvements to ipfw parser: a) new macros: GET_UINT_ARG - support of 'tablearg' keyword, argument range checking. PRINT_UINT_ARG - support of 'tablearg' keyword. b) strtoport(): do not silently truncate/accept invalid port list expressions like: '1,2-abc' or '1,2-3-4' or '1,2-3x4', style(9) cleanup. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-29T08:30:12.000000Z K 7 svn:log V 75 MFC rev. 1.25: Reset autonegotiation timer if current media is not 'auto'. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-29T08:57:29.000000Z K 7 svn:log V 82 MFC rev. 1.121: Make it easier to find that we have test(1) built-in in sh(1). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-07-29T09:56:29.000000Z K 7 svn:log V 107 Tell more of the sh(1) history. Acknowledge Kenneth Almquist's contribution in AUTHORS. MFC after: 5 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-29T18:38:54.000000Z K 7 svn:log V 369 Remove sio(4) and related options from MI files to amd64, i386 and pc98 MD files. Remove nodevice and nooption lines specific to sio(4) from ia64, powerpc and sparc64 NOTES. There were no such lines for arm yet. sio(4) is usable on less than half the platforms, not counting a future mips platform. Its presence in MI files is therefore increasingly becoming a burden. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:10:21.000000Z K 7 svn:log V 32 Vendor import of OpenSSL 0.9.8b END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:10:21.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r160814, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-07-29T19:10:22.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_8b'. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:14:51.000000Z K 7 svn:log V 50 Resolve conflicts after import of OpenSSL 0.9.8b. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-29T19:39:03.000000Z K 7 svn:log V 442 Change maketempfile() to return a FILE* so as to eliminate the fopen() that immediately follows the only call to it. maketempfile() uses mkstemp(), so the temporary file has already been opened and using fopen() again just opens the file twice. This also fixes the invalid mode used on the fopen(). While here, assign NULL to fxref after fclose() because we test for fxref being !NULL to determine if we have the (temporary) hints file open. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:41:41.000000Z K 7 svn:log V 27 Upgrade to OpenSSL 0.9.8b. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-29T19:43:26.000000Z K 7 svn:log V 268 Link kldxref(8) static on PowerPC to work around a SIGSEGV that cannot easily be analyzed due to there being no debugger yet. The SIGSEGV only happens when kldxref is linked shared. Since kldxref(8) is needed for a release build, having it not dump core is important. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:44:07.000000Z K 7 svn:log V 50 Bump __FreeBSD_version for OpenSSL 0.9.8b import. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-29T19:47:09.000000Z K 7 svn:log V 42 Add /usr/lib/engines for OpenSSL engines. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-07-29T21:07:01.000000Z K 7 svn:log V 134 Add lib/libbz2 to the _prebuild_libs list. (This is a partial MFC of rev 1.516 by ru.) The upcoming libarchive update requires this. END