summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-25try giving all devices on ami access to all the ccbs. iopools will shareDavid Gwynne
them out safely.
2010-08-25add scsi_iopool_destroy and scsi_link_shutdown. when a link orDavid Gwynne
device are going away, this will walk the pool and link queues and wake up processes that are sleeping while waiting for an io or xs. they will return NULL to the scsi_{xs,io}_get callers, which should then check if they device is still alive. all other handlers that are registered on the queues should be removed by their owners before the destroy/shutdown funcs are called. lots of help and discussion with matthew@ ok matthew@
2010-08-24backout VIS_HEX. guenther@ points out that the C89 \xff encodingDamien Miller
idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
2010-08-24spacesClaudio Jeker
2010-08-24Add a splnet() around a block that needs it for sure. Maybe more inClaudio Jeker
SIOCSIFRDOMAIN should be protected but this is by far the biggest offender. The same codepath in if_detach() runs at splnet().
2010-08-24Only do the link state checking and RTF_UP dance if the routing table isClaudio Jeker
rn_mpath_capable(). Move code down into the mpath specific block. Not all routing tables support multipath and therefor priorities.
2010-08-24lockmgr -> rwlock conversionBret Lambert
and with this, my adventure in sdmmc-land is over bikeshed is still banana-shaped ok oga@
2010-08-24legibility fixes:Bret Lambert
1) one statement per line 2) label gets its own line, and doesn't share it with a statement no functional change "Let the turd shine." claudio@
2010-08-24last is a pointer so initialize to NULL and not 0. Also move initializationClaudio Jeker
up to the declaration.
2010-08-24- plugs two fd leaksJasper Lievisse Adriaanse
ok millert@
2010-08-23update to tzcode2010k from elsie.nci.nih.gov; OK miod@Todd C. Miller
2010-08-23Add setenv/putenv regressTodd C. Miller
2010-08-23Check for duplicate variables in the environment when setting a valueTodd C. Miller
via setenv() or putenv(). OK miod@
2010-08-23Clear options before setting up HOME and SHELL, not after. Fixes parsingNicholas Marriott
.tiprc reported by nick@.
2010-08-23syncTheo de Raadt
2010-08-23Can't call event_del() without event_set() first - so call event_set()Nicholas Marriott
when setting up the client.
2010-08-23Implement bus_space_barrier() on sgi; on xbridge, this will also flushMiod Vallat
the pci write buffers.
2010-08-23Rework the logic of xbridge pci_conf_{read,write} to avoid doing the disableMiod Vallat
bridge interrupts dance when trying to access an uninplemented ioc3 register. Makes PIC handling simpler as a bonus.
2010-08-23* if there's an error setting indirect more for a volume knob widget,Jacob Meuser
don't return the error back to the caller, but also don't turn on unsolicited responses for the volume knob. chances are, it isn't acutally used. lets sony viao tz play audio through suspend/resume cycle. * add some debug messages for other volume knob errors.
2010-08-23When extracting the pkg tar file, don't preserve the atime, just set itMatthias Kilian
to the current time. Works around a rare race condition that can happen if daily(8) zaps old files from /var/tmp while pkg_add(8) is installing or updating a package and doesn't yet have moved nor even read some of the files in /var/tmp/pkginfo.* (typically +DESCR). Espie wasn't totally happy with this at first, and will eventually work on something better, so I'm omitting documentations bits for now. ok espie@
2010-08-23fix two problems identified by matthew@:David Gwynne
1. though shalt not hold a mutex while sleeping, which kthread_create can do. instead of holding the wq mutex over the kthread_create and increasing the number of running threads after kthread_create succeeds, this counts the thread and drops the mutex before kthread_create. after the call it takes the mutex again and decrements the number of threads if the call failed. 2. if a workq is created during autoconf, the actual thread create is deferred to when the scheduler is running. if the workq is destroyed before then, the wq memory gets freed and then the deferred thread creation will be using freed memory. we now have a workq state variable so we can do the right thing at the different stages of the workqs lifetime. ok matthew@
2010-08-23unbreak tree: add VIS_HEX and VIS_ALL flagsDamien Miller
2010-08-23LSISAS2004 is an mpii chip. mpii can do bio.David Gwynne
mpii.4 change from alexey suslikov bio.4 from jmc@ ok marco@
2010-08-23add support for the LSISAS2004 ships.David Gwynne
from alexey suslikov ok marco@
2010-08-23regenDavid Gwynne
2010-08-23LSI SAS 2004David Gwynne
from alexey suslikov ok marco@
2010-08-22small bits of cleanup. ok ottoTed Unangst
2010-08-22small style fixes of no consequnceTed Unangst
2010-08-22the upper case table code was a lot more complicated than it needed to be.Ted Unangst
2010-08-22Redistributing the default route with ospf6d did not work correctly.Alexander Bluhm
- kroute.c may not ignore the default route. - Use the ROUNDUP macro from route/show.c as this one is also correct for netmask with prefixlen 0. - Implement ospf_redistribute and the redistribute parser like ospfd. ok claudio@
2010-08-22When removing an announced prefix, inherit the metric and ext_tagAlexander Bluhm
from the LSA that is currently in the tree. Based on claudio@'s diff and his fix for ospfd. Additionally originate an LSA with external route tag correctly by writing the AS-external-LSA's bit T into the correct field. ok claudio@
2010-08-22Origin network-LSA with options based on the options of the link-LSAs.Alexander Bluhm
Without this fix Cisco's OSPF 6 ignores our network-LSAs. ok claudio@
2010-08-22enable nsd the build. ok deraadt@Jakob Schlyter
2010-08-22Fix a 16 year old bug in the sorting routine for non-contiguous netmasks.Marco Pfatschbacher
For masks of identical length rn_lexobetter() did not stop on the first non-equal byte. This leads rn_addroute() to not detecting duplicate entries and thus we might create a very long list of masks to check for each node. This can have a huge impact on IPsec performance, where non-contiguous masks are used for the flow lookup. In a setup with 1300 flows we saw 400 duplicate masks and only a third of the expected throughput. Lots of help in narrowing this down from markus@. Improved comments from claudio@. OK markus@, claudio@
2010-08-22MSG_EXIT can now have a return code in the message, so check for thatNicholas Marriott
size as well. Stops the client fatal()ing on exit.
2010-08-22* sort COMPATIBILITY in mdoc(7); ok kristaps@Ingo Schwarze
* update escape COMPATIBILITY in mdoc(7) and man(7); from kristaps@
2010-08-22regenJakob Schlyter
2010-08-22--enable-nsid now defaultJakob Schlyter
2010-08-22removeJakob Schlyter
2010-08-22mergeJakob Schlyter
2010-08-22NSD v3.2.6Jakob Schlyter
2010-08-21mirror new flags to vis(3): -a to encode all characters, -h to useDamien Miller
hex encoding. feedback jmc@ ok millert@
2010-08-21Two new flags: VIS_ALL - encode all characters, not just invisible onesDamien Miller
and VIS_HEX - use C89 \xff style hexadecimal encoding. Teach unvis(3) how to deal with the hex encoding. feedback and ok millert@ chl@
2010-08-21Match the Huawei E1820, from David Zeillinger.Jonathan Gray
2010-08-21regenJonathan Gray
2010-08-21Huawei E1820, from David Zeillinger.Jonathan Gray
2010-08-21- add a quirk for the apple clear orb usb speakersJasper Lievisse Adriaanse
2010-08-21Rename file to reflect that it handles 64 bit ELF only.Joel Sing
ok miod@ (some time ago)
2010-08-21We only need to load 64 bit kernels on sparc64. Clean up the ELF boot codeJoel Sing
and let exec_elf.h do the right thing. ok miod@ (some time ago)
2010-08-21Backout previous.Ingo Schwarze
As Kristaps found out, i was wrong: .Bl -column phrases do not ignore spacing rules for trailing punctuation in general. In particular, - the rightmost column of a column list is unaffected - columns terminated by the .Ta macro instead of a tab are unaffected - columns ending in a blank are unaffected Spacing rules for trailing punctuation are only ignored when the tab follows the punctuation immediately, without a blank in between, because then the combination of punctuation and tab is treated by roff as a word, and the punctuation is not recognized as isolated. The reason this doesn't work in mandoc is that in the special case of .Bl -column (not in general!), mandoc treats tabs as word delimiters. We either need to solve this differently, or call it a bug in roff.