Age | Commit message (Collapse) | Author |
|
since we will always match on a rate, we won't overflow, but in that
case, make it more obvious by if the first 11 rates don't match, we
assume the 12th.
should shut up parfait.
ok damien@ who came up with an identical diff.
|
|
Found by LLVM/Clang Static Analyzer.
ok dlg@ marco@
|
|
Found by LLVM/Clang Static Analyzer.
ok krw@ marco@
|
|
|
|
now return void. all state about a command is now represented within
the ata_xfer structure, and all layers using it (both hba and
atascsi) now check only ata_xfer.
this relies on my scsi midlayer changes. it was written just before
the second last backout of the midlayer.
|
|
was to try to play dangerous games with tagged queuing.
ok marco@
|
|
with input from marco@
"that i like" marco@
ok dlg@
|
|
if the current mode is 802.11a or 802.11b.
found by gcc svn.
ok damien@
|
|
the two issues affecting it last time are gone. the first, mishandling of
TRY_AGAIN_LATER is not relevant now that krw got rid of TRY_AGAIN_LATER.
the second, the misbehaving IBM disk was found to be a problem with siop
using ordered tags on most ops combined with the speed of the new code.
putting this in so we can move forward.
ok krw@ "commit please" marco@
|
|
|
|
disks actually do queueing correctly. Keep it SIMPLE. Fixes naddy@'s
magic DNES disks on siop even if dlg@'s new midlayer is active.
ok marco@, tested by naddy@.
|
|
|
|
usable size of the PCU TX FIFO to 2KB even though the hardware
has 4KB.
|
|
non-even packets will end up being a bit trunkated.
OK deraadt@
|
|
PHY doesn't seem to be necessary on re(4) so don't descend further for now.
Based on a diff from mlarkin@
ok deraadt@
|
|
|
|
|
|
|
|
the interface is up and running by properly clearing the condition.
|
|
power off the cardbus slot after athn_attach() and in athn_stop().
|
|
|
|
|
|
scary mbuf chache that caused massive problems. Now we just pre-allocate
empty mbuf cluster for later use. Diff mostly from deraadt@ with some
minor changes by myself. Tested with pcmcia ep(4) by myself. OK deraadt@
|
|
TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion
between the two as was always intended. buf I/O's that can't be
started get pushed back onto the front of the queue and retried.
Others get sent back to originator as failures. No more epi-cycle
looping inside the SCSI midlayer hoping the problem goes away.
Various testers, no objection from miod@ as vs(4) was tested by
nick@.
|
|
more speed to things like SSDs that do UDMA 6.
Tested by many.
|
|
fix 802.11a TXTIME computation (802.11a has a 16us SIFS interval
but does not have the 6us signal extension that ERP-OFDM has so
we can use the same code for 11a and 11g provided that we add
the SIFS nterval in the athn_txtime() function itself.)
|
|
|
|
prodded by deraadt
|
|
reminded by deraadt
|
|
connected to raise an interrupt when the pin goes low (or high
depending on the polarity of the radio switch.)
turn the interface down when the interrupt occurs.
this is the same behaviour as in wpi(4) and iwn(4).
cleanup interrupts processing while i'm here.
remove ATHN_INTR_MITIGATION compile option (it is set by default.)
|
|
found while doing code inspection as i don't have such hardware.
|
|
* round blocksizes to multiples of 256 frames
* fix display of record.source.volume and add record.mic.preamp
mixer controls
* add recording support
ok kettenis@. ok ratchov@ on a slightly different version.
|
|
potential off-by-one found by parfait
ok deraadt@, krw@
|
|
|
|
use proper debug levels for diagnostic messages such that we don't
spam the logs when athn_debug is low.
|
|
|
|
|
|
function does not take it into account. oops.
|
|
|
|
|
|
ok deraadt@
|
|
the results of attempting to get a ccb. Eliminates manual reservation
of ccb's for bioctl and sensors. Tested by johan@ and okan@.
Eyes from brad@, dlg@ and marco@. tech@ did its Thomas More thing.
|
|
Turn link LED on while associated.
|
|
|
|
no binary change.
|
|
|
|
written from scratch based on the vendor driver for Linux (ath9k).
AR9285 and AR9287 parts are 100% untested.
only basic functionnalities are enabled for now.
committed over an AR9281.
"commit" deraadt
|
|
|
|
|
|
causing a weird problems on an alpha and also appears responsible for
isp(4) weirdness i havent had a chance to examine yet.
sigh, this makes me sad.
|