summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add another 'best quote about XML evar!' courtesy Pav Lucistnik (pav@)wes2005-12-011-0/+3
|
* Fix logic error which causes <null> to be printed instead of thesobomax2005-12-011-1/+1
| | | | | | actual file name in error message. MFC After: 2 weeks
* Add kernel module loading option for snd_atiixp(4).ariff2005-12-011-0/+1
|
* set signal queue values for sysconf().davidxu2005-12-011-0/+4
|
* Fixing yet another regression introduced in rev1.37 by preserving cs_localavatar2005-12-011-0/+1
| | | | | | | pointer such that local to DOS code page conversion with combined option '-L,-D' works again. Reviewed by: rodrigc
* Avoid using signal 127 and 128 as RT signals, these two signals confusedavidxu2005-11-301-1/+1
| | | | wait4 interfaces, see PR: kern/19402.
* It is unclear who is wrong and who is right, but when operating onsobomax2005-11-301-0/+10
| | | | | | | | | | | | | | | plain file bsdlabel(8) always writes label at a fixed offset from its beginning (512 bytes), regardless of the sector size. At the same time, bsdlabel geom class expects label to be available at the very beginning of the second sector. As a result, images prepared in userland for media with sector size different from 512 bytes (i.e. 2k for cdroms) are not recognized by the tasting mechanism. Solve the problem by always looking for the label at 512-byte offset if we can't find it at the beginning of the second sector and sector size is not 512 bytes.
* Don't pass error value pointer to g_read_data(9) at all if we don'tsobomax2005-11-3013-25/+24
| | | | | | have any use of it. Suggested by: pjd
* Check for altq presence during module init, and allow module to work even ifphilip2005-11-301-2/+47
| | | | | | | | altq is not present (just disable the altq bits in that case). PR: 89601 Submitted by: Juraj Lutter <otis -at- sk.freebsd.org> MFC after: 3 days
* - match_var: do not address memory at invalid address (`len' can be greaterfjoe2005-11-302-3/+5
| | | | | | | | | than strlen(var) + 1) - ReadMakeFile: prevent `fname' memory leak - ReadMakeFile: prevent double free (caused by double fclose) -- ParsePopInput() closes input file Reviewed by: harti
* fix dynamic changes in short slottime for 11g sta mode: set thesam2005-11-301-1/+1
| | | | | | | slot time based on the rcvd capabilities, not the existing ones Obtained from: atheros MFC after: 1 week
* Check for g_read_data(9) errors properly:sobomax2005-11-3017-26/+26
| | | | | | | | | | o The only indication of error condition is NULL value returned by the function; o value pointed to by error argument is undefined in the case when operation completes successfully. Discussed with: phk
* Kill leading whilespace.sobomax2005-11-301-1/+1
|
* Teach this to create the "machine" and ${MACHINE_ARCH} (for pc98ru2005-11-301-4/+27
| | | | | | | | | only now) symbolic links in the kernel compile directory, rather than relying on config(8) to do this. (The changes to config(8) will be committed separately.) This is aimed towards making the config(8) as lightweight as possible. Idea by: bde (all bugs are mine)
* Style: use S_ISDIR() (submitted by bde@) and eq() where appropriate.ru2005-11-301-4/+3
|
* Byte copy IF_LLADDR() on stack to align it to be safe for typecasts.ru2005-11-304-42/+40
| | | | Tested by: jhb
* Remove superfluous bzero()'ing of the softc.marius2005-11-303-3/+0
|
* Remove superfluous inclusion of upa.h.marius2005-11-303-3/+0
|
* If bus_dmamap_load() failed, we free the mbuf. We also need to clearglebius2005-11-301-2/+6
| | | | the pointer, to avoid double free on next bge_stop().
* MFi386: revision 1.1215 (add savagedrm).nyan2005-11-301-0/+1
|
* Rearranged the polynomial evaluation to reduce dependencies, as inbde2005-11-302-9/+13
| | | | | | | | | | | | | | | | | | | | k_tanf.c but with different details. The polynomial is odd with degree 13 for tanf() and odd with degree 9 for sinf(), so the details are not very different for sinf() -- the term with the x**11 and x**13 coefficients goes awaym and (mysteriously) it helps to do the evaluation of w = z*z early although moving it later was a key optimization for tanf(). The details are different but simpler for cosf() because the polynomial is even and of lower degree. On Athlons, for uniformly distributed args in [-2pi, 2pi], this gives an optimization of about 4 cycles (10%) in most cases (13% for sinf() on AXP, but 0% for cosf() with gcc-3.3 -O1 on AXP). The best case (sinf() with gcc-3.4 -O1 -fcaller-saves on A64) now takes 33-39 cycles (was 37-45 cycles). Hardware sinf takes 74-129 cycles. Despite being fine tuned for Athlons, the optimization is even larger on some other arches (about 15% on ia64 (pluto2) and 20% on alpha (beast) with gcc -O2 -fomit-frame-pointer).
* Fix compiling for c++, include cdefs.h.davidxu2005-11-301-0/+3
|
* Fixed cosf(x) when x is a "negative" NaNs. I broke this in rev.1.10.bde2005-11-301-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | cosf(x) is supposed to return something like x when x is a NaN, and we actually fairly consistently return x-x which is normally very like x (on i386 and and it is x if x is a quiet NaN and x with the quiet bit set if x is a signaling NaN. Rev.1.10 broke this by normalising x to fabsf(x). It's not clear if fabsf(x) is should preserve x if x is a NaN, but it actually clears the sign bit, and other parts of the code depended on this. The bugs can be fixed by saving x before normalizing it, and using the saved x only for NaNs, and using uint32_t instead of int32_t for ix so that negative NaNs are not misclassified even if fabsf() doesn't clear their sign bit, but gcc pessimizes the saving very well, especially on Athlon XPs (it generates extra loads and stores, and mixes use of the SSE and i387, and this somehow messes up pipelines). Normalizing x is not a very good optimization anyway, so stop doing it. (It adds latency to the FPU pipelines, but in previous versions it helped except for |x| <= 3pi/4 by simplifying the integer pipelines.) Use the same organization as in s_sinf.c and s_tanf.c with some branches reordered. These changes combined recover most of the performance of the unfixed version on A64 but still lose 10% on AXP with gcc-3.4 -O1 but not with gcc-3.3 -O1.
* Last step to make mq_notify conform to POSIX standard, If the processdavidxu2005-11-305-107/+237
| | | | | has successfully attached a notification request to the message queue via a queue descriptor, file closing should remove the attachment.
* Fixed the hi+lo approximation to log(2). The normal 17+24 bit decompositionbde2005-11-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | that was used doesn't work normally here, since we want to be able to multiply `hi' by the exponent of x _exactly_, and the exponent of x has more than 7 significant bits for most denormal x's, so the multiplication was not always exact despite a cloned comment claiming that it was. (The comment is correct in the double precision case -- with the normal 33+53 bit decomposition the exponent can have 20 significant bits and the extra bit for denormals is only the 11th.) Fixing this had little or no effect for denormals (I think because more precision is inherently lost for denormals than is lost by roundoff errors in the multiplication). The fix is to reduce the precision of the decomposition to 16+24 bits. Due to 2 bugs in the old deomposition and numerical accidents, reducing the precision actually increased the precision of hi+lo. The old hi+lo had about 39 bits instead of at least 41 like it should have had. There were off-by-1-bit errors in each of hi and lo, apparently due to mistranslation from the double precision hi and lo. The correct 16 bit hi happens to give about 19 bits of precision, so the correct hi+lo gives about 43 bits instead of at least 40. The end result is that expf() is now perfectly rounded (to nearest) except in 52561 cases instead of except in 67027 cases, and the maximum error is 0.5013 ulps instead of 0.5023 ulps.
* Update conformance and history sections.davidxu2005-11-304-4/+16
|
* Symlink mq_send to mq_timedsend.davidxu2005-11-301-0/+2
| | | | Symlink mq_receive to mq_timedreceive.
* Add manuals for POSIX message queue.davidxu2005-11-308-2/+1077
|
* Fix misspelling in Poul-Henning Kamp's email address under AUTHORS, fromtmclaugh2005-11-301-1/+1
| | | | | | pkh@ to phk@. Approved by: ade
* Add codec ID for Avance Logic ALC203yongari2005-11-301-0/+1
|
* Fix snderr() to not leak the socket buffer lock if an error occurs injhb2005-11-291-1/+1
| | | | | | | | sosend(). Robert accidentally changed the snderr() macro to jump to the out label which assumes the lock is already released rather than the release label which drops the lock in his previous change to sosend(). This should fix the recent panics about returning from write(2) with the socket lock held and the most recent LOR on current@.
* The DEFAULTS changes caused the user specified config file to be openedpeter2005-11-291-0/+5
| | | | | | | | | | | | | | | much later than before, and it is now after we do a mkdir ../compile/FILE. As a result, if you do 'config DOESNOTEXIST', it now creates the directory ../config/DOESNOTEXIST. It did not do that before. If DEFAULTS does not exist, it still fails early before any permanent changes. This shameless hack restores the old behavior of ensuring the config file actually exists before mkdiring its counterpart directory. Now I can rmdir ../compile/D and it will stay dead, after my fingers keep sabotaging me with 'config D<tab><enter>'. (Some of my kernel names started with D, which used to be 1-character unique and my fingers knew this very well...)
* Tell Rx radiotap that hardware leaves FCS at the end of the frame.damien2005-11-291-1/+1
| | | | Obtained from: NetBSD (drochner@)
* Sync with ural:damien2005-11-292-18/+19
| | | | | o Send management frames at the lowest possible rate. o Cosmetic tweaks.
* Use usbd_clear_endpoint_stall_async() instead of usbd_clear_endpoint_stall()damien2005-11-291-2/+2
| | | | | | in Tx/Rx callbacks. Obtained from: NetBSD
* o Send management frames at the lowest possible rate.damien2005-11-293-8/+43
| | | | | | o Include rate in the Rx radiotap code. o Fix RSSI value in the Rx path. o Minor tweaks.
* The bridge is capable of sending broadcast packets so enable IFF_BROADCASTthompsa2005-11-291-1/+1
| | | | Requested by: des
* Fix the ata_composite/ata_request leak when using RAID0+1.sos2005-11-292-9/+18
| | | | | | Submitted by: Michael Butler Minor changes to fit ATA style by me.
* Let kmod.mk create empty opt_*.h files.ru2005-11-291-7/+1
|
* Document removal of nodev mount option.rodrigc2005-11-291-0/+5
| | | | Requested by: gleb
* obey opt_inet6.h and opt_ipsec.h in kernel build directory.ume2005-11-293-3/+17
| | | | Requested by: hrs
* - We don't install USD docs for games anymore since the games with docsjhb2005-11-291-8/+2
| | | | | | | (trek) aren't in the base system anymore. - dm(8) isn't in the base system anymore either, so don't xref it either. Submitted by: Björn König (2)
* Remove references to rdist(1) and friends.jhb2005-11-291-18/+0
| | | | Submitted by: Björn König
* - Axe the PARTITIONING and IOCTLS section as this has been made obsoletejhb2005-11-291-111/+5
| | | | | | | | | now that all that stuff has been abstracted out of the disk drivers with GEOM. - Reference bsdlabel(8) rather than disklabel(8). Ok'd by: phk, scottl (1) Submitted by: Björn König (2)
* Correct xref to systat(1) which was mispelled as ststat(1) in 1.5.jhb2005-11-291-1/+1
| | | | Submitted by: Björn König bkoenig at cs dot tu-berlin dot de
* We couldn't specify the rule for filtering tunnel traffic since anume2005-11-292-16/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | IPv6 support was committed: - Stop treating `ip' and `ipv6' as special in `proto' option as they conflict with /etc/protocols. - Disuse `ipv4' in `proto' option as it is corresponding to `ipv6'. - When protocol is specified as numeric, treat it as it is even it is 41 (ipv6). - Allow zero for protocol as it is valid number of `ip'. Still, we cannot specify an IPv6 over an IPv4 tunnel like before such as: pass ipv6 from any to any But, now, you can specify it like: pass ip4 from any to any proto ipv6 PR: kern/89472 Reported by: Ga l Roualland <gael.roualland__at__dial.oleane.com> MFC after: 1 week
* We do nothing with returned error value, so just remove it.pjd2005-11-291-3/+2
|
* Catch up with ip_dummynet.h rev. 1.38 and fix build.glebius2005-11-291-2/+2
|
* Unexpand LLADDR().ru2005-11-291-2/+2
|
* Separate the hardware definitions into ipsreg.h so they can be used byscottl2005-11-297-309/+351
| | | | future userland tools.
OpenPOWER on IntegriCloud