| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
can more easily be used INSTEAD OF the hard-working Yarrow.
The only hardware source used at this point is the one inside
the VIA C3 Nehemiah (Stepping 3 and above) CPU. More sources will
be added in due course. Contributions welcome!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Save and restore bars for suspend/resume as well as for D3->D0
transitions.
o preallocate resources that the PCI devices use to avoid resource
conflicts
o lazy allocation of resources not allocated by the BIOS.
o set unattached drivers to state D3. Set power state to D0
before probe/attach. Right now there's two special cases
for this (display and memory devices) that need work in other
areas of the tree.
Please report any bugs to me.
|
|
|
|
|
|
| |
from the kernel.
Reviewed By: Doug Rabson (dfr@)
|
|
|
|
|
| |
Random Number Generator (RNG) and/or Advanced Cryptography Engine
(ACE).
|
| |
|
|
|
|
|
| |
if/for statements. Assign pointers to NULL rather than typecast 0.
Compare pointers with NULL rather than 0.
|
|
|
|
|
|
|
| |
Removed namespace-polluting forward declaration of struct rusage in the
!_KERNEL && !_BSD_VISIBLE case.
Fixed some nearby style bugs.
|
|
|
|
|
|
| |
Reference objects changed from ACPI_TYPE_ANY to ACPI_TYPE_LOCAL_REFERENCE
in Oct. 2002, this may help systems where switching the cooler on failed.
We support both types for now until this sorts out.
|
| |
|
|
|
|
|
|
| |
some machines to enable wake events for more devices although I haven't
seen a system yet that uses this form. Also, introduce acpi_GetReference()
which retrieves an object reference from various types.
|
|
|
|
| |
Eagle Eyes: bde
|
|
|
|
|
|
|
| |
address discovery and caching (similar to inet ARP). Use a single
global mutex, aarptab_mtx, to protect the table. Remove spl/spx.
Tested by: Bob Bishop <rb@gid.co.uk>
|
|
|
|
|
|
| |
the reduction of the pager map's size by 8M bytes. In other words, eight
megabytes of largely wasted KVA are returned to the kernel map for use
elsewhere.
|
|
|
|
|
|
|
| |
shut up.
Tested by: LINT(i386)
Approved by: bms(mentor)
|
|
|
|
| |
branches, increment version on any API change visible to other modules.
|
|
|
|
|
|
|
|
| |
side effect of that change caused headers to not be sent if a 0 byte
file was passed to sendfile. This change fixes that behavior, allowing
sendfile to send out the headers even with a 0 byte file again.
Noticed by: Dirk Engling
|
|
|
|
|
|
|
|
| |
equal to the process ID) is still present when we dump a core. It
already may have been destroyed. In that case we would end up
dereferencing a NULL pointer, so specifically test for that as well.
Reported & tested by: Dan Nelson <dnelson@allantgroup.com>
|
|
|
|
|
|
|
|
|
| |
Remove spurious whitespace, add indent protection, fix punctuation,
remove initialization of static variables to zero, put wakeup_ctr
and wakeup_needed in the correct order. (reported by bde)
This doesn't fix all the style bugs I introduced, but the remaining
style bugs make it easier for me to understand what I did here.
|
| |
|
|
|
|
|
|
|
| |
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.
Approved by: core, peter, alc, rwatson
|
|
|
|
|
|
|
|
|
| |
are enumerated in the ACPI device tree. In addition to the normal PCI
powerstate functionality, the ACPI _PSx methods are executed and ACPI
PowerResources are switched on and off via the acpi_pwr_switch_consumer()
function.
Glanced at by: imp, njl
|
|
|
|
|
|
|
| |
before calling BUS_GET_RESOURCE_LIST(). Previously, the list head would
only be initialized if BUS_GET_RESOURCE_LIST() succeeded; it needs to
be initialized unconditionally so that the list cleanup code won't
trip over potential stack garbage.
|
|
|
|
|
| |
Submitted by: Stefan Bethke
PR: 61320
|
|
|
|
|
| |
Damage to history from moving bits was especially large since a repo copy
is not feasible for partial files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we convert ip_len into a network byte order; in_delayed_cksum() still
expects it in host byte order.
The symtom was the ``in_cksum_skip: out of data by %d'' complaints
from the kernel.
To add to the previous commit log. These fixes make tcpdump(1) happy
by not complaining about UDP/TCP checksum being bad for looped back
IP multicast when multicast router is deactivated.
Reported by: Vsevolod Lobko
|
|
|
|
|
|
|
|
| |
a callout, and use the new callout_drain API to make sure that a callout
has finished before we deallocate memory it is using.
PR: kern/64121
Discussed with: gallatin
|
|
|
|
| |
(nyan) says this driver is now obsolete and can be removed.
|
| |
|
|
|
|
|
|
|
| |
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.
Approved by: core, peter, alc, rwatson
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
|
|
|
|
|
|
|
|
| |
license, per letter dated July 22, 1999 and irc message from Robert
Watson saying that clause 3 can be removed from those files with an
NAI copyright that also have only a University of California
copyrights.
Approved by: core, rwatson
|
|
|
|
|
| |
2M/4M page TLB vs 4K page TLB stats. This also applies to the i386
platform, as does the cpu features fixes.
|
| |
|
|
|
|
| |
Approved by: sam
|
|
|
|
|
|
|
|
|
|
|
| |
callout_stop(), except that if the callout being stopped is currently
in progress, it blocks attempts to reset the callout and waits until the
callout is completed before it returns.
This makes it possible to clean up callout-using code safely, e.g.,
without potentially freeing memory which is still being used by a callout.
Reviewed by: mux, gallatin, rwatson, jhb
|
|
|
|
|
| |
bit of a bandaide until I get better pci bus code committed to head
from my p4 tree.
|
|
|
|
| |
Attempt to deal with larger memory allocation better.
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
|
|
|
|
| |
while ago, and it does seem to help at least one card I have and has
been in my p4 tree for many months.
|
| |
|
|
|
|
|
|
|
| |
MNTK_SUSPEND flag on the correct vnode pointer in softdep_disk_prewrite().
Reviewed by: phk
Tested by: kensmith
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
count is protected by the mutex that protects the condition, so the count
does not require any extra locking or atomic operations. It serves as an
optimization to avoid calling into the sleepqueue code at all if there are
no waiters.
Note that the count can get temporarily out of sync when threads sleeping
on a condition variable time out or are aborted. However, it doesn't hurt
to call the sleepqueue code for either a signal or a broadcast when there
are no waiters, and the count is never out of sync in the opposite
direction unless we have more than INT_MAX sleeping threads.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to awaken all waiters when a contested mutex is released instead of just
the highest priority waiter. If the various threads are awakened in
sequence then each thread may acquire and release the lock in question
without contention resulting in fewer expensive unlock and lock
operations. This old behavior of waking just the highest priority is
still used if this option is specified. Making the algorithm conditional
on a kernel option will allows us to benchmark both cases later and
determine which one should be used by default.
Requested by: tanimura-san
|
| |
|
|
|
|
|
|
| |
more consistent with other APIs. sleepq and cv's use signal/broadcast, and
msleep uses wakeup_one/wakeup. Prior to this turnstiles were using a
signal/wakeup mixture.
|
|
|
|
|
|
|
| |
prevents NMI's from happening when resetting the chip on some
hardware I have seen.
Mis-behaving box made available by: John Cagle <john.cagle@hp.com>
|
|
|
|
|
|
|
| |
for INET6-less kernel.
Requested by: many
Approved by: bms(mentor)
|
| |
|
|
|
|
|
|
|
| |
by increasing the TX list size from 64 to 128, which is
adequate for HZ=1000.
Submitted by: Vsevolod Lobko
|
|
|
|
|
|
|
|
|
| |
to implement this mistake.
Fixed some nearby style bugs (initialization in declaration, misformatting
of this initialization, missing blank line after the declaration, and
comparision of the non-boolean result of the initialization with 0 using
"!". In KNF, "!" is not even used to compare booleans with 0).
|