summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement and document nan(), nanf(), and nanl(). This commitdas2007-12-168-8/+302
| | | | | | | adds two new directories in msun: ld80 and ld128. These are for long double functions specific to the 80-bit long double format used on x86-derived architectures, and the 128-bit format used on sparc64, respectively.
* Recognize CFA devices using either identification method.phk2007-12-161-4/+4
|
* Add the magic word 0 value for CFA compliant devices.phk2007-12-161-0/+1
|
* Export gdtoa's __ULto{x,Q}_D2A routine in a private namespace sodas2007-12-165-0/+17
| | | | libm can use it.
* Arrange so that the NaN returned by strtod("nan", NULL) is the same asdas2007-12-165-27/+27
| | | | the NaN returned by strtod("nan()", NULL).
* Fix strto{f,d,ld}() so they don't return signaling NaNs. C99das2007-12-164-4/+17
| | | | | | | says they are never supposed to, and the fact that they did could cause apps that run with unmasked FP exceptions to SIGFPE after a scanf() or strtod(). The vendor stated that he will not be fixing this, citing portability concerns.
* Some changes the vendor didn't want:das2007-12-161-4/+29
| | | | | | | | - Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same thing as gcc's builtin nan("0x...") for such strings. - Don't return uninitialized memory. - Finish processing the string up to the closing ')' (provided it's lexically valid) for compatibility with C99 and *scanf().
* Fix previous commit. The code ended up in the wrong function.rpaulo2007-12-161-21/+21
| | | | Approved by: njl (mentor)
* Report erase interval (correctly) in sectors.phk2007-12-161-2/+2
|
* Rename the undocumented -E option to -X.phk2007-12-164-15/+32
| | | | | | | | | | Implement -E option which will erase the filesystem sectors before making the new filesystem. Reserved space in front of the superblock (bootcode) is not erased. NB: Erasing can take as long time as writing every sector sequentially. This is relevant for all flash based disks which use wearlevelling.
* Chop DIOCGDELETE from userland up in 1024 sector chunks to give geom_diskphk2007-12-161-2/+18
| | | | | | | or any other bio chopping geom a reasonable size of work. Check for delivered signals between chunks, because the request size and service time is unbounded.
* Add back in cxgb now that the includes are believed to be fixedkmacy2007-12-161-0/+1
|
* Use the vm include convention of busdmakmacy2007-12-162-2/+6
|
* need M_IOVEC definekmacy2007-12-161-0/+5
|
* Don't globally include mvec.h its only needed by cxgb_sge.ckmacy2007-12-162-7/+4
|
* Don't limit BIO_DELETE requests to MAXPHYS, they perform no dataphk2007-12-162-5/+3
| | | | transfers, so they are not subject to the VM system limitation.
* Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slabphk2007-12-164-8/+42
| | | | of the disk.
* Eliminate gcc "variable clobbered" warnings by declaring the variablesdds2007-12-161-1/+2
| | | | | | living across the vfork as volatile. Noted by: kan
* Remove cxgb module from build until I can compensate for the lack of headerkmacy2007-12-161-1/+0
| | | | pollution on architectures other than amd64
* Report CFA extension, CFA -> (Compact) Flash Associationphk2007-12-161-0/+4
|
* When moving a directory across devices to a place where a directorydds2007-12-161-22/+82
| | | | | | | | | | | | | | | | | with the same name exists, delete that directory first, before performing the copy. This ensures that mv(1) across devices follows the semantics of rename(2), as required by POSIX. This change could introduce the potential of data loss, even if the copy fails, violating the atomicity properties of rename(2). This is (mostly) mitigated by first renaming the destination and obliterating it only after a succesfull copy. The above logic also led to the introduction of code that will cleanup the results of a partial copy, if a cross-device copy fails. PR: bin/118367 MFC after: 1 month
* Autogenerate hardware notes for hptrr(4).bmah2007-12-162-0/+3
|
* - Don't return 0xffff if PHY id isn't equal 0. This allows PHYs withstas2007-12-161-2/+0
| | | | | | | non-zero addresses to be used. Approved by: cognet MFC after: 2 weeks
* - Add quirk for the TrendNet TU-S9 adapter, which uses new version of PL2303stas2007-12-161-0/+3
| | | | | | | chip (revision 0x400). This allows it to be correctly identified as PL2303X. Approved by: maxim MFC after: 1 week
* Verify that the moved source is no longer there.dds2007-12-161-0/+26
|
* Regression tests for upcoming makeup of mv.dds2007-12-163-0/+203
| | | | Case 20 corresponds to PR bin/118367.
* Make the reported number of tests match their actual number.dds2007-12-161-1/+1
| | | | This fixes the reporting under prove(1)
* cd to the correct directory so that the tests can be run from prove(1)dds2007-12-161-0/+1
|
* Add a missing mutex unlock.scottl2007-12-161-0/+1
| | | | Reported by: Michael Jung
* turn off building of cxgb properly ... sighkmacy2007-12-161-1/+1
|
* Don't use old-style mbuf iovecskmacy2007-12-161-0/+1
|
* Update tod_connect call to reflect updated interfacekmacy2007-12-161-1/+1
|
* disable cxgb build to prevent tinderbox whiningkmacy2007-12-161-1/+1
|
* o Get missed "%" in output back.maxim2007-12-161-2/+2
| | | | | Submitted by: sem MFC after: 1 week
* Move arp update upcall to always be called for ARP replies - previous invocationkmacy2007-12-161-4/+4
| | | | would not always get called at the appropriate times
* Refactor select to reduce contention and hide internal implementationjeff2007-12-1613-380/+452
| | | | | | | | | | | | | | | | | | | | | details from consumers. - Track individual selecters on a per-descriptor basis such that there are no longer collisions and after sleeping for events only those descriptors which triggered events must be rescaned. - Protect the selinfo (per descriptor) structure with a mtx pool mutex. mtx pool mutexes were chosen to preserve api compatibility with existing code which does nothing but bzero() to setup selinfo structures. - Use a per-thread wait channel rather than a global wait channel. - Hide select implementation details in a seltd structure which is opaque to the rest of the kernel. - Provide a 'selsocket' interface for those kernel consumers who wish to select on a socket when they have no fd so they no longer have to be aware of select implementation details. Tested by: kris Reviewed on: arch
* - Don't depend on header pollution to declare struct thread.jeff2007-12-161-0/+1
|
* Fix tinderbox on sun4vkmacy2007-12-161-0/+1
| | | | include cpufunc.h so that nanoseconds(void) is defined
* Makefile for the TCP offload modulekmacy2007-12-161-0/+8
|
* Don't use old style mbuf iovec interfacekmacy2007-12-161-0/+1
|
* Update the toedev's connect interface to reflect the fact that the inpcbkmacy2007-12-161-1/+1
| | | | doesn't cache the rtentry in HEAD.
* Add driver for TCP offloadkmacy2007-12-169-0/+5422
| | | | Sponsored by: Chelsio Inc.
* Update the buffer management support code needed by the tcp offload modulekmacy2007-12-164-550/+845
|
* Sanitize of a routine that is going awaykmacy2007-12-161-5/+5
|
* overlead mbuf fields for use by toekmacy2007-12-161-0/+16
|
* Add system includes for mvec.hkmacy2007-12-161-0/+4
|
* Add socket option for setting and retrieving the congestion control algorithm.kmacy2007-12-161-0/+3
| | | | The name used is to allow compatibility with Linux.
* Make files under src/sys/powerpc/aim, as well as Open Firmware relatedmarcel2007-12-161-22/+22
| | | | | | | files dependent upon option/cpu AIM. This is in preparation of adding support for Book-E (e500) support. Obtained from: Juniper, Semihalf
* - Define lpohead even if userspace includes this file.jeff2007-12-161-2/+1
|
* Rename OEA to AIM. The former means nothing as it applies to allmarcel2007-12-164-9/+4
| | | | | | | | | | | | processors (it's the PowerPC Operating Environment Architecture). AIM designates the processors made by the Apple-IBM-Motorola alliance and those we typically support. While here, remove the NetBSD option IPKDB. It's not an option used by us. Also, PPC_HAVE_FPU is not used by us either. Remove that too. Obtained from: Juniper, Semihalf
OpenPOWER on IntegriCloud