summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-20get in the bug fix for pow, from fdlibm 5.3. also adapt it forMartynas Venckus
powf, the float version of it > 1. e_pow.c incorrect results when > x is very close to -1.0 and y is very large, e.g. > pow(-1.0000000000000002e+00,4.5035996273704970e+15) = 0 > pow(-9.9999999999999978e-01,4.5035996273704970e+15) = 0 > Correct results are close to -e and -1/e. while here merge more changes for pow, fixes sign in oflow/uflow cases ok millert@
2008-07-20use more accurate algorithm for tan. from fdlibm 5.3:Martynas Venckus
> 2. k_tan.c error was > 1 ulp target for FDLIBM > 5.2: Worst error at least 1.45 ulp at > tan(1.7765241907548024E+269) = 1.7733884462610958E+16 > 5.3: Worst error 0.96 ulp ok millert@
2008-07-20Provide a timecounter based on the UltraSPARC IIe STICK logic.Mark Kettenis
2008-07-20Add DIOCGPDINFO support. 'disklabel -d svnd0' now works.Kenneth R Westerback
2008-07-19link to apache web server, not the project group. found whileMartynas Venckus
catching up w/ the old email. submitted by Pierre Riteau on tech@ a year ago. "no objection" jmc@. ok, "that's clearly correct" okan@
2008-07-19Full rewrite of metadata handling. This fixes power failures and crashesMarco Peereboom
that caused illegal checksums. The new metadata code is more or less ready to deal with other vendor's metadata formats. While here clean up the name space. Fix thib's pool mess by adding removing bad flags in interrupt context. tested on macppc, amd64, i386, sparc64 & hppa sparc64 has issues with crypto however those do not seem to be softraid specific. help from okan@ ckuethe@ Will Backman and others
2008-07-19Use errx instead of fprintf, exit combo.Claudio Jeker
Diff from Gleydson Soares gsoares (at) gmail (dot) com OK henning@
2008-07-19In dec_1000a_intr_map(), use the SRM hint if available. This allows cardsMiod Vallat
plugged to the bottom 4 PCI slots of AlphaServer 1000A (attaching to pci1 behind a ppb) to get interrupts. No regressions on AlphaServer 800 (which do not have these extra slots).
2008-07-19Add code to walk the eisa configuration, from NetBSD. This configurationMiod Vallat
is not used yet, but this seems to ``warm up'' the eisa chips so that accesses to the eisa bus later do not cause machine checks.
2008-07-19In _io_map(), make sure the whole range fits in one of the io windows,Miod Vallat
instead of only the starting address. From NetBSD.
2008-07-19minor wording tweaks;Jason McIntyre
2008-07-19Correct missed capitalization of MPLS.Brad Smith
2008-07-19Add acx(4) at cardbus(4).Mark Kettenis
2008-07-19print the host parent id if availableReyk Floeter
2008-07-19no need for using a TAILQ queue for the host children list, use aReyk Floeter
singly-linked SLIST instead. the only noticeable change is the reversed order to notify the children but it does not really matter here. also only walk through the children host list if the host itself is a potential parent.
2008-07-19If a resolution which has been requested over VIDEO_TRY_FMT orMarcus Glocker
VIDEO_S_FMT doesn't exactly match the devices available resolutions, return the next best matching resolution which we have. Makes some V4L2 apps happy when running them with the default resolution (no options).
2008-07-19If the new 'parent' keyword is specified for a host in a table,Reyk Floeter
inherit the state from another host with the specified Id; no additional check will be for the inheriting host. This helps in scenarios with lots of IP aliases that all point to the same service on the same host (like web hosting with many SSL domains). discussed with pyr, tested in different setups
2008-07-19Use the IPv6 documentation prefix 2001:db8::/32 from RFC 3849 insteadReyk Floeter
of the deprecated 3ffe::/16 6bone test address space. Deprecated or public IPv6 allocations should not be used for documentation; we have the same approach for IPv4 by using RFC 1918 private addresses. ok jmc@ todd@
2008-07-19Unbreak the tree. Pointed out by James Hartley.Mark Kettenis
2008-07-19In interrupt handler change printf -> DRPINTF.Marcus Glocker
2008-07-18Add a macro that clears the want_resched flag that need_resched sets.Artur Grabowski
Right now when mi_switch picks up the same proc, we didn't clear the flag which would mean that every time we service an AST we would attempt a context switch. For some architectures, amd64 being probably the most extreme, that meant attempting to context switch for every trap and interrupt. Now we clear_resched explicitly after every context switch, even if it didn't do anything. Which also allows us to remove some more code in cpu_switchto (not done yet). miod@ ok
2008-07-18no need for .Pp before or after .Sh;Jason McIntyre
2008-07-18+.Xr crash 8 ,Jason McIntyre
from Stephan A. Rickauer
2008-07-18Add ohci(4) and ehci(4) at cardbus(4).Mark Kettenis
2008-07-18Determine the free address space by looking at the "available" property ofMark Kettenis
the PCI host bridge if we're not running on an UltraBook. Fix allocation of bus number such that it works on machines that have OpenBoot 4.x.
2008-07-18For negotation first get the devices default values (GET_DEF) insteadMarcus Glocker
asking for (GET_CUR) directly. This gets us better negotation values.
2008-07-18Protect dma operations with splvm instead of splhigh, that's faster thanMiod Vallat
splbio and won't delay clock interrupts.
2008-07-18Make IPL_VM level 5, which is guaranteed to be above bio tty and net, insteadMiod Vallat
of making it dynamic and the smallest value above the former three. Idea from NetBSD.
2008-07-18Implement VIDIOC_S_FMT and VIDIOC_TRY_FMT. Now V4L2 applications canMarcus Glocker
set their desired image size, and therefore users can manipulate the image size, too via the application. Also tested by brad@
2008-07-18Add support for the kernel to recognize, load and execute positionKurt Miller
independent executables using the uvm_map_pie() function to randomize the load address. okay miod@, kettenis@, drahn@
2008-07-18Add new uvm function called uvm_map_pie() which takes align as aKurt Miller
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@
2008-07-18Add OmniVision OV7670 cam to the supported devices which comes in theMarcus Glocker
Dell XPS M1330 Notebooks. Tested by kettenis@
2008-07-18remove unnessasary cast.Kevin Lo
ok millert@
2008-07-18o Use mbufs, for the RX ring, instead of malloc()'ing an MCLBYTES sized buffer.Thordur I. Bjornsson
o On non-strict alignment archs, dont copy the mbuf, every time, unload it, and send it up the stack and just get a new one for the rx ring. We still do the copy on strict alignment archs though... o create a function to handle mbuf allocation for the rx ring, vr_mbuf_alloc(), use it to allocate the mbufs and shuffle the bus dma setup around. ideas/code from vic(4) and sis(4); ok reyk@, brad@, dlg@ tested by many, been in snapshots for a while.
2008-07-18fix cases, found by lint:Martynas Venckus
- actually raise inexacts for expm1, and support - __exp__E always returns, because inexact check always succeeds. add NOTREACHED - some cases in lgamma FALLTHROUGH, as intended ok millert@
2008-07-18merge host_v6 with relayd's version to use getaddrinfo instead ofReyk Floeter
inet_pton. host_v4, host_v6, and host_dns could be merged into one function using getaddrinfo but i keep it in multiple functions to keep it in sync with the other daemons using this common code.
2008-07-18merge log_host with relayd's version using getnameinfo and rename itReyk Floeter
to print_host.
2008-07-18terminate the input buffer on failure in print_host()Reyk Floeter
2008-07-18the Belkin F5D7010 version # is a RTL8185 cardbus device. thisReyk Floeter
chipset revision is not supported yet, so add it commented out.
2008-07-18syncReyk Floeter
2008-07-18Add Belkin Wireless G Notebook Card F5D7010 (rtw(4) RTL8185-based)Reyk Floeter
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-18oops. move infnan to md.vax. pointed out by theoMartynas Venckus
2008-07-17Zero mbreg_t structure *before* initializing any members, not when we'reMark Kettenis
halfway through. Makes the ISP12160 correctly load its firmware again on sparc64. ok krw@
2008-07-17Add a flag and allow the driver to identify the BCM5788 chipsets. They'reBrad Smith
slightly different from the other chipsets using the BCM5705 ASIC. ok jsg@
2008-07-17final reorder diff to use TAILQ_INSERT_TAIL instead ofReyk Floeter
TAILQ_INSERT_HEAD. now tables and relays are also matching the order in the config file. ok pyr@
2008-07-17add the hosts in order to get host ids that match the order in the config ↵Reyk Floeter
file. ok pyr@
2008-07-17give sane ids to hosts, tables, redirections, relays, etc. - startReyk Floeter
counting at 1 and do not assign an id before inheriting a real table. makes more sense in the relayctl output. ok pyr@
2008-07-17properly raise inexact; ok millert@Martynas Venckus
2008-07-17use getaddrinfo/getnameinfo to parse ipv6 addresses instead ofReyk Floeter
inet_pton/inet_ntop to allow specifing and printing the IPv6 scope identifier. synced host_v6() with ntpd's version to use getaddrinfo() instead of inet_pton() - host_v4, host_v6, and host_dns could all use getaddrinfo in a single function by specifing different flags but this would diverge from the other daemons using this common interface so we keep this little overhead. discussed with henning@ ok pyr@