ƒ°127223 201 203 328 212 152 160 214 230 200 183 382 306 112 143 282 177 199 1026 330 240 357 166 267 111 189 155 1885 215 310 157 273 408 588 131 129 119 166 143 109 285 208 213 300 120 578 177 147 158 145 145 279 144 149 177 164 153 639 181 226 510 262 1008 910 128 166 130 340 460 147 265 229 182 146 166 204 371 104 147 138 450 117 405 676 631 134 698 264 456 315 236 157 251 159 158 235 290 218 276 193 318 167 257 218 108 249 262 128 132 255 233 724 240 450 128 600 161 147 170 164 652 296 399 410 487 349 304 279 537 126 215 120 124 119 121 122 230 164 122 258 593 253 161 197 221 378 226 676 203 204 229 164 226 178 150 243 154 436 338 232 169 221 160 118 192 176 158 185 169 157 344 193 820 123 227 643 163 141 163 142 152 145 157 237 183 172 211 183 182 134 1818 445 162 236 277 126 134 174 162 168 181 181 116 K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-20T07:17:12.000000Z K 7 svn:log V 110 New release note: ips(4) now supports the recent Adaptec flavors of ServeRAID series SCSI controller cards. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-20T07:31:11.000000Z K 7 svn:log V 232 Put the event notification back where it was for freeBSD, after device creation. Since NetBSD doesn't have devfs the order for them doesn't matter.. Reverses one part of 1.60->1.61 NetBSD diff reduction. Obtained from: Not NetBSD END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-20T08:38:27.000000Z K 7 svn:log V 119 Improve documentation for fgetpos() and fsetpos(), and discourage users from assuming that fpos_t is an integral type. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T08:38:33.000000Z K 7 svn:log V 57 Fix braino in previous commit: getenv() can return NULL. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-20T08:41:12.000000Z K 7 svn:log V 68 Mention that funopen() uses fpos_t incorrectly in the BUGS section. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-03-20T09:46:33.000000Z K 7 svn:log V 116 Catch up with -CURRENT. This includes: * Fixes to xterm * screen enhancements * compact mvterm entry * style police END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-03-20T10:25:36.000000Z K 7 svn:log V 135 Sync manpage with code for hw.acpi.toshiba.cpu_speed sysctl. Submitted by: Chia-liang Kao Approved by: njl (mentor) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-20T11:45:52.000000Z K 7 svn:log V 107 Parenthesize function names in masking macros for getc() etc. for the benefit of obsolete C preprocessors. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-03-20T13:05:11.000000Z K 7 svn:log V 89 "CPU is an acronym, and as such should be spelled in all uppercase." Pointed out by: ru END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-03-20T13:11:59.000000Z K 7 svn:log V 284 Added entries for ibm151 and ibm3151-25. Style: o Use tabs instead of 8 spaces o Space after # beginning comment o Fix entries lacking ":" after tab o Removed whitespace at EOL PR: misc/62749 (the ibm additions) Submitted by: Gerhard Gonter MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-20T19:02:46.000000Z K 7 svn:log V 210 Fix the ioctl types for two ioctls. I'm not sure if the switch was my fault or the vendor's fault when I brought in rev 1.5. This allows the 'storcon' utility to work again. Sponsored by: freebsdsystems.com END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-03-20T19:13:06.000000Z K 7 svn:log V 18 o Add user proxy. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-03-20T19:33:58.000000Z K 7 svn:log V 49 MFC rev. 1.25: document 'callback phone_number'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-20T19:36:29.000000Z K 7 svn:log V 189 Introduce uiomove_fromphys(). This is a variant of uiomove() that takes a collection of physical pages as the source. On amd64 it is implemented using the direct virtual-to-physical map. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-20T19:57:47.000000Z K 7 svn:log V 83 Don't announce MAC addresses twice. (ieee80211_ifattach() calls ether_ifattach().) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-20T20:12:13.000000Z K 7 svn:log V 104 Let ether_ifattach() announce our MAC address. Submitted by: Marius Strobl END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T20:41:40.000000Z K 7 svn:log V 930 Introduce the cpumask_t type. The purpose of the type is to create a level of abstraction for any and all CPU mask and CPU bitmap variables so that platforms have the ability to break free from the hard limit of 32 CPUs, simply because we don't have more bits in an u_int. Note that the type is not supposed to solve massive parallelism, where the number of CPUs can be larger than the width of the widest integral type. As such, cpumask_t is not supposed to be a compound type. If such would be necessary in the future, we can deal with the issues then and there. For now, it can be assumed that the type is integral and unsigned. With this commit, all MD definitions start off as u_int. This allows us to phase-in cpumask_t at our leasure without breaking anything. Once cpumask_t is used consistently, platforms can switch to wider (or smaller) types if such would be beneficial (or not; whatever :-) Compile-tested on: i386 END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-20T20:47:08.000000Z K 7 svn:log V 237 Fix loop termination condition for parsing resources in _PRS buffers. This completes the effort to handle dependent functions, which are used in some machines for irq link resources. Also, clean up some nearby comments while I'm at it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-20T21:06:20.000000Z K 7 svn:log V 147 - Add uiomove_fromphys() implementations to alpha and ia64. These only differ trivially from amd64. - Correct a spelling error in a comment. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-20T21:07:36.000000Z K 7 svn:log V 261 Don peril-sensitive sunglasses and add PCI Id's for two new cards. I've only done minimal testing on one of these cards and the firmware folks have been extremely uncooperative in answering my qeustions about them, so hopefully they will work ok for everyone. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-20T21:10:08.000000Z K 7 svn:log V 71 MFC: Add support for two new cards, along with one somewhat older one. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-20T22:35:33.000000Z K 7 svn:log V 169 Bug: Standard C still requires declarations to precede statements. Portability: Eliminate an accidental __unused, accomodate systems with non-POSIX strerror_r END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T22:41:52.000000Z K 7 svn:log V 16 Add uart_subr.c END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-20T22:47:30.000000Z K 7 svn:log V 94 Don't make having ${DESTDIR}/boot/device.hints a prerequisite to installing a kernel on ia64. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-20T23:27:42.000000Z K 7 svn:log V 63 Remove NetBSD's sort(1), which we stopped using two years ago. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-20T23:39:43.000000Z K 7 svn:log V 1789 - Rewrite the timer and event API routines in subr_ndis.c so that they are actually layered on top of the KeTimer API in subr_ntoskrnl.c, just as it is in Windows. This reduces code duplication and more closely imitates the way things are done in Windows. - Modify ndis_encode_parm() to deal with the case where we have a registry key expressed as a hex value ("0x1") which is being read via NdisReadConfiguration() as an int. Previously, we tried to decode things like "0x1" with strtol() using a base of 10, which would always yield 0. This is what was causing problems with the Intel 2200BG Centrino 802.11g driver: the .inf file that comes with it has a key called RadioEnable with a value of 0x1. We incorrectly decoded this value to '0' when it was queried, hence the driver thought we wanted the radio turned off. - In if_ndis.c, most drivers don't accept NDIS_80211_AUTHMODE_AUTO, but NDIS_80211_AUTHMODE_SHARED may not be right in some cases, so for now always use NDIS_80211_AUTHMODE_OPEN. NOTE: There is still one problem with the Intel 2200BG driver: it happens that the kernel stack in Windows is larger than the kernel stack in FreeBSD. The 2200BG driver sometimes eats up more than 2 pages of stack space, which can lead to a double fault panic. For the moment, I got things to work by adding the following to my kernel config file: options KSTACK_PAGES=8 I'm pretty sure 8 is too big; I just picked this value out of a hat as a test, and it happened to work, so I left it. 4 pages might be enough. Unfortunately, I don't think you can dynamically give a thread a larger stack, so I'm not sure how to handle this short of putting a note in the man page about it and dealing with the flood of mail from people who never read man pages. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-21T00:06:56.000000Z K 7 svn:log V 120 Fix another Intel 2200BG bug: don't schedule ndis_ticktask() on media disconnect events if the link wasn't even up yet. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-21T01:21:26.000000Z K 7 svn:log V 215 Add initial support for compiling a special 32 bit version of ld-elf.so.1 on 64 bit systems. Most of this involves using alternate paths, environment variables and diagnostic messages. The build glue is seperate. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-21T01:22:24.000000Z K 7 svn:log V 63 Change (yet again, sorry!) the path of the 32 bit ld-elf.so.1. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-21T01:39:01.000000Z K 7 svn:log V 178 Adjust stack alignment so that when the 'call xxx' functions are gathered into the middle of the _init and _fini sections, they get executed with their expected stack alignment. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-21T01:41:29.000000Z K 7 svn:log V 312 In breakpoint(), use a different immediate to make sure we can distinguish between debugger inserted breakpoints and fixed breakpoints. While here, make sure the break instruction never ends up in the last slot of a bundle by forcing it to be an M-unit instruction. This makes it easier for use to skip over it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-21T01:43:39.000000Z K 7 svn:log V 493 More stack alignment fixes. Arrange so we call _rtld() in ld-elf.so.1 with the correct alignment. This is important because this calls to library static constructors are made from here. The bug in the old crt*.s files hid this because in this case, two wrongs do indeed make a right. Also, call _rtld_bind() with the correct alignment, because it calls back into the pthread library locking functions. If things happen just the wrong way, we get a SIG10 due to the broken stack alignment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-21T03:28:08.000000Z K 7 svn:log V 35 Spell "(struct foo *)0" as "NULL". END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-21T04:47:54.000000Z K 7 svn:log V 37 Support C-style comments in profile. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-21T04:56:06.000000Z K 7 svn:log V 27 Add a -v (verbose) option. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-21T04:57:24.000000Z K 7 svn:log V 71 Add a reference to the ia64 options to gcc. While here, sort the list. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-03-21T05:10:34.000000Z K 7 svn:log V 48 Compile the kernel with -O2 on ia64 by default. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-21T06:34:34.000000Z K 7 svn:log V 15 Handle AF_ARP. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-21T06:36:05.000000Z K 7 svn:log V 190 Remove interface type specific code from arprequest(), and in_arpinput(). The AF_ARP case in the (*if_output)() routine will handle the interface type specific bits. Obtained from: NetBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-21T07:39:51.000000Z K 7 svn:log V 112 MFC of 1.59->1.60 usb_subr.c "Re-enable detach events after adding a bugfix from NetBSD that unbreaks them." END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-21T08:14:39.000000Z K 7 svn:log V 115 1. Use socklen_t instead of int 2. Compare socket(2) return code to -1, not <= 0. Obtained from: OpenBSD rev. 1.9 END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-21T09:22:38.000000Z K 7 svn:log V 204 Massively up the (artificial) limit on system scope threads in a process from 50 to 500 Also up the number of process scope threads allowed to be in the kernel at one time from 150 to 1500 (per process) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-03-21T09:56:26.000000Z K 7 svn:log V 23 MFC: 1.10 Grammar fix END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-21T10:46:13.000000Z K 7 svn:log V 483 Fix various issues with the picobsd build script in -current: + declare some shell variables as 'local' + add a missing ';;' in a 'case' statement + centralize newfs options + properly override GID and UID when installing include files and libraries + add a missing '-r' in disklabel commands (maybe not necessary, but it does not harm and it was used in the RELENG_4 version) + no more require 'perl' when installing the secondary loader + use '-t rsa1' when invoking ssh-keygen END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-21T11:02:40.000000Z K 7 svn:log V 85 Document incorrect handling of multibyte characters when -t and -v options are used. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-21T11:04:59.000000Z K 7 svn:log V 55 Reduce redundancy in the description of the -u option. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-21T11:16:24.000000Z K 7 svn:log V 66 Document incorrect handling of multibyte characters in filenames. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-21T11:24:06.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-21T11:31:37.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-21T13:38:37.000000Z K 7 svn:log V 186 When symbolic link is pointed onto a mount point, it can't be moved to a different file system. Patch in PR was incorrect. PR: bin/64430 Submitted by: Samuel Tardieu MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-21T15:25:20.000000Z K 7 svn:log V 52 Update the supported hardware. Approved by: scottl END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-21T15:25:49.000000Z K 7 svn:log V 57 MFC: Update the supported hardware. Approved by: scottl END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-21T17:27:41.000000Z K 7 svn:log V 83 - Correct variable name. - Correct unnecessary use of htons(). Reported by: many. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-21T18:16:49.000000Z K 7 svn:log V 69 Fix $FreeBSD$. Reported by: Daniel O'Connor END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-21T18:51:26.000000Z K 7 svn:log V 59 - Fix indentation lost by 'diff -b'. - Un-wrap short line. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-21T18:53:29.000000Z K 7 svn:log V 543 Give a more reasonable CPU time to the threads which are using scheduler activation (i.e., applications are using libpthread). This is because SCHED_ULE sometimes puts P_SA processes into ksq_next unnecessarily. Which doesn't give fair amount of CPU time to processes which are using scheduler-activation-based threads when other (semi-)CPU-intensive, non-P_SA processes are running. Further work will no doubt be done by jeffr at a later date. Submitted by: Taku YAMAMOTO Reviewed by: rwatson, freebsd-current@ END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-21T19:06:54.000000Z K 7 svn:log V 86 Quote NM in case you need to force it to something with args. Submitted by: jmallett END K 10 svn:author V 8 dannyboy K 8 svn:date V 27 2004-03-21T19:36:16.000000Z K 7 svn:log V 128 Login classes are not "unused." Reference login.conf(5). PR: 62830 Submitted by: Matthew D. Fuller END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-21T19:56:41.000000Z K 7 svn:log V 415 Make if_ndis_pci.c and if_ndis_pccard.c use bus_alloc_resource() again instead of bus_alloc_resource_any() to restore source compatibility with 5.2-REL and 5.2.1-REL systems. bus_alloc_resource_any() doesn't really do anything besides hide some of bus_alloc_resource()'s arguments from us, and in my opinion this isn't worth breaking backwards compatibility for people who want to use the NDISulator code on 5.2.x. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-21T20:28:36.000000Z K 7 svn:log V 169 Add an implementation of uiomove_fromphys() for i386. This implementation uses sf_buf_alloc() and sf_buf_free() to create and destroy the necessary ephemeral mappings. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-22T00:28:38.000000Z K 7 svn:log V 913 The kthread_create() API is supposed to allow you to create threads with more than the normal amount of stack pages, however the stack pointer always wound up being initialized using KSTACK_PAGES. It should be using td->td_kstack_pages instead. This means that although the vm subsystem would give you all the stack pages you asked for, %esp would always be initialized as if you had just 2 pages, and the rest would go to waste. I wanted to use the 'give me more stack pages' feature of kthread_create() because the Intel 2200BG NDIS driver does an alloca() of about 5000 bytes, which wrecks the stack with the default 2 page size, and I was baffled that no matter how much code I shoved into thread contexts with allegedly larger stacks, the thing would still crash unless I changed KSTACK_PAGES. Note: this bug is present in _ALL_ arches at this point. Peter has promised to merge this fix into all of them. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-22T00:41:41.000000Z K 7 svn:log V 815 The Intel 2200BG NDIS driver does an alloca() of about 5000 bytes when it associates with a net. Because FreeBSD's kstack size is only 2 pages by default, this blows the stack and causes a double fault. To deal with this, we now create all our kthreads with 8 stack pages. Also, we now run all timer callouts in the ndis swi thread (since they would otherwise run in the clock ithread, whose stack is too small). It happens that the alloca() in this case was occuring within the interrupt handler, which was already running in the ndis swi thread, but I want to deal with the callouts too just to be extra safe. NOTE: this will only work if you update vm_machdep.c with the change I just committed. If you don't include this fix, setting the number of stack pages with kthread_create() has essentially no effect. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-22T00:52:27.000000Z K 7 svn:log V 33 Share the i386 boot manual page. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-22T01:15:28.000000Z K 7 svn:log V 71 Dont count bytes being sent to a disconnected hook. MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-22T03:17:36.000000Z K 7 svn:log V 35 Remove WFORMAT, style.Makefile(5). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T03:24:10.000000Z K 7 svn:log V 243 Since I have my hands all over netatalk adding locking and restructuring it, cinch the file's style closer to style(9) with regard to parenthesis: s/( /(/g s/ )/)/g s/return(/return (/g s/return 0/return (0)/ s/return 1/return (1)/ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T03:48:31.000000Z K 7 svn:log V 363 Also modify ddp_input.c with the following changes previously applied to other files in netatalk: Log: Since I have my hands all over netatalk adding locking and restructuring it, cinch the file's style closer to style(9) with regard to parenthesis: s/( /(/g s/ )/)/g s/return(/return (/g s/return 0/return (0)/ s/return 1/return (1)/ END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-03-22T03:52:51.000000Z K 7 svn:log V 53 MAC addresses are 8 bits in ARCNET. Adjust bcopy(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T03:57:01.000000Z K 7 svn:log V 168 Compare pointers with NULL rather than 0, or treating them as boolans in if statements. at_rmx gets a $FreeBSD$ out of the deal also (this code appears to be unused). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T04:50:36.000000Z K 7 svn:log V 132 Rename 'at_ifaddr' list to 'at_ifaddr_list' so that the variable is more easily mechanically distinguished from 'struct at_ifaddr'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T04:54:36.000000Z K 7 svn:log V 86 Rename 'ddpcb' variable to 'ddpcb_list' to better distinguish it from 'struct ddpcb'. END K 10 svn:author V 4 grog K 8 svn:date V 27 2004-03-22T05:02:01.000000Z K 7 svn:log V 53 Add an observation by Dijkstra software engineering. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-22T05:17:23.000000Z K 7 svn:log V 69 Just use autoconf-compatible feature macros; don't try to be clever. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-22T07:40:12.000000Z K 7 svn:log V 112 MFC: install /bin/sh in safe mode thus allowing the use of shell scripts to strip binaries during installworld. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-22T08:08:25.000000Z K 7 svn:log V 278 Add an implementation of uiomove_fromphys() to sparc64. This implementation could be characterized as a hybrid of the amd64 and i386 implementations. Specifically, the direct virtual-to-physical mapping is used if possible and sf_buf_alloc() is used if the direct map cannot. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-22T09:33:10.000000Z K 7 svn:log V 12 Use errc(). END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-03-22T10:17:40.000000Z K 7 svn:log V 56 Remove some netbsd debug code that crept into rev 1.116 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-22T11:15:03.000000Z K 7 svn:log V 46 Use fseeko() to properly support large files. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-22T12:01:23.000000Z K 7 svn:log V 352 On startup, warn if inetd's config file doesn't exist. This isn't exactly the same as patch from the PR, which also exited if the config file was missing. I didn't use Jeff's patch because I was worried that some people might start inetd, create the config file and then HUP inetd. PR: 60806 Submitted by: Jeff Ito MFC after: 2 weeks END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-03-22T13:37:11.000000Z K 7 svn:log V 24 MFi386: revision 1.480. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T14:24:26.000000Z K 7 svn:log V 308 Move "called", a static function variable used to detect recursive processing with gif interfaces, to a global variable named "gif_called". Add an annotation that this approach will not work with a reentrant network stack, and that we should instead use packet tags to detect excessive recursive processing. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-03-22T14:44:00.000000Z K 7 svn:log V 582 Forced commit note to explain why NO_POSIX_COMPAT was removed with upgrade. NO_POSIX_COMPAT was added in 1996 as attempt to resolve POSIX regex functions conflict for fixit floppy (they are both in libc and libgnuregex) The way it done (simple excluding POSIX functions from compile) breaks legitimate case when, say, some program from ports calls both POSIX and GNU regex functions (it will call POSIX ones from libc and fails, because header is from GNU). Now our fixit floppy (and other crunched floppies, as I check) not use libgnuregex, so the hack can be removed. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T15:43:14.000000Z K 7 svn:log V 534 Lock down global variables in if_gif: - Add gif_mtx, which protects globals. - Hold gif_mtx around manipulation of gif_softc_list. - Abstract gif destruction code into gif_destroy(), which tears down a softc after it's been removed from the global list by either module unload or clone destroy. - Lock gif_called, even though we know gif_called is broken with reentrant network processing. - Document an event ordering problem in gif_set_tunnel() that will need to be fixed. gif_softc fields not locked down in this commit. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-22T15:45:17.000000Z K 7 svn:log V 39 Use ' rather than ". Submitted by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T16:04:43.000000Z K 7 svn:log V 601 Lock down global variables in if_gre: - Add gre_mtx to protect global softc list. - Hold gre_mtx over various list operations (insert, delete). - Centralize if_gre interface teardown in gre_destroy(), and call this from modevent unload and gre_clone_destroy(). - Export gre_mtx to ip_gre.c, which walks the gre list to look up gre interfaces during encapsulation. Add a wonking comment on how we need some sort of drain/reference count mechanism to keep gre references alive while in use and simultaneous destroy. This commit does not lockdown softc data, which follows in a future commit. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-22T16:35:35.000000Z K 7 svn:log V 171 Set start_cmd and stop_cmd correctly so the code that extracts the names of the ntp servers from ntp.conf is actually used. Remove pidfile since ntpdate is not a daemon. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-03-22T16:37:32.000000Z K 7 svn:log V 359 Commit a message to UPDATING indicating that during network stack locking merges, debug.mpsafenet will no longer be safe to use, and that it should be turned off (which is the default). I will commit a follow-up message to UPDATING (and post to freebsd-current) when it's safe to turn it on, with a description of under what circumstances it is safe to use. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-22T18:00:39.000000Z K 7 svn:log V 220 if_ndis.c no longer depends on either pci or pccard. Also, add an extra entry for if_ndis_pci.c that depends on cardbus, just to cover all the bases. (I don't think you can have cardbus without PCI, but just in case...) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-22T18:34:37.000000Z K 7 svn:log V 141 I'm a dumbass: the test in the MOD_SHUTDOWN case in ndis_modevent() that checks to see if any devices are still in the devlist was reversed. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-22T19:57:34.000000Z K 7 svn:log V 65 Bump FreeBSD version to indicate new bus_alloc_resource_any API. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-22T20:11:49.000000Z K 7 svn:log V 158 Revert 1.22. Go back to "FreeBSD" as our _OS value. Since we now support _OSI, we can claim compatibility with MS products without claiming to BE one. :-) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-22T20:32:27.000000Z K 7 svn:log V 67 Whitespace and comment changes. No MD5 change to the object file. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-22T20:36:33.000000Z K 7 svn:log V 66 Shorten some printfs to fit better. No other functional changes. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-03-22T20:39:20.000000Z K 7 svn:log V 142 Use the correct length for appending an extended irq resource. This may have broken APIC routing. This bug has been present since rev 1.33. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-03-22T21:05:57.000000Z K 7 svn:log V 196 Note that only one webnfs share is allowed per NFS server. PR: docs/45371 Submitted by: Mattias Pantzare , Matthew D. Fuller MFC after: 2 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-03-22T21:24:38.000000Z K 7 svn:log V 124 Clarify the description of the "established" option. PR: docs/50391 Submitted by: root@edcsm.jussieu.fr MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-22T22:36:11.000000Z K 7 svn:log V 180 Rather than display which interrupts are MPSAFE, display those that aren't. This way we can take stock of the work to be done. boot -v will note those interrupts that are MPSAFE. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-22T22:46:22.000000Z K 7 svn:log V 99 Remove another case of grabbing Giant before doing a kthread_exit() which is now no longer needed. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-03-22T23:59:55.000000Z K 7 svn:log V 226 MFC: speedup stream socket recv handling by tracking the tail of the mbuf chain instead of walking the list for each append. This has been pretty well tested at Yahoo! Obtained from: netbsd (jason thorpe) Reviewed by: silby END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-03-22T23:59:56.000000Z K 7 svn:log V 71 This commit was manufactured by cvs2svn to create branch 'RELENG_4_10'. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-03-23T00:32:27.000000Z K 7 svn:log V 161 Emit a traceback when witness_trace is set and witness_warn() is called and triggers (typically caused by sleeping with a non-sleepable lock). Reviewed by: jhb END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-23T01:58:09.000000Z K 7 svn:log V 122 Change the !MPSAFE boot string to something that doesn't potentially scare users that the kernel won't run on MP systems. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-03-23T03:14:01.000000Z K 7 svn:log V 11 mdoc fixes END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-03-23T08:32:29.000000Z K 7 svn:log V 154 Re-add the hand-optimised assembler versions of some of the ciphers to the build. Should have done this ages ago: markm Reminded above to do this: peter END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-03-23T08:37:34.000000Z K 7 svn:log V 169 Do not copy vm_exitingcnt to the new vmspace in vmspace_exec(). Copying it led to impossibly high values in the new vmspace, causing it to never drop to 0 and be freed. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-03-23T09:04:06.000000Z K 7 svn:log V 33 decode fcntl and mmap arguments. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-03-23T09:16:18.000000Z K 7 svn:log V 37 decode mprotect args while i'm here. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2004-03-23T12:16:48.000000Z K 7 svn:log V 160 Fix hostname determination from linux applications inside a jail (uname(2) used to return the host environment's hostname). Approved by: silence on emulation@ END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-23T12:29:17.000000Z K 7 svn:log V 135 Use pread to implement pread, rather than taking a detour throug stdio. PR: 52190 Submitted by: Dan Nelson END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-03-23T12:37:02.000000Z K 7 svn:log V 626 Add support for decoding Timespec, Timeval, Itimerval, Pollfd, Fd_set and Sigaction structures. Use these for printing the arguments to sigaction(), nanosleep(), select(), poll(), gettimeofday(), clock_gettime(), recvfrom(), getitimer() and setitimer(). This is based on Dan's patch from the PR but I've hacked it for style and some other issues. While Dan has checked this patch, any goofs are probably my fault. (The PR also contains support for the dual return values of pipe(). These will follow once I've ported that support to platforms other than i386.) PR: 52190 Submitted by: Dan Nelson END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-23T18:26:03.000000Z K 7 svn:log V 147 Add an implementation of uiomove_fromphys() for PowerPC. This implementation uses the direct virtual-to-physical mapping. Discussed with: grehan END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-23T18:40:24.000000Z K 7 svn:log V 357 MFC various style(9)-ish and other cosmetic changes from -current, mainly to greatly reduce the code-diffs in ps.c (but that dragged in some similar changes to the other files). This should result in no user-visible changes. This is done to make it easier to MFC some user-visible changes that are coming up, but those MFC's will be done at a later date. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-03-23T19:41:32.000000Z K 7 svn:log V 31 Sync with CURRENT (rev. 1.143) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-23T19:51:17.000000Z K 7 svn:log V 505 Recently I realized that the ADMtek 8211 driver wasn't working correctly (NIC would claim to establish a link with an ad-hoc net but it couldn't send/receive packets). It turns out that every time the checkforhang handler was called by ndis_ticktask(), the driver would generate a new media connect event. The NDIS spec says the checkforhang handler is called "approximately every 2 seconds" but using exactly 2 seconds seems too fast. Using 3 seconds makes it happy again, so we'll go with that for now. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-23T21:22:24.000000Z K 7 svn:log V 66 Add myself as maintainer for contrib/pf Approved by: bms(mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-23T22:16:38.000000Z K 7 svn:log V 55 Add share/nls/{POSIX,en_US.US-ASCII} as symlinks to C. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-23T22:17:34.000000Z K 7 svn:log V 78 Drop the -d argument to mtree since some of the spec files now list symlinks. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-23T22:27:24.000000Z K 7 svn:log V 72 Remove doscmd from the base system now that it lives in the ports tree. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-23T22:28:16.000000Z K 7 svn:log V 559 Enable interrupt preemption on Alpha. Previously, flipping this switch on caused hangs on SMP systems under load. My theory was that an interrupted thread was migrating and returning to PAL on a different CPU and that that caused the hangs. To prevent this, I used the recently added sched_pin() API to pin the interrupted thread to the CPU that received the interrupt across ithread_schedule() to prevent migration. This seems to have fixed the hangs based on tests by several folks on the alpha@ list. Tested by: wilko, tisco, several others on alpha@ END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-23T22:30:15.000000Z K 7 svn:log V 200 Add rc.d script for pf(4) (more to come once pflogd(8) works as well). Update defaults and write some lines for rc.conf(5) also. Mostly dup'ed from ipf Reviewed by: -current Approved by: bms(mentor) END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-03-23T23:12:02.000000Z K 7 svn:log V 306 Intitialize the frame pointer and return pc of a new process created in cpu_fork(). This prevents the stack tracer from running past the end of the stack (only the pc is checked in that case), which became fatal when db_print_backtrace() was introduced and called outside of ddb. Additional testing: kris END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-03-23T23:20:34.000000Z K 7 svn:log V 317 Correct the termination condition of the DVMA pruning loop in iommu_dvma_vallocseg(), which I botched in r1.32. This bug could cause an endless loop when a map was loaded and DVMA was scarce, or that map had a stringent alignment or boundary. Report and additional testing: Marius Strobl END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-03-23T23:22:35.000000Z K 7 svn:log V 391 Overhaul the /etc/rc.d/diskless script by splitting it out into hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-03-23T23:41:39.000000Z K 7 svn:log V 256 Correct the boundary parameter to the bus_dma_tag_create() calls (it was (1 << 24) - 2 instead of 1 << 24, which it was obviously intended to be). This fixes SBus isp(4)s on sparc64 machines. Report and testing: Marius Strobl END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-03-24T01:29:08.000000Z K 7 svn:log V 206 Fix a bug introduced in rev 1.33(mega API change). Because xfer->send.payload is a pointer to the buffer, '&' shouldn't be there. Submitted by: John Weisgerber PR: misc/64623 END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-03-24T04:01:43.000000Z K 7 svn:log V 181 Add -u option to ipcs(1) and document it in ipcs.1 It allows you to list IPC facilities owned by username/uid. Submitted by: Christian S.J. Peron PR: bin/63463 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-24T05:35:03.000000Z K 7 svn:log V 442 The ndis_wlan_bssid_ex structure we retrieve in ndis_get_assoc() is variable length, so we should not be trying to copy it into a fixed length buffer, especially one on the stack. malloc() a buffer of the right size and return a pointer to that instead. Fixes a crash I discovered when testing whe a Cisco AP in infrastructure mode, which returns several information elements that make the ndis_wlan_bssid_ex structure larger than expected. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T07:30:54.000000Z K 7 svn:log V 32 fix building of bridge floppies END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T07:51:40.000000Z K 7 svn:log V 120 Remove this picobsd floppy type. We only want to support one in -current, and let people take care of their own images. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T07:53:12.000000Z K 7 svn:log V 26 remove this floppy image. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T07:54:00.000000Z K 7 svn:log V 30 remove this floppy image too. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T07:55:08.000000Z K 7 svn:log V 25 remove floppy image type END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T08:01:15.000000Z K 7 svn:log V 27 remove stale documentation END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-24T08:19:46.000000Z K 7 svn:log V 30 Remove share/doscmd/{,fonts/} END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-24T08:21:30.000000Z K 7 svn:log V 137 Previous commit should have read: remove share/libdata/doscmd/{,fonts/}. This time around, remove share/libdata/gcc/ which seems unused. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-24T08:22:35.000000Z K 7 svn:log V 72 Remove mention of share/libdata/doscmd/{,fonts/} and share/libdata/gcc. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-24T08:23:52.000000Z K 7 svn:log V 30 Previous commit =~ s,share/,, END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-24T08:26:22.000000Z K 7 svn:log V 166 Added the `toolchain' top-level target, which builds enough of buildworld, up to and including libraries, except for actually building the world. Requested by: many END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T08:34:22.000000Z K 7 svn:log V 498 Add a -f option to make disklabel to work on regular files (representing disk images). The change actually boils down to little more than providing the equivalent of a 'virgin' label for the file, all the remaining label manipulation being the same. This saves the need for going through vn/mdconfig (and root privs) just to label an image file. RELENG_4 only commit because disklabel is not in RELENG_5/CURRENT anymore, though I suspect a similar change could be applied to bsdlabel and friends. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-24T08:34:36.000000Z K 7 svn:log V 160 MFC: Fixed a bug: When symbolic link is pointed onto a mount point, it can't be moved to a different file system. PR: bin/64430 Submitted by: Samuel Tardieu END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-24T08:50:29.000000Z K 7 svn:log V 66 MFC 1.25->1.26, don't collect statisitics for disconnected hooks. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-24T08:53:45.000000Z K 7 svn:log V 101 Don't duplicate a packet, just to throw it away when we discover the duplicat hook is not connected. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-03-24T09:01:00.000000Z K 7 svn:log V 125 Don't needlessly duplicate a packet when we only have one destination hook attached. An MFC I forgot a couple of years ago. END K 10 svn:author V 2 se K 8 svn:date V 27 2004-03-24T10:25:24.000000Z K 7 svn:log V 286 Bring man page back in shape. Many option descriptions lacked the option name and paramaters they apply to and there was a mix of formatting methods and styles. I'm not sure that the description of "nfs_retransmit_counter" is correct, but it does now at least match what's in -STABLE. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-24T11:41:19.000000Z K 7 svn:log V 128 MFC revision 1.69: Correctly adjust the number of processes waiting on a semaphore if we're woken up in the middle of sleeping. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T11:41:56.000000Z K 7 svn:log V 581 Insert the directories passed with the T134 bootp cookie (kern.bootp_cookie) in the list of paths used for diskless templates. When foo.cpio.gz archives are present, do not copy the content from a foo/ directory even if present. This restores the previous behaviour, and is also important from the point of view of efficiency (saving many RPCs to copy the individual files), which was the whole point for introducing the cpio archive. (these files are not anymore in -current but equivalent functionality will be implemented there, and the maintainer has been already informed). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-03-24T11:42:51.000000Z K 7 svn:log V 108 do not run newaliases by default on diskless machines. We can do that from the local rc files if necessary. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-24T12:49:34.000000Z K 7 svn:log V 111 Added 'nojail' keyword for rc.d/mixer script, while mixer(8) is not usable in jail by default (no /dev/mixer). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-24T14:25:46.000000Z K 7 svn:log V 136 Functions: - g_new_geomf(), - g_new_providerf(), - g_new_consumer() cannot failed (by returning NULL), so don't scare programmers. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-24T14:42:26.000000Z K 7 svn:log V 72 Added a note, that g_access() function cannot failed when dc[rwe] <= 0. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-03-24T14:44:57.000000Z K 7 svn:log V 131 Add locking so that arc4random(3) functions are all reentrant for pthreads. Submitted by: Christian S.J. Peron END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-24T15:12:17.000000Z K 7 svn:log V 86 The topology lock is not needed for g_error_provider() function. Discussed with: phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-24T16:49:37.000000Z K 7 svn:log V 58 Conform to local file sytle and prefer (a && (b & flag)). END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-24T17:24:01.000000Z K 7 svn:log V 150 sppp (4) to netgraph (4) node. As always: I'l connect it to the system after extra check. Approved by: imp (mentor) Approved by: julian (in general) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-24T17:43:45.000000Z K 7 svn:log V 63 Properly reprogram the hardware when IFF_ALLMULTI flag is set. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-24T17:51:54.000000Z K 7 svn:log V 343 - Update for the new interrupt code on i386 meaning that SMP kernels can now run on UP machines, options APIC_IO is now spelled device apic, and HT CPUs are now enabled by default. - Add a 'I386 NOTES' section header to the i386-specific paragraphs. Someone with more mdoc fu can suggest a better name if needed. Requested by: kris (1) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-24T18:03:55.000000Z K 7 svn:log V 245 New release note: isp(4) fix on sparc64, ipcs(1) -u option, rmdir(1) -v flag, rc.d/diskless split, rc.d/pf. Update release note: MFC of umass(4) timeout/ATAPI MMC support, items related to the rc.d scripts moved into a separate section. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-03-24T18:05:29.000000Z K 7 svn:log V 139 New release note: better usb(4) support merged from -CURRENT, disklabel(8) -f option. MFC: umass(4) timeout/ATAPI MMC command support. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-24T19:23:44.000000Z K 7 svn:log V 77 Move ct.4 to ctau.4. Step one: remove ctau.4 link. Approved by: imp(mentor) END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-24T19:28:50.000000Z K 7 svn:log V 128 Move ct.4 to ctau.4. Step two: add ct.4 as ctau.4. Do not bother about too small history for ct.4. Approved by: imp(mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-24T19:37:53.000000Z K 7 svn:log V 65 Back out revision 1.295. share/libdata/gcc/ is valid and used. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-24T20:19:57.000000Z K 7 svn:log V 26 Remove mention of doscmd. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-03-24T21:54:44.000000Z K 7 svn:log V 97 Install the pf rc.d-script (missed Makefile update in original commit) Approved by: bms(mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-03-24T23:35:04.000000Z K 7 svn:log V 84 Use uiomove_fromphys() instead of pmap_qenter() and pmap_qremove() in proc_rwmem(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-25T00:02:49.000000Z K 7 svn:log V 63 Lets give -O2 kernels a try on sparc64. Reviewed by: kensmith END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-25T00:06:03.000000Z K 7 svn:log V 90 Force gdb6 into disc1 for amd64, sparc64, and ia64 (until they have /usr/src gdb support) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-25T00:41:06.000000Z K 7 svn:log V 74 Restore part of rev 1.92; share/libdata/gcc should not have been deleted. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-25T03:19:28.000000Z K 7 svn:log V 62 Add NTFS since many may want to dual-boot MS-Win64 w/FreeBSD. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-25T03:38:31.000000Z K 7 svn:log V 249 Run print_AMD_features() for both AuthenticAMD and GenuineIntel cpus. Report the %ecx bits in cpuid function 1. This is a hack. When reporting AMD Features, only mask off the common bits. Otherwise the SEP bit masks off SYSCALL etc in the report. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-03-25T03:39:38.000000Z K 7 svn:log V 99 MFi386: correctly calculate the top-of-stack when a kthread is created with a larger kernel stack. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-25T08:23:08.000000Z K 7 svn:log V 725 - In kern_ndis.c, implement ndis_unsched(), the complement to ndis_sched(), which pulls a job off a thread work queue (assuming it hasn't run yet). This is needed for KeRemoveQueueDpc(). - In subr_ntoskrnl.c, implement KeInsertQueueDpc() and KeRemoveQueueDpc(), to go with KeInitializeDpc() to round out the API. Also change the KeTimer implementation to use this API instead of the private timer callout scheduler. Functionality of the timer API remains unchanged, but we get a couple new Windows kernel API routines and more closely imitate the way thing works in Windows. (As of yet I haven't encountered any drivers that use KeInsertQueueDpc() or KeRemoveQueueDpc(), but it doesn't hurt to have them.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-25T08:41:09.000000Z K 7 svn:log V 32 MFC: 1.417: visual bell bugfix. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-25T08:43:59.000000Z K 7 svn:log V 134 Teach netstat(1) how to print the multicast group memberships present within the running system. Sponsored by: Ralf the Wonder Llama END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-25T08:46:27.000000Z K 7 svn:log V 551 Untangle IP multicast routing interaction with delayed payload checksums. Compute the payload checksum for a locally originated IP multicast where God intended, in ip_mloopback(), rather than doing it in ip_output() and only when multicast router is active. This is more correct as we do not fool ip_input() that the packet has the correct payload checksum when in fact it does not (when multicast router is inactive). This is also more efficient if we don't join the multicast group we send to, thus allowing the hardware to checksum the payload. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-25T08:49:22.000000Z K 7 svn:log V 72 MFC: 1.63: Reprogram hardware RX filters when IFF_ALLMULTI flag is set. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-25T08:51:14.000000Z K 7 svn:log V 49 Output style: Get rid of an unnecessary newline. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-25T09:07:26.000000Z K 7 svn:log V 71 Sort SRCS in Makefile and document -g option additions. Nudged by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-03-25T09:25:24.000000Z K 7 svn:log V 51 [troff] removed the unnecessary use of \_ escapes. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-03-25T10:08:46.000000Z K 7 svn:log V 60 Document the existence of NET_RT_IFMALIST. Reviewed by: ru END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-03-25T12:33:55.000000Z K 7 svn:log V 53 Respect decimal flag when dumping USER type records. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-25T12:44:08.000000Z K 7 svn:log V 65 Import the original directly from NetBSD instead of via OpenBSD. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-03-25T12:44:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r127403, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-25T14:45:20.000000Z K 7 svn:log V 91 Move ct.4 to ctau.4. Step three: change ct to ctau in Makefile. Approved by: imp (mentor) END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-25T14:47:42.000000Z K 7 svn:log V 80 Move ct.4 to ctau.4. Step four: backout ct.4 via rm. Approved by: imp (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-03-25T14:53:53.000000Z K 7 svn:log V 113 Final step of the sbin -> usr.sbin move: cvs rm src/sbin/nologin/* I meant to do this a week ago, but I forgot. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-03-25T15:12:12.000000Z K 7 svn:log V 91 Remove unused function. It was used in FreeBSD 4.x, but now we're using cr_canseesocket(). END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-03-25T17:20:45.000000Z K 7 svn:log V 90 Connect ctau driver (Cronyx-Tau/ISA) to modules build process. Approved by: imp (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-03-25T17:54:07.000000Z K 7 svn:log V 39 More kosher mdoc(7). Submitted by: ru END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-03-25T18:31:52.000000Z K 7 svn:log V 1722 - In subr_ndis.c:ndis_init_event(), initialize events as notification objects rather than synchronization objects. When a sync object is signaled, only the first thread waiting on it is woken up, and then it's automatically reset to the not-signaled state. When a notification object is signaled, all threads waiting on it will be woken up, and it remains in the signaled state until someone resets it manually. We want the latter behavior for NDIS events. - In kern_ndis.c:ndis_convert_res(), we have to create a temporary copy of the list returned by BUS_GET_RESOURCE_LIST(). When the PCI bus code probes resources for a given device, it enters them into a singly linked list, head first. The result is that traversing this list gives you the resources in reverse order. This means when we create the Windows resource list, it will be in reverse order too. Unfortunately, this can hose drivers for devices with multiple I/O ranges of the same type, like, say, two memory mapped I/O regions (one for registers, one to map the NVRAM/bootrom/whatever). Some drivers test the range size to figure out which region is which, but others just assume that the resources will be listed in ascending order from lowest numbered BAR to highest. Reversing the order means such drivers will choose the wrong resource as their I/O register range. Since we can't traverse the resource SLIST backwards, we have to make a temporary copy of the list in the right order and then build the Windows resource list from that. I suppose we could just fix the PCI bus code to use a TAILQ instead, but then I'd have to track down all the consumers of the BUS_GET_RESOURCE_LIST() and fix them too. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-25T19:08:48.000000Z K 7 svn:log V 352 Add the `pkill' and `pgrep' commands from NetBSD. This is the source straight from NetBSD (except to add the RCS-ID lines for FreeBSD). These will probably require a few updates before they are added to the FreeBSD buildworld. I might MFC these to 4.x-stable after 4.10. Discussed on: freebsd-arch Obtained from: NetBSD (and OpenBSD also has these) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-03-25T19:08:49.000000Z K 7 svn:log V 66 This commit was manufactured by cvs2svn to create branch 'NETBSD'. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-25T19:16:40.000000Z K 7 svn:log V 143 More code-diff reductions wrt ps.c in 5.x-current, to make it easier to MFC some upcoming updates. This should cause no user-visible changes. END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2004-03-25T19:30:35.000000Z K 7 svn:log V 179 1. Better handle a return value of EINPROGRESS from bus_dmamap_load. 2. Check for bad return value from twe_map_request in places where there was no checking. Reviewed by: ps END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-03-25T20:02:17.000000Z K 7 svn:log V 31 Remove raidframe from the list END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-25T20:36:57.000000Z K 7 svn:log V 42 Enable splitfs in the Alpha boot loaders. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-03-25T20:37:59.000000Z K 7 svn:log V 82 - Only build a fixit floppy on i386 and pc98. - Reenable boot floppies for Alpha. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-03-25T20:38:22.000000Z K 7 svn:log V 70 As suggested by des, add a "vendor branch" for this code from NetBSD. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-03-25T20:38:23.000000Z K 7 svn:log V 72 This commit was manufactured by cvs2svn to create tag 'NETBSD_20040325'. END K 10 svn:author V 4 rees K 8 svn:date V 27 2004-03-25T21:48:09.000000Z K 7 svn:log V 88 only do nfs rpc callouts if there is work to do. Submitted by: kan Approved by: alfred END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-25T21:56:28.000000Z K 7 svn:log V 89 Add a new Intersil card that DLINK is selling as the DWL-650. Reported by: Brian O'Shea END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-03-25T21:56:43.000000Z K 7 svn:log V 24 Sync to pccarddevs 1.82 END