ƒ°d90437 207 1756 134 239 514 147 121 121 458 399 398 235 1184 188 235 326 124 189 175 192 250 234 187 332 112 232 220 186 176 223 113 111 345 108 117 254 260 129 141 151 412 347 181 289 390 190 261 293 144 158 189 225 261 175 139 147 274 170 151 244 442 511 158 146 232 153 182 482 125 128 155 147 177 324 989 505 119 469 104 142 186 309 216 222 112 280 123 189 139 266 590 107 233 283 440 180 277 180 614 243 233 258 238 166 176 115 115 160 180 223 223 247 223 264 311 267 721 180 179 194 255 141 218 247 127 320 152 220 523 120 364 116 116 240 134 632 134 184 617 215 307 300 217 148 223 148 172 148 173 370 140 149 224 147 402 281 312 165 174 199 153 154 479 216 221 138 221 198 276 127 184 196 1640 233 182 350 116 211 177 310 376 313 186 195 232 178 206 131 236 160 130 160 350 803 277 146 164 281 151 182 329 199 254 200 386 137 1129 598 K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-09T23:02:40.000000Z K 7 svn:log V 1660 MFC: device polling code for RELENG_4. Most of the code resides in kern_poll.c, plus device driver modifications to individual drivers to add the *_poll() handler, plus mostly one-line changes to a bunch of other files (listed at the end of this message) to define constants or call the appropriate functions. A device_poll(4) manpage is still missing. It should contain an explaination of what DEVICE_POLLING does, which you can find at http://info.iet.unipi.it/~luigi/polling/ To use this facility: add options DEVICE_POLLING to your kernel config file, and at runtime do sysctl kern.polling.enable=1 At the moment only the "dc", "fxp" and "sis" drivers have been modified to make use of this feature. More drivers will be modified as i have a chance to test them (patches welcome, look at the changes in the above drivers). Work supported by: the Xorp Project (www.xorp.org) sys/kern/kern_poll.c the core of the polling procedures sys/conf/files.i386 kern/kern_poll.c optional device_polling sys/conf/options.i386 DEVICE_POLLING opt_global.h sys/i386/i386/swtch.s hook to poll in the idle loop sys/i386/i386/trap.c hook to poll in traps sys/i386/include/asnames.h #define _idle_poll idle_poll sys/kern/kern_clock.c calls to init and periodic poll handlers sys/net/if.h #define IFF_POLLING 0x10000 sys/net/if_var.h prototypes for functions used in device drivers sys/net/netisr.h NETISR_POLL and NETISR_POLLMORE, renumber NETISR_NETGRAPH (not objected by julian) sys/dev/fxp/if_fxp.c sys/dev/fxp/if_fxpvar.h sys/pci/if_dc.c sys/pci/if_dcreg.h sys/pci/if_sis.c sys/pci/if_sisreg.h device driver modifications END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T00:55:49.000000Z K 7 svn:log V 42 Remove di_inumber since LFS is long gone. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-02-10T01:05:17.000000Z K 7 svn:log V 146 MFC: [Revision 1.107] o Properly check the file descriptor passed to aio_cancel(2). Eliminate some excessive white space from aio_cancel(2). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T01:34:04.000000Z K 7 svn:log V 417 o No longer mount /proc by default on newly installed systems. Almost all facilities that previously relied on /proc have been rewritten to use ptrace(). procfs has presented a substantial security hazard for years, with several user->root compromises in the last few years. Procfs will continue to be available but will require administrator intervention to use. Reviewed by: scottl, jedgar, mike, tmm END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T02:30:53.000000Z K 7 svn:log V 55 It's OK to be pedantic, but long long literals are OK. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T03:12:33.000000Z K 7 svn:log V 28 MFi386: revision 1.307.2.20 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T03:12:59.000000Z K 7 svn:log V 28 MFi386: revision 1.132.2.12 END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-10T03:28:37.000000Z K 7 svn:log V 365 o Use INTR_TYPE_AV (the highest possible) rather than INTR_TYPE_BIO o Don't allow INTR_TYPE_FAST. Since we are sharing the interrupt between CSC and the functions, they can't be FAST because fast interrupts can't be shared. o Add the same workaround for resume that we have in OLDCARD. o Also, return the error from bus_generic_resume rather than ignoring it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-10T03:34:44.000000Z K 7 svn:log V 306 o Use bus_generic_setup_intr instead of bus_setup_intr. o Call bus_generic_setup_intr and check its return value. Don't setup func until we successfully get the interrupt from our parent. o Add comments about some maybe questionable stuff so I can check later to make sure that it really is that way. END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-02-10T04:40:26.000000Z K 7 svn:log V 306 - Add support for autodetection of *.euc?? and *.EUC locales. - ja_JP.eucJP, ja_JP.EUC - ko_KR.eucKR, ko_KR.EUC - zn_CN.eucCN, zn_CN.EUC - Add support for zh_TW.Big5 - Add ja_JP.Shift_JIS alias for ja_JP.SJIS Submitted by: phantom Approved by: Christos Zoulas - TCSH maintainer END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-02-10T04:40:26.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r90446, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:43:22.000000Z K 7 svn:log V 1086 Part I: Update extended attribute API and ABI: o Modify the system call syntax for extattr_{get,set}_{fd,file}() so as not to use the scatter gather API (which appeared not to be used by any consumers, and be less portable), rather, accepts 'data' and 'nbytes' in the style of other simple read/write interfaces. This changes the API and ABI. o Modify system call semantics so that extattr_get_{fd,file}() return a size_t. When performing a read, the number of bytes read will be returned, unless the data pointer is NULL, in which case the number of bytes of data are returned. This changes the API only. o Modify the VOP_GETEXTATTR() vnode operation to accept a *size_t argument so as to return the size, if desirable. If set to NULL, the size will not be returned. o Update various filesystems (pseodofs, ufs) to DTRT. These changes should make extended attributes more useful and more portable. More commits to rebuild the system call files, as well as update userland utilities to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:44:37.000000Z K 7 svn:log V 92 Part II: Update system calls for extended attributes. Rebuild of generated files. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:46:28.000000Z K 7 svn:log V 138 Part III: Update extended attribute system call interface documentation. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:48:26.000000Z K 7 svn:log V 229 Update userland tools to reflect extattr API changes. Note that getextattr has not yet been updated to dynamically allocate a read buffer, although that can now be done. Obtained from: TrustedBSD Project Sponsored by: NAI Labs END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:50:24.000000Z K 7 svn:log V 28 Copyright + license update. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T04:57:08.000000Z K 7 svn:log V 93 Minor style tweaks. Remove an unneeded comment and commented out code that won't be needed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-10T05:04:20.000000Z K 7 svn:log V 83 Null interrupt handlers should be OK, so if we don't have a function, just return. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T05:31:55.000000Z K 7 svn:log V 96 Remove a stray 'const' that slept into extattr_set_vp(), and could result in compiler warnings. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-10T05:45:40.000000Z K 7 svn:log V 156 MFC 1.28: Use new ID scheme. Fix a bug that caused .br domains to be queried twice, by only recursively following ARIN referrals when querying ARIN. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-10T05:47:05.000000Z K 7 svn:log V 140 MFC 1.26: Fix a typo. Don't call options flags. Remove some documentation that is no longer applicable to whois. Bump document date. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-10T05:56:36.000000Z K 7 svn:log V 94 Use the getprogname(3) function instead of directly accessing `__progname'. Submitted by: dd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T06:13:14.000000Z K 7 svn:log V 235 Teach getextattr to query the EA size and allocate appropriate sized buffers before reading the memory. Arguably, the failure modes here are poor, but we can now read >2k EAs. Also, update the copyrights and licenses while I'm here. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T06:14:03.000000Z K 7 svn:log V 16 Update license. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T07:24:08.000000Z K 7 svn:log V 140 s/sysctl -w/sysctl/ (this is not an MFC because -current is not affected) PR: 34778 Submitted by: Nate Eldredge END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T08:19:58.000000Z K 7 svn:log V 128 crdup(9) is not a protocol. PR: 34624 Submitted by: John Nielsen , Hiten Pandya END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T08:52:25.000000Z K 7 svn:log V 95 memrange.h is in sys/. PR: 34460 Submitted by: Bruce Dang , roam END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T10:14:39.000000Z K 7 svn:log V 83 Fixed mouse cursor on a console. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T10:15:41.000000Z K 7 svn:log V 129 - Refine the iskanji1 function. - Print continuous ascii characters at a time. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T10:16:22.000000Z K 7 svn:log V 20 Add needed include. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-10T10:27:37.000000Z K 7 svn:log V 18 Cosmetic changes. END K 10 svn:author V 4 kato K 8 svn:date V 27 2002-02-10T11:23:14.000000Z K 7 svn:log V 251 Cosmetic changes: - Collected i486 identification codes in one place like 586 and 686. - Merged two cases (0x470 and 0x490) for `Enhanced Am486DX4 Write-Back.' - Replaced `unknown' into `Unknown'. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-10T11:43:37.000000Z K 7 svn:log V 13 MFC: www:www END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-10T12:37:52.000000Z K 7 svn:log V 22 Update this to 5.006. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2002-02-10T13:21:18.000000Z K 7 svn:log V 159 Add some system code names. Explicitely list a few unsupported hardware types that gave rise to emailed questions. Add quick note on Miata CPU upgradeability. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2002-02-10T13:22:30.000000Z K 7 svn:log V 165 MFC: Add some system code names. Explicitely list a few unsupported hardware types that gave rise to emailed questions. Add quick note on Miata CPU upgradeability. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-10T14:27:20.000000Z K 7 svn:log V 34 Add this FreeBSD standard header. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-10T15:38:47.000000Z K 7 svn:log V 49 Fill in the uhci_dump_ii function (from NetBSD). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T16:55:35.000000Z K 7 svn:log V 55 Style consistency fix for MAC ioctls added previously. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-02-10T19:18:13.000000Z K 7 svn:log V 314 Call vm_page_zero_idle() from the idle loop on alpha. The code has been there since day 1, but nothing has ever called it. It seems good for a speedup of a few minutes on a buildworld. Note: This is not an MFC as such, since the vm_page_zero_idle() function has moved to MI code in -current Reviewed by: ticso END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-02-10T19:22:48.000000Z K 7 svn:log V 249 Now that alpha prezeros pages, catch up to rev 1.113 of i386/vm/vm_machdep.c from Oct 31, 1998 and rename machdep.cnt_prezero to vm.stats.misc.cnt_prezero. This has gone mostly unnoticed, since the alpha platform hasn't pre-zeroed pages until now. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T19:28:34.000000Z K 7 svn:log V 85 Revert 1.14: VOP_GETATTR() really does require a vnode lock. Confirmed by: mckusick END K 10 svn:author V 5 markm K 8 svn:date V 27 2002-02-10T19:48:19.000000Z K 7 svn:log V 194 Nice set of fixes to use SCRIPT instead of PROG, thus fixing up a lot of nasty STRIP= problems. This has the added side effect if neatening up some leaf makefiles very nicely. Submitted by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T20:45:43.000000Z K 7 svn:log V 293 Make sure to grab vnode lock on a vnode before calling VOP_GETATTR() to perform an ownership test in revoke(). This is also required for MAC hooks so that the vnode lock is held during a call to the MAC framework. Release the lock before calling VOP_REVOKE(). Discussed with: phk, mckusick END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T20:48:22.000000Z K 7 svn:log V 94 Reinforce locking requirement for VOP_REVOKE: the lock must not be held. Discussed with: phk END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T21:07:56.000000Z K 7 svn:log V 169 Don't make it seem like vm.max_proc_mmap only affects MAP_FIXED. PR: 34005 Submitted by: Steven Grady , Hiten Pandya END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T21:29:02.000000Z K 7 svn:log V 196 Add a comment indicating that the vnode locking in this section of the kernel linker code may be wrong: it fails to hold a lock across the call to VOP_GETATTR(), and vn_rdwr() with IO_NODELOCKED. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T21:36:13.000000Z K 7 svn:log V 52 Remove spurious ';' Obtained from: ~bde/sys.dif.gz END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T21:42:44.000000Z K 7 svn:log V 66 Staticize the malloc definitions. Obtained from: ~bde/sys.dif.gz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T21:44:30.000000Z K 7 svn:log V 93 Make sure to hold vnode lock when calling into VOP_GETATTR(). Discussed with: mckusick, phk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T21:45:16.000000Z K 7 svn:log V 128 Add a comment indicating that VOP_GETATTR() is called without appropriate locking in the core dump code. This should be fixed. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-10T21:46:16.000000Z K 7 svn:log V 164 Add a comment indicating that the locking protocol should be updated to be 'L L L' for vop_getattr(). Don't update it yet, because there are still many offenders. END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T22:00:20.000000Z K 7 svn:log V 83 Various nit-picking, mostly of style(9) character. Obtained from: ~bde/sys.dif.gz END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T22:04:44.000000Z K 7 svn:log V 47 Style(9) nits. Obtained from: ~bde/sys.dif.gz END K 10 svn:author V 3 phk K 8 svn:date V 27 2002-02-10T22:07:41.000000Z K 7 svn:log V 55 GC the unused einval() Obtained from: ~bde/sys.dif.gz END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T22:14:09.000000Z K 7 svn:log V 182 Make it clear that dump(8)'s honoring of the UF_NODUMP flag is subject to the -h option. While here, xref chflags(1). PR: 33907 Submitted by: Gary W. Swearingen END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-10T22:22:05.000000Z K 7 svn:log V 79 Silence unused variable warning in the !KLD_MODULE case. Submitted by: archie END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-11T00:03:08.000000Z K 7 svn:log V 54 MFC: 1.23: Add 4 digit variants in the example dates. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-11T00:32:35.000000Z K 7 svn:log V 146 Add a manpage to -STABLE for host.conf(5). Comments by: Gary W. Swearingen PR: docs/28144 Submitted by: bmw@borderware.com END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-02-11T00:50:50.000000Z K 7 svn:log V 345 Make dump's behaviour more sensible when the output file is a fifo. Normally trewind() performs a close-open-close cycle to rewind the tape when closing the device, but this is not ideal for fifos. We now skip the final open-close if the output descriptor is a fifo. PR: bin/25474 Submitted by: Alex Bakhtin MFC after: 1 week END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T01:04:46.000000Z K 7 svn:log V 418 Merge from NetBSD: revs 1.43 + 1.45 From the NetBSD logs: revision 1.45 date: 2001/11/29 11:07:12; author: augustss; state: Exp; lines: +12 -2 Plug a memory leak in an error case. ---------------------------- revision 1.43 date: 2001/10/19 15:30:25; author: nathanw; state: Exp; lines: +5 -3 Match printers that report their interface as IEEE 1284 in addition to bidirectional. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2002-02-11T01:12:30.000000Z K 7 svn:log V 66 MFC 1.56: give LD_LIBRARY_PATH higher precedence. PR: bin/28191 END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T01:18:35.000000Z K 7 svn:log V 55 MFC 1.4-1.7: misc. petty fixes; no functional changes. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T01:21:29.000000Z K 7 svn:log V 140 The routine is dev_depends(); consistently spell it that way. PR: 34047 Submitted by: Maxime Henrion Pointy hat to: dd END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:10:47.000000Z K 7 svn:log V 62 MFC 1.7: suggest using memmove(3) if src and dst may overlap. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:11:52.000000Z K 7 svn:log V 91 MFC 1.22: one can't obtain user connection request data without confirming the connection. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-11T02:13:18.000000Z K 7 svn:log V 389 Move the declaration of panic() from sys/param.h back to sys/systm.h. Almost all .c files have to include for more than its declaration of panic(), so little is gained from declaring panic() in a wrong place. This probably depends on missing garbage collection of the includes of that were added to get snprintf() declared for old versions of the ktr macros. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:15:24.000000Z K 7 svn:log V 34 MFC 1.146: link loop(4) to lo(4). END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:20:04.000000Z K 7 svn:log V 37 MFC 1.17: nuke bogus ERRORS section. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:25:31.000000Z K 7 svn:log V 64 MFC 1.24-1.26: EVFILT_TIMER documentation and consequent fixes. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T02:25:47.000000Z K 7 svn:log V 55 ANSIfy the function declarations, in line with NetBSD. END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-11T02:31:03.000000Z K 7 svn:log V 86 Note what the default address_family is. PR: 32463 Submitted by: Gary W. Swearingen END K 10 svn:author V 6 dbaker K 8 svn:date V 27 2002-02-11T02:34:25.000000Z K 7 svn:log V 228 Comment in the man page and warning in stlload (when stlload fails) to make it clear that the recent PCI cards do not require firmware to be loaded, unlike the completely different ISA cards that are branded with the same name. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T02:57:50.000000Z K 7 svn:log V 896 Merge from NetBSD: revs 1.12 and 1.21 - 1.23 Original NetBSD log messages are: ---------------------------- revision 1.23 date: 2001/12/12 15:48:18; author: augustss; lines: +132 -114 Add a scanner quirk for keeping the pipes open between device opening. Idea from Enami. ---------------------------- revision 1.22 date: 2001/12/03 01:47:13; author: augustss; lines: +8 -16 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.21 date: 2001/12/01 09:42:39; author: enami; lines: +4 -4 Shorten wmesg so that they can be distinguished in ps/top output. ---------------------------- revision 1.12 date: 2001/01/23 14:04:14; author: augustss; lines: +7 -1 Make sure driver attach/detach events are generated in a consistent manner. ---------------------------- PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T03:15:08.000000Z K 7 svn:log V 412 Merge from NetBSD: revs 1.55 and 1.56 Original NetBSD logs: ---------------------------- revision 1.56 date: 2001/12/03 01:47:12; author: augustss; lines: +5 -3 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.55 date: 2001/12/02 23:25:25; author: augustss; lines: +8 -1 Add a subroutine to search for a vendor/product pair. ---------------------------- END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T03:29:35.000000Z K 7 svn:log V 27 Quiet a qualifier warning. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T03:35:53.000000Z K 7 svn:log V 376 Merge from NetBSD. Add lots of new scanner devices: AGFA SNAPSCAN1236U AGFA SNAPSCANE40 AGFA SNAPSCANE50 AGFA SNAPSCANE20 AGFA SNAPSCANE25 AGFA SNAPSCANE26 AGFA SNAPSCANE52 CANON N656U HP 3400CSE SCANLOGIC 336CX MUSTEK BEARPAW1200F MUSTEK 600USB MUSTEK 1200USBPLUS NATIONAL BEARPAW2400 EPSON 640U EPSON 1650 EPSON GT9700F UMAX ASTRA3400 ULTIMA 1200UBPLUS END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T03:36:13.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-11T03:41:59.000000Z K 7 svn:log V 50 Garbage-collect the "LOCORE" version of MPLOCKED. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-11T03:45:29.000000Z K 7 svn:log V 89 Add a tip about pkg_info and checking for multiple installed versions of a package/port. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T03:54:30.000000Z K 7 svn:log V 213 Allow one to specify the AWK used in the environment(commandline). Gawk is blowing up when run natively on the sparc64 -- leading to totally bogus kernel values (all "0x0"). Good ole BWK awk works fine however. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-11T04:19:53.000000Z K 7 svn:log V 122 Added the command name to the synopsis section. Submitted by: NAKAJI Hiroyuki MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2002-02-11T04:48:51.000000Z K 7 svn:log V 126 MFC: o 1.82: reimplement linux_ifname() to match address translation. o 1.83: return all AF_INET addresses for SIOCGIFCONF. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-11T04:50:11.000000Z K 7 svn:log V 19 MFC: Correct typo. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-11T05:46:25.000000Z K 7 svn:log V 186 Fall through from AT_TYPE_DIRECT to AT_TYPE_CDROM. Old ATAPI CD-ROM drives return 0 (direct-access) as the type of the device. (The ata driver has the same problem.) MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T07:09:22.000000Z K 7 svn:log V 28 Document NO_CXX and NO_GDB. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-11T07:32:17.000000Z K 7 svn:log V 96 Move the realpath(1) source into its own directory. Previously, it shared sources with pwd(1). END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-02-11T09:01:04.000000Z K 7 svn:log V 42 MFC rev 1.7: add mailnull and smmsp users END K 10 svn:author V 4 roam K 8 svn:date V 27 2002-02-11T09:03:34.000000Z K 7 svn:log V 172 Describe the '+' option in the -t trace string. PR: 34668 Submitted by: Stefan Farfeleder Reviewed by: dd Approved by: dd MFC after: 1 week END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T10:09:29.000000Z K 7 svn:log V 497 Merge from NetBSD: revs 1.89 and 1.90. Also, add some 'const's to supress warnings. (Submitted back to NetBSD). The original logs from NetBSD: ---------------------------- revision 1.90 date: 2001/12/03 01:47:12; author: augustss; lines: +4 -4 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.89 date: 2001/12/02 23:25:25; author: augustss; lines: +18 -2 Add a subroutine to search for a vendor/product pair. ---------------------------- END K 10 svn:author V 6 yoichi K 8 svn:date V 27 2002-02-11T13:13:02.000000Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-02-11T14:14:42.000000Z K 7 svn:log V 140 Teach ddb(4) to delete to the beginning of its command line on ^U. PR: kern/28976 Submitted by: Nickolai Zeldovich END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-11T14:35:28.000000Z K 7 svn:log V 188 Correct an out of date device node name. We do not have /dev/rsd0.ctl nowadays. Spotted by: Sergey Osokin Reviewed by: ken, ru Approved by: ken, ru MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-02-11T14:37:42.000000Z K 7 svn:log V 347 MFC rev 1.22-23 (thus making rmuser identical in -current and -stable): In remove_at_jobs(): Don't print "Removing at jobs" if there are no jobs to remove. Add a whitespace before "done." so the output looks better. Parse atq(1) output correctly under various (but not all perhaps) locale settings: allow any date and time separator characters. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-11T14:39:57.000000Z K 7 svn:log V 88 Fix some bugs in the ohci driver with respect to irq setup failure. Submitted by: nyan END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-02-11T15:26:20.000000Z K 7 svn:log V 184 Found a single point where rmuser(8) wasn't robust to strange characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-11T15:48:04.000000Z K 7 svn:log V 88 Add support for the HighPoint HPT374 4 channel ATA chip. Sponsored by: Isilon Systems. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-02-11T16:47:05.000000Z K 7 svn:log V 522 Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken (make-roken is a build tool). This bug was hiding itself after a just fixed bug in cross-linker (binutuils/ld/Makefile,v 1.20). The bug was fatal for cross builds; for example, an alpha binary (make-roken) was attempted to be run on i386. Added make-roken to the list of build-tools in libasn1. It only worked because another build tool needs make-roken implicitly: (build-tools: asn1_compile: print_version.o: roken.h: make-roken). Spotted by: nectar END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-11T18:38:54.000000Z K 7 svn:log V 149 o Remove old code from pwd(1); realpath(1) is now in its own directory. o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build. END K 10 svn:author V 4 mike K 8 svn:date V 27 2002-02-11T18:45:29.000000Z K 7 svn:log V 139 Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1', as part of the move to seperate realpath(1) into its own directory. END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-11T20:32:26.000000Z K 7 svn:log V 165 MFC: 1.28. Fix what was a pointless conditional. Use $GCC_EXEC_PREFIX if /etc/gnats does not exist. PR: gnu/33682 Submitted by: Alan Eldridge END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-11T20:37:54.000000Z K 7 svn:log V 142 In a threaded world, differnt priorirites become properties of different entities. Make it so. Reviewed by: jhb@freebsd.org (john baldwin) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-02-11T21:49:18.000000Z K 7 svn:log V 71 MFC: Don't try to attach to Dell PERC2/QC cards that have 1.x firmware END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T22:08:51.000000Z K 7 svn:log V 81 Replace makeobjops.pl in kernel building. Submitted by: Diane Bruce END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T22:09:20.000000Z K 7 svn:log V 20 Turn on makeobjops. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T22:17:08.000000Z K 7 svn:log V 20 Remove unused bits. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T23:04:56.000000Z K 7 svn:log V 65 Revert rev 1.211, kernel building assistants should live in /sys END K 10 svn:author V 6 obrien K 8 svn:date V 27 2002-02-11T23:06:28.000000Z K 7 svn:log V 85 Move makeobjops to /sys so we don't have to deal with the config(8)-like versioning. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-11T23:22:43.000000Z K 7 svn:log V 128 MFC rev 1.128 Remove mbuf exhaustion warning messages; these are handled by the mbuf system in a rate-limited fashion now. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-11T23:26:36.000000Z K 7 svn:log V 128 Remove mbuf exhaustion warning messages; these are handled by the mbuf system in a rate-limited fashion now. MFC after: 3 days END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-11T23:29:15.000000Z K 7 svn:log V 152 Remove mbuf exhaustion warning messages; these are handled by the mbuf system in a rate-limited fashion now. MFC: Already performed due to sloppiness. END K 10 svn:author V 5 silby K 8 svn:date V 27 2002-02-11T23:38:30.000000Z K 7 svn:log V 128 Remove mbuf exhaustion warning messages; these are handled by the mbuf system in a rate-limited fashion now. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-11T23:49:22.000000Z K 7 svn:log V 169 Change sysctl variables from ULONG to UINT, to fixe size problems on the Alpha (yes there is someone who has this working on the Alpha...) Reported-by: Andrew Gallatin END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-11T23:56:18.000000Z K 7 svn:log V 216 MFS: synchronize the code with the version in -stable, specifically: + SYSCTL_ULONG -> SYSCTL_UINT + some procedure renaming and variable rearrangement + fix the 'interface going deaf' problem same as in -stable. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-02-12T00:26:06.000000Z K 7 svn:log V 169 Enable polling to be configured into kernels on non i386 platforms. Note that poll_in_trap is only implemented on i386. I've tested this on alpha. Approved by: luigi END K 10 svn:author V 3 cjc K 8 svn:date V 27 2002-02-12T00:50:01.000000Z K 7 svn:log V 628 MFC 1.1: Put a complete set of pppd(8) sample configuration files in src/share/examples/pppd. MFC 1.5: Remove the out-of-place pppd(8) configuration files in src/etc/ppp, ppp.shells.sample and ppp.deny. ppp.shells.sample and ppp.deny, were moved to src/share/examples/pppd with a repo copy. Commit "fresh" versions to RELENG_4. MFC 1.22: Update pppd(8) documentation to reflect this, src/usr.sbin/pppd/pppd.8. MFC 1.273, 1.253: Make the appropriate changes to the build process, src/etc/Makefile and src/etc/mtree/BSD.usr.mtree, so it all works. Submitted by: Maxim Konovalov provided the new samples. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-02-12T01:20:50.000000Z K 7 svn:log V 83 add enable_intr() and disable_intr() which are required for DEVICE_POLL in -stable END K 10 svn:author V 6 msmith K 8 svn:date V 27 2002-02-12T01:28:49.000000Z K 7 svn:log V 84 Don't claim to have routed an interrupt when the method actually returned an error. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2002-02-12T01:56:28.000000Z K 7 svn:log V 97 Add DEVICE_POLLING hook for alpha. Not an MFC, really, since the hook is in MI code in -current END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2002-02-12T02:03:50.000000Z K 7 svn:log V 159 When a duplicate SYN arrives which matches an entry in the syncache, update our lazy reference to the inpcb structure, as it may have changed. Found by: dima END K 10 svn:author V 4 kato K 8 svn:date V 27 2002-02-12T03:17:12.000000Z K 7 svn:log V 48 MFC: revision 1.99 (recognize VIA C3 Samuel 2). END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-02-12T04:21:28.000000Z K 7 svn:log V 125 The previous commit included a change to fill_kinfo_proc() that results in a NULL pointer dereference. Repair this mistake. END K 10 svn:author V 2 mp K 8 svn:date V 27 2002-02-12T04:50:12.000000Z K 7 svn:log V 155 Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh. PR: misc/34800 (from Steven Grady) Submitted by: phantom (patch) MFC after: 3 days END K 10 svn:author V 2 dd K 8 svn:date V 27 2002-02-12T05:01:53.000000Z K 7 svn:log V 36 MFC 1.176, 1.180: silence warnings. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-12T05:32:58.000000Z K 7 svn:log V 227 Two fixes from Jonathan Hanna: 1) We shouldn't continue when we get a RX complete because we ack it and the TX complete. 2) Fix a couple of spl leaks (why splbio is needed in ISR, I cannot understand). MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-02-12T05:50:43.000000Z K 7 svn:log V 60 Remove an unused (but initialized) variable from vmapbuf(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-02-12T09:50:16.000000Z K 7 svn:log V 125 * Update (c) * Expand on the definition of the -s (strict) option, at the suggestion of Gary W. Swearingen, swear@blarg.net. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2002-02-12T09:54:56.000000Z K 7 svn:log V 428 * Update (c) * Fix a problem with files that have no CVS $Id's. Thanks to naddy for spotting this one. It wasn't a _huge_ problem since almost all the files we install (except motd) have one, but still, it's a bug. * Add a divider between diff outputs, which is helpful both for logs, and for giving a good visual clue for diffs that are smaller than $LINES. Another helpful suggestion from Gary W. Swearingen, swear@blarg.net. END K 10 svn:author V 2 ru K 8 svn:date V 27 2002-02-12T10:12:13.000000Z K 7 svn:log V 29 mdoc(7) police: markup nits. END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-12T11:35:15.000000Z K 7 svn:log V 271 Major update of the ATA RAID code, part 2: More cleanups of the RAID1 failure mode code. Add functionality that writes the changed RAID config setup back to the disks (in controller BIOS specific format), so that a reboot will make the BIOS pick up the changed config. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-12T13:21:13.000000Z K 7 svn:log V 23 MFi386: revision 1.391 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2002-02-12T13:21:32.000000Z K 7 svn:log V 23 MFi386: revision 1.164 END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-12T13:21:51.000000Z K 7 svn:log V 147 Fix buglets in the ATAPI resume code. This also fixes an old bug where some ATAPI devices went into funny mode on an 'atacontrol reinit' command. END K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2002-02-12T14:48:25.000000Z K 7 svn:log V 37 MFC rev 1.82: uncomment kerberos-adm END K 10 svn:author V 8 matusita K 8 svn:date V 27 2002-02-12T16:56:06.000000Z K 7 svn:log V 534 Mkdir ${CHROOTDIR}/usr/ports/distfiles if RELEASEDISTFILES is not set. We ensure that 'ports.tgz' tarball should have ports/distfiles directory. At first, ${CHROOTDIR}/usr/ports is empty (rm -rf ports), then extract ports files from CVS repository. Then if RELEASEDISTFILES is defined, ${CHROOTDIR}/usr/ports/distfiles directory is created by cp(1). However, if you don't specify RELEASEDISTFILES, there is no chance to create ${CHROOTDIR}/usr/ports/distfiles directory. Submitted by: {ushi,tora}.jp.FreeBSD.org MFC after: 5 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2002-02-12T16:59:28.000000Z K 7 svn:log V 42 Add support for the Cenatek Rocket Drive. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-02-12T17:15:45.000000Z K 7 svn:log V 88 Don't refer to findinode()'s `complain' parameter in a comment; it was removed in 1986. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-12T17:25:11.000000Z K 7 svn:log V 522 Fix the scripts for diskless boot. Apart from various changes in the comments to reflect reality and explain the boot process a bit better, the main changes are the following: rc.diskless1: Use -b 4096 -f 1024 as mount parameters, and increase the /etc MFS partition size to 8192 blocks. Initially populate /etc from /conf/base/etc rc.diskless2: Use -b 4096 -f 1024 as mount parameters, move "mount -a" up a bit so various utilities located in /usr can be actually run when /usr is not on the same filesystem as / END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-12T17:33:40.000000Z K 7 svn:log V 120 Make a copy of /etc into /conf/base for use during /etc/rc.diskless1 Add -ro in the example /etc/exports configuration. END K 10 svn:author V 3 alc K 8 svn:date V 27 2002-02-12T17:40:41.000000Z K 7 svn:log V 214 o Clearing p/td_retval[0] after aio_newproc() is unnecessary. (We stopped calling rfork() to create aio threads in revision 1.46.) o Don't recompute the FILE * when it's already stored in the kernel's AIOCB. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-12T17:43:11.000000Z K 7 svn:log V 205 Add a comment at the beginning of the file mentioning that the actual diskless boot process is slightly different from what is described here, and point to the place where to look for the correct details. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-12T17:49:13.000000Z K 7 svn:log V 122 Add a comment on how up-to date is the information in this file and point to other, potentially more up-to-date, sources. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-12T17:51:48.000000Z K 7 svn:log V 52 Unbreak fr_CH locale Found by: tools/diag/localeck END K 10 svn:author V 6 brooks K 8 svn:date V 27 2002-02-12T17:52:11.000000Z K 7 svn:log V 127 Add support for the Linksys WMP-11, Prism 2.5, PCI adaptor. Submitted by: Thomas Skibo MFC after: 2 weeks END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-12T18:04:15.000000Z K 7 svn:log V 52 Unbreak it_CH locale Found by: tools/diag/localeck END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-02-12T18:21:20.000000Z K 7 svn:log V 77 MFC: (rev. 1.22) Turn off hardware checksum, etc. when "upper" is connected. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-12T18:23:21.000000Z K 7 svn:log V 52 Unbreak fr_BE locale Found by: tools/diag/localeck END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-02-12T18:33:10.000000Z K 7 svn:log V 78 Fix bug in previous commit. Submitted by: Harti Brandt END K 10 svn:author V 5 luigi K 8 svn:date V 27 2002-02-12T18:36:23.000000Z K 7 svn:log V 275 Make the fs use 8k/1k blocks as 4:1 ratios are reported to give trouble sometimes. Probably 4096/512 would be ok too, but since i do not have a chance now to test it thoroughly i prefer to stay on the safe side (8k/1k is what was used before 4.5). Suggested-by: Warner Losh END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-02-12T18:37:43.000000Z K 7 svn:log V 45 MFC: (rev. 1.15) Fix bug in previous commit. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-12T18:40:57.000000Z K 7 svn:log V 53 Unbreak nl_BE locales Found by: tools/diag/localeck END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-12T20:13:38.000000Z K 7 svn:log V 128 MFC 1.52. maxusers could be set to 0 in the kernel config. Also allow it to be set to zero in the kern.maxusers boot tunable. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-12T21:06:48.000000Z K 7 svn:log V 50 Move do_cpuid() from a identcpu.c into cpufunc.h. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2002-02-12T21:13:02.000000Z K 7 svn:log V 304 Add an option CPU_ATHLON_SSE_HACK which attempts to enable the SSE feature bit on newer Athlon CPUs if the BIOS has forgotten to enable it. This patch was constructed using some info made available by John Clemens at http://www.deater.net/john/PavilionN5430.html Reviewed by: -audit MFC after: 3 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2002-02-12T23:38:40.000000Z K 7 svn:log V 188 ^U kills an entire input line in most applications, including the default terminal canonical mode. So let ddb(4) be no exception from this rule. Pointed out by: Mark Peek END K 10 svn:author V 6 julian K 8 svn:date V 27 2002-02-13T00:10:04.000000Z K 7 svn:log V 216 I THINK this fixes 'make world' I'll know as soon as I re-import it and compile it.. :-) There is no longer a 'pri' strict in the proc struct. the fields are scattered between the ksegrp and thread in question. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2002-02-13T00:43:12.000000Z K 7 svn:log V 70 MFC remove the MFREE() mbuf macro and cleanup twists in related code. END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-02-13T00:58:49.000000Z K 7 svn:log V 79 Fix another bug in handling of multi-link sequence numbers. MFC after: 1 week END K 10 svn:author V 6 archie K 8 svn:date V 27 2002-02-13T01:01:11.000000Z K 7 svn:log V 103 Forced commit; the previous bug-fix commit was.. Submitted by: John Wiersema END K 10 svn:author V 5 benno K 8 svn:date V 27 2002-02-13T01:23:22.000000Z K 7 svn:log V 59 MFC: Detect Intel 82830 (i830 chipset) host to AGP bridge. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-02-13T07:44:43.000000Z K 7 svn:log V 59 Add ID's for a couple of upcoming cards. MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2002-02-13T07:44:59.000000Z K 7 svn:log V 382 Remove WITNESS from GENERIC by default: as we grow more locks, this gets slower, and may be impeding adoption of -CURRENT by developers. We recommend turning on WITNESS by default on crash boxes, and when doing locking development. It will probably get turned on by default for a week or two following any major locking commits, also. Approved by: all and sundry (jhb, phk, ...) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-13T08:12:00.000000Z K 7 svn:log V 121 MFC rev 1.52: fix tabbing damage. Kicked by: Sergey Osokin Reviewed by: obrien, ru Approved by: ru END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-13T08:21:45.000000Z K 7 svn:log V 126 Fix a typo in swat example. Spotted by: Sergey Osokin Reviewed by: ru Approved by: ru MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2002-02-13T08:28:44.000000Z K 7 svn:log V 43 MFC: Add support for a couple of new cards END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-13T08:37:55.000000Z K 7 svn:log V 126 Unlink all log sockets at startup. PR: misc/34839 Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-13T08:49:29.000000Z K 7 svn:log V 103 Remove unnecessary setjmp.h. Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2002-02-13T09:00:05.000000Z K 7 svn:log V 181 Fix infinite loop around sendfile(2) after sending >4GB file. PR: bin/33770 Submitted by: Vladislav Shabanov Reviewed by: ru Approved by: ru MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-13T09:30:47.000000Z K 7 svn:log V 35 Use new-style function declations. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-13T09:33:00.000000Z K 7 svn:log V 92 Make the user_from_uid and group_from_gid prototypes match the actual function definitions. END K 10 svn:author V 3 imp K 8 svn:date V 27 2002-02-13T10:11:38.000000Z K 7 svn:log V 103 Revert 1.29. It breaks the build. Will figure out a better way to do this that doesn't break things. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-02-13T12:06:58.000000Z K 7 svn:log V 1542 Fix a number of long-standing restore bugs in tape.c, mainly relating to multi-volume restores: - In findinode(), keep a copy of header->c_type so that we don't exit the do-while loop until we have processed the current header. Exiting too early leaves curfile.ino set to 0, which confuses the logic in createfiles(), so multi-volume restores with the 'x' command don't work if you follow the instructions and supply the tapes in reverse order. This appears to have been broken by CSRG revision 5.33 tape.c (Oct 1992). - The logic in getvol() for deciding how many records to skip after the volume header was confused; sometimes it would skip too few records and sometimes too many, leading to "resync restore" warnings and missing files. Skip to the next header only when the current action is not `USING'. Work around a dump bug that sets c_count incorrectly in the volume header of the first tape. Some of the problems here date back to at least 1991. - Back out revision 1.23. This appeared to avoid warnings about missing files in the 'rN' verification case, but it made the problems with the 'x' command worse by stopping getvol() from even attempting to find the first inode number on the newly inserted tape. The bug it addressed is fixed by correcting the skipping logic as described above. - Save the value of `tpblksread' in case the wrong volume is supplied, because it is incremented each time we read a volume header. We already saved `blksread' for the same reson. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-13T13:00:33.000000Z K 7 svn:log V 136 * Don't SEGFAULT on attempt to write nothing (if no source files were specified) * Don't print currline if it's NULL MFC after: 3 days END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:35:22.000000Z K 7 svn:log V 90 Minor bug fixes (add a missing break, correct the resource ranges, remove a memory leak). END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:40:05.000000Z K 7 svn:log V 257 Add a few new functions/macros: intr_disable() and intr_restore() to disable interrupts completely, and stxa_sync(), which performs a store immediately followed by a membar #Sync with interrupts disabled (this is needed for writes to diagnostic registers). END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:43:42.000000Z K 7 svn:log V 24 Fix typos in a comment. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:44:58.000000Z K 7 svn:log V 118 Don't panic when no interrupt map can be found for a PCI bus; this seems to happen on some models, like the Netra T1. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:47:12.000000Z K 7 svn:log V 85 Define constants for the CPU implementation id; export the dectected id as cpu_impl. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:51:57.000000Z K 7 svn:log V 217 Clean up bus space debugging support; change sparc64_bus_mem_map() to take a bus tag and handle as argument instead of a i/o space id and a physical address, now that nexus handles device memory resource allocations. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T15:59:17.000000Z K 7 svn:log V 283 Merge r1.42 of iommu.c and r1.9 of iommuvar.h from NetBSD (this adds support for managing both streaming caches on psycho pairs). Use explicit bus space accesses instead of mapping the device memory into kva. Move DVMA allocation to the map creation/dma memory allocation functions. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:07:59.000000Z K 7 svn:log V 220 Merge r1.39 from NetBSD (manage both streaming caches for psycho pairs). Use explicit bus space accesses instead of mapping the device memory into kva. Fix support for psycho pairs, and catch up with iommu code changes. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:11:36.000000Z K 7 svn:log V 94 Add support for the SBus, which is used in early Sun UltraSPARC machines. Ported from NetBSD. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:16:36.000000Z K 7 svn:log V 102 Add support for the counter-timer which is included in the Sun U2S and U2P bridges as a time counter. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:20:38.000000Z K 7 svn:log V 139 Use stxa_sync() when accessing the diagnostic registers to invalidate caches; this is needed to avoid undefined behaviour. Clean up a bit. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:25:33.000000Z K 7 svn:log V 86 Use stxa_sync() when accessing the LSU control register to avoid undefined behaviour. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:28:40.000000Z K 7 svn:log V 113 Add the counter-timer node to the exclusion list, as it is handled specially. While being there, sort that list. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:29:51.000000Z K 7 svn:log V 39 Add counter.c and sbus.c. Unify style. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T16:36:44.000000Z K 7 svn:log V 143 Avoid crashing in early boot when WITNESS is enabled by moving the mtx_init() for intr_table_lock after the globaldata pointer initialization. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-02-13T17:05:56.000000Z K 7 svn:log V 68 Calculate physmem before calling init_param2(). Submitted by: jake END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-13T18:16:34.000000Z K 7 svn:log V 34 Correct NLSOWN and NLSGRP values. END K 10 svn:author V 7 phantom K 8 svn:date V 27 2002-02-13T18:18:13.000000Z K 7 svn:log V 64 Correct comment: mklocale(1) and NLS are absolutely independent END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2002-02-13T18:19:27.000000Z K 7 svn:log V 252 - Added support for receive in multiple descriptors. This simplifies code for jumbo frames. - Cleaned up coding conventions to make code more unix-like. - Cleaned up code in if_em_fxhw.c and if_em_phy.c. Added relevant comments. MFC after: 1 week END K 10 svn:author V 6 alfred K 8 svn:date V 27 2002-02-13T18:47:50.000000Z K 7 svn:log V 707 Re-enable WITNESS for GENERIC. Since the 5.x branch is mostly about SMP we'd like as much feedback as possible from users about possible locking problems as early as possible. To negate most of the performance impact I've also enabled WITNESS_SKIPSPIN. I've done this as we've been running WITNESS over the spinlock code for a while without incident and it goes a long way to making the performance problems of WITNESS much more bearable. Users who should be running current should know about turning WITNESS off for performance reasons. That said and done, WITNESS could/should be made into a tuneable, but we'll leave that as an excersize to those that want to disable it without a kernel recompile. END K 10 svn:author V 5 brian K 8 svn:date V 27 2002-02-13T19:10:07.000000Z K 7 svn:log V 182 Set rc=1 rather than 0 so that setting daily_show_success=YES masks the output of all goes well. PR: 34825 Submitted by: Valentin Nechayev MFC after: 3 weeks END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2002-02-13T19:36:14.000000Z K 7 svn:log V 53 remove superflous empty line (in preparation to MFC) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2002-02-13T19:36:15.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-13T21:38:48.000000Z K 7 svn:log V 188 Don't confuse a struct with its first member. This fixes: ./@/i386/i386/machdep.c: In function `init386': ./@/i386/i386/machdep.c:1700: warning: assignment from incompatible pointer type END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2002-02-13T21:38:56.000000Z K 7 svn:log V 58 MFC: ARP support for variable length link level addresses END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2002-02-13T22:33:42.000000Z K 7 svn:log V 89 MFC: - generic Arcnet framework - device driver for SMC COM90cx6 Arcnet network adapters END K 10 svn:author V 6 dbaker K 8 svn:date V 27 2002-02-13T22:55:45.000000Z K 7 svn:log V 233 MFC: Comment in the man page and warning in stlload (when stlload fails) to make it clear that the recent PCI cards do not require firmware to be loaded, unlike the completely different ISA cards that are branded with the same name. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-14T00:32:03.000000Z K 7 svn:log V 106 Reinstate revision 1.14. The empty uscannerioctl() was accidently re-added during a recent NetBSD merge. END K 10 svn:author V 3 joe K 8 svn:date V 27 2002-02-14T00:35:03.000000Z K 7 svn:log V 161 Rework revision 1.12, and wrap the bmaj entry with an #if doesn't compile it in on FreeBSD-current, but does in all other cases (-stable, NetBSD, OpenBSD, etc). END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-14T01:21:07.000000Z K 7 svn:log V 102 Typo fix: Usally -> Usually. PR: docs/34918 Submitted by: Harry Newton END K 10 svn:author V 3 bde K 8 svn:date V 27 2002-02-14T01:21:23.000000Z K 7 svn:log V 293 Fixed sign extension bugs in previous commit. They didn't completely break scheduling because negative priorities were most fixed up by converting kg_pri_user back to the correct type. Fixed some style bugs in previous commit (non-terminated sentence fragments and regressions in comments). END K 10 svn:author V 8 keramida K 8 svn:date V 27 2002-02-14T01:22:35.000000Z K 7 svn:log V 40 MFC: 1.11: Typo fix: Usally -> Usually. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2002-02-14T01:30:45.000000Z K 7 svn:log V 1031 In createfiles(), properly handle a number of cases where no further volumes are available, instead of getting stuck in a loop calling getvol(). Normally restore in 'x' or 'i' modes will ask for a new (earlier) volume when the current inode number on the tape is greater than the last inode to be restored, since there can be no further inodes of interest on that volume. However we don't want to change volumes in this case either if the user explicitly said that there are no more tapes, or if we are looking at the first volume. When no more volumes are available but there are still inodes that we have not found, we now just fall through to the code that prints out a list of any missing files, so the restore completes normally. Also simplify the logic a bit by always returning to the start of the main for(;;) loop whenever the volume has changed. This should completely fix the "Changing volumes on pipe input" bug that is often observed when restoring dumps of active filesystems. PR: bin/4176, bin/34604, misc/34675 END K 10 svn:author V 5 benno K 8 svn:date V 27 2002-02-14T01:39:11.000000Z K 7 svn:log V 503 Complete rework of the PowerPC pmap and a number of other bits in the early boot sequence. The new pmap.c is based on NetBSD's newer pmap.c (for the mpc6xx processors) which is 70% faster than the older code that the original pmap.c was based on. It has also been based on the framework established by jake's initial sparc64 pmap.c. There is no change to how far the kernel gets (it makes it to the mountroot prompt in psim) but the new pmap code is a lot cleaner. Obtained from: NetBSD (pmap code) END