aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove code which would never be used, viz a viz Quality-of-Service;Bruce M Simpson2007-02-282-23/+1
| | | | | | | | the token bucket filter got killed in netinet, so it gets killed here too. Correct comments. Notes: svn path=/head/; revision=167119
* Add a comment about a struct which needs to be global.Bruce M Simpson2007-02-281-11/+8
| | | | | | | | Remove an unused global variable. Staticize variables which do not need to be global. Notes: svn path=/head/; revision=167118
* Resurrect one of the patches from attic and refine theRuslan Ermilov2007-02-281-31/+18
| | | | | | | | | | | | | lib32 build somewhat. Specifically, instead of spamming ${CC} et al with -I${LIB32TMP}/usr/include which can be harmful (as has been demonstrated by the ncursesw WIP), use slightly different approach to achieve the same goal. This also simplifies things a bit. Prodded by: rafan Notes: svn path=/head/; revision=167117
* Style: Move declaration of subsystem mutex to where otherBruce M Simpson2007-02-281-16/+25
| | | | | | | mutexes are in this file, and use macros for dealing with it. Notes: svn path=/head/; revision=167116
* Update the tcp(4) manpage with the new (and some older undocumented) sysctls.Mohan Srinivasan2007-02-281-3/+19
| | | | | | | Remove a sysctl that is no longer used. Notes: svn path=/head/; revision=167115
* Minor reformatting.Thomas Quinot2007-02-281-2/+2
| | | | Notes: svn path=/head/; revision=167111
* International code for Russian Ruble is changed from RUR to RUBAndrey A. Chernov2007-02-285-5/+5
| | | | | | | starting from 1.1.2001 (ISO 4217) Notes: svn path=/head/; revision=167110
* Add EHOSTDOWN and ENETUNREACH to the list of soft errors, that shouldn'tGleb Smirnoff2007-02-281-0/+2
| | | | | | | | | | | be returned up to the caller. PR: 100172 Submitted by: "Andrew - Supernews" <andrew supernews.net> Reviewed by: rwatson, bms Notes: svn path=/head/; revision=167107
* Toss the code, that handles errors from ip_output(), to make it moreGleb Smirnoff2007-02-281-30/+26
| | | | | | | | | | | readable: - Merge two embedded if() into one. - Introduce switch() block to handle different kinds of errors. Reviewed by: rwatson, bms Notes: svn path=/head/; revision=167106
* Fix markup.Ruslan Ermilov2007-02-281-2/+3
| | | | Notes: svn path=/head/; revision=167105
* Fix a nit noticed during translation.Ruslan Ermilov2007-02-281-0/+2
| | | | Notes: svn path=/head/; revision=167104
* Backport markup fixes from a translated version of a manpage.Ruslan Ermilov2007-02-281-2/+2
| | | | Notes: svn path=/head/; revision=167103
* Check in some insignificant fixes obtained as a result ofRuslan Ermilov2007-02-281-18/+19
| | | | | | | the translation work. Notes: svn path=/head/; revision=167102
* - Adopt the short description from POSIX as it better matches theRuslan Ermilov2007-02-281-7/+6
| | | | | | | | | | utility name. - Fix a bug in description: the range preceded by a dash selects up to the last number, not first. Notes: svn path=/head/; revision=167101
* Revert previous change and take back a pointy hat.Ruslan Ermilov2007-02-281-1/+1
| | | | Notes: svn path=/head/; revision=167098
* Lock unp2 after checking for a non-NULL unp2 pointer in uipc_send() onRobert Watson2007-02-281-1/+1
| | | | | | | datagram UNIX domain sockets, not before. Notes: svn path=/head/; revision=167097
* Fix panic on boot caused by setting up a NULL interrupt handler.Ruslan Ermilov2007-02-281-1/+1
| | | | | | | | Submitted by: Goran Gajic Pointy hat to: piso Notes: svn path=/head/; revision=167096
* Add a comment for PRIV_NET_SETLLADDR.Pawel Jakub Dawidek2007-02-271-1/+1
| | | | | | | OK'ed by: rwatson Notes: svn path=/head/; revision=167095
* Furhter clarifications:Greg Lehey2007-02-271-6/+15
| | | | | | | | | | | | - the issues with wakeup_one are due to address space clashes between unrelated groups of threads. - sleep() was removed in FreeBSD 2.2. - date the page today, not 4 days ago. - replace grammatically correct "woken" with "woken up" for consistency with the function name. Notes: svn path=/head/; revision=167094
* Some USB mass storage devices return the number of sectors in responseWarner Losh2007-02-271-0/+18
| | | | | | | | | | | | | | | | | | | | | to a READ_CAPACITY request rather than the maximum sector (off by one problem). This causes a huge cascade of errors as the geom tasting code tries to read the last sector (which isn't really there in the face of this error). automated tools that manipulate disk labels and such also have issues. Create a new quirk READ_CAPACITY_OFFBY1 and add a quirk for the SanDISK ImageMate that I have that suffers from this problem (the SDDR-31). It intercepts the READ_CAPACITY response and adjusts it from number of sectors to max sector for devices with this quirk. Reading the Linux source suggests that there are a host of other devices with this issue, including iPods and some popular cameras. I've not added quirks for them, since I don't have the devices in front of me to test. Notes: svn path=/head/; revision=167093
* Entries sorted by id number, not nameWarner Losh2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167092
* Use pause() in vm_object_deallocate() to yield the CPU to the lock holderJohn Baldwin2007-02-271-1/+1
| | | | | | | | | rather than a tsleep() on &proc0. The only wakeup on &proc0 is intended to awaken the swapper, not random threads blocked in vm_object_deallocate(). Notes: svn path=/head/; revision=167091
* Print tid's rather than thread pointers in KTR_PROC traces.John Baldwin2007-02-271-8/+8
| | | | Notes: svn path=/head/; revision=167089
* Use taskqueue_drain() to wait for any pending tasks to complete ratherJohn Baldwin2007-02-271-4/+2
| | | | | | | than just pausing for a second. Notes: svn path=/head/; revision=167088
* Use pause() instead of tsleep()'s on the softc pointer that have noJohn Baldwin2007-02-271-6/+6
| | | | | | | | corresponding wakeups. Also, at least some of the comments nearby indicate that these are fixed-length I/O sleeps. Notes: svn path=/head/; revision=167087
* Use pause() rather than tsleep() on stack variables and function pointers.John Baldwin2007-02-2719-44/+38
| | | | Notes: svn path=/head/; revision=167086
* Use pause() rather than tsleep() on explicit global dummy variables.John Baldwin2007-02-273-7/+3
| | | | Notes: svn path=/head/; revision=167085
* Use pause() rather than using tsleep() on a dummy variable.John Baldwin2007-02-272-2/+1
| | | | Notes: svn path=/head/; revision=167084
* Always protect the kthread flags with the lock and close a race withJohn Baldwin2007-02-271-2/+1
| | | | | | | | | module unload and kthread_exit(). MFC after: 3 days Notes: svn path=/head/; revision=167083
* Use tsleep() rather than msleep() with a NULL mtx.John Baldwin2007-02-272-4/+4
| | | | Notes: svn path=/head/; revision=167082
* o consistently check strlcpy resultSam Leffler2007-02-271-2/+10
| | | | | | | o warn when we skip an interface because it's name is too long Notes: svn path=/head/; revision=167081
* Do not execute filter only handlers in ithread_execute_handlers():Paolo Pisati2007-02-271-0/+4
| | | | | | | | this fixes the panics when filter only and ithread only handlers where sharing the same irq . Notes: svn path=/head/; revision=167080
* correct type to silence const complaintSam Leffler2007-02-271-1/+2
| | | | Notes: svn path=/head/; revision=167079
* unbreak create operation, must copy argument to global nameSam Leffler2007-02-271-0/+1
| | | | | | | Spotted by: des Notes: svn path=/head/; revision=167078
* Fix obvious typo (use long name if short name isn't provided).Florent Thoumie2007-02-271-1/+1
| | | | | | | | Reviewed by: sam MFC after: 3 days Notes: svn path=/head/; revision=167077
* In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes.John Baldwin2007-02-271-3/+3
| | | | Notes: svn path=/head/; revision=167076
* Fix markup and grammar bugs in recent revisions.Ruslan Ermilov2007-02-271-6/+8
| | | | Notes: svn path=/head/; revision=167075
* Remove a (harmless) stray backslash.Ruslan Ermilov2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167074
* Add proper return codes to zs_intr() filter, and fix accordinlgly zs_intr()Paolo Pisati2007-02-272-3/+6
| | | | | | | prototype. Notes: svn path=/head/; revision=167073
* Add INADDR_ALLRPTS_GROUP define for 224.0.0.22 for future IGMPv3 support.Bruce M Simpson2007-02-271-0/+1
| | | | | | | Obtained from: OpenSolaris Notes: svn path=/head/; revision=167072
* Make hosts.allow point to hosts_options instead.Nick Hibma2007-02-271-1/+1
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=167071
* Correct return code (int) for at91_rtc_intr() prototype.Paolo Pisati2007-02-271-1/+1
| | | | | | | Approved by: cognet Notes: svn path=/head/; revision=167069
* Clean the lib32 object directory with cleandir rather than rm -rf.Dag-Erling Smørgrav2007-02-271-1/+2
| | | | | | | | Discussed with: ru MFC after: 2 weeks Notes: svn path=/head/; revision=167067
* Fix markup.Ruslan Ermilov2007-02-271-3/+5
| | | | Notes: svn path=/head/; revision=167065
* Add GEOM_MULTIPATH so LINT will build.Dag-Erling Smørgrav2007-02-271-0/+1
| | | | | | | Pointy hat to: mjacob Notes: svn path=/head/; revision=167064
* Fix markup.Ruslan Ermilov2007-02-271-10/+20
| | | | Notes: svn path=/head/; revision=167063
* (cam_rescan): Do not reference ccb->ccb_h.path in CAM_DEBUG call beforeThomas Quinot2007-02-271-2/+2
| | | | | | | | | | | | | | | | it is initialized; use path instead. This change fixes a panic when using atapicam in conjunction with CAMDEBUG, which has been described under kern/103602. Thanks to Josh Carroll <josh.carroll@gmail.com> for providing the traces that allowed identifying this problem. PR: kern/103602 MFC after: 1 week Notes: svn path=/head/; revision=167061
* Call the multipath device with its real name.Alex Dupre2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167060
* First cleanup pass: new sentence -> new line, typos fixed, some markupChristian Brueffer2007-02-271-26/+41
| | | | | | | errors fixed. Notes: svn path=/head/; revision=167058
* KASSERT fails when the condition is false, not when it is true.Kirk McKusick2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167057