ƒ¯U70692 206 1048 793 126 170 118 197 177 405 458 129 771 318 165 427 152 189 238 113 203 162 204 138 925 1267 201 317 319 171 113 315 113 650 390 335 366 158 236 110 146 232 206 149 162 550 162 344 433 313 165 238 167 284 138 145 522 423 720 201 158 164 168 218 227 222 203 228 168 181 113 634 427 258 516 478 947 280 150 130 174 323 118 337 496 449 217 194 203 370 214 273 262 142 243 164 169 121 189 139 125 177 133 157 112 336 131 265 157 236 162 510 178 331 198 218 137 449 176 228 111 163 184 111 180 110 132 191 122 123 123 506 236 225 244 142 1095 136 152 139 317 140 144 135 136 275 214 141 230 152 181 478 162 132 123 271 253 323 153 148 505 372 152 200 148 131 249 414 1725 302 1329 181 240 367 173 611 188 283 263 124 154 111 128 210 164 214 132 128 190 165 243 208 214 114 125 119 114 119 103 137 114 119 305 166 146 151 143 217 K 10 svn:author V 4 will K 8 svn:date V 27 2001-01-05T18:15:17.000000Z K 7 svn:log V 954 Reinstate revision 1.11: BDECFLAGS; ANSIfy; use EXEC instead of "exec " where appropriate; use proper types (size_t, int); use proper variable names for certain things; get rid of static 'cache' style stuff by moving and sanitizing the original SHELL checking code to main(), this also makes it easier to free() the string; rename file-scope system() to exec_shell(); use snprintf() everywhere instead of sprintf(); actually remember to free() other malloc()'d char pointers in main(). I left out the -s option in this revision along with getusershell() checking because of objections made by Warner Losh and Garrett Wollman . I agreed with their assertions that such code was unnecessary in a program like this. I dare people to make this coredump now. Some suggestions: nectar (snprintf() truncate checking) Reviewed by: markm, eivind, jedgar Tortured by: examples in apply(1), fuzz(1), and a lot of random ideas I came up with END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-05T19:15:37.000000Z K 7 svn:log V 698 aic7xxx.c: aic7xxx.h: First pass at big-endian support in the Core. Capture state for second channel on TWIN channel adapters for suspend and resume. aic7xxx_freebsd.h: Stubs for endian conversion functions. These will get filled out once we get an official kernel api for this kind of thing that is something more elegant and efficient than a bunch of manual swaps #ifdefed by platform. aic7xxx_pci.c Allow the second channel of motherboard aic7896 chips to be attached. It turns out that the encoding of the subdevice id differs between PCI cards and MB based controllers and our check to see, via the subvendor id, if the second channel was "stuffed" always turned out negative. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-01-05T21:52:20.000000Z K 7 svn:log V 32 MFC: Show the correct idle time END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-01-05T21:52:39.000000Z K 7 svn:log V 76 MFC: Show the correct idle time Treat domain names as case insensitive END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-05T22:06:29.000000Z K 7 svn:log V 26 MFC: install sysinstall.8 END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-05T22:09:53.000000Z K 7 svn:log V 104 MFC: fix printf(1) for the case with a long string with no format characters followed by a "%d" format. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-06T00:08:39.000000Z K 7 svn:log V 85 Protect p_nice and P_TRACED in psignal() above the switch statement with sched_lock. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-01-06T00:45:08.000000Z K 7 svn:log V 309 provide a sysctl 'net.link.ether.inet.log_arp_wrong_iface' to allow one to supress logging when ARP replies arrive on the wrong interface: "/kernel: arp: 1.2.3.4 is on dc0 but got reply from 00:00:c5:79:d0:0c on dc1" the default is to log just to give notice about possibly incorrectly configured networks. END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-06T00:46:47.000000Z K 7 svn:log V 362 Rewrite of netgraph to start getting ready for SMP. This version is functional and is aproaching solid.. notice I said APROACHING. There are many node types I cannot test I have tested: echo hole ppp socket vjc iface tee bpf async tty The rest compile and "Look" right. More changes to follow. DEBUGGING is enabled in this code to help if people have problems. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-01-06T05:50:06.000000Z K 7 svn:log V 34 MFC: sysctl to quiet arp messages END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-06T06:07:52.000000Z K 7 svn:log V 675 Force strong references to several pthread_* functions which are weakly referenced to by libgcc.a. This is needed when linking statically as SVR4 (ie, ELF) behavior is to only link in a module if it satisfies an undefined strong reference from somewhere. (this surprises a lot of people) Things are different when using shared libs, the entire library and its modules and their symbols are available at run-time (when the weak reference is seen to still be unsatisfied and is satisfied on the spot), this is not the case with static libs. Thus one can have a static binary with unresolved week references, and at run-time dereference a NULL pointer. Submitted by: eischen END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-06T06:16:31.000000Z K 7 svn:log V 222 Use a unified libgcc rather than a seperate one for threaded and non-threaded programs. This provides threaded programs with the needed exception frame symbols. parts submitted by: Max Khon PR: 23252 END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2001-01-06T06:20:54.000000Z K 7 svn:log V 68 Fix typo. Pointed out by: Motomichi Matsuzaki END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-06T06:51:43.000000Z K 7 svn:log V 334 - Move all of the KTR sysctl's under a new debug.ktr mib. - Provide TUNABLE_INT() hooks for ktr_cpumask, ktr_mask, and ktr_verbose so that they can be set from the loader by their respective sysctl names. For example, to turn on KTR_INTR and KTR_PROC in ktr_mask, one could stick 'debug.ktr.mask="0x1200"' in /boot/loader.conf. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-06T06:52:49.000000Z K 7 svn:log V 60 Add commented out examples for the new KTR loader tunables. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-01-06T09:34:20.000000Z K 7 svn:log V 94 Limit size of passed in data for utrace function. Requested by: rwatson Obtained from: NetBSD END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-01-06T09:44:30.000000Z K 7 svn:log V 141 We don't use += for SRCS in Makefiles, we simply use the line continuation character and state the rest of the sourcefiles on the next line. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-01-06T09:58:24.000000Z K 7 svn:log V 18 MFC: limit utrace END K 10 svn:author V 4 alex K 8 svn:date V 27 2001-01-06T12:48:43.000000Z K 7 svn:log V 109 gethostbyname2() is able to lookup AF_INET6. PR: 23823 Noticed by: Andrew Arensburger END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-06T14:00:42.000000Z K 7 svn:log V 67 Use a consistent style and one much closer to the rest of /usr/src END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-01-06T15:20:26.000000Z K 7 svn:log V 107 MFC: r1.33 Fix panic that can occur when device detaches while sleeping in ulptopen. Reviewed by: n_hibma END K 10 svn:author V 4 alex K 8 svn:date V 27 2001-01-06T16:07:01.000000Z K 7 svn:log V 45 Include , which defines SCARG. END K 10 svn:author V 4 jake K 8 svn:date V 27 2001-01-06T17:40:04.000000Z K 7 svn:log V 831 Use %fs to access per-cpu variables in uni-processor kernels the same as multi-processor kernels. The old way made it difficult for kernel modules to be portable between uni-processor and multi-processor kernels. It is no longer necessary to jump through hoops. - always load %fs with the private segment on entry to the kernel - change the type of the self referntial pointer from struct privatespace to struct globaldata - make the globaldata symbol have value 0 in all cases, so the symbols in globals.s are always offsets, not aliases for fields in globaldata - define the globaldata space used for uniprocessor kernels in C, rather than assembler - change the assmebly language accessors to use %fs, add a macro PCPU_ADDR(member, reg), which loads the register reg with the address of the per-cpu variable member END K 10 svn:author V 3 jon K 8 svn:date V 27 2001-01-06T18:04:55.000000Z K 7 svn:log V 1173 * Better kld support in pccbb/cardbus - pccbb no longer needs to remember whether a card is inserted. - pccbb reissues insertion on load of cardbus/pccard modules. - got rid of unnecessary delays in power functions. - Cardbus children are no longer deleted if probe/attach fails. - non-attached child devices are reprobed at driver_added. * CARD interface to read CIS - added card_cis_read/card_cis_free interface to read arbitrary CIS data. This currently is only implemented in cardbus. * pccard begins to work - pccard can now use higher memory space (and uses it by default). - set_memory_offset interface changed. - fixed ccr access, which was broken at multiple locations. - implement an interrupt handler - pccard can now share interrupts. - resource alloc/release/activate/deactivate functions gutted: some resources are allocated by the bridge before the child device is probed or attached. Thus the resource "belongs" to the bridge, and the pccard_*_resource functions need to fudge the owner/rid. - changed some error conditions to panics to speed debugging. * Mutex fix - Giant is entered at the beginning of thread END K 10 svn:author V 5 wosch K 8 svn:date V 27 2001-01-06T18:17:06.000000Z K 7 svn:log V 106 Off by one error in reading mmap data. Submitted by: Martin Kraemer END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-01-06T18:18:44.000000Z K 7 svn:log V 222 Try, as much as possible, the messy situation around SCSI adapters on the EB164 family. The mess is such that it is hard to document, but try to do the best we can. Submitted by: Christian Weisgerber END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-01-06T18:19:14.000000Z K 7 svn:log V 224 Try, as much as possible, the messy situation around SCSI adapters on the EB164 family. The mess is such that it is hard to document, but try to do the best we can. Submitted by: Christian Weisgerber END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-01-06T18:58:29.000000Z K 7 svn:log V 76 MFC 1.163 - client-side fix for bogus access time with O_EXCL|O_CREAT opens END K 10 svn:author V 6 jedgar K 8 svn:date V 27 2001-01-06T18:59:30.000000Z K 7 svn:log V 18 MFC: limit utrace END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-06T18:59:46.000000Z K 7 svn:log V 222 Use a unified libgcc rather than a seperate one for threaded and non-threaded programs. This provides threaded programs with the needed exception frame symbols. parts submitted by: Max Khon PR: 23252 END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-01-06T19:46:42.000000Z K 7 svn:log V 18 MFC 1.163 to 3.x. END K 10 svn:author V 4 jake K 8 svn:date V 27 2001-01-06T19:55:42.000000Z K 7 svn:log V 556 Implement accessors for per-cpu variables which don't depend on the symbols in globals.s. PCPU_GET(name) returns the value of the per-cpu variable PCPU_PTR(name) returns a pointer to the per-cpu variable PCPU_SET(name, val) sets the value of the per-cpu variable In general these are not yet used, compatibility macros remain. Unifdef SMP struct globaldata, this makes variables such as cpuid available for UP as well. Rebuilding modules is probably a good idea, but I believe old modules will still work, as most of the old infrastructure remains. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2001-01-06T20:44:39.000000Z K 7 svn:log V 292 Make sure musycc driver deals with the possibility of any type of mbuf allocation not succeeding. In this case, make sure the driver doesn't leak any memory by freeing all necessary buffers; make sure to loop and free all the previously allocated mbufs in this routine. Reviewed by: alfred END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-06T20:48:00.000000Z K 7 svn:log V 239 Fix bugs in the handling of > 8 positional arguments: - The stack was getting smashed by __grow_type_table() - reallocf() was being called with the wrong pointer - The maximum argument number was being incorrectly computed PR: misc/23521 END K 10 svn:author V 5 green K 8 svn:date V 27 2001-01-06T21:15:07.000000Z K 7 svn:log V 271 Fix a long-standing bug that resulted in a dropped session sometimes when an X11-forwarded client was closed. For some reason, sshd didn't disable the SIGPIPE exit handler and died a horrible death (well, okay, a silent death really). Set SIGPIPE's handler to SIG_IGN. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T22:04:03.000000Z K 7 svn:log V 62 MFC rev.1.14 (partially): The HEADER section was not emitted. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T22:36:15.000000Z K 7 svn:log V 139 MFC: Avoid panicing when UMASS_DEBUG is set. rev.1.37 umass.c rev.1.34 usb_port.h PR: 24044 Submitted by: Mike Bristow END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T22:37:48.000000Z K 7 svn:log V 14 MFC: rev.1.45 END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T22:39:44.000000Z K 7 svn:log V 50 MFC: Regen. after MFC. Adjust one id in if_aue.c. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T22:49:41.000000Z K 7 svn:log V 135 MFC: Bring the uscanner driver up to date with the changes up to r1.10 Add the ID for the Epson 1640 Set the configuration to 1 not 0. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-06T23:16:57.000000Z K 7 svn:log V 110 MFC: use a unified libgcc and ensure strong references to pthread functions weakly referenced in libgcc. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-06T23:32:58.000000Z K 7 svn:log V 53 MFC: Re-enable the setting of the CM over Data mode. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2001-01-06T23:36:42.000000Z K 7 svn:log V 65 *Blush* Fix a dumb typo in previous commit. Pointed out by: phk END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-07T00:26:32.000000Z K 7 svn:log V 454 When pcap_compile() detects an error, it longjmp()'s out of the scanner/parser. FreeBSD recently made 'flex' its default implementation of 'lex'. One of the incompatibilities of 'flex' vs. 'lex' is that if you longjmp() out of the scanner, you must call yyrestart() before doing another scan (as documented in flex(1)). So add an invocation to yyrestart() in lex_init(). This change should be backwards compatible with the original 'lex'. PR: bin/24116 END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-01-07T01:09:21.000000Z K 7 svn:log V 68 MFC: Handle $daily_clean_disks_files specs with more than one word. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-07T01:11:44.000000Z K 7 svn:log V 251 Don't announce that rc.${MACHINE_ARCH} is doing the syscons configuration as the previous line already tells us we are in rc.${MACHINE_ARCH}. This also allows more syscons configuration messages during startup to fit on one line. Reviewed by: dougb END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T02:26:40.000000Z K 7 svn:log V 338 Add the defines for the cardbus extensions for 32 bit addressing. This gets the cardbus code to compile, and I was successfully able to map the CIS into high memory and probe/attach a 16 bit pccard. Jonathan: feel free to replace this with your version if you want - this is an expedient hack to get things to build and appear to work. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T03:10:15.000000Z K 7 svn:log V 218 It is unlikely that we'll be supporting old-style ZMAGIC linux a.out binaries on anything but i386.. (ia64, sparc64, etc) Invert the .if so that it is inclusive of i386 platforms rather than excluding just the alpha. END K 10 svn:author V 5 benno K 8 svn:date V 27 2001-01-07T03:43:21.000000Z K 7 svn:log V 71 PowerPC assembler #defines. Reviewed by: obrien Obtained from: NetBSD END K 10 svn:author V 5 benno K 8 svn:date V 27 2001-01-07T03:46:01.000000Z K 7 svn:log V 143 PowerPC atomic operation functions. Some of these are dependant on an inline function (powerpc_mb()) that is yet to come. Reviewed by: obrien END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T03:58:57.000000Z K 7 svn:log V 73 We do not, and hopefully never will, use the static pccard device table. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T05:08:39.000000Z K 7 svn:log V 189 Fix gdb -k after jake's most recent commit. The gd_XXX symbols are now offsets in all cases, and we have to find the base address (&__globaldata) ourselves for the UP case as well as SMP. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-01-07T07:03:59.000000Z K 7 svn:log V 47 Common option '-N' do not require an argument. END K 10 svn:author V 4 kato K 8 svn:date V 27 2001-01-07T07:59:19.000000Z K 7 svn:log V 52 Merged from sys/i386/i386/machdep.c revision 1.426. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-01-07T08:08:54.000000Z K 7 svn:log V 429 Undo the interface change to CARD_GET_MEMORY_OFFSET. It wasn't tested by even a compile of the OLDCARD code, was unapproved by me the keeper of OLDCARD and broke OLDCARD and the ray driver. Adjust new code to cope with the older interface. If the interface changes in the future, it ***MUST*** be cleared by me so that the OLDCARD impacts taken into account. It code in card_if.m is used jointly by both OLDCARD and NEWCARD. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T13:55:42.000000Z K 7 svn:log V 328 The ep pccard code had newcard hooks added to it, but it isn't being compiled under newcard yet. ep works just fine under newcard with the missing ID matching code added (not committed yet): ep0: <3Com 3c589 10Mbps Ethernet> at port 0x300-0x30f irq 9 function 0 config 1 on pccard1 ep0: Ethernet address 00:10:4b:df:48:57 END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-01-07T16:31:09.000000Z K 7 svn:log V 627 o Now that I've had time to test the new interface, reintegrate it back in. o Fix OLDCARD to use the new interface. o Rename the offsetp argument to deltap to more closely reflect what it is returning (it returns the delta from the requested value to the actual value). o Remove duplicate $FreeBSD$ in pccbb.c o Allow deltap to be NULL. o Convert new isa pcic driver and add XXX comments that this function isn't actually implemented there (which means that NEWCARD pccard stuff won't work there until it is). o Revert attempts to make old inferface work in NEWCARD. Subitted by: peter (Parts of the new version code) END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-01-07T16:48:56.000000Z K 7 svn:log V 108 On open try to close the drivetray and wait for drive ready. Idea from PR24109 but implemented differently END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-01-07T16:50:53.000000Z K 7 svn:log V 66 MFC: On open try to close the drivetray and wait for drive ready. END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-01-07T16:55:20.000000Z K 7 svn:log V 72 MFC: Add BurnProof(tm) support for ATAPI burners that has that feature. END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-01-07T17:00:09.000000Z K 7 svn:log V 76 Try better this time at a patch that properly backspeeds on the Acer chips. END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-07T17:26:10.000000Z K 7 svn:log V 125 MFC: rev 1.16, 1.17: prevent segfault and other possible problems by checking data received from the network more carefully. END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-07T17:29:34.000000Z K 7 svn:log V 134 (null commit) The previous commit was, of course, an MFC of revisions 1.6 and 1.7, not 1.16 and 1.17 which don't exist in this file. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T18:42:28.000000Z K 7 svn:log V 125 Assume that the submitter knows what he is doing and order the suggested actions accordingly. S)end should be the first one. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T18:43:31.000000Z K 7 svn:log V 106 Give the USB devices sensible default permissions. Suggested by: Kaltashkin Eugene END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T18:45:59.000000Z K 7 svn:log V 131 MFC r.1.45. Implement basic support for isochronous transfers. From NetBSD. Submitted by: Christopher Masto END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T19:03:14.000000Z K 7 svn:log V 72 Remove cdevsw when unloading the vn module. Submitted by: dunno... :-( END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T19:21:06.000000Z K 7 svn:log V 85 o Correct typos in comment fields. o Update copyright to 2001. Submitted by: jedgar END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T19:46:02.000000Z K 7 svn:log V 17 MFC: K&R -> ANSI END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-01-07T20:36:27.000000Z K 7 svn:log V 541 For bus_setup_intr, cookiep is a pointer to storage for the parent bus to use. We need to set it here. This fixes the problem where a probe routine establishes and disestablishes the interrupt and then we get a panic in the probe routine. However, we pass the pointer to the interrupt hanlder count to the parent bus, which writes its own cookie there, so there may be some problems with that which isn't apparent at the moment. Commit made from: laptop running NEWCARD with sn driver (which works, but gets the wrong ethernet address). END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-01-07T20:40:23.000000Z K 7 svn:log V 334 This file follows style(9), so adjust various nits in the last few commits to conform to style(9), plus one other convention that I use: o Declare variables at the start of the function, rather than in blocks when it doesn't help understanding (mine). o 80 column limit. o BSD style statement continuation, rather than "gnu" style. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T20:52:42.000000Z K 7 svn:log V 163 This cannot possibly be right: foo(int *nret) { for (i = 0; i < nret; i++) { free(array[i], .... Fix to do the logically correct thing.. (s/nret/*nret/) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T21:07:22.000000Z K 7 svn:log V 419 o Remove unnecessary sanity check involving requested offset of extended attribute read--the offset is required to be 0 by an earlier check, meaning that it will always be within the scope of the attribute data. This change should have no impact on executed code paths other than removing the unnecessary check: please report if any new failures start to occur as a result. Obtained from: TrustedBSD Project END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T21:24:41.000000Z K 7 svn:log V 383 Add the 3COM ID's that I could find in the pccarddevs file that seemed to match the pccard.conf file. There are more ID's that need adding, but these seem to be the common ones. This was committed on an ep0 interface under NEWCARD: ep0: <3Com 3c589 10Mbps Ethernet> at port 0x300-0x30f irq 9 function 0 config 1 on pccard1 ep0: Ethernet address 00:10:4b:df:48:57 Reviewed by: imp END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-07T21:32:05.000000Z K 7 svn:log V 852 This is a bandaid for a problem that is not entirely fixed yet. The pccard_function_init() call creates a bunch of inactive resources that are persistant and configured on demand. When the child driver "allocates" a resource it is connected up to one of these. When the child releases the resource, we should not delete our copy, just deactivate it again. Otherwise there is nothing to recreate it again after several probe functions have run and done an alloc/release cycle. INVARIANTS shows 0xdeadc0de without this. More work is needed to do a sweep though the pccard_function_disable() call to actually delete the resources for real. Right now, we leak memory on eject (at best), so Dont Do That(TM) yet. This affects 16 bit pccards on a cardbus bridge only. This will be fixed soon, but for now it gets the cards working. Reviewed by: imp END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T21:38:26.000000Z K 7 svn:log V 183 o Make call to ufs_extattr_rm() in ufs_extattr_vnode_inactive() use NULL as the credential, not 0, so as to make it more clear what's going on. Obtained from: TrustedBSD Project END K 10 svn:author V 6 jedgar K 8 svn:date V 27 2001-01-07T21:41:05.000000Z K 7 svn:log V 55 Correct check of getgrnam output Approved by: rwatson END K 10 svn:author V 5 green K 8 svn:date V 27 2001-01-07T21:42:17.000000Z K 7 svn:log V 36 MFC recent fixes (up to HEAD r1.11) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-07T22:48:44.000000Z K 7 svn:log V 80 MFC: Add a define for the capability pointer register on header type 0 devices. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-07T22:50:47.000000Z K 7 svn:log V 228 MFC: Fix for brkadrint panic on cold boot for 2940 narrow adapters. Several timeout handling bug fixes. A few performance improvements. This brings stable to the same code level as my 1/5/2001 commit to current. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-07T22:52:36.000000Z K 7 svn:log V 24 MFC: Sync perforce ids. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T23:27:58.000000Z K 7 svn:log V 240 o Add an additional EA inconsistency reporting opportunity in ufs_extattr_rm. o Make both reporting locations report the function name where the inconsistency is discovered, as well as the inode number in question. Reviewed by: jedgar END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T23:31:51.000000Z K 7 svn:log V 399 o Zero the ufs_extattr_header length field (not necessary, but not a bad idea either) in ufs_extattr_rm. o More completely fill out the local_aio structure when writing out the zero'd extended attribute in ufs_extattr_rm -- previoulsy, this worked fine, but probably should not have. This corrects extraneous warnings about inconsistent inodes following file deletion. Reviewed by: jedgar END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T23:43:55.000000Z K 7 svn:log V 352 1) Return the requestad length - the transferred length as the residue, instead of the requested length. Otherwise all transfers look like 0 byte transfers to CAM. Submitted by: Iwasa Kazmi 2) Finalise the command in the case of CBI transfers with CCI (command completion interrupt). 3) Remove a redundant bzero of a buffer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-07T23:45:56.000000Z K 7 svn:log V 120 o Commit reems of style(9) changes, whitespace improvements, and comment cleanups. Obtained from: TrustedBSD Project END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T23:54:34.000000Z K 7 svn:log V 98 Print the correct value in a debugging printf. Submitted by: Iwasa Kazmi END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-07T23:58:07.000000Z K 7 svn:log V 106 Add the Synchronize command to umass_atapi_transform. It seems to work unmodified for ATAPI type devices. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-08T00:25:52.000000Z K 7 svn:log V 273 Add a quirk for drives that do not handle long inquiry data. Add the entry for the Yano U640MO-03 MO drive. (ifdef-0-ed out for now) Fix a hack were an original buffer was modified instead of copied (cmd[] -> (*rcmd)[]) Submitted by: Iwasa Kazmi END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-08T00:32:51.000000Z K 7 svn:log V 117 Add the 'No 6 byte commands' quirk for the Yano ATAPI USB bridge. Submitted by: Iwasa Kazmi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-08T01:28:53.000000Z K 7 svn:log V 176 o Make acl_from_text() support uid's and gid's as well as usernames and groupnames, by adding appropriate support to acl_name_to_id() in acl_support.c Submitted by: green END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-01-08T01:59:15.000000Z K 7 svn:log V 169 Add aic to the list of drivers that might work with NEWCARD. I've added the same config lines that NetBSD has. This builds with both NEWCARD and GENERIC config files. END K 10 svn:author V 6 babkin K 8 svn:date V 27 2001-01-08T02:47:37.000000Z K 7 svn:log V 47 Completed move of Digiboard drivers to dev/dgb END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-08T05:34:06.000000Z K 7 svn:log V 147 Part 2 of the netgraph rewrite. This is mostly cosmetic changes, (though I caught a bug or two while makeing them) Reviewed by: archie@freebsd.org END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2001-01-08T05:34:07.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-08T06:17:11.000000Z K 7 svn:log V 74 Remove seconds types we don't use that came in thru the NetBSD heiratage. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-08T06:19:13.000000Z K 7 svn:log V 26 MFC: remove seconds types END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-08T06:21:10.000000Z K 7 svn:log V 94 Rev 1.8 also includes the proper definition for _BSD_VA_LIST_ when using a GCC 2.97 snapshot. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-08T06:24:08.000000Z K 7 svn:log V 44 Put VCS ids in a consistent place and form. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-08T06:25:28.000000Z K 7 svn:log V 30 MFC: VCS id style consistency END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-08T06:28:30.000000Z K 7 svn:log V 82 Bad julian.. forgot to destroy mutex before freeing the structure it was part of! END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-01-08T07:22:06.000000Z K 7 svn:log V 38 Don't use SCARG. Pointed out by: bde END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-01-08T09:17:58.000000Z K 7 svn:log V 64 Correct typo. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-01-08T09:21:01.000000Z K 7 svn:log V 19 MFC: Correct typo. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-01-08T13:15:14.000000Z K 7 svn:log V 243 Use "anonymous" rather than "ftp" as login name for anonymous ftp. Rather than have a separate (misnamed) FTP_ANONYMOUS_PASSWORD constant, use FTP_ANONYMOUS_USER (i.e. "anonymous") to construct the anonymous ftp password if getlogin() fails. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-01-08T13:17:21.000000Z K 7 svn:log V 39 Back out previous (accidental) commit. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-01-08T13:46:40.000000Z K 7 svn:log V 172 The user name for anonymous ftp is now "anonymous". Remove the period after the last man page reference. Add a reference to RFC1635, and sort the RFC references by number. END K 10 svn:author V 4 jake K 8 svn:date V 27 2001-01-08T15:25:45.000000Z K 7 svn:log V 64 Fix a warning. The type of globaldata.gd_prvspace has changed. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-01-08T15:37:59.000000Z K 7 svn:log V 143 MFC 1.80->1.81: fix problem with vmware DAD. reported by many, tested @ IETF49 with help from Florent Parent . END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-01-08T15:41:37.000000Z K 7 svn:log V 70 MFC 1.5->1.6: do not touch ra_addr if it is NULL. from IIJ SEIL team END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-01-08T21:04:33.000000Z K 7 svn:log V 412 make PCI DEFPA fiddi adapters work on alpha: - add a dma hack similar to the NetBSD one - change PDQ_OS_MEM{RD,WR} to use readl/writel rather than deref'ing a 32 bit va. Note that I did just enough to get this working on alpha. I probably should have updated it to use busspace, but I was too lazy to navigate the twisty minefield of ifdefs that make up this driver. Tested by: wilko (on both x86 and alpha) END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-01-08T21:34:25.000000Z K 7 svn:log V 86 Back out the "close tray on open" feature, its not clear what color it should have... END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-01-08T22:14:48.000000Z K 7 svn:log V 233 If we failed to allocate the file discriptor for the write end of the pipe, then we were corrupting the pipe_zone free list by calling pipeclose on rpipe twice. NULL out rpipe to avoid this. Reviewed by: dillon Reviewed by: iedowse END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2001-01-08T22:16:26.000000Z K 7 svn:log V 101 Unset the devclass if the attach fails and the devclass was not set to begin with. Reviewed by: dfr END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-01-08T22:36:21.000000Z K 7 svn:log V 123 Document support for FDDI using DEC DEFPA adapters. Thanks to: Andrew Gallatin for the actual patch that makes DEFPA work END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-01-08T22:38:11.000000Z K 7 svn:log V 43 Small note on FDDI support using DEC DEFPA END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-09T00:40:38.000000Z K 7 svn:log V 354 Index our "DMA safe" sense buffers by SCB rather than hscb. hscbs may be traded during error recovery due to the way we manage the qinfifo. This has the effect of changing the index to the sense buffer even though the request sense command references the original buffer. SCBs don't play this swapping game and so serve as a more consistent reference. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-09T00:44:33.000000Z K 7 svn:log V 82 Move if_wl.c from sys/i386/isa to dev/wi - it is not i386 (or even isa) specific. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2001-01-09T00:46:55.000000Z K 7 svn:log V 133 MFC: Use scb rather than hscb to reference sense buffer so error recovery actions do not perterb our index to the sense buffer. END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-09T00:49:31.000000Z K 7 svn:log V 16 Missing FREE(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-09T00:50:45.000000Z K 7 svn:log V 69 Move MD to MI END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-09T00:52:31.000000Z K 7 svn:log V 92 Remove empty directories. PR: 23769, 23772, 23868 Submitted by: Rich Morin END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-09T00:52:45.000000Z K 7 svn:log V 16 Missing FREE(); END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-01-09T00:53:06.000000Z K 7 svn:log V 86 Send the old if_wl in the old location to the Attic after a repo copy to sys/dev/wi/* END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-09T00:55:55.000000Z K 7 svn:log V 15 Missing FREE() END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-01-09T01:01:46.000000Z K 7 svn:log V 37 Wire in the files for the aac driver END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-01-09T01:03:09.000000Z K 7 svn:log V 96 MFC the AAC driver. Since msmith's latest round of bugfixes, it seens to be working very well. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-01-09T01:03:31.000000Z K 7 svn:log V 27 Add the AAC driver to LINT END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-01-09T01:04:00.000000Z K 7 svn:log V 28 MFC the AAC module makefile END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:12:42.000000Z K 7 svn:log V 28 add missing length argument END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:46:23.000000Z K 7 svn:log V 410 Add a isp_register_fc4_type function so that we work with McData switches that require us to register our FC4 types of interest. Allow ourselves, in F-port topologies, to start logging in fabric devices in the target 0..125 range. Change ISPASYNC_PDB_CHANGED (misnamed) to ISPASYNC_LOGGED_INOUT. Fix (*SMACK*) again some default WWN stuff. This is *really* hard to get right across all the range of platforms. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:47:15.000000Z K 7 svn:log V 140 Follow the ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT change. Also, ISPASYNC_NOTIFY_CHANGE now is for both local loop && fabric changes. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:47:56.000000Z K 7 svn:log V 129 Up tsleep && poll time for mailbox commands from 2 to 10 seconds. Print out the mailbox command opcode if the command times out. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:48:44.000000Z K 7 svn:log V 148 Add some SNS "Register FC4 type" subcommand defines. Add some defines that are pertinetnt for state flags on Qlogic 2X00 status completion entries. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T02:49:02.000000Z K 7 svn:log V 47 ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T03:10:30.000000Z K 7 svn:log V 998 o IPFW incorrectly handled filtering in the presence of previously reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and moves colliding flags to a seperate field, ipflg. The IPFW userland management tool, ipfw(8), is updated to reflect this change. New TCP flags related to ECN are now included in tcp.h for reference, although we don't currently implement TCP+ECN. o To use this fix without completely rebuilding, it is sufficient to copy ip_fw.h and tcp.h into your appropriate include directory, then rebuild the ipfw kernel module, and ipfw tool, and install both. Note that a mismatch between module and userland tool will result in incorrect installation of firewall rules that may have unexpected effects. This is an MFC candidate, following shakedown. This bug does not appear to affect ipfilter. Reviewed by: security-officer, billf Reported by: Aragon Gouveia END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:23:05.000000Z K 7 svn:log V 40 Note new location of if_wavelan_ieee.h. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:23:56.000000Z K 7 svn:log V 56 Make it clear that the macro `inb' is being overridden. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:24:43.000000Z K 7 svn:log V 43 Don't compile a dead variable declaration. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:27:09.000000Z K 7 svn:log V 220 With some trepidation, add a `#error' directive to this module. It was broken and not fixed by whoever changed the interface of chgproccnt(); in the state it is in it could not possibly work (dereferencing an integer). END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:29:29.000000Z K 7 svn:log V 44 Note new location of wi driver source code. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:31:48.000000Z K 7 svn:log V 48 select() DKI is defined in now. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:32:24.000000Z K 7 svn:log V 39 Delete unused #include . END K 10 svn:author V 7 wollman K 8 svn:date V 27 2001-01-09T04:33:49.000000Z K 7 svn:log V 40 select() DKI is now in . END K 10 svn:author V 5 green K 8 svn:date V 27 2001-01-09T04:55:37.000000Z K 7 svn:log V 180 Take 10 seconds to actually fix the chgproccnt rather than just make it explicitly error. If the module is horribly broken, it should be temporarily removed from src/sys/modules. END K 10 svn:author V 5 green K 8 svn:date V 27 2001-01-09T04:56:53.000000Z K 7 svn:log V 119 Evidently, svr4 is broken at the moment. Disconnect the build to prevent Bad Things from unsuspecting module loaders. END K 10 svn:author V 5 green K 8 svn:date V 27 2001-01-09T05:03:08.000000Z K 7 svn:log V 47 Add a large _warning_ about using COMPAT_SVR4. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T05:40:10.000000Z K 7 svn:log V 133 o Add missing initialization of errno from error returns of cap_get_fd(), cap_get_file() and cap_get_proc(). Submitted by: jedgar END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T05:40:54.000000Z K 7 svn:log V 56 o Correct spelling error from patch in previous commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T05:42:31.000000Z K 7 svn:log V 85 o bzero() the ACL structure only if malloc() returns non-NULL. Submitted by: jedgar END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T05:45:03.000000Z K 7 svn:log V 381 o acl_from_text.c: - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-01-09T06:51:37.000000Z K 7 svn:log V 70 MFC: Add LOG_CONSOLE and make sure it doesn't end up on /dev/console. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-01-09T06:52:25.000000Z K 7 svn:log V 40 MFC: add the NGM_TEXT_CONFIG primitive. END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-01-09T12:26:17.000000Z K 7 svn:log V 31 MFC: Always printf diskerrors. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2001-01-09T14:49:41.000000Z K 7 svn:log V 175 Add a flag value to the board identifiers, and use this to enable the firmware for selected revisions of the controller. Spotted by: Alexander Hausner END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2001-01-09T14:59:43.000000Z K 7 svn:log V 157 When queueing a packet, call the output start routine. I botched this during the initial ifqueue conversion. Submitted by: Thomas Moestl END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2001-01-09T15:01:42.000000Z K 7 svn:log V 227 Move the mutex initialization from avma1pp_bchannel_setup into avma1pp_attach_avma1pp, since the former may be called multiple times and we only want to initialize the mutex once. Submitted by: Thomas Moestl END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-09T15:20:58.000000Z K 7 svn:log V 62 Fixed mdoc(7)NG warnings introduced in the previous revision. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-09T17:14:04.000000Z K 7 svn:log V 53 Use /usr/bin/cpp as on NetBSD, not /usr/libexec/cpp. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T18:11:40.000000Z K 7 svn:log V 408 o Backport the fw_ipflg ipfw rule flag from -CURRENT so that it is available for the recently committed TCP flags fix. I have only backported the variable, and not all of the current use in -CURRENT, so that will need to be seperately MFC'd, if desirable. o This change modifies the ipfw configuration ABI meaning that you need to keep your userland ip_fw.h, ipfw tool, and kernel code in synch. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T18:17:48.000000Z K 7 svn:log V 276 The alpha architecture is 64 bits, so bus_addr_t && bus_size_t should really be 64 bits wide. The largest known current actual physical implementation is 40 bits, so BUS_SPACE_MAXADDR should reflect this. It also seems to me that BUS_SPACE_UNRESTRICTED should b ~0UL, not ~0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T18:20:22.000000Z K 7 svn:log V 56 o MFC tcp.h 1.15 -- add constants for new ECN TCP flags END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T18:25:18.000000Z K 7 svn:log V 103 o style(9) cleanup of newly committed TCP flags to make consistent with -CURRENT. Sorry about that. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-09T18:26:17.000000Z K 7 svn:log V 52 o Minor style(9)ism to make consistent with -STABLE END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-01-09T19:15:12.000000Z K 7 svn:log V 36 moved isp_pci.c from pci to dev/isp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-01-09T22:28:17.000000Z K 7 svn:log V 156 Move the syscons configuration to a machine independent rc.syscons. The syscons sh code was identical on both platforms except for whitespace differences. END K 10 svn:author V 4 dmlb K 8 svn:date V 27 2001-01-09T23:39:32.000000Z K 7 svn:log V 320 Fix a minor bug that prevents NEWBUS users from setting more than one memory map. The memory window for the PCIC is identifed by the resource id for NEWSBUS drivers. pccardd always uses window 0 and rid 0 when setting maps up. This fix does not affect pccardd's handling of common memory for ed cards. Reviewed by: imp END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2001-01-09T23:58:56.000000Z K 7 svn:log V 1626 In m_mballoc_wait(), drop the mmbfree mutex lock prior to calling m_reclaim() and re-acquire it when m_reclaim() returns. This means that we now call the drain routines without holding the mutex lock and recursing into it. This was done for mainly two reasons: (i) Avoid the long recursion; long recursions are typically bad and this is the case here because we block all other code from freeing mbufs if they need to. Doing that is kind of counter-productive, since we're really hoping that someone will free. (ii) More importantly, avoid a potential lock order reversal. Right now, not all the locks have been added to our networking code; but without this change, we're introducing the possibility for deadlock. Consider for example ip_drain(). We will likely eventually introduce a lock for ipq there, and so ip_freef() will be called with ipq lock held. But, ip_freef() calls m_freem() which in turn acquires the mmbfree lock. Since we were previously calling ip_drain() with mmbfree held, our lock order would be: mmbfree->ipq->mmbfree. Some other code may very well lock ipq first and then call ip_freef(). This would result in the regular lock order, ipq->mmbfree. Clearly, we have deadlock if one thread acquires the ipq lock and sits waiting for mmbfree while another thread calling m_reclaim() acquires mmbfree and sits waiting for the ipq lock. Also, make sure to add a comment above m_reclaim()'s definition briefly explaining this. Also document this above the call to m_reclaim() in m_mballoc_wait(). Suggested and reviewed by: alfred END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-10T02:37:16.000000Z K 7 svn:log V 206 Add these key bindings for tcsh users in interactive mode: bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward Reviewed by: -current END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-01-10T03:43:34.000000Z K 7 svn:log V 1231 o MFC of ECN flag handling fixes in IPFW, respectively: Revision Changes Path 1.98 +3 -4 src/sbin/ipfw/ipfw.c 1.151 +14 -6 src/sys/netinet/ip_fw.c 1.54 +3 -3 src/sys/netinet/ip_fw.h Prior commit message: o IPFW incorrectly handled filtering in the presence of previously reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and moves colliding flags to a seperate field, ipflg. The IPFW userland management tool, ipfw(8), is updated to reflect this change. New TCP flags related to ECN are now included in tcp.h for reference, although we don't currently implement TCP+ECN. o To use this fix without completely rebuilding, it is sufficient to copy ip_fw.h and tcp.h into your appropriate include directory, then rebuild the ipfw kernel module, and ipfw tool, and install both. Note that a mismatch between module and userland tool will result in incorrect installation of firewall rules that may have unexpected effects. This bug does not appear to affect ipfilter. Reviewed by: security-officer, billf, jedgar Reported by: Aragon Gouveia END K 10 svn:author V 4 jake K 8 svn:date V 27 2001-01-10T04:43:51.000000Z K 7 svn:log V 88 Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variables other then curproc. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:01:12.000000Z K 7 svn:log V 146 config_plex: Initialize mutex for parity plexes. remove_plex_entry: Destroy mutex for parity plexes. Part of rewrite of RAID-[45] locking code. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:02:44.000000Z K 7 svn:log V 273 open_drive: Refuse to open partition c of a disk device. This should eliminate one case of foot shooting . vinum_scandisk: If a drive in the partition table is downed, free it. This duplicates code for the compatibility partition, which for some reason was omitted here. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:05:46.000000Z K 7 svn:log V 80 Get definition of Malloc right when not using VINUMDEBUG Pointed out by: tegge END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:06:37.000000Z K 7 svn:log V 517 Remove obsolete functions [un]lockplex and [un]lockvol. Rewrite lockrange and unlockrange. The lock table is now a fixed size, so there is no possibility for race conditions when expanding. The current size (256 locked ranges) should be large enough that it makes no sense to expand it. To do expansion right would require quiescing the plex (requiring at least 256 I/O completions), and the performance implications are horrendous. Add a mutex per plex for accessing the lock table. Based on analysis by: tegge END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:07:14.000000Z K 7 svn:log V 95 bre5: don't bufdone the user bp on error, let vinumstart() do it. Based on analysis by: tegge END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:07:52.000000Z K 7 svn:log V 189 vinumstart: Don't check for B_DONE on return from bre(), it doesn't happen any more. abortrequest: don't bufdone the user bp on error, let vinumstart() do it. Based on analysis by: tegge END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-01-10T05:08:30.000000Z K 7 svn:log V 169 Part of rewrite of RAID-[45] locking code: Rename INITIAL_LOCKS to PLEX_LOCKS, since it now stays a constant. struct plex: Add a mutex lockmtx. Remove alloclocks. END K 10 svn:author V 3 ben K 8 svn:date V 27 2001-01-10T05:32:02.000000Z K 7 svn:log V 32 MFC: remove unused directories. END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-10T07:13:58.000000Z K 7 svn:log V 59 Fix some memory leaks Add memory leak detection assitance. END K 10 svn:author V 6 julian K 8 svn:date V 27 2001-01-10T07:16:09.000000Z K 7 svn:log V 16 Fix memory leak END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-01-10T08:10:27.000000Z K 7 svn:log V 35 MFC: fix lseek arg, error checking END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T09:41:42.000000Z K 7 svn:log V 118 correct a small typo in isdnd that broke the ppp-expect-password option Submitted by: Thomas Moestl END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T11:32:04.000000Z K 7 svn:log V 73 mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-01-10T11:43:02.000000Z K 7 svn:log V 118 Remove a mismatched splbio() in aac_start (the called functions each protect themselves correctly). Submitted by: ps END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T12:21:58.000000Z K 7 svn:log V 41 add a the missing (german) holidays file END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T12:24:40.000000Z K 7 svn:log V 37 correct two horrible spelling errors END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T12:41:55.000000Z K 7 svn:log V 99 Update: allow a list of numbers to be ignored and display the line on which the call was received. END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T12:42:57.000000Z K 7 svn:log V 74 update the makefile to install all files from this directory to /etc/isdn END K 10 svn:author V 3 joe K 8 svn:date V 27 2001-01-10T13:27:38.000000Z K 7 svn:log V 150 Flag an error and remove the program from the list if there is no source directory or no objects can be determined. Initialise a structure variable. END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T13:34:23.000000Z K 7 svn:log V 116 Add PCI id's for the Planet PCI ISDN Adapter (Model IA128P-STDV) Submitted by: Luiz Henrique Duma END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-01-10T13:49:11.000000Z K 7 svn:log V 122 Bugfix to make configuration of isp/isppp interfaces by using isdnd.rc work Submitted by: bad@k.bsd.de (Christoph Badura) END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T14:01:39.000000Z K 7 svn:log V 23 Prepare for mdoc(7)NG. END K 10 svn:author V 3 joe K 8 svn:date V 27 2001-01-10T14:08:48.000000Z K 7 svn:log V 33 Liberal application of style(9). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T14:11:03.000000Z K 7 svn:log V 28 MFC: Prepare for mdoc(7)NG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T14:18:12.000000Z K 7 svn:log V 23 Prepare for mdoc(7)NG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T14:20:43.000000Z K 7 svn:log V 28 MFC: Prepare for mdoc(7)NG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T14:53:46.000000Z K 7 svn:log V 12 Mdoc(7)ify. END K 10 svn:author V 4 jake K 8 svn:date V 27 2001-01-10T15:41:26.000000Z K 7 svn:log V 44 Protect proc.p_pptr with the proctree lock. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T16:51:28.000000Z K 7 svn:log V 23 Prepare for mdoc(7)NG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-01-10T16:54:02.000000Z K 7 svn:log V 28 MFC: Prepare for mdoc(7)NG. END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-10T17:35:28.000000Z K 7 svn:log V 209 Add these key bindings for tcsh users in interactive mode: bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward Reviewed by: -current END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-10T17:40:13.000000Z K 7 svn:log V 71 MFC: (rev. 1.23) fix bugs in the handling of > 8 positional arguments. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-10T17:41:49.000000Z K 7 svn:log V 51 Bump __FreeBSD_version for libgcc/linking changes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-01-10T17:42:12.000000Z K 7 svn:log V 56 MFC: Bump __FreeBSD_version for libgcc/linking changes. END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-01-10T17:43:41.000000Z K 7 svn:log V 48 MFC: (rev. 1.6) call yyrestart() in lex_init(). END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2001-01-10T18:01:51.000000Z K 7 svn:log V 120 Enable fixed event at not only boot but also wakeup. Reported and patch tested by: Peter Dufault END