summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-08-31add id for BCM5719; from Linux tg3 driver via BradStuart Henderson
2010-08-31remove argnames from prototype.Owain Ainsworth
no binary change.
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-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-31Correctly enable wakeup interrupts after splhigh().Miod Vallat
2010-08-31WIP suspend/resume support for loongson lemote. Okay miod@.Paul Irofti
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-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
2010-08-30Convert the pcmcia power hook to an activate function. Then change theTheo de Raadt
model so that DVACT_SUSPEND methods call sub-drivers with DVACT_SUSPEND not DVACT_DEACTIVATE, and such. This creates a whole bunch of fallout, which needs fixing. wdc(4), ne(4), and wi(4) have been fully tested and actually work better than they ever have before (no more wdc timeouts on resume!) malo(4) has some other nasty bug which has not yet been spotted which causes crazy panics. The other drivers are more rare and will be fixed if people show up with hardware; for now at least they have been adapted to the new model. ok kettenis
2010-08-30fix tailq use; ok thibTheo de Raadt
2010-08-30delete PROCFS we will never supportTheo de Raadt
2010-08-30During boot probe walk disklist rather than alldevs. This avoids a raceJoel Sing
where disks can be on alldevs, however they are not yet initialised and have not yet called disk_attach() (in particular this means that dk_label is a null pointer). Also, if we sleep restart the scan from the top of the disklist in case things have changed whilst we slept. ok marco@
2010-08-30Add a device number to struct disk and populate it on disk attach. WhilstJoel Sing
here also expose disklist for future use. ok deraadt@ miod@
2010-08-30ddbcpu for sgi. ok miod@Takuya ASADA
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
cmd->opcode through the type casted command pointer rather than through xs->cmd->opcode. Requested by deraadt@; ok krw@.
2010-08-29the scsi completion code thinks that if you dont get MFI_STAT_OKDavid Gwynne
back from the chip on a command then the command completely failed. MFI_STAT_SCSI_DONE_WITH_ERROR really means the command completed fine, but there's some sense data too. this tweaks the handling to be more appropriate, as per the linux and solaris drivers. timed out waiting for beck@ putting this in cos its obviously more correct than the current code.
2010-08-29s/wdcactivate/config_activate_children/Theo de Raadt
2010-08-29wdcactivate() can go since it is just a wrapper aroundTheo de Raadt
config_activate_children (same change made to wdc.c and wdcvar.h) ok kettenis
2010-08-29- add a check for FWRITE here too.Jasper Lievisse Adriaanse
ok miod@
2010-08-29pcmcia/wdc_pcmcia.cTheo de Raadt
2010-08-29expose dp8390_enable/disable to the higher level driversTheo de Raadt
2010-08-29Massage the powerhook functions into activate functions, and then callTheo de Raadt
them from the powerhook. Fix a few quibbles about the things done for the IFF_RUNNING and IFF_UP cases ok kettenis
2010-08-29regenMiod Vallat
2010-08-29Translation code for Fn-key sequences on the Gdium Liberty internal keyboard,Miod Vallat
which reports Fn as a regular key.
2010-08-29- add a missing ioctl FWRITE checkJasper Lievisse Adriaanse
ok miod@