ƒ²B118795 192 1139 171 1339 145 130 220 179 163 216 182 179 151 122 119 121 138 236 216 237 363 118 184 189 694 1302 135 228 381 418 366 151 135 147 172 100 601 157 150 161 383 379 122 390 189 107 403 168 112 457 126 217 180 210 206 123 176 986 219 507 322 225 362 258 348 178 163 485 450 151 608 206 188 183 183 182 202 216 214 210 312 208 385 153 136 220 260 245 381 168 295 118 355 398 330 456 619 190 164 199 242 153 117 153 147 133 591 138 386 140 154 238 164 272 418 153 167 153 167 179 246 679 148 531 689 116 246 484 175 129 412 273 206 107 243 233 429 204 778 981 417 657 386 231 335 157 137 1171 169 149 489 134 180 161 149 134 216 248 210 287 257 206 156 167 177 185 166 205 147 290 117 180 278 245 984 385 250 171 335 651 395 222 200 556 190 339 162 453 142 242 189 241 219 K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-11T19:39:45.000000Z K 7 svn:log V 1040 - When deciding whether to init the zone with small_init or large_init, compare the zone element size (+1 for the byte of linkage) against UMA_SLAB_SIZE - sizeof(struct uma_slab), and not just UMA_SLAB_SIZE. Add a KASSERT in zone_small_init to make sure that the computed ipers (items per slab) for the zone is not zero, despite the addition of the check, just to be sure (this part submitted by: silby) - UMA_ZONE_VM used to imply BUCKETCACHE. Now it implies CACHEONLY instead. CACHEONLY is like BUCKETCACHE in the case of bucket allocations, but in addition to that also ensures that we don't setup the zone with OFFPAGE slab headers allocated from the slabzone. This means that we're not allowed to have a UMA_ZONE_VM zone initialized for large items (zone_large_init) because it would require the slab headers to be allocated from slabzone, and hence kmem_map. Some of the zones init'd with UMA_ZONE_VM are so init'd before kmem_map is suballoc'd from kernel_map, which is why this change is necessary. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-08-11T19:41:14.000000Z K 7 svn:log V 78 Back out revision 1.32; it attaches the files in the wrong section of the PR. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-11T20:32:00.000000Z K 7 svn:log V 1245 Improve the handling dhcp handling of pccard_ether. There are now many configurations which have a NIC on board, and pccard slots. If a dhclient is running on the internal nic, the Improve the handling dhcp handling of pccard_ether. Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and cardbus slots too. If a dhclient was already running on the internal NIC, the user was forced to kill a running dhclient manually. If now a pccard is included at startup time, /etc/rc.d/dhclient start does include it into the startup list for dhcp devices. That means you can now do dhcp on the internal and the pccard devices at the same time. If the card is plugged in later, a running dhclient (working for the internal interface only) is killed, and restarted, but the interface name of the new pccard is added to the internal name. After removal, /etc/rc.d/dhclient is started again. This script does nothing if there are no devices in /etc/rc.conf This is only a workaround for a well known problem. After we have a dhcp client which handles device adding and removal, it will go away. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-11T21:25:19.000000Z K 7 svn:log V 50 Cleanup and style(9) fixes. No functional change. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-11T22:23:25.000000Z K 7 svn:log V 38 Pipespace() no longer requires Giant. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-11T22:27:43.000000Z K 7 svn:log V 128 - Use the correct boot/boot1 and boot/loader files. - Use the newfs command similar to that in doFS.sh. Reviewed by: jake, jhb END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-11T23:08:35.000000Z K 7 svn:log V 86 Slightly rearrange some items in the kernel section (but don't change their content). END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-11T23:08:58.000000Z K 7 svn:log V 70 Slightly rearrange some kernel items, but don't change their content. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-12T00:12:52.000000Z K 7 svn:log V 122 New release notes: swap_pager changes, ng_atmpif(4). Modified release notes: locale(1) -m, -march=pentium4 re-enabled. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-12T00:14:49.000000Z K 7 svn:log V 89 Enable dc(4) entries for sparc64. Add fatm(4), hatm(4), patm(4) entries as appropriate. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-12T00:51:28.000000Z K 7 svn:log V 86 New release note: twe(4) 3ware generic API (+MFC). MFC noted: USB/Firewire quirks. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-12T00:52:34.000000Z K 7 svn:log V 58 MFC: PAE, USB/Firewire quirks, twe(4) 3ware generic API. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-12T02:17:25.000000Z K 7 svn:log V 29 MFi386: revision 1.179.2.17. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-12T02:19:23.000000Z K 7 svn:log V 26 MFi386: revision 1.4.2.2. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-12T02:21:17.000000Z K 7 svn:log V 28 MFi386: revision 1.219.2.3. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-08-12T02:23:34.000000Z K 7 svn:log V 45 MFi386: revisions 1.385.2.31 and 1.385.2.32. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-12T03:51:53.000000Z K 7 svn:log V 140 Cleanup prototypes in cpu.h, including fswintrberr and any references to it. Sort the remaining prototypes in cpu.h. No functional change. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-12T04:56:45.000000Z K 7 svn:log V 123 Fix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build on ia64. Tested on: pluto2 Pointed out by: tinderbox END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-12T04:56:45.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r118812, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-12T05:18:51.000000Z K 7 svn:log V 268 Add support for the Broadcom BCM5901 and BCM5901 rev A2 chips. These are 10/100 only NICs found on the IBM Thinkpad R40E and G40. These seem to be based on the BCM5705 MAC but with a PHY that doesn't support 1000Mbps modes. Submitted by: Igor Sviridov END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2003-08-12T05:41:54.000000Z K 7 svn:log V 24 Add vm_paddr_t typedef. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-12T06:38:55.000000Z K 7 svn:log V 93 Fix the busdma support in twe to support EINPROGRESS and enable it for use with PAE kernels. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-12T08:01:34.000000Z K 7 svn:log V 93 Correctly set current tcb. This fixes some IA64/KSE problems. Reviewed by: deischen, julian END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-12T08:10:16.000000Z K 7 svn:log V 598 Extend identifycpu(): o Differentiate between CPU family and CPU model. There are multiple Itanium 2 models and it's nice to differentiate between them. o Seperately export the CPU family and CPU model with sysctl. o Merced is the only model in the Itanium family. o Add Madison to the Itanium 2 family. We already knew about McKinley. o Print the CPU family between parenthesis, like we do with the i386 CPU class. My prototype now identifies itself as: CPU: Merced (800.03-Mhz Itanium) pluto1 and pluto2 will eventually identify themselves as: CPU: McKinley (900.00-Mhz Itanium 2) END K 10 svn:author V 4 alex K 8 svn:date V 27 2003-08-12T09:45:34.000000Z K 7 svn:log V 1207 Add a overhaul of the soundchip initialization for the MSP34xx chipsets found only many tv-cards. We currently use more ore less evil hacks (slow_msp_audio sysctl) to configure the various variants of these chips in order to have stereo autodetection work. Nevertheless, this doesn't always work even though it _should_, according to the specs. This is, for example, the case for some popular Hauppauge models sold sold in Germany. However, the Linux driver always worked for me and others. Looking at the sourcecode you will find that the linux-driver uses a very much enhanced approach to program the various msp34xx chipset variants, which is also found in the specs for these chips. This is a port of the Linux MSP34xx code, written by Gerd Knorr , who agreed to re-release his code under a BSD license for this port. A new config option "BKTR_NEW_MSP34XX_DRIVER" is added, which is required to enable the new driver. Otherwise the old code is used. The msp34xx.c file is diff-reduced to the linux-driver to make later modifications easier, thus it doesn't follow style(9) in most cases. Approved by: roger (committing this, no time to test/review), keichii (code review) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-08-12T13:01:27.000000Z K 7 svn:log V 38 Validate number of iso. DMA channels. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-08-12T13:19:17.000000Z K 7 svn:log V 135 MFC rev. 1.78: Indicate a block allocation failure by exiting with a non-zero status in order to avoid creating a corrupt file system. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-12T13:24:21.000000Z K 7 svn:log V 286 db_get_value uses a local buffer to first fetch all the bytes of a integer value and then to construct the integer from it. This buffer was sizeof(int) bytes long, which was fine until the (undocumented) 'g' modifier for 8-byte integers was introduced. Change this to sizeof(uint64_t). END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-12T14:20:32.000000Z K 7 svn:log V 323 Change the code that enables/disables the ATM channel to use the new ATMIOCOPENVCC/CLOSEVCC. This allows us to not only use UBR channels for IP over ATM, but also CBR, VBR and ABR. Change the format of the link layer address to specify the channel characteristics. The old format is still supported and opens UBR channels. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-12T14:25:57.000000Z K 7 svn:log V 271 Add a program for configuration of the ATM drivers and the IP over ATM stuff. This utility allows inspection of the ATM characteristics, the PHY layer, including statistics of both, the retrival of the list of currently open channels and also allows access to utopia(4). END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-12T14:26:57.000000Z K 7 svn:log V 57 Create a directory for ATM documentation and help files. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-12T14:33:48.000000Z K 7 svn:log V 41 Build the atmconfig utility into rescue. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-08-12T14:51:18.000000Z K 7 svn:log V 55 Remove two useless bzero() calls. Reviewed by: cognet END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-08-12T14:55:12.000000Z K 7 svn:log V 80 - No need to bzero() the softc structure. - Use BUS_DMA_ZERO where appropriate. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-12T15:15:34.000000Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-12T16:27:57.000000Z K 7 svn:log V 508 MFC: introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to control whether to accept RAs per-interface basis. the new stuff ensures the backward compatibility; - the kernel does not accept RAs on any interfaces by default. - since the default value of the flag bit is on, the kernel accepts RAs on all interfaces when net.inet6.ip6.accept_rtadv is 1. sys/netinet6/nd6.c: 1.25 sys/netinet6/nd6.h: 1.11 sys/netinet6/nd6_rtr.c: 1.16 usr.sbin/ndp/ndp.8: 1.10 usr.sbin/ndp/ndp.c: 1.9 END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-12T16:58:32.000000Z K 7 svn:log V 65 malloc() may return NULL. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-12T17:01:10.000000Z K 7 svn:log V 59 Halted CPU's should not accumulate time. Reviewed by: jhb END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-12T17:55:53.000000Z K 7 svn:log V 70 Support EINPROGRESS and properly deal with 64bit physical addressing. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2003-08-12T18:36:28.000000Z K 7 svn:log V 288 MFC src/sys/kern/sys_process.c revisions 1.111 and 1.112: Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in procfs_rwmem(). Use vm_page_hold() in place of vm_page_wire() since the page can be freed. Don't hold extra reference to the containing vm object while page is mapped. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-12T19:33:36.000000Z K 7 svn:log V 286 - Convert Alpha over to the new calling conventions for cpu_throw() and cpu_switch() where both the old and new threads are passed in as arguments. Only powerpc uses the old conventions now. - Update comments in the Alpha swtch.s to reflect KSE changes. Tested by: obrien, marcel END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-08-12T20:01:10.000000Z K 7 svn:log V 29 Correct a grammatical error. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-08-12T20:06:56.000000Z K 7 svn:log V 293 Add a '-M mask' option so that users can have different masks for files and directories. This should make some of the Midnight Commander users happy. Remove an extra ')' in the manual page. PR: 35699 Submitted by: Eugene Grosbein (original version) Tested by: simon END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-12T20:10:32.000000Z K 7 svn:log V 97 Reduce the size of the vm object on 64-bit architectures by moving a field within the structure. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-12T20:20:23.000000Z K 7 svn:log V 15 Fixup comment. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-12T20:22:44.000000Z K 7 svn:log V 310 Make this working with two or more pccards and with more than one internal device. Don't call the startup procedure again if we already use start. Support a manually started dhclient and keep its configured interfaces after pccard removal. Make pccard_ether working in single-user mode without /usr mounted. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-08-12T20:24:13.000000Z K 7 svn:log V 73 Merge from RELENG_4_7 1.51.2.4.2.2: Fix typo: `uap->data' versus `data'. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-08-12T20:34:31.000000Z K 7 svn:log V 20 Remove extra space. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-08-12T21:03:38.000000Z K 7 svn:log V 362 MFC: Makefile.inc 1.33, index(3) 1.8 + 1.9, rindex(3) 1.9, strchr(3) 1.9 + 1.10, strrchr(3) 1.10 * Merge index(3) and rindex(3) to index(3) since the two functions are almost identical. * Merge strchr(3) and strrchr(3) to strchr(3) since the two functions are almost identical. * Make the wording of index(3) and strchr(3) more similar. * mdoc(7) cleanup. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-12T22:13:06.000000Z K 7 svn:log V 30 Don't forget to set kcb_self. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-12T22:27:08.000000Z K 7 svn:log V 124 Remove the dhclient.${interface}.pid defines. They are now obsolete. A working dhclient with OMAPI will also not need this. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-08-12T22:33:49.000000Z K 7 svn:log V 89 Oops.. Some debugging code snuck in here. Requeue the request if the controller is busy. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-08-12T22:44:48.000000Z K 7 svn:log V 117 Move the stop_dhcp in start_dhcp again before the delay. It seems that dhclient really needs the time to get killed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-12T23:24:05.000000Z K 7 svn:log V 113 Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's copyrighted files. Approved by: Matt Dillon END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-13T00:13:37.000000Z K 7 svn:log V 28 Imply NOLIBC_R for PowerPC. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-13T01:49:07.000000Z K 7 svn:log V 80 Always set tcb for bound thread, and switch tcb for M:N thread at correct time. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-13T02:49:50.000000Z K 7 svn:log V 890 Put an instruction group break between the move to ar.rnat and the move to ar.rsc. The RSE must be in enforced lazy mode when writing to RSE modifyable registers. In this case we restore the RSE NaT collection register ar.rnat. I have seen 2 general exception faults on pluto1 now that indicate that the move to ar.rsc has already happened prior to the move to ar.rnat, meaning that the RSE is not in enforced lazy mode anymore. The ia64 dependency and instruction ordering rules seem to allow having both registers written to in the same instruction group, provided ar.rsc is written to later than ar.rnat (based on the ordering semantics). It appears that we may be pushing our luck. For now, put them in seperate cycles (by means of the instruction group break). If we ever get a general exception fault on the move to ar.rnat again, we have definite proof that something else is fishy. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-13T03:13:22.000000Z K 7 svn:log V 126 Reduce the size of the vm map (and by inclusion the vm space) on 64-bit architectures by moving a field within the structure. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-13T03:20:10.000000Z K 7 svn:log V 411 Don't use VM_MIN_KERNEL_ADDRESS to check if the faulting address is in user space or kernel space. VM_MIN_KERNEL_ADDRESS starts after the gateway page, which means that improper memory accesses to the gateway page while in user mode would panic the kernel. Use VM_MAX_ADDRESS instead. It ends before the gateway page. The difference between VM_MIN_KERNEL_ADDRESS and VM_MAX_ADDRESS is exactly the gateway page. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-13T03:59:18.000000Z K 7 svn:log V 226 Don't run verify directly as that would require the perl script to have execute permissions. Run "perl verify" instead. Replace all occurences of the hardcoding of ./verify with $(VERIFY) to allow it to be overridden as well. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-13T06:42:56.000000Z K 7 svn:log V 132 In case we encounter a zero sectorsize provider in g_io_check(), fail the request with a printf rather than a divide by zero error. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-13T07:21:54.000000Z K 7 svn:log V 269 A small statistics tool for gauging the statistical significance of data from benchmarks etc. Implements "Student's t" for various confidence levels, defaults to 95%. If your benchmarks are not significant at the 95% confidence level, we don't want to hear about it. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T07:35:07.000000Z K 7 svn:log V 163 Implement the nwchan keyword that has been in the man page, but was not implemented. This is just handy if you want to ddb the address some process is waiting on. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T07:42:07.000000Z K 7 svn:log V 253 Implement two command line options that allow one to change the file descriptors that are used for input and output. That allows one, for example, to use nghook to bi-directionally pipe the input and output into/from another non-netgraph-aware program. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T07:43:08.000000Z K 7 svn:log V 84 Put all the argument-less options together in the synopsis as required by style(9). END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T07:51:06.000000Z K 7 svn:log V 69 Make this WARNS=6 clean by just constifying two local char pointers. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T08:46:54.000000Z K 7 svn:log V 390 A number of patches in the last years have created new return paths in tcp_input that leave the function before hitting the tcp_trace function call for the TCPDEBUG option. This has made TCPDEBUG mostly useless (and tools like ports/benchmarks/dbs not working). Add tcp_trace calls to the return paths that could be identified in this maze. This is a NOP unless you compile with TCPDEBUG. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T08:50:42.000000Z K 7 svn:log V 355 The tcp_trace call needs the length of the header. Unfortunately the code has rotten a bit so that the header length is not correct at the point when tcp_trace is called. Temporarily compute the correct value before the call and restore the old value after. This makes ports/benchmarks/dbs to almost work. This is a NOP unless you compile with TCPDEBUG. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-08-13T09:22:52.000000Z K 7 svn:log V 54 MFC rev. 1.76: Note the non-standard behavior of -gno END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T10:20:57.000000Z K 7 svn:log V 513 The syncache has made use of TCPDEBUG problematic, because the SYN segments are lost for the application. This broke, for example, ports/benchmarks/dbs which needs the SYN segment to filter the contents of the trace buffer for the connection it is interested in. This patch makes the SYN segments available again. Unfortunately they are now associated with the listening socket instead of the new one, so a change to applications is required, but without this patch it wouldn't work altogether. PR: kern/45966 END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T10:56:40.000000Z K 7 svn:log V 111 Implement what has been documented for a long time: make -debug switch on socket debugging. Okay'ed by: markm END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-13T11:02:37.000000Z K 7 svn:log V 94 Forced commit to record the PR for the previous commit. Remembered by: maxim PR: bin/45967 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-08-13T12:20:33.000000Z K 7 svn:log V 86 Fix typo PR: 55480 Submitted by: Lukas Ertl MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-08-13T12:34:54.000000Z K 7 svn:log V 86 Grammar and spelling fixes PR: 55443 Submitted by: Lukas Ertl END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-13T12:35:25.000000Z K 7 svn:log V 90 Replace a panic with a .1Hz retry loop. Not a perfect solution, but far cheaper than one. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-08-13T12:39:44.000000Z K 7 svn:log V 104 Grammar and spelling fixes PR: 55442 Submitted by: Lukas Ertl MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-08-13T12:44:45.000000Z K 7 svn:log V 118 Markup, wording and capitalization fixes PR: 55441 Submitted by: Lukas Ertl MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-08-13T12:54:55.000000Z K 7 svn:log V 116 Markup, spelling and punctuation fixes PR: 55440 Submitted by: Lukas Ertl MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-13T13:16:19.000000Z K 7 svn:log V 118 Added an option to specify an alternate PID file. PR: bin/37159 Submitted by: "Aleksandr A. Babaylov" <.@babolo.ru> END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-08-13T15:02:14.000000Z K 7 svn:log V 217 Add the Dell PERC 3/DCL to the list of supported devices. This has been in the hardware notes for a long time, but was never added to this manual page. PR: docs/55533 Submitted by: Lukas Ertl END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-13T15:13:33.000000Z K 7 svn:log V 116 - Clarify the port range syntax in -redirect_port. PR: docs/46286 - "IP number" -> "IP address", for consistency. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-13T18:37:25.000000Z K 7 svn:log V 287 Add LIST_FOREACH_SAFE, which is like LIST_FOREACH but allows you to walk the list and remove the current item and destroy/free it. Alexander Kabaev will likely do the equivalent for the other list types, but I just happened to have this one sitting in a local non-FreeBSD tree already. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-08-13T19:21:11.000000Z K 7 svn:log V 58 Add Alfred Hitchcock's birthday. Inspired by: google.com END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-13T19:23:51.000000Z K 7 svn:log V 44 Remove GIANT_REQUIRED from vmspace_alloc(). END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-08-13T19:58:38.000000Z K 7 svn:log V 122 Document LIST_FOREACH_SAFE in queue(3). Asked with "please" by Ruslan Ermilov. I've always had a weakness for "please". END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-13T20:01:38.000000Z K 7 svn:log V 167 - The vm_object pointer in pipe_buffer is unused. Remove it. - Check for successful initialization of pipe_zone in pipeinit() rather than every call to pipe(2). END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-08-13T20:31:33.000000Z K 7 svn:log V 152 Use STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO in a few more places (replacing constants 0, 1 & 2). Noticed by: Reviewed by: md5 MFC after: 4 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-13T20:42:53.000000Z K 7 svn:log V 288 o add missing {}'s that to safe_dmamap_uniform that caused extraneous copies for partly-aligned operations through /dev/crypto (unlikely) o add missing case in iov code that never showed up because of the above bug Submitted by: "Jason L. Wright" MFC after: 3 days END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2003-08-13T20:44:51.000000Z K 7 svn:log V 74 Add opt_ddb.h to source list. It is included when DIAGNOSTICS is defined. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-13T21:29:35.000000Z K 7 svn:log V 202 Close a race where ath_intr is installed and may be called before the HAL is setup: use sc_invalid to discard such entries into ath_intr. This can easily happen if the device is assigned a shared IRQ. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-08-13T21:40:36.000000Z K 7 svn:log V 25 Reduce diffs with -HEAD. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-13T21:49:35.000000Z K 7 svn:log V 262 Use IEEE80211_RATE_MAXSIZE instead of IEEE80211_RATE_SIZE to validate the rate set element id from an AP. This allows stations to associate with AP's that violate the 802.11 spec by sending >8 rates. This corrects a recent regression; older code did likewise. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-13T22:09:44.000000Z K 7 svn:log V 305 Delay creating ic_bss until after the super-class has a chance to override the method pointers for manipulating nodes; this fixes a problem where the ic_bss node was not being created properly for the ath driver causing the driver to scribble on random memory. Noticed by: David Young END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-08-13T22:36:24.000000Z K 7 svn:log V 237 make sure the packets contains a complete inner header for ip{4,6}-in-ip{4,6} encapsulation; fixes panic for truncated ip-in-ip over ipsec Submitted by: Markus Friedl Obtained from: OpenBSD (rev 1.66 ipsec_input.c) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-13T22:39:21.000000Z K 7 svn:log V 361 Set the TX hardware checksum offload bits on all the descriptors of a multi-fragment transmission. I'm not sure if this is a bug or a requirement that I overlooked with going through the documentation, but the sample 8169 NIC that I have seems to require it at least some of the time or else it botches TCP checksums on segments that span multiple descriptors. END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-08-14T00:15:23.000000Z K 7 svn:log V 526 Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where the Palm device and the USB host controller deadlock. The USB host controller is expecting an early-end-of-transmission packet with 0 data, and the Palm doesn't send one because it's already communicated the amount of data it's going to send in a header (which ucom/uvisor are oblivious to). This is the problem that has been known on the pilot-link lists as the "[Free]BSD USB problem", but not understood. Submitted by: Nathan J. Williams END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-08-14T00:22:08.000000Z K 7 svn:log V 98 MFC: revision 1.15 Install a bandaid that allows us to synchronise, but at the expense of speed. END K 10 svn:author V 2 jb K 8 svn:date V 27 2003-08-14T03:46:22.000000Z K 7 svn:log V 73 MFC: 1.31 Allow ports up to 0x1000 in the pccard.conf Approved by: imp END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-08-14T03:56:24.000000Z K 7 svn:log V 103 Update powerpc to use the (old thread,new thread) calling convention for cpu_throw() and cpu_switch(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-14T05:18:38.000000Z K 7 svn:log V 149 Eliminate pmap_page_lookup() and its uses. Instead, use PHYS_TO_VM_PAGE() to convert the pte's physical address into a vm page. Reviewed by: peter END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T06:26:58.000000Z K 7 svn:log V 61 add microsoft mn-520 wlan card. submitted by: Kirk Strauser END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T06:27:48.000000Z K 7 svn:log V 25 resync to pcarddevs 1.63 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T06:30:06.000000Z K 7 svn:log V 61 Add microsoft mn-520 wlan card. Submitted by: Kirk Strauser END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T06:35:48.000000Z K 7 svn:log V 55 Note that Microsoft MN-520 WLAN card is now supported. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T07:15:19.000000Z K 7 svn:log V 41 trivial optimization: use nameunit here. END K 10 svn:author V 2 dg K 8 svn:date V 27 2003-08-14T11:02:03.000000Z K 7 svn:log V 499 Removed check of st_rdev changing in the -F support. st_rdev for regular files is usually the first direct block pointer. Since FreeBSD does automatic block reallocation to reduce filesystem fragmentation, the file being tailed can be relocated to different blocks 'on-the-fly', making the check for st_rdev unreliable. The result of this bug is tail -F pseudo-randomnly thinking the file was rotated when it wasn't, and as a result, spews out the entire file trying to catch up. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-14T14:07:13.000000Z K 7 svn:log V 47 MFC: revs. 1.22-1.24 (except for lchflags(2)). END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-08-14T14:15:16.000000Z K 7 svn:log V 294 Add support for the newer Moxa PCI 8-port, 16550-compatible based CP-168U board. It initializes and attaches in the same way as the older (but higher performance) C168H. The only difference is the board ID, which is 0x1681. PR: kern/53548 Submitted by: regnauld@catpipe.net MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-08-14T14:43:29.000000Z K 7 svn:log V 49 The as(1) manpage was missing on i386 and amd64. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-08-14T14:49:26.000000Z K 7 svn:log V 62 Add safe _FOREACH iterators to the rest of the queue.h types. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-14T15:17:49.000000Z K 7 svn:log V 145 Add many new VIA C3 CPU types now that they appear to be available in machines (at least in Japan). Submitted by: Masahiko KIMOTO-san PR: 55578 END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T15:21:55.000000Z K 7 svn:log V 72 decreased too-strong log levels. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-14T15:26:44.000000Z K 7 svn:log V 175 Add p_candebug() check to access a process map file in procfs; limit access to map information for processes that you wouldn't otherwise have debug rights on. Tested by: bms END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-08-14T15:27:32.000000Z K 7 svn:log V 323 Now that routes for IP over ATM may look much more complex than before, use the atmconfig(8) utility instead of route(8) to install those routes. For this we need a new rc.conf variable natm_static_routes that works just like static_routes except that the referenced routes use the syntax of atmconfig(8). Okay'ed by: mtm END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T15:47:31.000000Z K 7 svn:log V 61 avoid fd_set overrun. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T15:57:52.000000Z K 7 svn:log V 75 signal handler must take "int" arg. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T16:19:59.000000Z K 7 svn:log V 61 avoid fd_set overrun. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T16:23:39.000000Z K 7 svn:log V 75 signal handler must take "int" arg. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T16:51:13.000000Z K 7 svn:log V 87 - rename some variables. - remove unused block. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T18:13:34.000000Z K 7 svn:log V 153 daemon() has to be called prior to file descriptor setups (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-14T18:40:59.000000Z K 7 svn:log V 582 Commit 1 of 2 to fix ffsinfo(8) for UFS2. Add support for UFS2 to the UFS debugging routines in growfs; required to update ffsinfo(8) for UFS2. A variety of types and fs variables are renamed to reflect UFS1/2 structures. Also, the print routines for inodes are now split into separate UFS1 and UFS2 versions. We now define dbg_dump_csum_total(), but lose the printing of rotational information since that's not present in UFS2. In the future, we may want to re-add this functionality to print it solely for UFS1. Submitted by: Lukas Ertl PR: bin/53517 END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T18:43:57.000000Z K 7 svn:log V 56 support poll(2). Obtained from: KAME MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-14T18:52:45.000000Z K 7 svn:log V 437 Begin snipping out the lists of specific devices from the Hardware Notes. These duplicate information that ideally should live in the manual pages for individual drivers, and can easily become out-of-date. (This in fact is already the case.) Hypertext versions of the hardware notes already contain links to on-line versions of the manual pages. The first two drivers to get this treatment are amr(4) and aac(4). Discussed on: doc@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-14T18:55:31.000000Z K 7 svn:log V 592 Commit 1 of 2 to fix ffsinfo(8) for UFS2. Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging functions. Largely consists of renaming fields and types to be aware of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity check the device/file/label accessed. Since libufs(3) now handles label/UFS interactions, remove -L argument. Note: when submitted, this patch had substantial style changes. I've attempted to remove the restyling from the patch to separate the functional and style changes. Submitted by: Lukas Ertl PR: bin/53517 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-14T18:55:57.000000Z K 7 svn:log V 20 Hook up ffsinfo(8). END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-14T19:05:24.000000Z K 7 svn:log V 153 daemon() has to be called prior to file descriptor setups (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-14T21:16:46.000000Z K 7 svn:log V 392 add a read-only sysctl to display the number of entries in the fixed size kobj global method table; also kassert that the table has not overflowed when defining a new method. there are indications that the table is being overflowed in certain situations as we gain more kobj consumers- this will allow us to check whether kobj is at fault. symptoms would be incorrect methods being called. END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-14T22:09:10.000000Z K 7 svn:log V 84 disable resume code implementing panic(). this needs to be reimplemented properly. END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-15T01:24:36.000000Z K 7 svn:log V 38 add a few missing bits for future use END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-15T02:10:38.000000Z K 7 svn:log V 319 Fix a couple changes that were incorrect in updating for 0619. Only unlock the hardware mutex if it is held. Re-add calls to Enable/Clear fixed events. This is not known to have caused problems. Bug symptoms might have included instability after an aborted suspend attempt or power/sleep buttons not being enabled. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-15T02:17:23.000000Z K 7 svn:log V 180 Don't install a system notify handler. Move the device notify handler installation to just before we're ready to handle events. Make a loop more readable (no functional change). END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-15T02:18:15.000000Z K 7 svn:log V 113 De-inline functions which do not need to be inline. Move the DEVMETHOD block to where it is in similar drivers. END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-08-15T02:31:13.000000Z K 7 svn:log V 16 modify comments END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-08-15T03:57:15.000000Z K 7 svn:log V 149 Drop Giant when calling the disk drivers directly, and reacquire afterwards. This fixes the Vinum breakage in -CURRENT. Breakage explained by: phk END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-08-15T04:31:01.000000Z K 7 svn:log V 140 if we got this far, we definately don't have an EBADF. Return a more sane result of EPIPE. Reported by: nCircle dev team MFC after: 3 day END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-08-15T04:36:53.000000Z K 7 svn:log V 335 vinum_scandisk: Correctly handle additional disks without BIOS partition tables. Previously, vinum_scandisk stopped scanning additional disks for native partitions after any good partition was found. This applies to all platforms, but was a particular problem on systems without BIOS partition tables. Submitted by: harti END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-15T05:13:36.000000Z K 7 svn:log V 111 Extend the scope of the page queues lock in vm_pageout_scan() to cover the traversal of the PQ_INACTIVE queue. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-15T05:25:06.000000Z K 7 svn:log V 682 Add or finish support for machine dependent ptrace requests. When we check for permissions, do it for all requests, not the known requests. Later when we actually service the request we deal with the invalid requests we previously caught earlier. This commit changes the behaviour of the ptrace(2) interface for boundary cases such as an unknown request without proper permissions. Previously we would return EINVAL. Now we return EBUSY or EPERM. Platforms need to define __HAVE_PTRACE_MACHDEP when they have MD requests. This makes the prototype of cpu_ptrace() visible and introduces a call to this function for all requests greater or equal to PT_FIRSTMACH. Silence on: audit END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-15T05:40:59.000000Z K 7 svn:log V 885 Introduce two machine specific ptrace(2) requests: PT_GETKSTACK and PT_SETKSTACK. These requests allow the tracing process to access the dirty registers of the traced process that are on the kernel stack. Note that there's currently no way to access the rnat register for those dirty registers that are not (yet) covered by a nat collection point. The interface for this is still being slept on. Also note that implied by these requests is the division of work: The tracing process has to keep track of where registers are spilled and is responsible to figure out where the NaT bit of the stacked registers are at any time during the execution of the traced process. The kernel provides the interfaces but will not abstract the fact that the register stack can be split. This model does not follow the approach taken in Linux where PT_PEEK and PT_POKE deals with this automagically. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-15T05:46:33.000000Z K 7 svn:log V 321 Add an instruction group break after the move to application register and the move to control register to avoid dependency violations when these functions are used. Note that explicit data and instruction serialization also need to be in a subsequent instruction group. This too requires that we have an igrp break here. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-15T05:52:48.000000Z K 7 svn:log V 561 Fix the generation of coredumps. We did not take the dirty registers that were on the kernel stack into account. For now we write them out to the register stack of the process before creating the dump. This however is not the final solution. The problem is that we may invalidate the coredump by overwriting vital information due to an invalid backing store pointer. Instead we need to write the dirty registers to an unused region of VM which will result in a seperate segment in the coredump. For now we can at least get to all the registers from a coredump. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-08-15T06:02:24.000000Z K 7 svn:log V 293 Improve the C3 CPU identification. I didn't notice that the CPU id was masked. However KIMURA Yasuhiro-san noticed my mistake and was kind enough to provide a better patch in PR 55581. I've merged that into the routine. Hopefully I've not overlooked anything this time. MFC After: 5 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-08-15T06:33:11.000000Z K 7 svn:log V 138 Revert part of rev. 1.16 -- reinstate system notify handler. It turns out at least the Casio FIVA requires this. Requested by: takawata END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-08-15T06:34:47.000000Z K 7 svn:log V 240 Lock down arc4random so it can be safely called w/o Giant. Minor code reorganization was required, but the only functional change was that the first 1024 bytes of output are thrown out after each reseed, rather than just the initial seed. END K 10 svn:author V 5 bland K 8 svn:date V 27 2003-08-15T06:48:11.000000Z K 7 svn:log V 63 Add my birthday to the calendar. Approved by: marcus (mentor) END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-08-15T07:07:42.000000Z K 7 svn:log V 42 MFC: r1.25 - Alfred Hitchcock's birthday. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T09:05:12.000000Z K 7 svn:log V 1077 MFC: - __FUNCTION__ --> __func__ - Process the "O bit." If the value of OtherConfigFlag changes from FALSE to TRUE, the host should invoke the stateful autoconfiguration protocol, requesting information. [RFC 2462 Section 5.5.3] - stop use of register. - KNF, correct typos and cleanup spaces. - drop the code for the environment where getifaddrs(3) is not supported. - Drop MIP6 code. We don't support MIP6 yet. usr.sbin/rtadvd/advcap.c: 1.6 - 1.8 usr.sbin/rtadvd/config.c: 1.16 - 1.18 usr.sbin/rtadvd/dump.c: 1.5 - 1.7 usr.sbin/rtadvd/if.c: 1.7, 1.8 usr.sbin/rtadvd/rrenum.c: 1.6, 1.7 usr.sbin/rtadvd/rtadvd.c: 1.12 - 1.14 usr.sbin/rtadvd/rtadvd.h: 1.7, 1.8 usr.sbin/rtadvd/timer.c: 1.6, 1.7 usr.sbin/rtadvd/timer.h: 1.6 usr.sbin/rtsold/Makefile: 1.10 usr.sbin/rtsold/dump.c: 1.5 - 1.7 usr.sbin/rtsold/if.c: 1.6 - 1.8 usr.sbin/rtsold/probe.c: 1.6, 1.7 usr.sbin/rtsold/rtsock.c: 1.2 usr.sbin/rtsold/rtsol.c: 1.6 - 1.8 usr.sbin/rtsold/rtsold.8: 1.11 usr.sbin/rtsold/rtsold.c: 1.6 - 1.9 usr.sbin/rtsold/rtsold.h: 1.5, 1.6 END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T09:19:01.000000Z K 7 svn:log V 77 MFC: add rtsol_flags. etc/defaults/rc.conf: 1.183 etc/network.subr: 1.152 END K 10 svn:author V 3 mat K 8 svn:date V 27 2003-08-15T12:02:31.000000Z K 7 svn:log V 57 Add my birthday to calendar Approved by: demon (mentor) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T12:04:02.000000Z K 7 svn:log V 396 Remove the magic way of configuring NFS backed swap. This code dates back to the very first diskless support on FreeBSD, back when swapon(8) couldn't simply be run on a NFS backed file. Suggested replacement command sequence on the client: dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000 swapon /swapfile rm -f /swapfile For whatever value of 100000 you want. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T12:04:29.000000Z K 7 svn:log V 42 Make swaponvp() static to the swap_pager. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T13:14:25.000000Z K 7 svn:log V 88 Eliminate unnecessary udev_t variable: we can derive it from the dev_t when we need it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T14:55:50.000000Z K 7 svn:log V 69 Remove a few ushorts I missed in my earlier pass. Requested by: bde END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T14:56:05.000000Z K 7 svn:log V 57 As warned: Initiate deorbit burn for the pcaudio driver. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2003-08-15T15:09:52.000000Z K 7 svn:log V 37 MFC: ip6 and icmp6 pages for systat. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:18:29.000000Z K 7 svn:log V 123 - Update location of PCI headers. - Use macros for PCI config registers instead of magic numbers. - Small whitespace nits. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:19:21.000000Z K 7 svn:log V 155 Adjust the style of the #ifdef SMP in casuptr() so that the #ifdef SMP just covers the lock prefix to match the existing style in other asm files in i386. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:20:27.000000Z K 7 svn:log V 117 - Remove redundant include. - Move the include up to the other includes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:23:13.000000Z K 7 svn:log V 194 - Fix a duplicated typo. - Add a macro for the logical shift needed to extract an APIC ID from either from the local APIC ICR Hi register or the APIC ID registers of the local and IO APICs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:24:23.000000Z K 7 svn:log V 164 - Add macros describing some new MSR's in the Pentium 4 and some older MSR's in the original Pentium. - Add macros describing the bit fields in the APICBASE MSR. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T15:25:19.000000Z K 7 svn:log V 113 - Fix a typo in a comment. - Use macros for MSR register indexes as well as the bitfields in the APICBASE MSR. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T15:50:49.000000Z K 7 svn:log V 64 remove acquire_timer0() and release_timer0() and related stuff. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T16:50:34.000000Z K 7 svn:log V 75 logged the fact to dump the status. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T17:04:28.000000Z K 7 svn:log V 85 dump the content of route information options Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T17:15:10.000000Z K 7 svn:log V 93 set LOG_PERROR for openlog() when running foreground. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-08-15T17:20:40.000000Z K 7 svn:log V 73 Remove a stray ".Xr rtadvd 8" that snuck in in the middle of a sentence. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T17:20:49.000000Z K 7 svn:log V 112 variable shared with signal handler needs to be "volatile sig_atomic_t". Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T17:51:51.000000Z K 7 svn:log V 55 use arc4random. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-15T17:56:44.000000Z K 7 svn:log V 193 #ifdef __i386__ the "int slice" definition that became i386-only with recent Vinum changes. Fixes non-i386 build on vinumio.c. Accidental oversight of: grog Fix hopefully not minded by: grog END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-15T18:01:10.000000Z K 7 svn:log V 22 Add ptrace_machdep.c. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T18:26:53.000000Z K 7 svn:log V 87 MFC: Eliminate mid-line hard sentence breaks. No content changes. aha.4 1.17->1.18 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T18:30:14.000000Z K 7 svn:log V 184 Catch up aha(4) manpage with hardware notes and driver code. (While applying this patch from the PR, delete a stray comma.) PR: 55527 Submitted by: Lukas Ertl END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T18:32:22.000000Z K 7 svn:log V 151 MFC: Catch up aha(4) manpage with hardware notes, delete a stray comma. aha.4 1.18->1.19 PR: 55527 Submitted by: Lukas Ertl END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-08-15T19:13:53.000000Z K 7 svn:log V 891 - supported a string notation for xxflags. - deprecate routes#N, as it is hard to keep consistency with rtprefixN. accept any number of "rtprefix", "rtrefix0", ..., "rtprefix99". - deprecate "addrs#N", as it is difficult for users to keep consistency with "addrN". accept 100 prefix info in maximum - like "addr", "addr0" ... "addr99". WARNS=2 clean on netbsd. old configuration file should work just fine. behavior change: previously, we rejected "addrN" if there's "addr", and we rejected "addr" if there is "addrN". now we accept both without problem. - when an advertised prefix configured from the kernel has been added or invalidated, notice the change in a short delay. - when invalidating a prefix, do not bark even if there is inconsistency about prefix lifetimes. - wrap more specific route info code into ROUTEINFO. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-08-15T20:03:19.000000Z K 7 svn:log V 292 Eliminate the i_devvp field from the incore UFS inodes, we can get the same value from ip->i_ump->um_devvp. This saves a pointer in the memory copies of inodes, which can easily run into several hundred kilobytes. The extra indirection is unmeasurable in benchmarks. Approved by: mckusick END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-08-15T21:08:08.000000Z K 7 svn:log V 153 ISO 3166-1 Newsletter V-8 changes YUGOSLAVIA to SERBIA AND MONTENEGRO with corresponding changes to alpha-2 and alpha-3. (Odd choice of codes, though.) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-08-15T21:10:58.000000Z K 7 svn:log V 75 MFC ISO 3166-1 Newsletter V-8. Obtained from: ISO 3166 Maintenance Agency END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-08-15T21:29:06.000000Z K 7 svn:log V 242 - Various style fixes in both code and comments. - Update some stale comments. - Sort a couple of includes. - Only set 'newcpu' in updatepri() if we use it. - No functional changes. Obtained from: bde (via an old diff I got a long time ago) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-15T21:56:09.000000Z K 7 svn:log V 554 MFC: lprint.c:1.24, sprintf.c:1.22, util.c:1.21 If stat() on the terminal specified in utmp fails due to ENOENT, don't print a warning, and set the idletime variable for the entry to -1; then pick up the -1 later in sprint() and lprint() and ignore those idle times by printing just whitespace. When third party applications, such as kdm, insert utmp entries, they sometimes use strings like ":0", which can't be stat()'d and currently result in warnings that are not helpful to the user. Requested by: Jonathan Chen END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-08-15T21:58:14.000000Z K 7 svn:log V 298 MFC: w.c:1.55 Fix warning when calling w(1) when logged in via xdm/kdm. This is really a problem with utmp/wtmp, but takes the same approach as who(1). Reviewed by: knu (mentor), mini, silence on -audit Approved by: knu (mentor), mini Spotted in RELENG_4 by: Eric S END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T22:34:18.000000Z K 7 svn:log V 128 Add DAC960PDU to list of supported cards, taken from Hardware Notes. PR: 55534 Submitted by: Lukas Ertl END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T22:39:26.000000Z K 7 svn:log V 106 MFC: Add DAC960PDU to list of supported cards PR: 55534 Submitted by: Lukas Ertl END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-15T22:46:47.000000Z K 7 svn:log V 461 It appears in some configurations with an on-board RTL8100 chip (in this case, a "Vortex86" mini PC), the PCI device ID value in the EEPROM (0x8100) does not agree with the PCI device ID returned by pci_get_device() (0x8139). This means that while rl_probe() matches the device, rl_attach() doesn't. Work around this by adding an entry to the rl_devs table for the 8100 with a device ID of 0x8100. Also, get rid of extra instance of __FBSDID(). One is enough. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-15T22:47:55.000000Z K 7 svn:log V 96 Argh. Last commit only had the __FBSDID() fix. Really add the device ID for the 8100 this time. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-08-15T22:50:25.000000Z K 7 svn:log V 245 Move aha(4) devices out of Adaptec-centric section to new paragraphs. We didn't try to list all the variants so there isn't much shrinkage here. Remove list of supported mlx(4) devices; readers should get this information from the manual page. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-08-15T22:52:34.000000Z K 7 svn:log V 68 MFC: port all the support for the 8139C+ and 8169 chips to -stable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-08-16T01:49:38.000000Z K 7 svn:log V 357 Fix a range check bug. Don't left-shift the integer argument 'data'. Sign extension happens after the shift, not before so that boundary cases like 0x40000000 will not be caught properly. Instead, right shift ndirty. It is guaranteed to be a multiple of 8. While here, do some manual code motion and code commoning. Range check bug pointed out by: iedowse END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-08-16T02:48:20.000000Z K 7 svn:log V 47 FICL doesn't build on PowerPC yet, so disable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-16T03:11:33.000000Z K 7 svn:log V 149 Eliminate pmap_page_lookup() and its uses. Instead, use PHYS_TO_VM_PAGE() to convert the pte's physical address into a vm page. Reviewed by: peter END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-16T05:19:00.000000Z K 7 svn:log V 93 Access user provided pointer out of lock, and also check the case when a key is less than 0. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-16T05:22:20.000000Z K 7 svn:log V 144 Keep initial kse and kse group just like we keep initial thread, Don't free them, so some code can still reference them. Reviewed by: deischen END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-08-16T06:15:17.000000Z K 7 svn:log V 126 Revision 1.44 of ufs/ufs/inode.h has made it necessary to add two new #includes to this file. Otherwise, it doesn't compile. END