summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Oops, library bumps should be reflected with OLD_LIBS.delphij2006-07-061-5/+5
| | | | Pointed out by: maxim
* Reflect library bumps caused by gethostbyaddr(3) change.delphij2006-07-061-0/+5
|
* Fix a missing unlock operation in interrupt handler.yongari2006-07-061-1/+3
| | | | | | PR: kern/99205 Submitted by: Alexey Illarionov <littlesavage AT rambler DOT ru> MFC after: 1 week
* Make two simplifications to pmap_ts_referenced(): Eliminate an unnecessaryalc2006-07-061-5/+3
| | | | test and exit the loop in a shorter way.
* Adjust rt_(set|get)metrics() to do kernel <-> userland timebase conversion.oleg2006-07-061-2/+7
| | | | | | We need it since kernel timebase has changed (time_second -> time_uptime). Approved by: glebius (mentor)
* Complete timebase (time_second -> time_uptime) conversion.oleg2006-07-052-11/+12
| | | | | | PR: kern/94249 Reviewed by: andre (few months ago) Approved by: glebius (mentor)
* Fixed tanh(-0.0) on ia64 and optimizeed tanh(x) for 2**-55 <= |x| <bde2006-07-051-10/+10
| | | | | | | | | | | | | | | | | | | 2**-28 as a side effect, by merging with the float precision version of tanh() and the double precision version of sinh(). For tiny x, tanh(x) ~= x, and we used the expression x*(one+x) to return this value (x) and set the inexact flag iff x != 0. This doesn't work on ia64 since gcc -O does the dubious optimization x*(one+x) = x+x*x so as to use fma, so the sign of -0.0 was lost. Instead, handle tiny x in the same as sinh(), although this is imperfect: - return x directly and set the inexact flag in a less efficient way. - increased the threshold for non-tinyness from 2**-55 to 2**-28 so that many more cases are optimized than are pessimized. Updated some comments and fixed bugs in others (ranges for half-open intervals mostly had the open end backwards, and there were nearby style bugs).
* - Document RANDOMIZE_MASTER_SITES, MASTER_SORTpav2006-07-051-13/+7
| | | | - Remove OPTIONS, it's no user settable variable
* - Document new missing targetpav2006-07-051-0/+2
|
* Removed the optimized asm versions of scalb() and scalbf(). Thesebde2006-07-053-62/+2
| | | | | | | | | | | | | | | | | | | | | | | | | functions are only for compatibility with obsolete standards. They shouldn't be used, so they shouldn't be optimized. Use the generic versions instead. This fixes scalbf() as a side effect. The optimized asm version left garbage on the FP stack. I fixed the corresponding bug in the optimized asm scalb() and scalbn() in 1996. NetBSD fixed it in scalb(), scalbn() and scalbnf() in 1999 but missed fixing it in scalbf(). Then in 2005 the bug was reimplemented in FreeBSD by importing NetBSD's scalbf(). The generic versions have slightly different error handling: - the asm versions blindly round the second parameter to a (floating point) integer and proceed, while the generic versions return NaN if this rounding changes the value. POSIX permits both behaviours (these functions are XSI extensions and the behaviour for a bogus non-integral second parameter is unspecified). Apart from this and the bug in scalbf(), the behaviour of the generic versions seems to be identical. (I only exhusatively tested generic_scalbf(1.0F, anyfloat) == asm_scalb(1.0F, anyfloat). This covers many representative corner cases involving NaNs and Infs but doesn't test exception flags. The brokenness of scalbf() showed up as weird behaviour after testing just 7 integer cases sequentially.)
* Regen the system calls files, picking up the extended attr events, and somewsalamon2006-07-055-21/+21
| | | | | | mount-related changes done previously. Approved by: rwatson (mentor)
* Forced commit to fix the log message for the previous commit: the Cbde2006-07-050-0/+0
| | | | | | | files for the scalb() family are only not used for i386, due to only i386 having bogus optimized asm versions for the scalb() family. Thus on amd64, rev.1.10 had no effect in the same way as on all non-i386 arches (the strong reference is just implemented in asm on amd64).
* Replace inb() and outb() with bus_space_read_1() and bus_space_write_1()emax2006-07-052-8/+12
| | | | | Submitted by: marius MFC after: 1 week
* Back out my rev. 1.674. The better fix (rev. 1.637) is already in tree.kib2006-07-051-3/+3
| | | | Approved by: kan (mentor)
* Add audit events for the extended attribute system calls.wsalamon2006-07-051-22/+26
| | | | | Obtained from: TrustedBSD Project Approved by: rwatson (mentor)
* Document ServerWorks HT1000 support.brueffer2006-07-051-2/+2
|
* pmap_clear_ptes() is already convoluted. This will worsen with thealc2006-07-051-28/+49
| | | | | | implementation of superpages. Eliminate it and add pmap_clear_write(). There are no functional changes. Checked by: md5
* Fixed FP_R*. fp{get_set}round() apparently never worked on ia64, sincebde2006-07-051-5/+5
| | | | | | the alpha values were used and are quite different. Fixed some style bugs by copying from the i386 version where it is better.
* Fix typo in comment.yongari2006-07-051-2/+2
| | | | Submitted by: brad AT OpenBSD DOT org
* Temporarily remove SCHED_CORE, it seems I have so many works can do now,davidxu2006-07-052-2/+0
| | | | one example is POSIX priority mutex for libthr.
* Backed out rev.1.10. It tried to implement ldexpf() as a weak referencebde2006-07-051-2/+0
| | | | | | | | | | | | | | | | | to scalbf(), but ldexpf() cannot be implemented in that way since the types of the second parameter differ. ldexpf() can be implemented as a weak or strong reference to scalbnf() (*) but that was already done long before rev.1.10 was committed. The old implementation uses a reference, so rev.1.10 had no effect on applications. The C files for the scalb() family are not used for amd64 or i386, so rev.1.10 had even less effect for these arches. (*) scalbnf() raises the radix to the given exponent, while ldexpf() raises 2 to the given exponent. Thus the functions are equivalent except possibly for their error handling iff the radix is 2. Standards more or less require identical error handling. Under FreeBSD, the functions are equivalent except for more details being missing in scalbnf()'s man page.
* Change the multicast calculation to be the same as the other usb drivers andthompsa2006-07-051-5/+6
| | | | | avoid calling into the usb code with the lock held. This doenst fix the fundamental usb sleeping problem but at least the adapter can be used.
* Add myself.yongari2006-07-041-0/+1
|
* Fix a braino in the last revision, enc_clone_destroy needs return void insteadthompsa2006-07-041-12/+3
| | | | | | | of int. The clone system will ensure that our first interface is not destroyed so we dont need the extra checking anyway. Tested by: Scott Ullrich
* o Call fts_close() before exit.maxim2006-07-041-0/+1
| | | | Obtained from: NetBSD, Coverity ID 1754
* o Kill BUGS section as it is not valid since rev. 1.4 alias_pptp.c.maxim2006-07-041-6/+1
| | | | | Spotted by: ru.unix.bsd activists MFC after: 1 week
* Add preliminary support for the Serverworks HT1000 chip.sos2006-07-043-7/+74
| | | | HW sponsored by: Yahoo!
* o Add geom to a list of cscope dirs.maxim2006-07-041-1/+1
|
* Update dillon's mail address.grog2006-07-041-1/+1
|
* Remove dhcp entries. They have been incorrect since the import frombrooks2006-07-041-3/+0
| | | | OpenBSD.
* Make sure command/data port (0x60) and status port (0x64) are in correctjkim2006-07-031-4/+10
| | | | order. Some brain-damaged ACPI BIOS has reversed resources.
* Send client identifier unconditionally. My ancient D-Link router responsejkim2006-07-031-4/+0
| | | | | | | | | with NACK if I don't set it. Setting 'option dhcp-client-identifier' is alternative but it is inconvenient because I have to keep the list of all MAC addresses. As bin/94743 pointed out, it is always sent from Windows clients and I found Mac OS X does the same. OK'd by: brooks
* What the heck - make the last (most recent) 2200 f/w also domjacob2006-07-031-2/+6
| | | | Hard Loop acquisition.
* Adjust descriptor locking to tell the kqueue subsystem that our descriptor iscsjp2006-07-031-3/+1
| | | | | | | | | | | | | | already locked. The reason to do this is to avoid two lock+unlock operations in a row. We need the lock here to serialize access to bd_pid for stats collection purposes. Drop the locks all together on detach, as they will be picked up by knlist_remove. This should fix a failed locking assertion when kqueue is being used with bpf descriptors. Discussed with: jmg
* Correct a number of problems that were previously commented on:rwatson2006-07-032-49/+40
| | | | | | | | | | | | | | - Correct audit_arg_socketaddr() argument name from so to sa. - Assert arguments are non-NULL to many argument capture functions rather than testing them. This may trip some bugs. - Assert the process lock is held when auditing process information. - Test currecord in several more places. - Test validity of more arguments with kasserts, such as flag values when auditing vnode information. Perforce change: 98825 Obtained from: TrustedBSD Project
* Merge OpenBSM 1.0 alpha 7 new AUE_ event identifiers to kernel versionrwatson2006-07-031-2/+19
| | | | | | of audit_kevents.h. Obtained from: TrustedBSD Project
* Merge OpenBSM 1.0 alpha 7 nested time.h include to kernel version ofrwatson2006-07-031-0/+2
| | | | | | audit_record.h. Obtained from: TrustedBSD Project
* o Add an 'optional' keyword, which allows files to be in themaxim2006-07-036-1/+36
| | | | | | | | | | specification, but not in the file hierarchy. PR: bin/99531 Submitted by: skv Obtained from: NetBSD, originally from Ed Symanzik Regress. test: test/test05.sh MFC after: 1 month
* Reset autonegotiation timer if current media is not 'auto'.oleg2006-07-031-1/+3
| | | | | Approved by: glebius (mentor) MFC after: 2 weeks
* Allow to close access even if device is already destroyed.pjd2006-07-032-6/+10
| | | | | | Reported by: Ulrich Spoerlein <uspoerlein@gmail.com> PR: kern/98093 MFC after: 1 week
* Do various fixes to support firmware loading for the 2322mjacob2006-07-035-142/+280
| | | | | | | | | | | (and by extension, the 2422). One peculiar thing I've found with the 2322 is that if you don't force it to do Hard LoopID acquisition, the firmware crashes. This took a while to figure out. While we're at it, fix various bugs having to do with NVRAM reading and option setting with respect to pieces of NVRAM.
* Add 2322 firmware.mjacob2006-07-032-0/+7659
|
* Use mii_phy_match to reduce duplicated code.yongari2006-07-031-71/+21
| | | | Reviewed by: glebius
* Replace hard-coded magic constants to system defined constantsyongari2006-07-0321-43/+43
| | | | | | | (BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). There is no functional changes. Reviewed by: oleg, scottl
* o Fix grammar in the comment, indent macros. No functional changes.maxim2006-07-021-7/+7
|
* o Remove rev. 1.57 leftover, not reached code.maxim2006-07-021-2/+0
|
* Correct an error in the new pmap_collect(), thus only affecting HEAD.alc2006-07-022-2/+2
| | | | | Specifically, the pv entry was always being freed to the caller's pmap instead of the pmap to which the pv entry belongs.
* Add support for configuring pins to be one of {GPIO, PERIPHERAL A orimp2006-07-023-1/+450
| | | | | PERIPHERAL B}, as well as direction of GPIO pin. Add defines for all the pins.
* MFp4:imp2006-07-021-53/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make serial ports more robust and reliable. Make non-console ports work. This might have broken skyeye stuff. o Introduce ping-pong receive buffers. o Use DMA to copy characters directly into memory. o Support baud rates other than 115200 o Use 1 stop bit when 1 stop bit is requested (otherwise 2 were used, which caused dropped characters when received in bursts). o Use 1.5 stop bits for 5-bit bytes, and 2 stop bits otherwise when 2 stop bits were requested. o Actually update line parameters. o Fix comments o Move init into attach o Tweaks to TX interrupt registers to get them reliable and non-storming. o harvest data in ipend since the latency between it and the callback was too long. This likely is how it should be, I don't know why I deferred things to the callback before. o disable all interrupts in console init. We don't want interrupts until we turn on an ISR. o cosmetic tweaks o Automatically detect of the TIMEOUT interrupt is supported. If so, use it so we get better CPU utilization. Otherwise do a character at a time RX. Good news here is that it seems we have enough CPU and low enough fast interrupt latency to do this reliably. o Don't read USART_CR. It is a write-only register. o start to implement bus_ioctl. Do BAUD now...
* Fix grammar and style nits starting in the network interface sectionbmah2006-07-022-96/+102
| | | | and continuing through the end of this document.
OpenPOWER on IntegriCloud