Age | Commit message (Collapse) | Author |
|
|
|
Centrino Advanced-N 6250 parts.
|
|
|
|
ok sthen@
|
|
dma to start at the wrong place. Workaround this limitation by
starting at the current offset.
From Christopher Zimmermann <madroach at zakweb.de>
Thanks a lot!
ok jakemsr
|
|
cpu_setperf pointer so that it is always the first to be notified of any
changes. This fixes the reported "creeping up" of performance level when
using apmd and several overheating issues people reported.
Tested by many, ok kettenis with a large XXX on it.
|
|
POLL'ed command returned a SENSE error. Found on claudio's USB
stick which doesn't like SYNCH CACHE commands.
ok dlg@
|
|
|
|
Makes the IBM eServer x336 work. Tested by sthen@ and naddy@.
|
|
more to go. Should be a no-op.
|
|
With input from oga@
While there, remove dead assignment and newly created
unused variable (found by LLVM/Clang Static Analyzer)
ok oga@ krw@
|
|
Clues on how to fix it from miod. ok miod@, Sure deraadt@
|
|
ok miod@
|
|
Found by LLVM/Clang Static Analyzer.
ok grange@ krw@
|
|
we also free the additional mapped BAR on "cyclone" chips.
ok deraadt@
|
|
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.
|
|
intercept the ccb_done handling so polled commands set a flag that mpi_poll
tests on. when ccb_done sets the variable, the poll loop breaks and
mpi_poll runs the original ccb_done handler for the ccb completion.
this is a lot simpler than the previous implementation and removes a
mutex.
ok beck@
|
|
Note: it did not work before because the checksum offloading was
taking care about TCP and UDP but forgot about IP fragments and other
IP protocols. We need to take care that IP fragments are handled
correctly when we do IP/TCP/UDP offloading.
ok jsg@ deraadt@, discussed with others
|
|
possible references to xs which has been recycled. Slight tweak to
dlg's previous fix for atapiscsi.
ok dlg@ 'looks safe' miod@
|
|
on error as the spec requires. This triggers kernel assertion
error because zero is read from the register and wrong ccb is picked
from the queue. To cope with it if there's only one outstanding
command get its slot number from the active commands mask, otherwise
fail all active commands.
ok krw@ dlg@
|
|
(1) use correct (message) block size of 128 byte (instead of 64
bytes) for HMAC-SHA512/384 (RFC4634).
(2) RFC4868 specifies that HMAC-SHA-{256,384,512} is truncated to
nnn/2 bits, while we still use 96 bits. 96 bits have been
specified in draft-ietf-ipsec-ciph-sha-256-00 while
draft-ietf-ipsec-ciph-sha-256-01 changed it to 128 bits.
WARNING: this change makes IPsec with SHA-256 (the default)
incompatible with older OpenBSD versions and other IPsec-implementations
that share this bug.
ok+tests naddy, fries; requested by reyk/deraadt
|
|
such that they actually work.
ok jsg@
|
|
seagate/trm/aha1742 were the only drivers paranoid enough to check
ITSDONE on getting the xs to execute. And optimistic enough to think
simply restting the flag would be a good thing. Have them chill out
like everyone else, reducing ITSDONE noise some more.
|
|
in the drivers just before calling scsi_done().
ok dlg@ beck@
|
|
loop iteration as it can be updated by the card while we process
the RX ring, forcing us to process RX descriptors for which DMA
synchronisation has not been performed. This fixes a bug where
bge(4) will drop packets packets under heavy load.
Adapted from FreeBSD by Brad.
|
|
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
|
|
ok claudio@
|
|
affect latency under some rare circumstances.
from a similar commit to iwlwifi.
|
|
ciss_cmd() call scsi_done() in the one case where ciss_done() was
not calling ciss_done() before erroring out, and not calling
scsi_done() after ciss_cmd() errors out.
Okan's box can now boot. And work fine afterwards.
Tested by okan@. ok dlg@ beck@
|
|
BCM577xx chipsets. From Brad.
|
|
this allows to enable/disable checksum offloading at one point in the driver
without the need to care about stupid #defines. no functional change.
|
|
from FreeBSD and confirmed with the datasheet.
|
|
if the packet is neither TCP nor UDP because of an erroneous "default" case.
No functional change in the default build because IP checksum offloading
is currently disabled in ix(4).
ok jsg@
|
|
|
|
|
|
have been completed. the xs was used to figure out if we should return
COMPLETED or SUCCESFULLY_QUEUED. the return value doesnt mean anything
anymore, so just return COMPLETE.
|
|
this should solve problems like this:
WARNING: SPL NOT LOWERED ON SYSCALL 16384 8 EXIT dae4560 6
Stopped at Xsyscall+0x1eb: movl $0,%gs:0x3d4
ddb{3}>
|
|
|
|
Brad.
|
|
|
|
|
|
pointed out by miod@ and claudio@
|
|
Bad.
this sort of worked before because the midlayer would sleep on the
ITSDONE flag in the scsi_xfer, which atapiscsi does set. however, with
the introduction of scsi_xs_sync, it now sleeps on a condition that is
only cleared if the adapter properly and correctly calls scsi_done when
it is in fact done with the xfer.
sorry guys.
ok krw@
|
|
Found by LLVM/Clang Static Analyzer.
ok krw@ dlg@
|
|
|
|
void *. this lets us pass things other than scsi_xfers to ccb completion
handlers.
|
|
|
|
return COMPLETE and not CMD_COMPLETE in one case.
Tested by kettenis@ and myself on Blade1000's.
ok dlg@
|
|
|
|
with input from marco@
ok marco@ krw@
this was ok looooooooong time ago but lost in my mailbox
|