summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix stupid patch(1) tricks. Apparently patch thinks all files match thebrooks2004-05-274-251/+0
| | | | | | | empty file so if you accidently apply a patch created with diff -N twice, you get files with duplicate contents. Reported by: Antoine Brodin <antoine.brodin at laposte.net>
* Fixing disorder is the hardest thing in the world: Learn to sort :-)imp2004-05-271-1/+2
| | | | Submitted by: bde
* POLA dictates that VLAN_MTU be enabled by default.yar2004-05-271-1/+7
| | | | | | | | In particular, disabling it was likely to break configurations involving ng_vlan(4) since the latter couldn't control the parent's VLAN_MTU in the way vlan(4) did. Pointed out by: ru
* Fix an off-by-one error in the range check for the maximal -i or -ojoerg2004-05-271-2/+2
| | | | block size.
* Make "envctrl" a known master driver for iicbus.joerg2004-05-271-0/+1
|
* Correct some types in the yp structures; this fixes a number of problemstmm2004-05-271-14/+14
| | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code.
* Touch .Dd because the content of the manpage has been updated.yar2004-05-271-1/+1
| | | | Pointed out by: ru
* Buffer partial wide characters more efficiently: instead of storing thetjr2004-05-271-31/+46
| | | | | | multibyte representation in conversion state objects, store the accumulated wide character, set number and number of bytes remaining to avoid having to derive them every time mbrtowc() is called.
* Bring back the macro versions of getwc(), getwchar(), putwc() andtjr2004-05-272-0/+15
| | | | | putwchar(), but this time avoid redundantly declaring __stdinp and __stdoutp when source files include both <stdio.h> and <wchar.h>.
* Previously, restoring an archive with hardlinked files that hadkientzle2004-05-272-95/+149
| | | | | | | | | | | | certain flags set (e.g., schg or uappend) would fail because the flags were restored before the hardlink was created. To address this, I've generalized the existing machinery for deferring directory timestamp/mode restoration and used it to defer the restoration of highly-restrictive flags to the end of the extraction, after any links have been created. Pointed out by: Pawel Jakub Dawidek (pjd@)
* Minor corrections to error handling and user notifications:kientzle2004-05-271-23/+26
| | | | | | | | * Move format/compression reporting to end of output, since we don't always know the input format until then. * Set bsdtar exit value to 1 if any file could not be restored. * Generate gtar-style warning when stripping leading '/' characters. * Warn when removing symlinks.
* Provide framework for exiting with non-zero value on non-critical errors.kientzle2004-05-272-1/+3
|
* Document support for reading .Z compressed archives.kientzle2004-05-272-17/+15
| | | | Correct a few other minor nits.
* GC some no-longer-used constants.kientzle2004-05-271-2/+0
|
* Add prototypes for .Z compression support.kientzle2004-05-272-0/+4
|
* Add read-only support for .Z compressed archives.kientzle2004-05-271-0/+471
|
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewimp2004-05-2718-84/+50
| | | | | | redundant includes and fix some of the include disordering. Submitted by: bde
* These are now not needed, after repo copy and conversion.imp2004-05-272-186/+0
|
* Sort includes, remove unnecssary ones.imp2004-05-271-10/+3
| | | | Submitted by: bde
* Those sysctls shouldn't be writtable from inside a jail.pjd2004-05-261-2/+2
|
* Use new eui64(3) functions to print EUI-64s and to allow access to nodesbrooks2004-05-263-21/+87
| | | | | | by EUI-64 and name. Reviewed by: simokawa
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isbrooks2004-05-2611-2/+1172
| | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa
* Add PCI ID for via 8237.matk2004-05-261-0/+4
| | | | | | Submitted by: Josh Elsasser <jre@vineyard.net> Approved by: tanimura (mentor) PR: kern/61730
* It seems that clearing the MCR_IE bit in the modem control registertmm2004-05-261-22/+23
| | | | | | | | | | | | | | | | | does not reliably prevent the triggering of interrupts for all supported configurations. Thus, the FIFO size probe could cause an interrupt, which could lead to an interrupt storm in the shared interrupt case. To prevent this, change ns8250_bus_probe() to use the overflow bit in the line status register instead of the RX ready bit in the interrupt identification register to detect whether the FIFO has filled up. This allows us to clear all bits in the interrupt enable register during the probe, which should prevent interrupts reliably. Additionally, the detected FIFO size may be a bit more accurate, because the overflow bit is only set when the FIFO did actually fill up, while interrupts would trigger a bit early. Reviewed and tested on a lot of hardware by: marcel
* Silence some constness and printf type warnings. Most of thedwmalone2004-05-261-12/+14
| | | | | const fixes are ugly 'cos the types in an iovec aren't quite right for a writev.
* Unbreak build ifjosef2004-05-261-1/+1
| | | | | | | | | options BKTR_USE_FREEBSD_SMBUS is defined in kernel configuration. Submitted by: Tom Convery <tpc@tomfoo.com> PR: kern/60458 Approved by: imp
* Fix order.pjd2004-05-261-2/+2
|
* Sysctl hw.bus.devctl_disable shouldn't be writtable from inside a jail.pjd2004-05-261-3/+2
| | | | Approved by: imp
* Add pccarddevs.h and usbdevs.h as depends, ala miidevs.h, in the rightimp2004-05-261-5/+5
| | | | | | | places. This should have been committed last night with the rest of my changes, but wasn't. Pointy hat to: imp
* MFi386: revision 1.493.nyan2004-05-261-2/+2
|
* Retire cpu_sched_exit(); it is not used any more.tmm2004-05-2610-49/+0
|
* Move the per-CPU vmspace pointer fixup that is required before atmm2004-05-265-36/+41
| | | | | | | | | | | | | struct vmspace is freed from cpu_sched_exit() to pmap_release(). This has the advantage of being able to rely on MI code to decide when a free should occur, instead of having to inspect the reference count ourselves. At the same time, turn the per-CPU vmspace pointer into a pmap pointer, so that pmap_release() can deal with pmaps exclusively. Reviewed (and embrassing bug spotted) by: jake
* if_printf() won't emit a newline unless told to.yar2004-05-261-2/+3
|
* Dump some more informations:pjd2004-05-262-36/+57
| | | | | | | | | - device state - list of used providers - total number of disks - number of disks online Prodded by: Alex Deiter <tiamat@komi.mts.ru>
* Update the status of VLAN support in interface drivers.yar2004-05-261-0/+9
|
* Print provider's size in human-readable form as well.pjd2004-05-262-3/+7
|
* Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in structbde2004-05-262-6/+20
| | | | | | | | | | gmon and struct gmonhdr was originally just to represent the kernel (profiling) clock frequency and it remains poorly suited to representing the frequencies of fast counters like the TSC. It broke a year or two ago. This quick fix keeps it working for another year or month or two until TSC frequencies can exceed 2^32, by dividing the frequency by 2. Dividing the frequency by 4 would work for a little longer but would lose a little too much precision.
* MFamd64:bde2004-05-264-10/+34
| | | | | | | | | | | | | | | | | | | | Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/exception.s. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .s files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler.
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-2650-1231/+66
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Fix disorder introduce in 1.862 by sorting emu10k before miidevs.h,imp2004-05-261-5/+5
| | | | | | rather than after. bde inspired words: disorder
* devlist2h.awk is too generic a name for what it does. It reallyimp2004-05-263-151/+4
| | | | | | | | converts miidevs to a .h file, so rename to reflect that. The usb and pccard versions have also been renamed and will be hooked into the build system shortly (I've made the conversion in my p4 tree).
* Keepalive timer should be added if we does not have any sppp consumers beforerik2004-05-251-2/+2
| | | | and should be deleted if we do not have any anymore.
* Humanize_number(3) is a part of libutil.pjd2004-05-251-0/+2
|
* 'ld' lists drives, not volumes.le2004-05-252-3/+3
|
* Definition of recursion.wollman2004-05-251-0/+6
|
* You want to include libutil.h, not util.h.trhodes2004-05-251-4/+7
| | | | Some minor sentence tweaking.
* MFS: vm_map.c rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATEdes2004-05-251-1/+5
| | | | semantics but provide a sysctl knob for reverting to old ones.
* Back out previous commit; it went to the wrong file.des2004-05-251-8/+1
|
* Fix spellingbrueffer2004-05-251-1/+1
|
* MFS: rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATE semantics butdes2004-05-251-1/+8
| | | | provide a sysctl knob for reverting to old ones.
OpenPOWER on IntegriCloud