Age | Commit message (Collapse) | Author |
|
ok deraadt
|
|
are required to detect that.
Change the function to take a wait argument (used in nfs server, but
M_NOWAIT everywhere else for now) and to return an error
ok claudio@ henning@ krw@
|
|
|
|
sparsely populated buses.
ok dlg@, krw@
|
|
ok krw, discontent grunts from marco.
|
|
ok krw
|
|
methods. the AD1848 DMA engine runs continuously and doesn't
need to be started/stopped or otherwise manipulated for each
block. makes the driver a bit more efficient.
* allow "Mode 2" capable chips such as the CS4231 to work in "Mode 1"
when there is only one DMA channel, instead of forcing it into
"Mode 2", which expects two DMA channels. allows recording to
work for "Mode 2" capable devices when there is only one DMA
channel.
* service both playback and recording interrupts in full-duplex
mode, instead of only playback interrupts. allows "Mode 2"
capable chips to work in full-duplex mode.
* fix checks for sample rate/format recalibration completion. gets
rid of busy loops that briefly "hang" the kernel when the device is
opened and/or reconfigured.
|
|
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
|
|
With help from Brad, ok jsg@, closes system/6402
|
|
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
|
was mistakenly removed in 1.208
ok dlg@ marco@
|
|
original diff corrected by miod@
tested by and ok miod@
|
|
(sub-38400) port speeds. Inspired by netbsd. ok fgsch krw deraadt miod
|
|
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
|
|
devices. This will fix the problem using KDDI W04K that has 3.1 Mbps
in downlink.
ok deraadt@
|
|
must break out of the cases, not directly 'return' error codes. I
think the error case is currently impossible, but why leave an armed
bear trap lying about?
|
|
*scsi_generic. Change xs->cmd[0] references in sii.c to xs->cmd->opcode
and do (caddr_t) arithmetic when copying chunks into the adw adapter
struct.
Found by Matthew Dempsky, diff tweaked and tested by me.
|
|
makes the ioctl and sensor paths more reliably now that they cant fail
due to a ccb allocation failure, and allows better sharing of resources
between multiple logical volumes and physical devices.
|
|
protects the ccb runqueues and the mailbox with a single mutex.
the biggest change as a consequence of this is a rewrite of the polled
command code. it now forces the polled command onto the chip ahead of the
pending runqueue, and simply runs the interrupt handler until the ccb
completes.
tested by sthen@
|
|
|
|
|
|
(AR9003 family only).
The power amplifier predistortion state machine works as follows:
1) Disable digital predistorters for all Tx chains
2) Repeat steps 3~7 for all Tx chains
3) Force Tx gain to that of training signal
4) Send training signal (asynchronous)
5) Wait for training signal to complete (asynchronous)
6) Read PA measurements (input power, output power, output phase)
7) Compute the predistortion function that linearizes PA output
8) Write predistortion functions to hardware tables for all Tx chains
9) Enable digital predistorters for all Tx chains
from ath9k (though implementation differs a lot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
From Matthew Dempsky.
|
|
rather than as a scan of all attached devices after scsibus is attached.
this will allow the cache enabling on virtual disks to run as part of the
disks attach routine.
|
|
ioctl requests, and dont pass the proc pointers around for any ioctl
requests in scsi land at all. neither were used, so trim the fat.
ok krw@ marco@
|
|
ok damien@
|
|
POSIX_BASE_YEAR (1970) because the clock's base year is before that year as
well (as found on sparc which use 1968 as their base year); this allows
clocks with dead batteries to ``correctly'' report the current date as in year
1968, instead of year 2068 which causes a 32 bit time_t wraparound in year
1931.
Found the hard way by Philippe Meunier, ok deraadt@
|
|
- change sign extension such that we do not rely on >> being an
arithmetic shift on signed integers
- various changes to AR9003 code, fix Tx path, enable Tx IQ calibration
|
|
|
|
from ath9k.
|
|
|
|
state when starting an i/o. Necessary as the scsi layer may now
re-submit a completed xs/ccb to the adapter in some error situations.
Fixes panics seen by various people, reproduced and fix tested by
sobrado@.
ok dlg@
|
|
pointed out by brad.
|
|
|
|
dont typedef the tailq head struct.
|
|
tweaks ive made.
this provides better concurrent access to multiple volumes on the same hba,
while improving the reliability of the ioctl and sensor codepaths.
tested by okan@ halex@
ok krw@ okan@ halex@
|
|
error to the midlayer if something screws up.
scrub the code slightly while here.
this plus src/sys/scsi/scsi_base.c r1.174 seems to fix problems henning has
had with tape drives plugged into ahc.
tested by and ok henning@
|
|
especially if you're passing it SCSI_POLL too.
|
|
for us.
|
|
scsi_done or to get or put ccbs anymore.
|
|
|
|
state as such, putting it on a queue is silly. one of the queues was
initted by never used.
|
|
confuses the code and bloats the kernel.
|