h94921 79 474 304 203 255 217 163 181 158 254 128 128 260 144 305 167 749 173 209 261 961 351 179 251 306 250 269 155 133 326 331 191 158 114 163 234 169 357 122 173 199 109 225 200 131 160 146 152 253 236 140 236 146 122 109 622 150 647 630 198 287 234 194 475 334 242 162 266 150 513 235 553 320 136 1817 151 340 216 255 176 K 10 svn:author V 5 peter K 8 svn:date V 27 2002-04-17T05:26:42.000000Z K 7 svn:log V 379 Do not free the vmspace until p->p_vmspace is set to null. Otherwise statclock can access it in the tail end of statclock_process() at an unfortunate time. This bit me several times on an SMP alpha (UP2000) and the problem went away with this change. I'm not sure why it doesn't break x86 as well. Maybe it's because the clocks are much faster on alpha (HZ=1024 by default). END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T05:42:18.000000Z K 7 svn:log V 212 Doh, previous revision made .depend to be almost always out of date. Spotted by: bde Fortunately, we have a powerful make(1). Apply some black magic to make it DTRT. (Better viewed as diff to revision 1.30.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T05:46:41.000000Z K 7 svn:log V 111 Revert previous change. bsd.dep.mk,v 1.31 had a bug that was fixed in revision 1.32 and made this change OBE. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T05:53:57.000000Z K 7 svn:log V 163 Revert to the ordinary `:' dependency operator for `mainstall'. Revision 1.7 had "maninstall::" inside a loop. Revision 1.36 unrolled the loop. Reviewed by: bde END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-04-17T07:00:56.000000Z K 7 svn:log V 122 - Add defines for ABR and UBR traffic types. - Add IDT bits to vendor/vendorapi/device enums. - Add EISA to atm_bus enum. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-04-17T07:04:58.000000Z K 7 svn:log V 69 Remove a stray comment terminator that was hiding beyond 80 columns. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T07:37:42.000000Z K 7 svn:log V 90 Fixed mdoc(7) warnings visible in troff mode only. Spotted by: Rich Morin END K 10 svn:author V 3 suz K 8 svn:date V 27 2002-04-17T07:50:17.000000Z K 7 svn:log V 66 MFC 1.5: initialize local variable explicitly Reviewed by: ume END K 10 svn:author V 6 gerald K 8 svn:date V 27 2002-04-17T10:42:41.000000Z K 7 svn:log V 158 Mention that terminal type vt220 will work better if one needs interoperability with other systems like Solaris or GNU/Linux. PR: 33810 Approved by: obrien END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-04-17T11:41:42.000000Z K 7 svn:log V 35 MFC: use decimal point from locale END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-04-17T12:01:21.000000Z K 7 svn:log V 35 MFC: get decimal point from locale END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-04-17T12:03:20.000000Z K 7 svn:log V 167 Revert part of revision 1.49 which was supposed to be white space only. In the device probe we don't want to match unless there is an iface structure already set up. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T12:15:02.000000Z K 7 svn:log V 53 Don't attempt to chflags(1) non-existent executable. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-04-17T12:38:59.000000Z K 7 svn:log V 210 Add variable substitutions for SOCKNAME, IPOCTETSIN, IPOCTETSOUT, IPPACKETSIN, IPPACKETSOUT, IPV6OCTETSIN, IPV6OCTETSOUT, IPV6PACKETSIN, IPV6PACKETSOUT, OCTETSIN, OCTETSOUT, PACKETSIN, PACKETSOUT and SOCKNAME. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-04-17T13:05:13.000000Z K 7 svn:log V 75 Add an entry for the kenv(2) syscall (code to follow). Reviewed by: peter END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-04-17T13:06:36.000000Z K 7 svn:log V 656 Rework the kernel environment subsystem. We now convert the static environment needed at boot time to a dynamic subsystem when VM is up. The dynamic kernel environment is protected by an sx lock. This adds some new functions to manipulate the kernel environment : freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be called after every getenv() when you have finished using the string. testenv() only tests if an environment variable is present, and doesn't require a freeenv() call. setenv() and unsetenv() are self explanatory. The kenv(2) syscall exports these new functionalities to userland, mainly for kenv(1). Reviewed by: peter END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-04-17T13:08:14.000000Z K 7 svn:log V 81 Use the new functionalities provided by the kenv(2) syscall. Reviewed by: peter END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-04-17T13:43:31.000000Z K 7 svn:log V 116 Add macros for concatenating tailqs and stailqs. PR: 20024 Submitted by: Tony Finch (TAILQ_CONCAT) END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-04-17T13:48:14.000000Z K 7 svn:log V 168 Document STAILQ_CONCAT and TAILQ_CONCAT. PR: 20024 Submitted by: Tony Finch (TAILQ_CONCAT, slightly changed by me) Reviewed by: ru (earlier version) END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T13:49:29.000000Z K 7 svn:log V 869 Don't include bsd.own.mk from sys.mk, this makes it impossible to use ``.if defined()'' inside bsd.own.mk to test for defines in individual makefiles. For example, setting DEBUG_FLAGS in Makefile didn't take the desired effect on the STRIP assignment. Added bsd.init.mk (like in NetBSD) that handles the inclusion of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that "build something". Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back to sys.mk (several source tree makefiles want to check it early) and removed MACHINE_ARCH initialization (it's hard to see from looking at the commitlogs what the problem was at the time, but now it serves no purpose). Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk. Protect bsd.obj.mk from repetitive inclusion. Prohibiting the direct inclusion of bsd.obj.mk might be a good idea too. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2002-04-17T13:57:50.000000Z K 7 svn:log V 256 Clear the error flags in the LCA_IOC_STAT0 register after machine_checks. This fixes pci config reads for non existing devices on secondary pci busses. Thanks to Andrew Gallatin for pointing me to the register Reviewed by: gallatin Approved by: gallatin END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-04-17T14:00:37.000000Z K 7 svn:log V 87 Parenthesize some macro arguments. PR: 20024 Submitted by: Tony Finch END K 10 svn:author V 5 ticso K 8 svn:date V 27 2002-04-17T14:08:22.000000Z K 7 svn:log V 156 Revive dec_axppci_33_intr_route for LCA. We now get valid interrupt lines for devices on secondary pci busses. Reviewed by: gallatin Approved by: gallatin END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-17T14:21:02.000000Z K 7 svn:log V 213 Ensure that the iterator is always NULL after CIRCLEQ_FOREACH{,_REVERSE}. This makes absolutely no difference in any of the four places these macros are actually used, but it satisfies my aesthetic sensibilities. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-04-17T14:52:05.000000Z K 7 svn:log V 153 Update the date(1) manual page. And I used ``hardware'' clock, information on why is below. MFC. PR: 35606 Suggested by: sheldonh Reviewed by: bde END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2002-04-17T14:56:42.000000Z K 7 svn:log V 172 Touch up of the disklabel(8) manual page, MFC. --change "-s newboot" to "-s newboot2" in an example --change "irregardlesss" to "regardless" --other nit picks PR: 35947 END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-04-17T14:58:23.000000Z K 7 svn:log V 62 MFC: 1.16-1.20 (decimal point from locale, remove 'register') END K 10 svn:author V 4 ache K 8 svn:date V 27 2002-04-17T15:06:47.000000Z K 7 svn:log V 40 MFC: 1.27 get decimal point from locale END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-04-17T15:13:52.000000Z K 7 svn:log V 231 Make delay iteration counts a function of hz as the delay period in each loop is inversly proportional to hz. This makes things more sane for configurations with hz > 100. Submitted by: Peter Jeremy END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-04-17T15:28:41.000000Z K 7 svn:log V 236 Make delay iteration counts a function of hz as the delay period in each loop is inversly proportional to hz. This makes things more sane for configurations with hz != 100. Cosmetic: Make the loops look similar to the loops in digi.c END K 10 svn:author V 5 ticso K 8 svn:date V 27 2002-04-17T15:32:11.000000Z K 7 svn:log V 97 Fix a compiler warning I missed in the last commit. Reviewed by: gallatin Approved by: gallatin END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T15:33:40.000000Z K 7 svn:log V 67 Really unbreak it this time (clean and install were still broken). END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2002-04-17T16:12:24.000000Z K 7 svn:log V 20 Fix missing commas. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T16:29:02.000000Z K 7 svn:log V 72 ${INSTALLFLAGS} aren't suitable for installing ${SCRIPTS} and ${FILES}. END K 10 svn:author V 6 murray K 8 svn:date V 27 2002-04-17T16:39:01.000000Z K 7 svn:log V 138 Require approval for DHCP commits. I have commit access to isc.org DHCP, so it should not be too much to ask to keep the sources synced. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-17T16:56:36.000000Z K 7 svn:log V 78 Install files via FILES, there's no reason to compare them before installing. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-04-17T17:26:32.000000Z K 7 svn:log V 259 This adds support for -s to the m4(1) utility, which causes #line directives to be emitted as per the C preprocessor. It updates the manual page in regards to standards accordingly. PR: standards/36075 Submitted by: tjr Reviewed by: mike MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-04-17T17:49:57.000000Z K 7 svn:log V 29 New release note: SA-02:20. END K 10 svn:author V 3 mux K 8 svn:date V 27 2002-04-17T17:51:10.000000Z K 7 svn:log V 81 Avoid calling malloc() or free() while holding the kenv lock. Reviewed by: jake END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-04-17T18:09:27.000000Z K 7 svn:log V 103 De-K&R dkcksum() to fix some issues with c++. Submitted by: Miguel Mendez END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-04-17T18:15:53.000000Z K 7 svn:log V 16 MFC: SA-02:20. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2002-04-17T18:27:10.000000Z K 7 svn:log V 130 Update io_apic_ints array properly when revoking an irq mapping. Adjust panic message. Submitted by: David Xu END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-04-17T19:44:22.000000Z K 7 svn:log V 105 Fix too-hasty merges of functionality not yet present in RELENG_4. Mea culpa. Kindly pointed out by ume. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-04-17T21:26:43.000000Z K 7 svn:log V 36 mdoc police: turn .PP back into .Pp END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-04-17T21:34:47.000000Z K 7 svn:log V 65 mdoc police: use .El to end the list in the ENVIRONMENT section. END K 10 svn:author V 6 fenner K 8 svn:date V 27 2002-04-17T21:39:59.000000Z K 7 svn:log V 51 mdoc police: get rid of blank line at end of file. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2002-04-17T22:41:58.000000Z K 7 svn:log V 58 Fix typo in adjusted panic message. Submitted by: cokane END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-17T22:57:09.000000Z K 7 svn:log V 160 Set rsp to NULL before calling the conversation function so we can later detect if it hasn't been touched (perforce change 9889) Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-17T22:57:09.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r94968, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-17T22:58:58.000000Z K 7 svn:log V 48 Fix broken markup (perforce changes 9937, 9939) END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-17T22:58:58.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r94970, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-04-17T23:07:58.000000Z K 7 svn:log V 53 Remove an extraneous .El call. Submitted by: fenner END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-04-17T23:16:40.000000Z K 7 svn:log V 29 New release note: SA-02:21. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2002-04-17T23:20:55.000000Z K 7 svn:log V 16 MFC: SA-02:21. END K 10 svn:author V 2 ue K 8 svn:date V 27 2002-04-18T01:07:25.000000Z K 7 svn:log V 530 Restructure the Sparc installation instructions to - get rid of the 4th level headings - seperate the actions required to prepare the installation (getting the CD, settings up the various daemons, ...) from the actual installation Translation teams: This patch moves some paragraphs around and changes a lot of headers, but does not contain any content changes in the strict sense of the word (i.e. I did not rewrite paragraphs yet). There were no changes to the indentation, either. Reviewed by: bmah, -sparc, -doc END K 10 svn:author V 2 ue K 8 svn:date V 27 2002-04-18T01:27:19.000000Z K 7 svn:log V 59 Whitespace fix after the restructuring, no content changes END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-04-18T03:28:27.000000Z K 7 svn:log V 554 o Call vm_map_growstack() from vm_fault() if vm_map_lookup() has failed due to conditions that suggest the possible need for stack growth. This has two beneficial effects: (1) we can now remove calls to vm_map_growstack() from the MD trap handlers and (2) simple page faults are faster because we no longer unnecessarily perform vm_map_growstack() on every page fault. o Remove vm_map_growstack() from the i386's trap_pfault(). o Remove the acquisition and release of Giant from i386's trap_pfault(). (vm_fault() still acquires it.) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2002-04-18T03:33:51.000000Z K 7 svn:log V 537 Add the -b option (break at byte position, not column number) and the -s option (try to break at word bounaries) for SUSv3 conformance. Partially based on the NetBSD version, with the following changes: - style(9) - break on s, not spaces, per POSIX (and GNU) - when looking for last space on line, search backwards instead of forwards; less comparisons needed this way. - use LINE_MAX macro instead of a magic number and a comment saying it is LINE_MAX. PR: 36245 Reviewed by: mike Obtained from: NetBSD (partially) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-04-18T03:41:49.000000Z K 7 svn:log V 101 Witness doesn't just track mutexes, so don't say mutexes specifically. It also tracks sxlocks, etc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-04-18T03:44:44.000000Z K 7 svn:log V 190 Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS comment in GENERIC config files of appropriate platforms. For whatever reason, powerpc didn't use WITNESS in GENERIC. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-04-18T03:55:50.000000Z K 7 svn:log V 141 Add a comment documenting a race condition in vm_fault(): Specifically, a modification is made to the vm_map while only a read lock is held. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T06:37:48.000000Z K 7 svn:log V 102 In rare cases, we might want to include bsd.own.mk directly. So protect it from being included twice. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T06:46:34.000000Z K 7 svn:log V 383 This Makefile.inc depended on the (wrong) order of inclusion of makefiles: bsd.own.mk was included before ../Makefile.inc, effectively hiding the (wrong) LIBCOMPATDIR assignment here. share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed this order, revealed this bug, and broke "make release" and "make installworld" with either of -DCOMPAT1X or -DCOMPAT2?. Reported by: jhay END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T06:55:32.000000Z K 7 svn:log V 242 INFODIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of share/mk/sys.mk,v 1.60. I did not notice this because I tested with DESTDIR=/foo/5.0, and the "exists(/foo/5.0)" test apparently succeeded. Reported by: fenner END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T07:01:35.000000Z K 7 svn:log V 150 Replaced exists() tests with two equivalent defined(). LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T07:10:39.000000Z K 7 svn:log V 71 Install bsd.init.mk. Submitted by: "Peter S. Housel" END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T09:37:15.000000Z K 7 svn:log V 174 Optimize for i486 better (-m486 is just another deprecated synonym for -mcpu=i486). PR: i386/37212 Submitted by: Matthias Andree MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2002-04-18T10:07:36.000000Z K 7 svn:log V 58 Use ${FILES} and rather than roll-your-own. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T10:58:14.000000Z K 7 svn:log V 421 Fixed bugs in previous revision: Added NOOBJ if anyone even attempts to "make obj" here. Revert to installing files with mode 644 except README. Make this overall look like a BSD-style Makefile rather than roll-your-own (this is not a bug). For the record. Previous revision also fixed the breakage introduced by the sys.mk,v 1.60 commit: bsd.own.mk is no longer automatically included from sys.mk. Reported by: jhay END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T12:04:34.000000Z K 7 svn:log V 143 Do not reset MAKEFILE when reading ".depend" as this rather eliminates the usefulness of ${MAKEFILE}. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-04-18T12:53:39.000000Z K 7 svn:log V 460 Backed out the style bugs in rev.1.17: - don't use unusual indentation for 39 lines of declarations when only 2 of the lines benefit from it. - don't use __DECONST(). This was the one use of it in the tree, and it was just wrong. It was used to hide the warning about tgetnum() having the wrong prototype (missing a `const') due to libncurses being misconfigured. libncurses has been fixed, so the original code now compiles cleanly with WARNS=4. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-04-18T13:02:17.000000Z K 7 svn:log V 227 Fixed some style bugs: - ifdefs around vendor sccsid were left reversed after switching to __FBSDID(). - vertical whitespace after some of the non-FALLTHROUGH cases was lost. - too much vertical whitespace before prototypes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-04-18T13:24:35.000000Z K 7 svn:log V 45 Removed gratuitous LIBCOMPATDIR assignments. END K 10 svn:author V 5 mckay K 8 svn:date V 27 2002-04-18T14:40:20.000000Z K 7 svn:log V 1721 Work around an Intel 21143 chip bug. Rev 1.56 of if_dc.c removed calls to mii_pollstat() from the dc_tick() routine. dc_tick() is called regularly to detect link up and link down status, especially when autonegotiating. The expectation was that mii_tick() (which is still called from dc_tick()) would update status information automatically in all cases where it would be sensible to do so. Unfortunately, with authentic 21143 chips this is not the case, and the driver never successfully autonegotiates. This is because (despite what it says in the 21143 manual) the chip always claims that link is not present while the autonegotiation enable bit is set. Autonegotation takes place and succeeds, but the driver tests the link bits before it switches off the autonegotiation enable bit, and success is not recognised. The simplest solution is to call dcphy_status() more often for MII_TICK calls by dropping out of the switch statement instead of exiting when we are autonegotiating and link appears to not be present. When autonegotiation succeeds, dcphy_status() will note the speed and fdx/hdx state and turn off the autonegotiation enable bit. The next call to dcphy_status() will notice that link is present, and the dc driver code will be notified. Macronix chips also use this code, but implement link detection as described in the manual, and hence don't need this patch. However, tests on a Macronix 98715AEC-C show that it does not adversely affect them. This could be done better but is the minimal effective change, and most closely mimics what was happening prior to rev 1.56 of if_dc.c. (Actually I also deleted a small amount of unnecessary code while I was in the area.) Reviewed by: wpaul END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-04-18T14:47:34.000000Z K 7 svn:log V 56 Cleanup of logic, flow and comments. Submitted by: bde END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-04-18T14:52:28.000000Z K 7 svn:log V 244 Remove support for using soon to be retired "special" poll(2) ops. Replace with kevent(2) ops. This is untested, but the code would rot even further if this wasn't applied. I've chosen to apply this to prompt some cleanup. Submitted by: bde END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-04-18T14:54:26.000000Z K 7 svn:log V 120 Cleanup comments. Remove all current poll(2) extensions except POLLINIGNEOF as they are now unused. Submitted by: bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-04-18T15:13:06.000000Z K 7 svn:log V 159 This style is *way* outside the relm of any other of our Makefiles (other than the single sys.mk). Adjust to smell like FreeBSD. Reviewed & prefered by: bde END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-04-18T15:47:31.000000Z K 7 svn:log V 81 Add the PCI ID for an upcoming variant of a soon-to-be released series of cards. END