| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Straightforward ticks -> milliseconds conversions.
|
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
|
|
| |
previously the code would do a series of comparisons to IPL_FOO and
IPL_BAR, and use splfoo() and splbar() as needed, but for like a
dozen different IPl levels (i may be exaggerating). splraise() rolls
all of that up.
ok deraadt@ mpi@
|
| |
|
| |
|
|
|
|
|
|
| |
unconfigured.
ok miod@, mlarkin@
|
|
|
|
| |
ok beck@ krw@
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
|
|
| |
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
| |
than a kludged together chunk of code for just one chip, which happens
to be entirely wrong. We need to watch for regressions on cardbus, though.
ok kettenis
|
|
|
|
|
|
|
|
|
|
| |
paths are reflexive. It is now possible to fail part-way through a
suspend sequence, and recover along the resume code path.
Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used
after hibernate (and suspend too) to finish the job. Some drivers
must be converted at the same time to use this instead of shutdown hooks
(the others will follow at a later time)
ok kettenis mlarkin
|
| |
|
|
|
|
|
|
|
| |
hierarchy. Everything attached to a single root node anyway, so at
best we had a bush.
"i think it is good" deraadt@
|
|
|
|
| |
ejected, and that this needs to be solved.
|
|
|
|
|
| |
resume time.
ok kettenis
|
|
|
|
|
| |
told them to suspend. In some drivers, this "wakes" them up.
ok kettenis
|
|
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
|
|
|
|
|
| |
bridges when we do suspend and resume.
ok deraadt@
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections
|
|
|
|
|
|
|
| |
CardBus bridge powered up during suspend. Step zero on the long road
towards fully suspending CardBus on all machines.
ok deraadt@, damien@
|
|
|
|
| |
"I agree that hz / 10 is 1/10 of a second, which is 100 milliseconds" krw@
|
| |
|
|
|
|
|
|
|
| |
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.
ok oga@ krw@ kettenis@
|
|
|
|
|
|
|
| |
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.
Suggested by and ok kettenis@
|
|
|
|
|
|
| |
kernel after the cardbus rectification.
ok jsg@
|
|
|
|
|
|
| |
their pci counterparts, similar to recent changes in NetBSD.
ok oga@ deraadt@ jasper@
|
| |
|
|
|
|
|
|
| |
is the granularity of the windows provided by the CardBus bridge. A smaller
alignment may result in those windows covering address space used by other
PCI devices in the machines. Fixes CardBus xl(4) n naddy's X40.
|
|
|
|
|
|
|
| |
legacy register mapping. So remove comments and #ifdef 0'ed code that
questions this.
ok miod@
|
|
|
|
|
|
|
|
| |
by the firmware; our PCI code takes care of this now. Also eliminate
support for I/O socket BARs. There is no evidence they actually exist.
Clean up some unused structure members while there.
ok miod@
|
|
|
|
|
| |
space in pccbb_winset(), instead of their bare values. Saves time for grep
users. While there, a few grammar and typo fixes in comments.
|
|
|
|
|
| |
logic to be chipset dependent; no functional change yet.
ok kettenis@
|
| |
|
|
|
|
|
|
|
| |
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
|
|
|
|
| |
Found by LLVM/Clang Static Analyzer.
ok claudio@
|
|
|
|
|
|
|
|
|
|
| |
been initialized by the firmware. This was probably the intention of the
origional code, however, it used the wrong default value for the register
in question.
Add TI PCI1510 to the list of 12XX-compatible bridges.
"be brave" deraadt@
|
|
|
|
| |
ok claudio
|
| |
|
|
|
|
| |
ok jsing@, fgsch@
|
|
|
|
| |
fast enough.
|
|
|
|
|
|
| |
unconfigured.
Tested by a few; ok deraadt@ (a while back).
|
| |
|
|
|
|
| |
with valid devices.
|
|
|
|
|
| |
pchb's further
ok reyk oga
|
| |
|