aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Imoproved comments for the minimax polynomial.Bruce Evans2005-11-121-10/+11
| | | | | | | | | Removed an unused variable. Fixed some wrong comments and some nearby misformatting. Notes: svn path=/head/; revision=152343
* Make the kern.geom.conftxt sysctl more usable by also dumping theMarcel Moolenaar2005-11-121-5/+4
| | | | | | | | | | | | | | MD class. Previously only the DISK class was dumped. The only consumer of this sysctl is libdisk (i.e. sysinstall) and it tests explicitly for instances of the DISK class. Dumping other classes is therefore harmless. By also dumping the MD class regression tests can be written that use the MD class for operations that would normally be done on the DISK class. The sysctl can now be used to test if those operations took an effect. An example is partitioning. Notes: svn path=/head/; revision=152342
* Tweaked the minimax polynomial and improved its comments.Bruce Evans2005-11-121-5/+5
| | | | Notes: svn path=/head/; revision=152341
* Improved comments for the minimax polynomial.Bruce Evans2005-11-121-4/+4
| | | | Notes: svn path=/head/; revision=152340
* Speed up stale catpages hunting by not running sed(1) for every catpage.Ruslan Ermilov2005-11-121-18/+15
| | | | Notes: svn path=/head/; revision=152339
* Don't check DESTDIR when making distributeworld; the latter expectsRuslan Ermilov2005-11-121-0/+2
| | | | | | | | | DISTDIR. Reported by: nyan Notes: svn path=/head/; revision=152338
* Really fix it this time.Ruslan Ermilov2005-11-121-3/+3
| | | | Notes: svn path=/head/; revision=152337
* Attempt to fix pc98 GENERIC compile breakage.Ruslan Ermilov2005-11-121-3/+3
| | | | Notes: svn path=/head/; revision=152336
* As for the float trig functions, use a minimax polynomial that isBruce Evans2005-11-121-9/+7
| | | | | | | | | | | | | | | specialized for float precision. The new polynomial has degree 8 instead of 14, and a maximum error of 2**-34.34 (absolute) instead of 2**-30.66. This doesn't affect the final error significantly; the maximum error was and is about 0.8879 ulps on amd64 -01. The fdlibm expf() is not used on i386's (the "optimized" asm version is used), but probably should be since it was already significantly faster than the asm version on athlons. The asm version has the advantage of being more accurate, so keep using it for now. Notes: svn path=/head/; revision=152335
* Fix a > 1 year old typo that caused the ulpt driver to try readingIan Dowse2005-11-121-1/+1
| | | | | | | | | | | | | from the printer and discarding the data even if the ulpt device was opened for reading. This resulted in crashes because two conconcurrent read transfers were using the same transfer structure. PR: usb/88886 Reported By: Alex Pivovarov MFC after: 1 week Notes: svn path=/head/; revision=152334
* Fix a stub function so that is has the correct number ofDaniel Eischen2005-11-121-3/+3
| | | | | | | | | arguments. While I'm here, correct a couple of [tab] alignments. Submitted by: bland Notes: svn path=/head/; revision=152333
* style(9) cleanups.Craig Rodrigues2005-11-121-16/+17
| | | | | | | Spotted by: njl, bde Notes: svn path=/head/; revision=152332
* Add "-s" argument to kdump to suppress the display of I/O data.Robert Watson2005-11-122-4/+11
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=152331
* Look through ext2fs file systems as well as ufs.Greg Lehey2005-11-121-1/+1
| | | | | | | | | This should almost certainly be extended to other local file systems as well (ntfs springs to mind), but I don't have the ability to test it. Notes: svn path=/head/; revision=152330
* Add -P flag, it does the same as the -p option, except that theKirill Ponomarev2005-11-124-11/+52
| | | | | | | | | | | | | | given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively. PR: bin/75742 Submitted by: Frerich Raabe <raabe AT kde DOT org> MFC after: 3 days Notes: svn path=/head/; revision=152329
* Significant refactoring of the accounting code to improve locking and VFSRobert Watson2005-11-121-108/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happiness, as well as correct other bugs: - Replace notion of current and saved accounting credential/vnode with a single credential/vnode and an acct_suspended flag. This simplifies the accounting logic substantially. - Replace acct_mtx with acct_sx, a sleepable lock held exclusively during reconfiguration and space polling, but shared during log entry generation. This avoids holding a mutex over sleepable VFS operations. - Hold the sx lock over the duration of the I/O so that the vnode I/O cannot occur after vnode close, which could occur previously if accounting was disabled as a process exited. - Write the accounting log entry with Giant conditionally acquired based on the file system where the log is stored. Previously, the accounting code relied on the caller acquiring Giant. - Acquire Giant conditionally in the accounting callout based on the file system where the accounting log is stored. Run the callout MPSAFE. - Expose acct_suspended via a read-only sysctl so it is possibly to programmatically determine whether accounting is suspended or not without attempting to parse logs. - Check both acct_vp and acct_suspended lock-free before entering the accounting sx lock in acct(). - When accounting is disabled due to a VBAD vnode (i.e., forceable unmount), generate a log message indicating accounting has been disabled. - Correct a long-standing bug in how free space is calculated and compared to the required space: generate and compare signed results, not unsigned results, or negative free space will cause accounting to not be suspended when required, or worse, incorrectly resumed once negative free space is reached. MFC after: 2 weeks Notes: svn path=/head/; revision=152328
* Make sure only remove one signal by debugger.David Xu2005-11-121-1/+2
| | | | Notes: svn path=/head/; revision=152327
* Add section to start/stop Bluetooth USB devices (via ng_ubt(4))Maksim Yevmenkin2005-11-121-0/+10
| | | | | | | | | Submitted by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, imp MFC after: 1 week Notes: svn path=/head/; revision=152326
* add continued status.David Xu2005-11-121-4/+4
| | | | Notes: svn path=/head/; revision=152325
* Insert missing copyright headers.David Xu2005-11-125-0/+10
| | | | Notes: svn path=/head/; revision=152324
* Document -32 flag in usage() output as well.John Baldwin2005-11-111-1/+1
| | | | | | | | Requested by: ru MFC after: 1 week Notes: svn path=/head/; revision=152323
* Traditionally expand tabs here.Ruslan Ermilov2005-11-111-2/+2
| | | | Notes: svn path=/head/; revision=152322
* Document the -32 switch available on amd64.John Baldwin2005-11-111-0/+4
| | | | | | | | Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu MFC after: 1 week Notes: svn path=/head/; revision=152321
* Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search pathJohn Baldwin2005-11-111-1/+1
| | | | | | | | | | | | | | | we included the length of the path in the returned size but not the length of the associated Dl_serpath structure. Without this fix, programs attempting to allocate a structure to hold the search path information would allocate too small of a buffer and rtld would overrun the buffer while filling it via a subsequent RTLD_DI_SERINFO request. Submitted by: "William K. Josephson" wkj at morphisms dot net Reviewed by: jdp MFC after: 2 weeks Notes: svn path=/head/; revision=152320
* Add dev/speaker into include/ treeXin LI2005-11-111-0/+2
| | | | Notes: svn path=/head/; revision=152318
* Since speaker.h now lives in sys/dev/speaker, reflect this fact here.Xin LI2005-11-111-1/+1
| | | | Notes: svn path=/head/; revision=152317
* Update PCI ids to add the E200, E200i, P400, and P400i storagePaul Saab2005-11-112-4/+15
| | | | | | | | | controllers. Remove the E400 since it is not a real product. Submitted by: HP Notes: svn path=/head/; revision=152316
* - Store pointer to the link-level address right in "struct ifnet"Ruslan Ermilov2005-11-1181-242/+220
| | | | | | | | | | | | | rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead. Notes: svn path=/head/; revision=152315
* Only signo should be marked with .Fa.David Xu2005-11-111-1/+2
| | | | Notes: svn path=/head/; revision=152314
* List /boot/device.hints entries for the second joystick.Jean-Yves Lefort2005-11-111-0/+2
| | | | | | | Approved by: joel Notes: svn path=/head/; revision=152313
* Use the more appropriate ifnet_byindex() instead of ifaddr_byindex().Ruslan Ermilov2005-11-111-2/+2
| | | | Notes: svn path=/head/; revision=152312
* Catch up with IFP2ENADDR() type change (array -> pointer).Ruslan Ermilov2005-11-118-12/+10
| | | | Notes: svn path=/head/; revision=152311
* Add definitions for 64-bit PTEsPeter Grehan2005-11-111-10/+47
| | | | Notes: svn path=/head/; revision=152310
* Rename GEOM class kernel module g_md.ko to geom_md.ko for consistencyPawel Jakub Dawidek2005-11-114-33/+17
| | | | | | | | | | | | | with the rest. mdconfig.c: Simplify mdmaybeload() function. mdioctl.h: Removed (now unused) #define. loader.conf: Sort GEOM classes properly. OK'ed by: phk Notes: svn path=/head/; revision=152309
* Force this interface to be RUNNING.Gleb Smirnoff2005-11-111-0/+1
| | | | Notes: svn path=/head/; revision=152308
* Add more GEOM classes to defaults/loader.conf. Add references to manualPawel Jakub Dawidek2005-11-111-3/+17
| | | | | | | | | pages to those already present. Reviewed by: brueffer Notes: svn path=/head/; revision=152307
* Add /dev/speaker support to amd64.Ruslan Ermilov2005-11-1116-939/+28
| | | | | | | | | | | The following repo-copies were made (by Mark Murray): sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4 Notes: svn path=/head/; revision=152306
* ata_generic_hw takes a dev as a parameter, not a channel.Peter Grehan2005-11-111-1/+1
| | | | Notes: svn path=/head/; revision=152305
* Fix compile warning: pmap_bootstrap is now declared extern in pmap.h,Peter Grehan2005-11-112-2/+0
| | | | | | | remove redundant declaration. Notes: svn path=/head/; revision=152304
* Some fixes for last commit.Gleb Smirnoff2005-11-111-8/+7
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=152303
* Skip .symbols files.Ruslan Ermilov2005-11-111-1/+4
| | | | Notes: svn path=/head/; revision=152302
* Fix plural.Xin LI2005-11-111-1/+1
| | | | Notes: svn path=/head/; revision=152300
* Fix plural.David Xu2005-11-111-1/+1
| | | | Notes: svn path=/head/; revision=152299
* Fix copy-paste issue.David Xu2005-11-111-2/+0
| | | | Notes: svn path=/head/; revision=152298
* Add POSIX timer manuals.David Xu2005-11-114-0/+368
| | | | Notes: svn path=/head/; revision=152297
* - Make IFP2ENADDR() a pointer to IF_LLADDR() rather than anotherRuslan Ermilov2005-11-1116-69/+25
| | | | | | | | | | | copy of Ethernet address. - Change iso88025_ifattach() and fddi_ifattach() to accept MAC address as an argument, similar to ether_ifattach(), to make this work. Notes: svn path=/head/; revision=152296
* Add descriptions about signal queue.David Xu2005-11-111-0/+24
| | | | Notes: svn path=/head/; revision=152295
* Er, highlight function wait().David Xu2005-11-111-7/+10
| | | | Notes: svn path=/head/; revision=152294
* Add notes about queued SIGCHLD.David Xu2005-11-111-0/+10
| | | | Notes: svn path=/head/; revision=152293
* Add manuals for sigqueue, sigtimedwait, sigwaitinfo.David Xu2005-11-113-2/+296
| | | | Notes: svn path=/head/; revision=152291