aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* First release of ixgb driver for the Intel(R) PRO/10GbE Family of Adapters. ↵Tony Ackerman2004-05-2813-0/+6312
| | | | | | | | | | | | | | This driver has been developed for use with FreeBSD, version 4.8 and later. Submitted by: Hema Joyce Reviewed by: Prafulla Deuskar Approved by: Prafulla Deuskar MFC after: 1 week Notes: svn path=/head/; revision=129794
* Add FreeBSD 4.10-RELEASE.Hiroki Sato2004-05-281-4/+10
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=129793
* give out a little more information in case of a missing dependencyOliver Eikemeier2004-05-281-1/+6
| | | | | | | | | | | PR: 56549 Submitted by: edwin Reviewed by: joerg, ru Approved by: joerg MFC after: 2 weeks Notes: svn path=/head/; revision=129792
* Connect libarchive decompress support to the build.Tim Kientzle2004-05-273-2/+7
| | | | | | | | Also, add it to archive_read_support_compression_all() so that typical clients get it pulled in by default. Notes: svn path=/head/; revision=129791
* FreeBSD-ify the manpage. Our inetd does not support bind-address:port syntaxMax Laier2004-05-271-1/+3
| | | | | | | | | | | Christian will follow up with some additional words about how to protect this from the outside world. Submitted-by: brueffer Approved-by: bms(mentor) Notes: svn path=/head/; revision=129790
* Add ftp-proxy 8021/tcp in order to make the inetd.conf entry actually work.Max Laier2004-05-271-0/+1
| | | | | | | | Submitted-by: brueffer Approved-by: bms(mentor) Notes: svn path=/head/; revision=129789
* Use rman_get_start in preference to reaching into the rman structure.Warner Losh2004-05-271-1/+1
| | | | Notes: svn path=/head/; revision=129787
* 'gnutar' is now handled by the 'tar' reader, soTim Kientzle2004-05-271-2/+1
| | | | | | | | | | there's no need to enable support for it separately from 'tar.' (The call to enable gnutar support is now just an alias for the tar support, left in to avoid API breakage.) Notes: svn path=/head/; revision=129786
* Call nfsm_clget_nolock() instead of nfsm_clget() when holding the NFSRobert Watson2004-05-271-1/+1
| | | | | | | | | subsystem lock to avoid tripping over an assertion regarding whether the lock is held or not. This is likely to be the cause of a panic tripped over by Andrea Campi. Notes: svn path=/head/; revision=129785
* Check for >= 255 since sign extension from byte to u_int sometimes makesNate Lawson2004-05-272-43/+40
| | | | | | | | | | | the value for "unknown" 0xffffffff. The underlying kernel drivers should be updated to only return 255 but the ABI is used by too many userland utilities. Also, make this WARNS 6 compatible. Notes: svn path=/head/; revision=129784
* Restructure the wake GPE API. Now there are three functions:Nate Lawson2004-05-274-186/+285
| | | | | | | | | | | | | | | | | | | | | acpi_wake_init: Evaluate _PRW and set the GPE type acpi_wake_set_enable: Enable or disable a device's GPE. acpi_wake_sleep_prep: Perform any last-minute changes to the device to prepare it for entering the given sleep state. Also, walk the entire namespace when transitioning to a sleep state, disabling any GPEs which aren't appropriate for the given state. Transition acpi_lid and acpi_button to the new API. This clears the way for non-ACPI-aware devices to wake the system (i.e. modems) and fixes a problem where systems power up after shutdown when a GPE is triggered. Notes: svn path=/head/; revision=129783
* Fix stupid patch(1) tricks. Apparently patch thinks all files match theBrooks Davis2004-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> Notes: svn path=/head/; revision=129782
* Fixing disorder is the hardest thing in the world: Learn to sort :-)Warner Losh2004-05-271-1/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=129781
* POLA dictates that VLAN_MTU be enabled by default.Yaroslav Tykhiy2004-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 Notes: svn path=/head/; revision=129780
* Fix an off-by-one error in the range check for the maximal -i or -oJoerg Wunsch2004-05-271-2/+2
| | | | | | | block size. Notes: svn path=/head/; revision=129779
* Make "envctrl" a known master driver for iicbus.Joerg Wunsch2004-05-271-0/+1
| | | | Notes: svn path=/head/; revision=129778
* Correct some types in the yp structures; this fixes a number of problemsThomas Moestl2004-05-271-14/+14
| | | | | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code. Notes: svn path=/head/; revision=129777
* Touch .Dd because the content of the manpage has been updated.Yaroslav Tykhiy2004-05-271-1/+1
| | | | | | | Pointed out by: ru Notes: svn path=/head/; revision=129776
* Buffer partial wide characters more efficiently: instead of storing theTim J. Robbins2004-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. Notes: svn path=/head/; revision=129775
* Bring back the macro versions of getwc(), getwchar(), putwc() andTim J. Robbins2004-05-272-0/+15
| | | | | | | | putwchar(), but this time avoid redundantly declaring __stdinp and __stdoutp when source files include both <stdio.h> and <wchar.h>. Notes: svn path=/head/; revision=129774
* Previously, restoring an archive with hardlinked files that hadTim Kientzle2004-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@) Notes: svn path=/head/; revision=129771
* Minor corrections to error handling and user notifications:Tim 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. Notes: svn path=/head/; revision=129770
* Provide framework for exiting with non-zero value on non-critical errors.Tim Kientzle2004-05-272-1/+3
| | | | Notes: svn path=/head/; revision=129769
* Document support for reading .Z compressed archives.Tim Kientzle2004-05-272-17/+15
| | | | | | | Correct a few other minor nits. Notes: svn path=/head/; revision=129768
* GC some no-longer-used constants.Tim Kientzle2004-05-271-2/+0
| | | | Notes: svn path=/head/; revision=129767
* Add prototypes for .Z compression support.Tim Kientzle2004-05-272-0/+4
| | | | Notes: svn path=/head/; revision=129766
* Add read-only support for .Z compressed archives.Tim Kientzle2004-05-271-0/+471
| | | | Notes: svn path=/head/; revision=129765
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewWarner Losh2004-05-2718-84/+50
| | | | | | | | | redundant includes and fix some of the include disordering. Submitted by: bde Notes: svn path=/head/; revision=129764
* These are now not needed, after repo copy and conversion.Warner Losh2004-05-272-186/+0
| | | | Notes: svn path=/head/; revision=129763
* Sort includes, remove unnecssary ones.Warner Losh2004-05-271-10/+3
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=129762
* Those sysctls shouldn't be writtable from inside a jail.Pawel Jakub Dawidek2004-05-261-2/+2
| | | | Notes: svn path=/head/; revision=129761
* Use new eui64(3) functions to print EUI-64s and to allow access to nodesBrooks Davis2004-05-263-21/+87
| | | | | | | | | by EUI-64 and name. Reviewed by: simokawa Notes: svn path=/head/; revision=129760
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isBrooks Davis2004-05-2611-2/+1172
| | | | | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa Notes: svn path=/head/; revision=129759
* Add PCI ID for via 8237.Mathew Kanner2004-05-261-0/+4
| | | | | | | | | Submitted by: Josh Elsasser <jre@vineyard.net> Approved by: tanimura (mentor) PR: kern/61730 Notes: svn path=/head/; revision=129758
* It seems that clearing the MCR_IE bit in the modem control registerThomas Moestl2004-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 Notes: svn path=/head/; revision=129757
* Silence some constness and printf type warnings. Most of theDavid Malone2004-05-261-12/+14
| | | | | | | | const fixes are ugly 'cos the types in an iovec aren't quite right for a writev. Notes: svn path=/head/; revision=129756
* Unbreak build ifJosef El-Rayes2004-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 Notes: svn path=/head/; revision=129755
* Fix order.Pawel Jakub Dawidek2004-05-261-2/+2
| | | | Notes: svn path=/head/; revision=129754
* Sysctl hw.bus.devctl_disable shouldn't be writtable from inside a jail.Pawel Jakub Dawidek2004-05-261-3/+2
| | | | | | | Approved by: imp Notes: svn path=/head/; revision=129753
* Add pccarddevs.h and usbdevs.h as depends, ala miidevs.h, in the rightWarner Losh2004-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 Notes: svn path=/head/; revision=129752
* MFi386: revision 1.493.Yoshihiro Takahashi2004-05-261-2/+2
| | | | Notes: svn path=/head/; revision=129751
* Retire cpu_sched_exit(); it is not used any more.Thomas Moestl2004-05-2610-49/+0
| | | | Notes: svn path=/head/; revision=129750
* Move the per-CPU vmspace pointer fixup that is required before aThomas Moestl2004-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 Notes: svn path=/head/; revision=129749
* if_printf() won't emit a newline unless told to.Yaroslav Tykhiy2004-05-261-2/+3
| | | | Notes: svn path=/head/; revision=129748
* Dump some more informations:Pawel Jakub Dawidek2004-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> Notes: svn path=/head/; revision=129747
* Update the status of VLAN support in interface drivers.Yaroslav Tykhiy2004-05-261-0/+9
| | | | Notes: svn path=/head/; revision=129746
* Print provider's size in human-readable form as well.Pawel Jakub Dawidek2004-05-262-3/+7
| | | | Notes: svn path=/head/; revision=129745
* Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in structBruce Evans2004-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. Notes: svn path=/head/; revision=129744
* MFamd64:Bruce Evans2004-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. Notes: svn path=/head/; revision=129742
* Move to generating pccarddevs.h on the fly, both for the kernel andWarner Losh2004-05-2650-1231/+66
| | | | | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment. Notes: svn path=/head/; revision=129740