Age | Commit message (Collapse) | Author |
|
fc devices.
|
|
the AUOPEN_ macros from sys/dev/audiovar.h are for something else.
|
|
a device thats now gone, or from being on the list of pending io when
the device is actually detached.
found and fix tested by jakemsr@
"go for it" jakemsr@
|
|
|
|
consistently; discussed with pirofti and deraadt.
|
|
|
|
|
|
|
|
OK oga@, beck@, matthew@
|
|
Compiles fine without it so remove it.
|
|
by the device-tree activate walk it even worse since we were doing so much
more work. apm_suspend() could return into the event handler and thus
tsleep() -- all this while we are supposedly trying to maintain splhigh
because our DVACT_SUSPEND mechanism has temporarily totally wrecked the
machine.
Move the hardware restoration code (DVACT_RESUME + other goo) to the same
function, and recognize that apm_resume() is just a boring event handler
which punts the event to userland.
ok oga
|
|
vague ok from kettenis, but it is just mechanical
|
|
ok thib kettenis
|
|
ok ratchov@
|
|
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
|
|
|
|
okay'd by thib@, who now owns a spanking new ntfs image...
deraadt@ 'okay if thib@ lets you'
|
|
|
|
|
|
LABELSECTOR instead of a hardcoded 0. No functional change.
|
|
verifying that the resulting device is present on the disklist. This
avoids a race whereby the disk driver can be accessed as soon as the
softc has been allocated, but before the disk has completed
initialisation and has called disk_attach() (up until this point
dk_label is still a null pointer).
Cut cd(4), sd(4) and wd(4) across to disk_lookup(). All callers of
disk_attach() need to be tested and cut over in due course.
ok deraadt@ krw@
|
|
to the extended partition information and allows for correct
identification of parition types.
|
|
disk_attach() is called by the device driver. We will be building on
this shortly.
ok deraadt@ krw@
|
|
|
|
Move pool initialization to init_crypto and zap the crypto_pool_initialized
variable. This way we don't have to check if the pool are initialized every
time we do a crypto_getreq().
However, also perform the crypto initialisation earlier in init_main so
that the crypto pools are initialised before they are used.
ok mikeb@ thib@ deraadt@
|
|
just a target/lun.
|
|
|
|
we can pass M_WAITOK to malloc(9) (which was already done a few lines
down, which set off my aesthetic alarm).
While here, include malloc.h, since we're calling malloc.
ok dlg@
|
|
ip_forward() to know the difference between blocked packets and those that
can't be forwarded (EHOSTUNREACH). Only in the latter case an ICMP should
be sent. In the other callers of ip_output() change the error back to
EHOSTUNREACH since userland may not expect EACCES on a sendto().
OK henning@, markus@
|
|
information if the gateway changes, since real MPLS routes need to
change gateway and outgoing label on topology changes. So if there is
MPLS information and an outgoing label do a proper change but if the
gateway of a non-MPLS route is changed remove the MPLS path since it is
no longer valid.
OK michele@
|
|
packet. For IP and IPv6 the corresponding mapttl sysctl needs to be set.
This is needed to make traceroute work over MPLS.
OK michele@
|
|
|
|
all from deraadt@
tested by me with hotplugged disks on mpi(4)
|
|
|
|
different levels; ok oga kettenis
|
|
|
|
|
|
|
|
that means that all users running ipsec on amd64 with 'aes'
cpu flag will have aes encryption accelerated in cbc and ctr
modes for all three key sizes: 128, 192 and 256.
for debug purposed a number of operations performed by the
driver is visible throught the pstat(8) utility:
pstat -d u aesni_ops
note that you need to run config(8) to hook up new files.
ok kettenis thib deraadt
|
|
traversal code to suspend/resume
ok oga kettenis blambert
|
|
won't interfere with an actual fp code.
reminder from kettenis: fpu_kernel_enter and fpu_kernel_exit should be
thought of as if they were mutex_enter and mutex_leave in regard to the
length of critical section and sleeps.
ok kettenis thib
|
|
practice; from brad
|
|
(which creates a potential race against cd detach)
discussed with krw and dlg seperately
|
|
Small cleanup while here, nuke the ntfs_bypass function and just
use eopnotsupp like every other filesystem, it makes no sense to
return ENOTTY for unimplemented VOPs.
|
|
vector setup that has questionable features (that have, as far as I can
tell never been used in practice, atleast not in OpenBSD), remove all
the gunk and favor a simple struct full of function pointers that get
set directly by each of the filesystems.
Removes gobs of ugly code and makes things simpler by a magnitude.
The only downside of this is that we loose the vnoperate feature so
the spec/fifo operations of the filesystems need to be kept in sync
with specfs and fifofs, this is no big deal as the API it self is pretty
static.
Many thanks to armani@ who pulled an earlier version of this diff to
current after c2k10 and Gabriel Kihlman on tech@ for testing.
Liked by many. "come on, find your balls" deraadt@.
|
|
|
|
compiler from doing stupid things like reordering stores around it. There is
some debate whether this will be enough for newer versions of GCC and LLVM.
If this is indeed deemed necessary, this will be addressed in a future diff.
ok miod@, oga@
|
|
bridges when we do suspend and resume.
ok deraadt@
|