summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set the start of the cooling time later on, when we're actually performingnjl2005-02-221-2/+2
| | | | | | | | | the switch. Other interim tests (i.e., for minimum runtime) could invalidate the start time. This fixes transitions to cooler states in that now they go to the next active state (_AC0 -> _AC1) instead of going straight to off (_AC0 -> off). Submitted by: Alexandre "Sunny" Kovalenko (Alex.Kovalenko / verizon.net)
* New release notes: SysV IPC objects with MAC support, auxio(4), pcii,bmah2005-02-222-0/+100
| | | | | | | rtc (+MFC), uart(4) default tty driver for sparc64 (+MFC), snd_audiocs(4) (+MFC), cp(4)/ctau(4)/cx(4) MPSAFE (+MFC), em(4) hardware VLAN support disabled by default (+MFC), fxp(4) flow control disabled by default (+MFC), sppp(4) FR support (+MFC), libgpib.
* Since the GPE handler is directly called by ACPI-CA and it may have unknownnjl2005-02-211-3/+8
| | | | | | | | | | | | | | | | locks held, specify the ACPI_ISR flag to keep it from acquiring any more mutexes (which could potentially sleep.) This should fix "could sleep" warning messages on the following path: msleep() AcpiOsWaitSemaphore() AcpiUtAcquireMutex() AcpiDisableGpe() EcGpeHandler() AcpiEvGpeDispatch() AcpiEvGpeDetect() AcpiEvGpeDetect() AcpiEvSciXruptHandler()
* In the current world order, solisten() implements the state transition ofrwatson2005-02-2111-60/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a socket from a regular socket to a listening socket able to accept new connections. As part of this state transition, solisten() calls into the protocol to update protocol-layer state. There were several bugs in this implementation that could result in a race wherein a TCP SYN received in the interval between the protocol state transition and the shortly following socket layer transition would result in a panic in the TCP code, as the socket would be in the TCPS_LISTEN state, but the socket would not have the SO_ACCEPTCONN flag set. This change does the following: - Pushes the socket state transition from the socket layer solisten() to to socket "library" routines called from the protocol. This permits the socket routines to be called while holding the protocol mutexes, preventing a race exposing the incomplete socket state transition to TCP after the TCP state transition has completed. The check for a socket layer state transition is performed by solisten_proto_check(), and the actual transition is performed by solisten_proto(). - Holds the socket lock for the duration of the socket state test and set, and over the protocol layer state transition, which is now possible as the socket lock is acquired by the protocol layer, rather than vice versa. This prevents additional state related races in the socket layer. This permits the dual transition of socket layer and protocol layer state to occur while holding locks for both layers, making the two changes atomic with respect to one another. Similar changes are likely require elsewhere in the socket/protocol code. Reported by: Peter Holm <peter@holm.cc> Review and fixes from: emax, Antoine Brodin <antoine.brodin@laposte.net> Philosophical head nod: gnn
* Fixed compilation warnings.ru2005-02-211-1/+2
|
* MFR4_11: SA-04:16.fetch (+MFC), SA-04:17.procfs (+MFC).bmah2005-02-212-2/+70
| | | | | | | | | New release notes: EN-05:01.nfs (+MFC), EN-05:02.sk (+MFC), EN-05:03.ipi (+MFC). To be consistent with other documentation, the release documentation will henceforth include the one-word keyword (e.g. "fetch", "procfs" above) in the names of advisories and errata.
* New release notes: MemGuard, psm(4) improved Synaptics Touchpadbmah2005-02-212-12/+146
| | | | | | | | | | | | | | support, hme(4) MPSAFE (+MFC), random port number allocation fix, IPX/SPX locking, gshsec(8), dump(8) -n, some ipfw(8) abbreviated options deprecated, libarchive ISO and ZIP support, rpmatch(3), telnet(1)/telnetd(8) -S, manpage cleanup. MFCs noted: cd9660 less chatty, Modified release notes: Fix typo (s/icss/ichss/) [1], add missing "driver" in a couple of notes. Submitted by: njl [1]
* Bump __FreeBSD_version for vswprintf(3) fix. Some ports depend on it.fjoe2005-02-211-1/+1
|
* Fix EOVERFLOW detection in vswprintf(3)fjoe2005-02-211-4/+5
| | | | | Reviewed by: tjr MFC after: 2 weeks
* Use hardware instructions for sqrt() and sqrtf().das2005-02-213-0/+69
|
* Use double arithmetic instead of simulating it with two floats. Thisdas2005-02-211-13/+8
| | | | | | | results in a performance gain on the order of 10% for amd64 (sledge), ia64 (pluto1), i386+SSE (Pentium 4), and sparc64 (panther), and a negligible improvement for i386 without SSE. (The i386 port still uses the hardware instruction, though.)
* Only send packet to bpf if we are committed to send it. Previously it wasmlaier2005-02-211-6/+10
| | | | | | | | | possible that the same packet would show up multiple times. This poses some constraints on the TBD locking for snc(4) (see comment). Obtained from: DragonFlyBSD Submitted by: Joerg Sonnenberger Reviewed by: rwatson
* Fix a terrible braino in pfi_maybe_destroy() and unbreak "$pfctl -Fall" withmlaier2005-02-211-2/+5
| | | | | | | | | renamed interfaces. PR: kern/77645 Reported by: Harald Schmalzbauer <harryNOschmalzbauerSPAMde> Reviewed by: yongari MFC after: 3 days
* Don't use the static CALLOUT_INITIALIZER for __FreeBSD_version >= 600000. Itmlaier2005-02-212-1/+9
| | | | | | | | | | | was a bad idea, but since it is done like this in the vendor source we keep it around for older versions. As a safe guard against future misuse we don't even define CALLOUT_INITIALIZER anymore. This fixes ALTQ after callout_init_mtx() and takes altq_var.h off the vendor branch. Submitted by: Divacky Roman <xdivac02NOstud.fit.vutbrSPAMcz> (w/ changes)
* New release notes:hrs2005-02-212-6/+48
| | | | | | | | | | | | | | | | | prompt parameter support in autoboot loader command, uplcom(4) CTS support, dc(4) ALTQ support, IPv6 MTU feedback disabled, ipfw(8) ALTQ classification and tagging, and newsyslog -d option. Update release notes: F/pc98 still uses OLDCARD[1], and fix some typos: s/compatability/compatibility s/behaviour/behavior/. Spotted by: nyan[1]
* Remove the i387 versions of atan(), atan2(), and atan2f().das2005-02-214-106/+3
| | | | | | | They are slower than the MI routines on modern hardware, except for degenerate cases such as the Pentium 4. PR: 67469
* Fix an overflow when calculating the number of kilobytes from theps2005-02-212-2/+2
| | | | | | number of pages. Obtained from: Yahoo!
* When aborting a UNIX domain socket bind() because VOP_CREATE() failed,rwatson2005-02-211-1/+3
| | | | | | make sure to call vn_finished_write(mp) before returning. MFC after: 3 days
* Style: fix indendation to be 8 and use tabulators. Fix lines longer thanharti2005-02-211-693/+717
| | | | | 80 characters and slightly reorder functions to get rid of static prototypes.
* Document the terabyte "-s" parameter in the usage string.mr2005-02-211-1/+2
| | | | Split the usage line to not exceed 80 chars.
* Forgot to set *freePtr to FALSE in another place.harti2005-02-211-0/+1
| | | | Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Fix a bug in handling archive members: when a member was not foundharti2005-02-211-15/+11
| | | | | | | | when looking into an already hashed archive, the code tried to use the name shortened to the maximum length allowed for the archive. Unfortunately it passed a buffer of junk to the hashing routine when the name actually wasn't too long. Theoretically this could lead to a false positive.
* Minor style(9)isms.imp2005-02-211-40/+32
|
* - Remove dead code.scottl2005-02-211-3/+2
| | | | | | - Protect against negative values as array indexes. Submitted by: Coverity Prevent analysis tool
* Check for BIOS version 3.0 as well as 3.1.scottl2005-02-211-1/+1
| | | | Submitted by: Coverity Prevent analysis tool
* Reference a pointer correctly when copying to it's location.scottl2005-02-211-1/+1
| | | | Submitted by: Coverity Prevent analysis tool
* Check the correct periph pointer after search for it.scottl2005-02-201-1/+1
| | | | Submitted by: Coverity Prevent analysis tool
* Protect against trying to free a non-existant peripheral.scottl2005-02-201-0/+4
| | | | | Submitted by: Coverity Prevent analysis tool MFC After: 3 days
* Don't attach ichss if est is present. On systems that seem to support both,njl2005-02-201-2/+6
| | | | the multi-setting EST is preferable.
* style(9)-ize function headers, remove use of 'register'.rwatson2005-02-201-59/+30
| | | | MFC after: 3 days
* Restore r1.2 change to use TARGET_ARCH.kan2005-02-201-1/+1
| | | | Submitted by: kris
* Remove VFS_START(). Its original purpose involved the mfs filesystem,das2005-02-204-21/+1
| | | | | | | which is long gone. Discussed with: mckusick Reviewed by: phk
* Replace the workaround for a deadlock bug in Coda with a differentdas2005-02-204-32/+8
| | | | workaround that does not rely on vfs_start().
* Attempt to make kgdb little more useful and easy to use. Properly initializekan2005-02-2010-25/+218
| | | | | | | | it to recognise what ABI to use on amd64 (and possibly others) platform. Display PID and process name as a part of the 'info threads' output, TIDs alone are too confusing. Introduce new commmands 'tid <tid>' and 'proc <pid>' to accompany gdb's default 'thread <thread num>' to make the task of switching between different contexts easier.
* Remove i387 versions of asin() and acos(). Although the hardwaredas2005-02-203-112/+1
| | | | | | | | instruction was faster on the 486, it's slower than our MD version on modern processors. Determined by: bde PR: 67469
* Remove the float versions of the i387 trig functions obtained fromdas2005-02-204-48/+2
| | | | | | | | NetBSD. They're buggy, giving particularly for inputs larger in magnitude than 2**63. Noticed by: bde PR: 67469
* New release notes: cpufreq(4), uaudio(4) improvements, GENERIC SCSIbmah2005-02-202-10/+58
| | | | | | | boot-time probe shorter, ACPI-CA 20041119, FILE 4.12, lukemftp 20050219. Resorted tzdata note.
* Add a simple regression test for stream UNIX domain sockets and therwatson2005-02-202-0/+325
| | | | | | bind()/connect() system calls, which is intended to confirm that the right successes and errors occur when rendezvousing via the file system name space.
* MFp4: get the code that set the pc correctly to work, remove a few IQ31244cognet2005-02-202-21/+22
| | | | | | | specific mappings from locore.S, re-organize iq31244_machdep.c to work with the new locore.S Spotted out by: jmg
* Be more verbose on errors with CIS reading. This should be a noop, butimp2005-02-201-4/+9
| | | | | appears to fix the ath problem that had been reported. I don't see how it can, so there's likely some other hidden bug.
* style(9) nitimp2005-02-201-2/+2
|
* Note addition of est(4)njl2005-02-201-1/+3
|
* Hook EST up to the build.njl2005-02-202-1/+7
|
* Add the Enhanced SpeedStep driver (EST). Currently, this driver only worksnjl2005-02-201-0/+785
| | | | | | | | | | on the previous generation of Pentium-M processors (Banias). Support for Dothan and later processors involves working with acpi_perf(4) to extract information about supported states. This driver should work on MP systems including HTT. It is experimental and may have a few bugs but has been tested to not crash at least. Thanks to Colin Percival for his initial work on this driver.
* In unp_attach(), allow uma_zalloc to zero the new unpcb rather thanrwatson2005-02-201-3/+2
| | | | | | | | explicitly using bzero(). Update copyright. MFC after: 3 days
* Fix merging botch I made in last version.imp2005-02-201-1/+0
|
* Perliminary support for Fujitsu SCSI LAN combo card. At least for theimp2005-02-201-1/+1
| | | | | LAN side of things. It appears that all that's necessary is to relax the check on the DLCR2 register in the probe.
* Back out part of 1.23. This was a work in progress to support theimp2005-02-201-13/+5
| | | | Fujitsu LAN SCSI card's ethernet side.
* Forced commit after moving mb86960.h from i386/isa/ic to dev/fe. Itimp2005-02-205-350/+22
| | | | is only used by the fe driver, and isn't MD.
* Minor optimizations to compile out bits that aren't necessary whenimp2005-02-202-5/+27
| | | | | | certain options aren't enabled. Submitted by: Chiharu Shibata-san (chi at bd mbn or jp)
OpenPOWER on IntegriCloud