summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-01ata information vpd page idDavid Gwynne
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
rather than it being a pointer to something that needs to be allocated at attach. since all these devices need a bufq to operate, it makes sense to have it allocated as part of the softc and get bufq_init to just initialise all its fields. it also gets rid of the possibility that you wont be able to allocate the bufq struct during attach, which is something you dont want to happen. secondly, it consistently implements a split between wrapper functions and the per discipline implementation of the bufq handlers. it consistently does the locking in the wrappers rather than doing half in the wrappers and the other half in the implementations. it also consistently handles the outstanding bufq bq pointer in the wrappers. this hides most of the implementation inside kern_bufq.c. the only stuff left in buf.h is for the bits each implementation needs to put inside struct buf. tested by thib@ krw@ and me ok thib@ matthew@ no objection from krw@
2010-08-31Add missing prototype.Nicholas Marriott
2010-08-31syncStuart Henderson
2010-08-31add id for BCM5719; from Linux tg3 driver via BradStuart Henderson
2010-08-31small text tweak to accommodate previous;Jason McIntyre
2010-08-31put .Os in the right place;Jason McIntyre
2010-08-31styleTobias Stoeckmann
2010-08-31Removed ra_uid, which was supposed to save the uid of a delta's author.Tobias Stoeckmann
Is not used and not useful. ok xsa, zinovik
2010-08-31remove argnames from prototype.Owain Ainsworth
no binary change.
2010-08-31- catching up with upstream mdoclint, recognise IMPLEMENTATION NOTES andJason McIntyre
COMPATIBILTY as sections. these remain defined only for netbsd, since we do not use these sections. - contrariwise, undefine EXIT STATUS as being netbsd only. despite some misgivings, i think we probably do need to ressurect this section. i'll start to make these changes soon.
2010-08-31this diff does two things (usually a bad sign):Jason McIntyre
- note which section headings (.Sh) are not used by openbsd - move the description of the section heading to under the heading, rather than before it: a much more logical way to read diffs mailed upstream...
2010-08-31convert the powerhook to an activate function. That activate functionTheo de Raadt
does not truly work yet many machines because it does not do enough; it is a total fluke if it works for you. (kettenis is, I think, working on improving it) ok kettenis
2010-08-31fix some macro abuse;Jason McIntyre
2010-08-31Do wsdisplay suspend/resume and also the bufq dance.Paul Irofti
Reminded by oga@, okay deraadt@.
2010-08-31remove a comment suggesting that azalia needs a powerhookTheo de Raadt
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod. (missed file)
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod.
2010-08-31When cardbus is fixed, this will be able to use dc_activate directlyTheo de Raadt
(I stronly hope that cardbus needs no bus-specific wrappers!)
2010-08-31sort DVACT_ actions in order of useTheo de Raadt
2010-08-31annotate that this driver needs sc_dying codeTheo de Raadt
2010-08-31sort DVACT_ actions according to the order likely to be usedTheo de Raadt
2010-08-31Change the powerhook into an activation routine. It has to use a workq.Theo de Raadt
There is a bit of concern that this workq can race against a detach happening... any solutions from the peanut gallery?
2010-08-31In xxactivate() DVACT_DEACTIVATE, when calling a series of config_deactivate()Theo de Raadt
for sub-devices, return the last error return value instead of |'ing the failures together and creating some value that is non-0 (bravo!) but potentially loses the specific error value...
2010-08-31in the activate function, order the DVACT_ functions in the order theyTheo de Raadt
can expect to be used
2010-08-31activate function should return result of config_activate_childrenTheo de Raadt
2010-08-31activate function should return result of config_activate_childrenTheo de Raadt
2010-08-31activate function should return result of config_activate_childrenTheo de Raadt
2010-08-31activate functions should not return EOPNOTSUPPTheo de Raadt
2010-08-31pchbactivate should return result of config_activate_childrenTheo de Raadt
2010-08-31pchbactivate should return result of config_activate_childrenTheo de Raadt
2010-08-31no need to specially handle the 4 AMD756 registers at suspend/resume time;Theo de Raadt
they fall within the pcipower() handled range. ok miod
2010-08-31PCI configuration space register save/restore for AMD756.Miod Vallat
2010-08-31reintroduce commit from tedu@, which I pulled out for release engineering:Damien Miller
OpenSSL_add_all_algorithms is the name of the function we have a man page for, so use that. ok djm
2010-08-31tests for ECDSA keysDamien Miller
2010-08-31tests for ECDSA certificatesDamien Miller
2010-08-31Correctly enable wakeup interrupts after splhigh().Miod Vallat
2010-08-31Implement Elliptic Curve Cryptography modes for key exchange (ECDH) andDamien Miller
host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer better performance than plain DH and DSA at the same equivalent symmetric key length, as well as much shorter keys. Only the mandatory sections of RFC5656 are implemented, specifically the three REQUIRED curves nistp256, nistp384 and nistp521 and only ECDH and ECDSA. Point compression (optional in RFC5656 is NOT implemented). Certificate host and user keys using the new ECDSA key types are supported. Note that this code has not been tested for interoperability and may be subject to change. feedback and ok markus@
2010-08-31WIP suspend/resume support for loongson lemote. Okay miod@.Paul Irofti
2010-08-31Add buffer_get_cstring() and related functions that verify that theDamien Miller
string extracted from the buffer contains no embedded \0 characters* This prevents random (possibly malicious) crap from being appended to strings where it would not be noticed if the string is used with a string(3) function. Use the new API in a few sensitive places. * actually, we allow a single one at the end of the string for now because we don't know how many deployed implementations get this wrong, but don't count on this to remain indefinitely.
2010-08-31do not return EOPNOTSUPP for unknown activate actionsTheo de Raadt
2010-08-31uhci is apparently is unaware that it could be on a shared interruptTheo de Raadt
It is OK to return 0 in that case, but it is not OK to print a diagnostic.
2010-08-30activate functions, when they do not add value, should return the result of ↵Theo de Raadt
config_activate_children
2010-08-30- various tweaks and fixes for airport codes starting with A.Jasper Lievisse Adriaanse
2010-08-30Hurray! Zaurus apm can now call the activate functions intead of powerhooks.Theo de Raadt
We call the activate functions at splhigh; unfortunately we cannot suspend a zaurus at splhigh because on resume the clock is hosed. We accept this bug for now... perhaps someone can find it? (The powerhooks remain in place in the drivers, and will be roto-tilled once we all the other powerhook-using architectures have switched over) testing by myself and jakemsr; proof reading by oga
2010-08-30Convert all powerhooks to activate functions, and provide powerhook stubs.Theo de Raadt
Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and jakemsr; proof reading by oga
2010-08-30lend a hand keeping beagle up-to-date with what is going on in powerhookTheo de Raadt
vs activate. It compiles.
2010-08-30Change powerhooks into activate functions, and provide stub powerhookTheo de Raadt
functions ok kettenis
2010-08-30ioctl versus resume-workq exclusion; cloned from iwnTheo de Raadt
2010-08-30disable SVR4 compat by default; ok kettenisTheo de Raadt