ıW117386 201 377 106 1352 226 1793 331 564 240 297 124 237 135 237 143 237 130 237 182 140 175 240 252 179 175 180 182 204 237 282 204 128 210 121 195 125 275 224 143 184 152 133 137 118 141 230 199 167 198 1074 325 173 268 125 115 110 115 136 107 239 117 1069 170 173 476 176 151 163 213 284 323 120 161 98 513 119 160 145 119 257 534 240 551 508 1880 276 210 296 141 205 364 284 153 184 174 182 134 169 372 645 221 465 446 432 343 166 294 463 164 710 343 381 225 117 423 178 368 157 983 149 140 152 147 124 241 179 126 143 426 244 191 240 231 539 220 258 126 237 183 146 203 237 162 237 185 367 943 130 168 221 174 237 150 129 247 655 349 160 167 438 264 138 185 346 143 155 243 400 128 354 193 106 176 160 118 193 98 187 216 563 197 540 201 251 238 214 146 163 234 240 209 252 241 167 98 295 231 542 414 294 200 306 K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-07-10T18:43:17.000000Z K 7 svn:log V 282 Add support for a bunch of Microsoft networking products: - MN-110 10/100 USB ethernet (ADMtek Pegasus II, if_aue) - MN-120 10/100 cardbus (ADMtek Centaur-C, if_dc) - MN-130 10/100 PCI (ADMtek Centaur-P, if_dc) Also update dc(4) man page to mention support for MN-120 and MN-130. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-07-10T18:43:39.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-07-10T20:38:48.000000Z K 7 svn:log V 1256 Add support for the 8139C+ chipset. Unlike the other chips in the 8139 series, the 8139C+ has a descriptor-based DMA mechanism, and its performance is actually pretty respectable. Note: the 8139D chip does not support C+ mode. Only the 8139C+ and 8169 gigE chips support C+ mode. Supported features: - RX and TX checksum offload - hardware VLAN tag insertion/extraction - TX interrupt moderation using the 8139's on-board timer Everything should be properly busdma'ed and endian-independent, so things should work ok on non-x86 platforms. Unfortunately, my call for testers on this code was met with deafening silence, and I don't have access to any non-x86 FreeBSD boxes at the moment, so this is speculation. The device detection code has been cleaned up a little as well (thanks to Michal Mertl) for the patches. There are also updates to the rl(4) man page (which I accidentally checked in before when I updated the dc(4) man page. Oops.) Todo: finish support for the 8169 gigabit ethernet chip. This mainly requires writing an rlgphy driver to handle the 8169's built-in PHY. This will have to wait until I actually get my hands on an 8169 card for testing though. (I still can't find a source for one in the U.S. Suggestions/pointers welcome.) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-07-10T20:53:56.000000Z K 7 svn:log V 128 -l prints all permissions, not just owner and group PR: 54294 Submitted by: Per Hedeland MFC after: 3 days END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-07-10T23:27:35.000000Z K 7 svn:log V 1699 Lock down the IOMMU bus_dma implementation to make it safe to use without Giant held. A quick outline of the locking strategy: Since all IOMMUs are synchronized, there is a single lock, iommu_mtx, which protects the hardware registers (where needed) and the global and per-IOMMU software states. As soon as the IOMMUs are divorced, each struct iommu_state will have its own mutex (and the remaining global state will be moved into the struct). The dvma rman has its own internal mutex; the TSB slots may only be accessed by the owner of the corresponding resource, so neither needs extra protection. Since there is a second access path to maps via LRU queues, the consumer- provided locking is not sufficient; therefore, each map which is on a queue is additionally protected by iommu_mtx (in part, there is one member which only the map owner may access). Each map on a queue may be accessed and removed from or repositioned in a queue in any context as long as the lock is held; only the owner may insert a map. To reduce lock contention, some bus_dma functions remove the map from the queue temporarily (on behalf of the map owner) for some operations and reinsert it when they are done. Shorter operations and operations which are not done on behalf of the lock owner are completely covered by the lock. To facilitate the locking, reorganize the streaming buffer handling; while being there, fix an old oversight which would cause the streaming buffer to always be flushed, regardless of whether streaming was enabled in the TSB entry. The streaming buffer is still disabled for now, since there are a number of drivers which lack critical bus_dmamp_sync() calls. Additional testing by: jake END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-07-11T00:01:03.000000Z K 7 svn:log V 236 Add init_param3() to subr_param. This function is called immediately after the kernel map has been sized, and is the optimal place for the autosizing of memory allocations which occur within the kernel map to occur. Suggested by: bde END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-11T01:03:55.000000Z K 7 svn:log V 468 Rename DISABLE_TRACE to UWX_TRACE_ENABLE and change the conditional compilation accordingly. The net effect is that tracing is not by default present and that it can easily be compiled-in. The tracer uses getenv() and printf(), which cannot be used in all cases (ie from the debugger) and with this change we improved the applicability of the unwinder. This change is made on the vendor branch and given back to the vendor for possible inclusion in future versions. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-11T01:03:55.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117392, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 green K 8 svn:date V 27 2003-07-11T02:19:19.000000Z K 7 svn:log V 202 If we must yell at the user than a file cannot be linked into place when requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:40:53.000000Z K 7 svn:log V 32 Gcc 3.3.1-pre as of 2003-07-11. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:40:53.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117395, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:04.000000Z K 7 svn:log V 43 Gcc 3.3.1-pre 2003-07-11 C++ support bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:04.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117397, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:15.000000Z K 7 svn:log V 51 Gcc 3.3.1-pre 2003-07-11 Objective C support bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:15.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117399, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:19.000000Z K 7 svn:log V 38 Gcc 3.3.1-pre 2003-07-11 libf2c bits. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T03:42:19.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117401, 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 2003-07-11T03:42:20.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'gcc-vendor-gcc_3_3_1_20030711'. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:00:23.000000Z K 7 svn:log V 48 FreeBSD uses stock versions of these GCC files. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:03:28.000000Z K 7 svn:log V 83 Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.3.1-pre sources. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:24:59.000000Z K 7 svn:log V 147 Merge FreeBSD modifications into gcc 3.3.1-pre: 1.2 framework for our kernel printf enhancements. 1.3 suppress prototype warnings on K&R main. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:28:01.000000Z K 7 svn:log V 159 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.10 -mno-align-long-strings. 1.11 Allow the specification of LONG_TYPE_SIZE on the command line. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:29:35.000000Z K 7 svn:log V 87 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.11 -mno-align-long-strings. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:32:20.000000Z K 7 svn:log V 83 Merge FreeBSD changes into GCC 3.3.1-prerelease: 1.2 Printf format errors fixes. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:34:52.000000Z K 7 svn:log V 88 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.8 printf format error fixes. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:37:16.000000Z K 7 svn:log V 90 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.2 Localize the version string. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:43:01.000000Z K 7 svn:log V 111 Merge FreeBSD changes into GCC 3.3.1-prerelease: 1.2 Tweaks to make this file live beside our hacked config. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:45:39.000000Z K 7 svn:log V 144 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.{2,15} FREEBSD_NATIVE. 1.21 "GCC_OPTIONS". 1.{16,25,27} Cross-compiling issues. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:48:05.000000Z K 7 svn:log V 189 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.2 -fformat-extensions. 1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha. 1.14 -O0 -O1 optimize alignment for time, not size. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:49:30.000000Z K 7 svn:log V 111 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.2 don't let gcc(1) hide warnings in system headers. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:52:32.000000Z K 7 svn:log V 36 Use stock version of this file now. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T04:54:45.000000Z K 7 svn:log V 117 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.4 Look into right directory when linking 32-bit binaries. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:03:47.000000Z K 7 svn:log V 29 Update for 3.3.1-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:05:45.000000Z K 7 svn:log V 102 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.8 Change symbol values to match freebsd.h. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:09:19.000000Z K 7 svn:log V 33 Update for GCC 3.3.1-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:11:14.000000Z K 7 svn:log V 182 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.3 suppress warnings on K&R main. Rev. 1.2 (options for kernel printf enhancements) changes have been moved to another END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:12:46.000000Z K 7 svn:log V 131 Merge FreeBSD modifications into gcc 3.3.1-prerelease: 1.2 -fformat-extensions. 1.3 -printf0 1.6 teach GCC about %y for DDB. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:24:32.000000Z K 7 svn:log V 51 Temporarily turn off -Werror for these components. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:27:23.000000Z K 7 svn:log V 92 Change CFLAGS to more closely follow options used when GCC is built from stock FSF sources. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:29:11.000000Z K 7 svn:log V 60 Add unwind-c.c file required for -fexceptions in C sources. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:29:59.000000Z K 7 svn:log V 41 Update for new C++ include files layout. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:30:58.000000Z K 7 svn:log V 45 Point to the new C++ include files location. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:33:24.000000Z K 7 svn:log V 26 Update for GCC 3.3.1-pre. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:37:23.000000Z K 7 svn:log V 49 Update bmake bits to build GCC 3.3.1-prerelease. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T05:47:05.000000Z K 7 svn:log V 137 Do not compare unsigned int values with ULONG_MAX. The comparison is always false on 64bit platforms and GCC 3.3.1 issues warning there. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T06:00:50.000000Z K 7 svn:log V 106 Merge FreeBSD changes into GCC 3.3.1-prerelease. Move FreeBSD specific flag variables from c-decl.c here. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T07:13:42.000000Z K 7 svn:log V 75 Temporarily switch off -Werror until new GCC warning have been dealt with. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T07:49:40.000000Z K 7 svn:log V 105 Fix i386 assembly constraints. The same register cannot be in output and clobber lists at the same time. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-07-11T08:19:52.000000Z K 7 svn:log V 979 Squelch spurious "gigabit link up" messages generated on some fiber NICs (mainly the 3Com 3c996B/BCM5701). For some reason that I don't fully understand, the 5701 signals PCS encoding errors as though they were link change events, i.e. the 'link state changed' bit in the status word of the status block is updated and an interrupt is generated. This would cause the bge_tick() function to be invoked and a "gigabit link up" message to be printed on the console. To avoid this, the interrupt handler now checks the MAC status register when a link change interrupt is triggered, and it will only call the bge_tick() function if the 'PCS encoding error detected' bit is clear. (This change should have no effect on copper NICs since this bit can only ever be set in TBI mode. I do not know how it affects 5704 NICs with a BCM8002 SERDES PHY.) Special thanks to: Sherry Rogers at UCB for allowing me access to one of their traffic monitor boxes so I could diagnose this problem. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-11T08:47:15.000000Z K 7 svn:log V 229 Make UWX_TRACE_ENABLE a global option so that we don't have to modify vendor code (libuwx) with a specific include directive. The second order advantage is that we can also enable verbosity in the glue code (ia64/ia64/unwind.c). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-11T08:49:26.000000Z K 7 svn:log V 78 Remove a gratuitous align directive after the endp directive for IVT entries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-11T08:52:48.000000Z K 7 svn:log V 172 Add a body directive before the first instruction in epc_syscall(). This results in a zero length prologue and a body that covers the whole function. This is more correct. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:15:21.000000Z K 7 svn:log V 33 Add asus wl100 PR: 49033, 53249 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:15:45.000000Z K 7 svn:log V 23 sync to pccarddev 1.54 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:16:40.000000Z K 7 svn:log V 18 remove stray ASUS END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:17:07.000000Z K 7 svn:log V 23 sync to pccarddev 1.55 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:19:04.000000Z K 7 svn:log V 44 Add support for asus wl100 PR: 49033/53249 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T09:25:18.000000Z K 7 svn:log V 15 add asus wl100 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-07-11T13:42:23.000000Z K 7 svn:log V 142 If a thread is sending signal to its process, if the thread can handle the signal itself, it should get it without looking for other threads. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-07-11T13:50:31.000000Z K 7 svn:log V 20 Fix if_wi breakage. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-07-11T14:13:21.000000Z K 7 svn:log V 976 Huge cleanup of the rarpd(8) code : - Use getifaddrs() instead of rolling our own buggy one. Previously, rarpd(8) would fail to see some interfaces because of a hardcoded limit. It now successfully sees any interface in the system, and this also makes the code _much_ simpler. - Replace strncpy() calls with strlcpy() calls. Some uses of strncpy() were bogus ; the code wasn't ensuring that the string was NUL terminated. - Don't try to guard about select() FD_* macros being undefined. - Use IF_NAMESIZE and ETHER_ADDR_LEN macros where appropriate. - Add static keywords to function definitions for consistency, since the prototypes have it (I wonder why GCC didn't complain about this). - Remove compat code for very old BSD versions and SunOS. - Remove code for systems not having the dirent.h header. - The code is now WARNS=5 clean so mark it as such. - Don't add -DTFTP_DIR="/tftpboot" to the build command line since it's the default. MFC after: 2 weeks END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-07-11T14:20:50.000000Z K 7 svn:log V 78 Forced commit to note that the previous commit fixed this PR: PR: i386/40957 END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-07-11T16:12:50.000000Z K 7 svn:log V 81 NFS support should be conditional on LOADER_NFS_SUPPORT, not LOADER_NET_SUPPORT. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-07-11T16:57:43.000000Z K 7 svn:log V 380 Turn rescue back on, conditional to NORESCUE. We seem to be split on using underscores or not, so I just randomly picked a style. I think I have the logic correct, but if someone wants to give it a once over that would be good. Tim submitted a patch to fix the cross-building issues which I tested with a tinderbox run for sparc64. Submitted by: Tim Kientzle END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-07-11T17:01:58.000000Z K 7 svn:log V 81 Forgot that the rescue subdir needs to be a conditional for the build-tools bit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T17:04:37.000000Z K 7 svn:log V 59 Fix typo for BURN_BRIDGES' file, it should be opt_global.h END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-07-11T17:15:19.000000Z K 7 svn:log V 71 Lower WARNS to 3 so that this still compiles on non x86 architectures. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-11T18:55:58.000000Z K 7 svn:log V 120 Include osreldate.h instead of sys/param.h to get __FreeBSD_version definition. This fixes buildworld breakage on ia64. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-07-11T20:49:36.000000Z K 7 svn:log V 191 Unlock the fxp driver lock before calling fxp_poll() to avoid recursing on the lock when using DEVICE_POLLING. Tested by: Robin P. Blanchard Reviewed by: njl END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-07-11T20:51:16.000000Z K 7 svn:log V 230 Since (x)install is pretty unhelpfull and just spits out a Usage for a lot of unrelated error conditions, at least report the line number where it bailed. Don't use multiline string literals for Usage, gcc 3.3 doesn't like them. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-07-11T21:08:59.000000Z K 7 svn:log V 23 MFC: 1.32 Grammar fix END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-11T21:17:29.000000Z K 7 svn:log V 69 Added a few more entries. Submitted by: Lars Eggert END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-11T21:17:53.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-11T21:39:25.000000Z K 7 svn:log V 418 Fix the gcc-3.3 boot problem. Gcc now optimizes 'int foo = 0' by moving it to the bss section and skips the initialization. This causes all sorts of havoc because the bogus bss zero code clobbered previously set variables. All our supported boot loaders already zero the bss, even kgzip for the elf case. Since we dont generate a.out kernels, the old a.out bootblocks and the a.out kgzip are not a factor anymore. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T22:44:59.000000Z K 7 svn:log V 27 gcc3.3: add dire warnings. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-07-11T23:01:49.000000Z K 7 svn:log V 66 Partial MFC: keep track of the last fd properly if its above 64K. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-11T23:40:16.000000Z K 7 svn:log V 53 Delete the panic part of 20030711, it has been fixed END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-07-12T01:16:54.000000Z K 7 svn:log V 26 Correct a spelling error. END K 10 svn:author V 6 robert K 8 svn:date V 27 2003-07-12T02:00:16.000000Z K 7 svn:log V 161 Make the system call vector name of a process accessible to user land applications by introducing the KERN_PROC_SV_NAME sysctl node, which is searchable by PID. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-12T04:20:56.000000Z K 7 svn:log V 438 Fix a nasty bug that was exposed by disabling the trace support by default. There were 2 cases where the trace code was in the else- part of an if-statement without any compound construct to protect against nullification. The result was that 2 unconditional statements turned into conditional statements and wrecked havoc. This fix has been returned to the vendor and in anticipation of a future import committed onto the vendor branch. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-12T04:20:56.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117465, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-12T04:35:09.000000Z K 7 svn:log V 455 Add logic to trace across/over a trapframe. We have ABI markers in our unwind information for functions that are entry points into the kernel. When stepping to the next frame, the unwinder will let us know when sych a marker was encountered. We use this to stop the current unwind session, query the trapframe and restart a new unwind session based on the new trapframe. The implementation is a bit sloppy, but at this time there are bigger fish to fry. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-12T05:54:17.000000Z K 7 svn:log V 413 Implement comments embedded into ipfw2 instructions. Since we already had 'O_NOP' instructions which always match, all I needed to do is allow the NOP command to have arbitrary length (i.e. move its label in a different part of the switch() which validates instructions). The kernel must know nothing about comments, everything else is done in userland (which will be described in the upcoming ipfw2.c commit). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-12T06:53:16.000000Z K 7 svn:log V 1784 In random order: * make the code compile with WARNS=5 (at least on i386), mostly by adding 'const' specifier and replacing "void *" with "char *" in places where pointer arithmetic was used. This also spotted a few places where invalid tests (e.g. uint < 0) were used. * support ranges in "list" and "show" commands. Now you can say ipfw show 100-1000 4000-8000 which is very convenient when you have large rulesets. * implement comments in ipfw commands. These are implemented in the kernel as O_NOP commands (which always match) whose body contains the comment string. In userland, a comment is a C++-style comment: ipfw add allow ip from me to any // i can talk to everybody The choice of '//' versus '#' is somewhat arbitrary, but because the preprocessor/readfile part of ipfw used to strip away '#', I did not want to change this behaviour. If a rule only contains a comment ipfw add 1000 // this rule is just a comment then it is stored as a 'count' rule (this is also to remind the user that scanning through a rule is expensive). * improve handling of flags (still to be completed). ipfw_main() was written thinking of 'one rule per ipfw invocation', and so flags are set and never cleared. With readfile/preprocessor support, this changes and certain flags should be reset on each line. For the time being, only fix handling of '-a' which differentiates the "list" and "show" commands. * rework the preprocessor support -- ipfw_main() already had most of the parsing code, so i have moved in there the only missing bit (stripping away '#' and comments) and removed the parsing from ipfw_readfile(). Also, add some more options (such as -c, -N, -S) to the readfile section. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-12T07:01:48.000000Z K 7 svn:log V 181 Document the existence of comments in ipfw rules, the new flags handled when reading from a file, and clarify that only numeric values are allowed for icmptypes. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-07-12T07:41:39.000000Z K 7 svn:log V 117 New release notes: GCC 3.3.1-pre, new ipfw features, rarpd bug fix, config.{guess,sub} in the ports infrastructure. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-12T08:35:25.000000Z K 7 svn:log V 201 Add a '-T' flag to print the timestamp as numeric value instead of converting it with ctime(). This is a lot more convenient for postprocessing. Submitted by: "Jacob S. Barrett" END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-07-12T09:34:44.000000Z K 7 svn:log V 44 Allow retrieval of local Configuration ROM. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-07-12T09:36:53.000000Z K 7 svn:log V 107 - Allow retrieval of local Configuration ROM. - Clear Configuration ROM buffer in advance for '-d' option. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-07-12T15:33:09.000000Z K 7 svn:log V 267 Give users the ability to select an alternative MTA during the installation. This option adds Postfix and Exim to the list, however, qmail is not added due to license restrictions. Collaborated with: Simon L. Nielsen Reviewed by: jhb, re@, -audit. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-07-12T15:35:06.000000Z K 7 svn:log V 187 Postfix, pcre, and Exim should be on the first CD in order for the recent sysinstall(8) commit to function properly. Discussed with: bmah (while the sysinstall(8) patch was sent to re). END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-07-12T17:56:50.000000Z K 7 svn:log V 61 The second argument to fgetln() is a size_t *, not an int *. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-07-12T18:36:04.000000Z K 7 svn:log V 90 Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 4D Plus. PR: 44333 END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-12T19:33:34.000000Z K 7 svn:log V 82 Do not override FP rounding options for 32bit platforms. amd64 doesn't need this. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-07-12T21:00:50.000000Z K 7 svn:log V 88 MFC: try to distinguish PCS encoding error events from actual link state change events. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-07-12T22:32:27.000000Z K 7 svn:log V 43 Quiet down ciss unless bootverbose is set. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-07-12T22:37:03.000000Z K 7 svn:log V 78 Check the status of the user command and return the proper error to the user. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:19:16.000000Z K 7 svn:log V 274 MFC: Style fixes: tab after a dependency operator should be a single space second level indent of tab should be four spaces Revision Changes Path 1.34 +16 -16 src/etc/mail/Makefile 1.22 +13 -13 src/etc/sendmail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:20:16.000000Z K 7 svn:log V 547 MFC: - Prevent buildworld from trying to write to /etc/mail/ - Stop 'make clean' from removing SENDMAIL_CF - install and distribute targets should not attempt to build anything - SENDMAIL_ADDITIONAL_CF were not installed in the distribution case - If SENDMAIL_SET_USER_ID was defined, submit.cf was needlessly installed in the distribution case - Collapse install and distribution target into one to remove code duplication Revision Changes Path 1.23 +47 -86 src/etc/sendmail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:20:48.000000Z K 7 svn:log V 123 MFC: Get rid of unneeded depend target Revision Changes Path 1.24 +0 -2 src/etc/sendmail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:22:51.000000Z K 7 svn:log V 367 MFC: Thanks to Ruslan's src/etc/sendmail/Makefile patch, it is now safe (though probably not a good idea in general) to set the various SENDMAIL_*_MC variables to /etc/mail/sendmail.mc or /etc/mail/submit.mc. Revision Changes Path 1.217 +0 -9 src/share/examples/etc/make.conf 1.76 +0 -21 src/share/man/man5/make.conf.5 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:23:46.000000Z K 7 svn:log V 348 MFC: Bow to popular demand and default SENDMAIL_SUBMIT_MC to `hostname`.submit.mc which is templated from freebsd.submit.mc if the default file does not exist. This makes the building of the submit.cf behavior identical to that of the the sendmail.cf. Revision Changes Path 1.35 +13 -4 src/etc/mail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:24:32.000000Z K 7 svn:log V 334 MFC: Do not install sendmail example/infrastructure files if NO_SENDMAIL is defined. The only two files installed in this case are aliases (which I believe other MTAs may use) and mailer.conf (which isn't sendmail, it belongs to mailwrapper). Revision Changes Path 1.315 +4 -0 src/etc/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:25:29.000000Z K 7 svn:log V 245 MFC: Use 'id' instead of 'grep' to detect the presence of the smmsp user/group. This fixes the check for users with smmsp in NIS instead of their local files. Revision Changes Path 1.376 +2 -2 src/Makefile.inc1 END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-07-12T23:25:30.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_4_9'. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:26:14.000000Z K 7 svn:log V 196 MFC: Put back install/distribution dependency on the buildable .cf files to get mergemaster working again. Revision Changes Path 1.25 +1 -1 src/etc/sendmail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:26:46.000000Z K 7 svn:log V 365 MFC: Continue trying to build SENDMAIL_CF if the user uses SENDMAIL_CF instead of SENDMAIL_MC but don't remove on it 'make clean' as the user may not have the original .mc file and removing it could be dangerous (e.g., make SENDMAIL_CF=/etc/mail/sendmail.cf clean). Revision Changes Path 1.26 +5 -2 src/etc/sendmail/Makefile END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-07-12T23:34:26.000000Z K 7 svn:log V 67 MFC (partial of rev 1.38): mdoc(7) police: fix a typo in rev. 1.36 END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-07-13T01:22:21.000000Z K 7 svn:log V 612 Extend the mutex pool implementation to permit the creation and use of multiple mutex pools with different options and sizes. Mutex pools can be created with either the default sleep mutexes or with spin mutexes. A dynamically created mutex pool can now be destroyed if it is no longer needed. Create two pools by default, one that matches the existing pool that uses the MTX_NOWITNESS option that should be used for building higher level locks, and a new pool with witness checking enabled. Modify the users of the existing mutex pool to use the appropriate pool in the new implementation. Reviewed by: jhb END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-07-13T01:49:07.000000Z K 7 svn:log V 250 Not everyone uses the base system sshd. They can use the sshd_program variable in rc.conf to have sshd from ports (or somewhere else) installed. So, don't make the sshd_config for the base system a required file to start the service. PR: conf/45766 END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-07-13T02:41:48.000000Z K 7 svn:log V 288 Including dynamically generated osreldate.h wasn't such a good idea after all. Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h will avoid including sys/param.h if __FreeBSD_version is already defined. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-13T03:49:43.000000Z K 7 svn:log V 131 Correct some typos. Submitted by: pscott@the-frontier.org PR: misc/51909 MFC After: The average lifetime of a Star Trek redshirt END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-13T03:56:24.000000Z K 7 svn:log V 24 MFC: Correct some typos END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-13T04:08:16.000000Z K 7 svn:log V 327 Enable the high FP registers when we call the FPSWA handler and disable them again afterwards. This fixes a disabled FP fault while in the FPSWA handler. While here, merge the FP fault and FP trap handling code to reduce code duplication. Where code was different, it was not sure it should be. Trigger case: ports/math/atlas END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-07-13T05:35:30.000000Z K 7 svn:log V 81 Remove -D_THREAD_SAFE. Submitted by: Craig Rodrigues END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-13T05:59:50.000000Z K 7 svn:log V 274 FreeBSD does not use this code, but ftpd_popen() contains a buffer overflow. We might as well patch it. Submitted by: Przemyslaw Frasunek PR: bin/23352 MFC After: The average time before an unpatched Windows 2000 server gets owned END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-13T06:18:30.000000Z K 7 svn:log V 64 MFC: Correct buffer overflow in code that is unused in FreeBSD. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-13T06:38:13.000000Z K 7 svn:log V 889 From the PR: I am the maintainer of CTM. There is a problem that when very large deltas are created, that the program ctm_smail, which is responsible for mailing the deltas out, will instead create a single message that says the delta is too large. However, if the -q option is set, instead of placing this message in the queue (as it would have done with the deltas), it mails it out directly. This conflicts with the current working of CTM in that the email address is set as %%REPLACE-ME%% so that the created mailing pieces can be signed by gnu-pgp, and then have the mailing address changed. This fix means that if the -q option is set, and the delta is too large, the "too large" message is placed in the queue. Also, I made the "too large" message a little more up to date. Submitted by: Stephen Montgomery-Smith PR: bin/50328 MFC After: 2 weeks END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T06:56:32.000000Z K 7 svn:log V 54 MFC: r1.51: msgDebug() should end with \n PR: 43483 END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T06:59:32.000000Z K 7 svn:log V 45 MFC: msgDebug() messages should end with \n. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T07:04:42.000000Z K 7 svn:log V 57 MFC: msgDebug() messages should end in "\n". PR: 43483 END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T07:05:54.000000Z K 7 svn:log V 52 msgDebug() messages should end in "\n". PR: 43483 END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T07:20:24.000000Z K 7 svn:log V 29 Sort entries added in r1.43. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-07-13T07:29:06.000000Z K 7 svn:log V 145 Add a missing DITEM_CONTINUE flag so the options menu returns to the correct place when you exit it with 'Q'. PR: misc/47906 MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-07-13T08:09:31.000000Z K 7 svn:log V 86 Fixed mouse cursor support. Submitted by: KIYOHARA Takashi END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-07-13T08:13:52.000000Z K 7 svn:log V 33 Fixed build error with GCC 3.3.1 END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2003-07-13T09:11:10.000000Z K 7 svn:log V 48 Eliminate non-existent word. Submitted by: jwd END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-07-13T10:08:33.000000Z K 7 svn:log V 328 Fix for FAIL_IF_NO_KBD case as expected. Even if we have no AT keyboard, an AT keyboard is registered because it's probed with KB_CONF_PROBE_ONLY flag set during console initialization. Unregister the keyboard if it doesn't present while second probe. This should fix USB keyboard only case without 'kbdcontrol -k /dev/kbd1'. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-07-13T10:34:09.000000Z K 7 svn:log V 151 Since -march=pentium4 is supposed to be fixed with GCC 3.3, and since people have been reporting success with it, re-enable the pentium4 optimization. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-07-13T17:03:39.000000Z K 7 svn:log V 99 correct card type for Linksys *55AG PR: bin/54190 Submitted by: Josh Elsasser END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-07-13T17:07:25.000000Z K 7 svn:log V 147 o add read-only sysctls to view regulatory domain, country code, and outdoor use controls o use sysctl-visible values in setting up channel list END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-07-13T20:06:41.000000Z K 7 svn:log V 134 If mktime() or timegm() return -1, print out the resume timer value as "unknown", rather than a conversion of -1 to a date/timestamp. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-07-13T20:32:58.000000Z K 7 svn:log V 442 Move the MAC entry point to label ethernet-sourced mbufs with a MAC label from the network interface earlier in ether_input(). At some point (no fingers pointed), things were restructured and the labeling operation moved later. This wasn't a problem as BPF_MTAP() relies on the ifnet label not the mbuf label, but there might have been other problems. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 6 robert K 8 svn:date V 27 2003-07-13T21:02:11.000000Z K 7 svn:log V 124 Avoid an unnecessary calculation: there is no need to subtract `firstaddr' from `v' if we know that the former equals zero. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-07-13T21:02:48.000000Z K 7 svn:log V 164 ioctl macros and defines are now present in ioccom.h, not ioctl.h. Update the manpage to reflect this. PR: docs/54235 Submitted by: Karen Thode END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:44:13.000000Z K 7 svn:log V 34 ACPICA import from the 0619 dist. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:44:13.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117521, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:45:34.000000Z K 7 svn:log V 91 Unmodified files from the vendor 0619 dist that should no longer be off the vendor branch. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:47:01.000000Z K 7 svn:log V 54 Commit local patches for files off the vendor branch. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:50:30.000000Z K 7 svn:log V 110 Patch for global lock error messages that the vendor will import eventually. Originally committed as 1.1.1.17 END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:50:30.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117525, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:52:51.000000Z K 7 svn:log V 70 Fix handling of _BST in the new dist. Submitted by: kochi@netbsd.org END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:52:51.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117527, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:54:53.000000Z K 7 svn:log V 93 Add include file so this builds with new acpica Reported by: Kevin Oberman END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-13T22:57:16.000000Z K 7 svn:log V 274 Update code to work with 0619 dist * Use ACPI_BUFFER as the type for AcpiGetObjectInfo * Remove AcpiEnableEvent/AcpiClearEvent for ACPI_EVENT_FIXED (power/sleep buttons) as they are no longer needed * Change calls to use the new GPE functions * Add AcpiOs*Lock functions END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-13T23:11:37.000000Z K 7 svn:log V 847 Rewite _start(). We cannot use a C function due to the fact that we don't call it according to the runtime specification and especially WRT to gp this can cause trouble. The gcc 3.3.1 import broke the ia64 runtime because the compiler saved gp prior to us being able to set it properly. Restoring gp after the calls would then invalidate gp and cause segmentation faults later on. By rewriting _start() as an assembly function, we also avoided even more gcc dependences, by trying to use gcc specific features to work around the problem. This version of _start() does not reference _DYNAMIC. We register the cleanup function when it's a non-NULL pointer. The kernel will always pass a NULL pointer and dynamic linkers may pass a non-NULL pointer. The machine independent code to set __progname now unfortunately is written in assembly. So be it. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-07-13T23:26:20.000000Z K 7 svn:log V 38 New release notes: ACPI-CA 20030619. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-07-14T02:22:55.000000Z K 7 svn:log V 75 Remove reference to max block size. dump no longer limits the block size. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-14T02:42:15.000000Z K 7 svn:log V 125 Fix build breakage on ia64. The second argument of AcpiOsReadable() and AcpiOsWritable() have type ACPI_SIZE and not UINT32. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T02:58:00.000000Z K 7 svn:log V 82 Remove a multiply-defined function. The change has been submitted to the vendor. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T02:58:00.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r117535, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-07-14T03:05:42.000000Z K 7 svn:log V 55 _start() needed to be written in assembly. See crt1.S. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-07-14T03:23:58.000000Z K 7 svn:log V 34 Document the existance of fla(4). END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T03:58:05.000000Z K 7 svn:log V 154 Change zzz to be a shell script that checks for APM or ACPI support and suspends the system appropriately. Submitted by: Mark Santcroos END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-07-14T05:13:55.000000Z K 7 svn:log V 562 Introduce a new lp.cdefs.h file, which will be used to make it somewhat easier to build this lpr on other operating systems. This simply includes when that is appropriate, and then checks for any cdefs-ish macros that lpr uses, and defines them if they don't already exist. This is only a start at making freebsd's lpr less of a hassle to port. It is mainly added so all of lpr can be changed to use the __FBSDID() macro, without making it *more* of a hassle to build on other OS's. Reviewed by: discussed with bde and obrien MFC after: 15 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-07-14T05:15:21.000000Z K 7 svn:log V 256 Take advantage of the common_source/lp.cdefs.h file to change lpr source to use __FBSDID() for setting rcsids. Also fix the format of 'sccsid' lines to consistently match style(9) guidelines. Reviewed by: discussed with bde and obrien MFC after: 15 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-07-14T07:22:24.000000Z K 7 svn:log V 63 MFC: 1.75 -l prints all permissions, not just owner and group END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-14T07:29:56.000000Z K 7 svn:log V 73 MFC rev. 1.30, 1.31: support for '--' to cancel options list processing. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-14T08:39:49.000000Z K 7 svn:log V 343 ccept of empty lines when reading from a file (this fixes a bug introduced in the latest commits). Also: * update the 'ipfw -h' output; * allow rules of the form "100 add allow ..." i.e. with the index first. (requested by Paul Richards). This was an undocumented ipfw1 behaviour, and it is left undocumented. and minor code cleanups. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-07-14T11:07:21.000000Z K 7 svn:log V 170 Make the ucom0 device in 'MAKEDEV all' for consistency with all the other flavours of USB device. Submitted by: Yoshihiko Sarumaru PR: conf/48326 END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-14T12:12:50.000000Z K 7 svn:log V 44 Add support for the IDT77155 Sonet/SDH PHY. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-14T12:13:30.000000Z K 7 svn:log V 91 Document the support for the IDT77155 Sonet/SDH PHY. Cross-reference hatm(4) and fatm(4). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-14T12:37:03.000000Z K 7 svn:log V 251 o Be ready to get a reply with length up to IP_MAXPACKET. o Warn when recieved packet length is not equal to length of the packet we sent out. Idea from NetBSD. o Fit the dump of packet with wrong data to 80 columns (from NetBSD). Comments from: bde END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-14T12:42:47.000000Z K 7 svn:log V 49 o Kill MINICMPLEN, there is ICMP_MINLEN already. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-07-14T12:43:48.000000Z K 7 svn:log V 61 o Rename local variables, do not shadow global declarations. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-07-14T13:02:36.000000Z K 7 svn:log V 150 Make sure ipmon is run after cleaning up in /var. Otherwise, we would lose it's pid file. Also, cleanup the depencies in rc.d/cleanvar PR: bin/53516 END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-14T15:06:53.000000Z K 7 svn:log V 305 Implement statistics for the PHY chips. Statistics are hold in 64-bit counters that wrap on overflow. They are collecte once per second from the chips. Currently they can be retrieved via a sysctl phy_stats. A write of an arbitrary value to the sysctl atomically retrieves the statistics and clears them. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-07-14T15:08:11.000000Z K 7 svn:log V 34 Document the PHY chip statistics. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-07-14T15:54:41.000000Z K 7 svn:log V 261 More changes to use __FBSDID() for setting rcsids, and fix the format of 'sccsid' lines so they consistently match style(9) guidelines. Inspired by recent update to lpd.c by charnier. Reviewed by: discussed on cvs-src & with bde and obrien MFC after: 15 days END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-07-14T16:21:16.000000Z K 7 svn:log V 98 Apparently we prefer underscores in new options. Sorry for the churn folks. Requested by: obrien END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-07-14T16:31:20.000000Z K 7 svn:log V 14 Make C++ safe END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T16:31:34.000000Z K 7 svn:log V 84 Move the zzz utility to its own directory since it is no longer dependent on apm(8) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T16:32:45.000000Z K 7 svn:log V 68 Remove the zzz files since they have been moved to src/usr.sbin/zzz END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T16:36:40.000000Z K 7 svn:log V 26 Hook zzz up to the build. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T17:14:04.000000Z K 7 svn:log V 100 Add an entry for the Cypress slim hub. Submitted by: Alexander Pohoyda END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T17:15:29.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T17:19:45.000000Z K 7 svn:log V 95 Fix build with ACPI_DEBUG option. Reported by: Mark Santcroos , des+tinderbox END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-07-14T17:43:09.000000Z K 7 svn:log V 123 Add dmobject.c to sys/conf/files also. While I'm here, remove unnecessary nowerror options for the ACPI_DEBUG build case. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T17:46:27.000000Z K 7 svn:log V 470 As defined by USB Specification Rev 2.0 (in section 11.24.2.5), to get a Hub descriptor, we have to set req.wValue to "Descriptor Type and Descriptor Index". In this case, Descriptor Type is 0x29 (UDESC_HUB), Descriptor Index should be 0. If I don't do a check (dev->address > 1 ... ), root hub fails. A new Cytronix 4-port USB 2.0 Hub (Cypress CY7C65640 chip) now works after this patch. Submitted by: Alexander Pohoyda MFC after: 7 days END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T17:58:26.000000Z K 7 svn:log V 104 MFNetBSD: 1.165 date: 2002/12/31 02:04:49; author: dsainty; CONSTCOND away some lint warnings END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:07:54.000000Z K 7 svn:log V 447 MFNetBSD: rev 1.166 date: 2002/12/31 02:21:31; author: dsainty; Be somewhat more persuasive about enabling the port on a port reset. USB protocol dictates that the port enable must be implied by the port reset. To implement this on (at least) the VIA VT83C572 this means we need to wait around tweaking the chip state until the port actually transitions to enabled (or the device goes away). Likely fixes kern/11018. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:14:15.000000Z K 7 svn:log V 108 MFNetBSD: date: 2003/02/08 03:32:51; author: ichiro; change URL pointers of USB[1,2] specification END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-07-14T18:25:45.000000Z K 7 svn:log V 158 Assorted mdoc(7) fixes: - Use .Tn for ACPI/APM acronyms - Sort SEE ALSO entries by section - Add AUTHORS section Reviewed by: des (mentor) OK'ed by: njl END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:25:47.000000Z K 7 svn:log V 145 MFNetBSD: date: 2002/09/23 05:51:20; author: simonb; Remove breaks after returns, unreachable returns and returns after returns(!). END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:33:55.000000Z K 7 svn:log V 121 MFNetBSD: date: 2002/10/01 01:25:25; author: thorpej; Use CFATTACH_DECL(). Not a functional change on FreeBSD. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:37:47.000000Z K 7 svn:log V 54 Merge up-to-date with NetBSD. No functional changes. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:42:58.000000Z K 7 svn:log V 71 Make a note of which patches we already have incorporated from NetBSD. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:47:27.000000Z K 7 svn:log V 141 MFNetBSD: rev 1.169 date: 2003/02/16 23:15:28; author: augustss; Don't take xfers off the interrupt list if they are not on it yet. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:49:18.000000Z K 7 svn:log V 147 MFNetBSD: revision 1.170 date: 2003/02/19 01:35:04; author: augustss; Bail out early in isoc_done if the ii is not on the interrupt list. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:52:12.000000Z K 7 svn:log V 116 MFNetBSD: revision 1.172 date: 2003/02/23 04:19:26; author: simonb; Remove unreachable break after return. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T18:56:33.000000Z K 7 svn:log V 159 MFNetBSD: date: 2003/05/13 04:41:59; author: gson; Function names printed in debug messages did not always match the actual name of the function. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2003-07-14T18:57:41.000000Z K 7 svn:log V 146 Fix one typo in help() string, remove whitespace at end of line and other minor whitespace changes. Replace u_char with uint8_t in a few places. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:30:01.000000Z K 7 svn:log V 75 MFNetBSD: Update the list of devices that can attach to uvisor (untested). END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:30:49.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:39:16.000000Z K 7 svn:log V 202 MFNetBSD: revision 1.129 date: 2002/09/29 20:58:25; author: augustss; Add some spl calls to protect critical regions. From kern/18440, Takeshi Nakayama. (No functional change on FreeBSD). END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:42:05.000000Z K 7 svn:log V 138 MFNetBSD: revision 1.132 date: 2002/12/07 06:52:11; author: toshii; Remove junk at the end of a DPRINTF. From SOMEYA Yoshihiko. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:47:59.000000Z K 7 svn:log V 449 MFNetBSD: revision 1.133 date: 2002/12/07 07:14:28; author: toshii; Fix several nits. Mostly from SOMEYA Yoshihiko. - Call usbd_transfer_complete at splusb. - Fix a botched for loop in ohci_rem_ed. - In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race condition. The splusb change is non-functional on FreeBSD. The botched loop and race condition changes came from us. This patch is non-functional. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:50:06.000000Z K 7 svn:log V 321 MFNetBSD: revision 1.134 date: 2002/12/07 07:33:20; author: toshii; state: Exp; lines: +50 -29 Update xfer->frlengths for input isoc transfer. Based on patches from SOMEYA Yoshihiko. Also fix error handling for isoc transfer somewhat; usb_transfer_complete shouldn't be called for more than once. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:51:53.000000Z K 7 svn:log V 201 MFNetBSD: revision 1.135 date: 2002/12/10 14:07:37; author: toshii; state: Exp; lines: +6 -6 Add a couple of le32toh which were missing in the previous. Pointed out by SOMEYA Yoshihiko. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:54:21.000000Z K 7 svn:log V 107 MFNetBSD: revision 1.136 date: 2003/01/20 05:30:09; author: simonb; The Double-Semi-Colon Police. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-07-14T19:56:32.000000Z K 7 svn:log V 213 Backout the last commit! MFNetBSD: revision 1.137 date: 2003/01/20 07:12:13; author: simonb; Grrr. So much for my ability to use grep(1) effectively. Pointed out by Stephen Degler in private mail. END