Age | Commit message (Collapse) | Author |
|
|
|
number in the name to simplify identifying the card in dmesg. OK dms
|
|
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added.
constraint modifier fixed in lock.h to output correct assembly.
calling proc_trampoline_mp in exception.S.
|
|
|
|
through the registers of TSEC1. Makes the first ethernet port on the rb600
usable.
|
|
if_media. This makes link state tracking a lot easier as there is no need
to convert if types to if_media types, etc. Additionally this allows us
to extend the link states to include states tracked on higher protocol layers.
gre(4) keepalives packets, bfd and udld can be implemented without ugly hacks.
OK henning, michele, sthen, deraadt
|
|
problem reported by martynas@. this bug has been there a long
time (r1.61), but sloppy RIRB handling was hiding it ...
|
|
in SCR_GRAPHICS mode; spotted by martynas@
|
|
with it which became extremely annoying with what mpath wants to
do.
the major change is a new interface for submitting scsi commands.
previously the only way for drivers like sd, cd, st, etc to push
commands onto the hardware was via scsi_scsi_cmd(). the problem
with scsi_scsi_cmd is that it doesnt tell the caller if the command
failed, was queued, or completed unless you shoved a buf down with
it. this is important for mpath which wants to know what the physical
path to the device did so it can report it back to the midlayer
which called it.
this provides a new api which lets drivers like cd/sd/st/mpath etc
allocate an xs, fill it in, and provide a completion routine which
the midlayer will call with the state of the command when it is
finished with it. the caller is then responsible for freeing the
xs.
from the hba side of thing, the return code from the scsi_cmd
entrypoint is largely ignored now, and it is now always the
responsibility of the hba driver to call scsi_done when it has
completed the io, rather than returning COMPLETE and expecting the
midlayer to do it for you.
i have emulated scsi_scsi_cmd on top of this new api so existing
users of it will continue to work. sd(4) has been reworked to use
the new api directly to both demonstrate its use and test that the
new api actually does work.
this diff was mostly written in a day at f2k9. thanks to miod for poking
through hba drivers to help mitigate against fallout from the change to
the COMPLETE semantic. this has been reviewed by krw who didnt spot
anything wrong.
thanks to dave del debbio for testing.
ok deraadt@
|
|
the number of bytes currently read into the sm_data array.
Problem found by recent version of gcc.
|
|
check their return values in the ATA_S_COMPLETE ioctl handler.
dlg@ agrees.
|
|
|
|
with m_tag_copy_chain() failures.
Use m_defrag() to eliminate hand rolled defragging of mbufs and
some uses of M_DUP_PKTHDR().
Original diff from thib@, claudio@'s feedback integrated by me.
Tests kevlo@ claudio@, "reads ok" blambert@
ok thib@ claudio@, "m_defrag() bits ok" kettenis@
|
|
and ok kettenis@
|
|
|
|
out-of-bounds array access later on.
ok drahn@, dms@
|
|
|
|
operations, so we do compression in there as well.
|
|
|
|
function.
|
|
than the hardcoded ones we used before. Replace a few magic numbers with
#defines while I'm there. Based on suggestions from dms@.
|
|
don't crash if we unmask a preconfigured interrupt.
|
|
|
|
|
|
|
|
the one with the lowest association.
|
|
and into it's own function, azalia_get_ctrlr_caps()
|
|
behaviour.
|
|
and continue operation afterwards. If we can't flush immediately, we will
undo the operation and return EAGAIN to wsdisplay (like we do already for
the xfer queue).
This allows us to set higher resolutions (tested up to 1280x1024) without
bumping the command buffer or xfer buffer memory further.
|
|
suggested by maja@, ok by kettenis@
|
|
ok by kettenis@
|
|
rather than in it's user(s)
|
|
ok miod@
|
|
|
|
|
|
API function directly to lacp_input() to simplify the code path.
ok mpf@
|
|
|
|
OK deraadt@
|
|
|
|
|
|
own function
|
|
up to 16 pixels now.
Reported by maja@
|
|
of information about a stream
|
|
own function
|
|
mixer get/set routines instead of in the MI audio routines.
|
|
|
|
* remove irrelevant comment
* this driver uses at most 2 converter groups per group set, don't
allocate more than needed
* remove unused members from codec_t
azalia.c:
* macros for register values
|
|
* move the code for azalia_comresp() to be nearer the functions it
uses (azalia_set_command() and azalia_get_response()) for easier
comprehension.
* don't turn off RIRB interrupts in azalia_set_command(), then reenable
them in azalia_get_response(). it's ugly, problematic, and the code
is already at SPL_AUDIO.
* in azalia_get_response(), wait for a solicited response (the response
from azalia_set_command()) instead of "waiting" for just any response
as there may already be an unsolicited response in the RIRB.
* no need to run the unsolicited response handler in azalia_get_response().
since RIRB interrupts aren't being disables, the unsolicited response
handler will be run by the RIRB interrupt handler.
* in azalia_rirb_intr(), when a solicited response is found in the RIRB,
instead of stopping and losing the response, print a debug message
and keep going. there should never be a solicited response in the
RIRB at this point.
* remove some now useless #if 0'd debug cruft.
* minor KNF while here.
|
|
Instead of planes, use pipes for the vblank code (this matters with the
newer drivers we're now using). originally from upstream (kinda, i
adapted it a little). Much cleaner now, too.
Helps with some vblank issues sthen@ has been seeing. Also seems to fix
any issues i've seen with the x40, with suspend-on-lid disabled shutting
hte lid no longer borks X on my x40, this issue pointed out (and
reminded regularly until I found time :) by deraadt@
|
|
Sorry.
|