Age | Commit message (Collapse) | Author |
|
- Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean
context (mostly if (x), or x ? y : z)
- prom_halt() in alpha is confirmed to take int as boolean
Converted by coccinelle. No functional change intended.
|
|
|
|
|
|
underlying softraid.
ok mlarkin
|
|
With input from deraadt@
okay jasper@, uebayashi@
|
|
|
|
|
|
much help and ok from deraadt@
|
|
modified. Some Sony and Asus laptops don't like this; the read seems to
trigger an unwanted SMI that makes the machine hang. Diagnosed by mpi@
ok mpi@
|
|
devices a chance to work. Use bounce buffers for mbufs on 30bit devices.
This fixes "intr fatal TX/RX" errors that render the internal wifi on many
macppc machines unusable. However, packet loss problems remain. In my testing
the device works fine sometimes, but experiences packet loss rates of up
to 80% at other times. Still, this is a step forward.
Helpful hints from claudio@ and dlg@
Tested on macppc by mpi@ and myself
"go ahead" kettenis@, ok mpi@
|
|
bit is set. This interrupt condition is handled by resetting the device.
ok mpi@ as part of a larger diff
|
|
Bug inherited from DragonFly BSD.
ok mpi@ as part of a larger diff.
|
|
Fixes a panic if the interrupt handler decides to reset the device.
Firmware cannot be loaded in interrupt context.
ok mpi@ as part of a larger diff
|
|
|
|
the errno of an intervening cleanup operation like close/unlink/etc.
Also, the format string for warn* and err* shouldn't end with a newline.
Diff from Doug Hogan (doug (at) acyclic.org)
|
|
This fixes both the Lemote reboot issue and the USB issue on the
Gdium's that miod@ spotted.
Suggested by kettenis@, thanks!
Okay miod@
|
|
Noticed by matthieu@.
|
|
|
|
for jmatthew@
|
|
void **. the latter is really hard to cast for, and not what what
solaris does.
ok kettenis@
|
|
but this time for bootdev(). defaults to octcf0a if all else fails.
|
|
ok claudio@
|
|
which have it.
Instead of implementing external L2 maintainance at the cache routine level,
let bus_dmamap_sync(9) know about the possible existence of an external L2,
and invoke a dedicated routine to perform the necessary cache operations.
This way, the external L2 dmamap_sync function pointer can get invoked with
the physical address to operate on; this saves the pmap_extract() calls the
previous cache routine had to do.
|
|
|
|
|
|
getchar/putchar and be able to link again. Crank minor version.
|
|
ih_flags set. ih_flags are used by the intr_handler() code to
determine if the kernel lock should be taken or not.
because the flags werent set, random memory was used instead which
in turn meant you sometimes didnt have the biglock when running
interrupt handlers which relied on it. races ahoy.
this was found by jmatthew@ while helping me try to figure out why
bnx was blowing up and causing double frees and use after frees.
turns out bnx was the smoke for this fire.
sorry it took so long.
ok kettenis@ sthen@
sthen@ seems happy to have the i386 ports build machine working again.
|
|
|
|
|
|
ok kettenis@, deraadt@
|
|
a state PMON doesn't expect, and can't recover from.
|
|
and thus the choice of bsd.mp in the installer. ok kettenis@
|
|
file has 'free ('
:-/
|
|
|
|
|
|
|
|
|
|
|
|
routine.
|
|
atomic_cas_uint_mp.
Also, make the interprocessor interlock the only thing on its cache line.
|
|
This completes the transition. A cvs log and diff will tell the story
of why we went through this.
with david.dahlberg@fkie.fraunhofer.de and claudio
|
|
|
|
private mail. We already have mount_ext2fs there, so it's likely to
be just forgotten to be enabled.
kirby@ kindly tested that kernel still fits.
okay deraadt
|
|
Tested and ok joshe@
|
|
Because ext2fs has only 32-bit inode numbers, use ufsino_t as in FFS.
Disk blocks are u_int32_t as well, because we don't support the 64BIT flag.
When we do, there's going to be a lot more going on than just daddr_t.
While there, add some journaling-related bits into the superblock to play with.
ok guenther
|
|
|
|
moment and now is not the time. hitting these in here causes chaos.
We need to do these, but at a better time than right after a hackathon
and before release.
ok guenther@
|
|
required for libc++
ok guenther afresh1
|
|
can be used anywhere (signal handler, stack protector fault handler) as
long as the format string does not contain floating point.
ok tedu miod beck
|
|
we can pull the space the mbuf layer used to do per interface accounting
out of struct if_data.
saves a hundredish bytes on every interface.
ok deraadt@ claudio@
|