Age | Commit message (Collapse) | Author |
|
- Remove unnecessary nsegs variable from alc_encap() and
use map->dm_nsegs. Also remove unnecessary FreeBSD check
for 0 DMA segments check.
- Remove printfs in alc_encap() failure paths that shouldn't
be there.
- Add missing IF_PREPEND() from failure path coming off of
alc_encap() within alc_start().
- Fix error handling within alc_encap(). Previously alc_encap()
was attempting to unload a DMA map upon failure from
bus_dmamap_load_mbuf() even though one wasn't loaded at that
point and then always forcing mbufs through the EFBIG path.
Tested by Gabriel Linder.
From Brad
|
|
a NULL pointer dereference because the softclock interrupt handler cookie
is not initialized yet.
Found the hard way and fix tested by aoyama@
|
|
figured out the hard way by senior Pedro. Performance decreased
severely with newer firmwares when ioc was stuffed with requests.
Unfortunately it still remains a magic number as LSI doesn't
clearly document what it has to be (controllers report some
meaningless values like 3167 and 1952).
ok dlg
|
|
512KB PROM systems (e.g. KA49), or 256KB PROM systems built after KA49
(e.g. KA5[234]), and use them instead of pouring magic numbers all over the (md)
tree.
No functional change.
|
|
|
|
compat names kept in <machine/param.h>. In <sys/socket.h>, pull
in <sys/_types.h> instead of the namespace polluting <machine/param.h>
and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
|
Since the underlying types of the int_fast types are set by machine/_types.h,
put internal macros in that same file and define the exposed
INT_FAST*_{MIN,MAX} macros from those.
ok millert@, kettenis@
|
|
This lets carp delete IFF_PROMISC on its carpdev upon destroy.
Fix from Stefan Rinkes.
OK sthen, bluhm, deraadt.
|
|
code to process four samples at a time - we can do as much sets of 4 as possible
before falling back to the remainder processed one byte at a time.
|
|
from a FastE ale(4) controller. Previously only link parters which
support down-shifting were able to establish a link.
Tested by roberth, Johan Torin and sthen@
From Brad
|
|
changes to allow using non-native encodings, and alpha specific code to try
and avoid doing 8 bit memory access.
Tested on 3000/300LX, deaf testing on 3000/600.
|
|
if it needs to rewrite the audio stream; adapted from NetBSD
|
|
|
|
it was intended to be; reported by Donovan Watteau
|
|
|
|
|
|
Intel 6 Series/C200 Rate Matching Hub from Martin Pelikan
|
|
|
|
|
|
|
|
Martin Pelikan).
|
|
|
|
controllers. From Brad.
|
|
more than 8 years ago; allows aucat (and sndio users) to happily use
amd7930-based audio devices.
Verified by playing an mp3 file on vax.
|
|
/90.
|
|
with and without option AUDIO_C_HANDLER.
|
|
|
|
Tested by roberth <robert at openbsd dot pap dot st> and Johan Torin.
From Brad
|
|
detects no established link and it will re-establish link when the
cable is plugged in. Previously it failed to re-establish link
when the cable was plugged in such that it required turning the
interface down and then up to make it work. This was caused by
incorrectly programmed hibernation parameters. Further details
regarding PHY setup are necessary to be able to re-enable this
feature.
Tested by Matteo Filippetto and Gabriel Linder
From FreeBSD via Brad
|
|
|
|
now until we figure out why. This probably means the device won't function
optimally, but that's better than not functioning at all. Makes my
"Intel Centrinto Advanced-N 6205" work quite well.
|
|
ok krw@
|
|
firmware will crap out, at least on the 6005. First step to getting my
"Intel Centrino Advanced-N 6205" to work.
|
|
|
|
KA45 and KA48. The FPU is built-in, and PR_ACCS is not implemented (as the
PROM will tell you if you try to EX it). This was copied from KA46 and for
some reason KA45 and KA48 ignore writes to PR_ACCS (unlike VXT which hangs).
Tested on KA45 and KA48.
|
|
|
|
|
|
available to our network stack.
ok mcbride naddy henning
|
|
handling in the FILL_KPROC() macro.
Problems pointed out by Martin Pelikan (martin.pelikan at gmail.com)
|
|
ruleset after match. In case this is the only rule in the anchor,
the anchor will be destroyed automatically after the rule is matched.
This is an extremely handy technique for firewall proxies.
ok henning, mcbride
|
|
several weeks before release on macppc, socppc bugs just fixed.
|
|
ncr53c9x_poll(). Fixes a race causing *some* drives to trigger a
panic in ncr53c9x_sched() at attach time on vax.
ok dlg@ krw@
|
|
ok guenther@
|
|
via freebsd, tested locally in production for a week or so.
|
|
section) to protect the completion ring. mpii_poll can be in the
middle of the critical section when an interrupt is generated, but
because something is already in the critical section the isr cant
clear the condition causing the interrupt and you spin forever
entering the isr and being forced to exit it without doing any work
by the semaphore.
this moves to protecting the completion ring with a vanilla mutex.
work taken off the ring is stuck on local lists in the isr to be
completed outside the mutex in case a completion path issues a
polled command which will try to call the isr which tries to
mutex_enter while the previous call on the stack would be holding
the mutex...
this diff is large because of the list changes needed to support
the local lists in mpii_intr.
issue found by bluhm@ and debugged by Christian Ehrhardt
|
|
|
|
|
|
the lock, but a change in member ordering meant it was using the same
address. Explicitly use different members instead of mixing address
of member and address of the lock itself.
ok miod@
|
|
of the data register, while waiting for the chip initialization to complete.
This seems to prevent spurious disappearance of le0 on some systems.
|
|
if we are running on a KA45 system. These share the KA48 board type but,
unlike KA48, can not sport frame buffers.
Prevents a bogus lcg device from attaching on KA45, and also repairs console
operation if the S3 switch is down (console on serial #0).
|