Age | Commit message (Collapse) | Author |
|
and ok kettenis@
|
|
|
|
the one with the lowest association.
|
|
and into it's own function, azalia_get_ctrlr_caps()
|
|
rather than in it's user(s)
|
|
|
|
own function
|
|
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@
|
|
|
|
return zero on success and nonzero on failure.
This commit only performs mechanical changes for the existing emulops to
always return zero.
|
|
|
|
seems to be fixed, thanks to tests done by mpf at mailq dot de.
Also support for older fiber cards that have no PHY seems to be working,
thanks to claudio@
The code includes all the changes that i backed out, plus two tweaks:
1. em_detect_gig_phy() gets called in em_setup_link() instead of
em_copper_link_preconfig(), this enables phy detection on fiber cards.
2. em_detect_gig_phy() gets a condition to look for old fiber cards, that
have no PHY.
ok by claudio@, prodded by deraadt@
|
|
from the EEPROM.
ok miod@
|
|
attachment. Add SBus support to the bus-agnostic code.
|
|
legacy register mapping. So remove comments and #ifdef 0'ed code that
questions this.
ok miod@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
|
|
It seems that new phy detection code breaks
some of the newer fiber cards.
found by Brad, ok by claudio@
|
|
|
|
|
|
again with a wrong size.
ok marco@
|
|
RIRB DMA engines
|
|
ok dlg@
|
|
|
|
running out of mbufs for rx rings.
if the system low watermark is lower than a rx rings low watermark,
we'll never send a packet up the stack, we'll always recycle it.
found by thib@ on a bge
sadface
|
|
if no arguments are passed to a variadic macro.
Create a seperate non variadic macro for this fixed argument
case. No binary change.
ok reyk@
|
|
to free some for use on the rx rings on network cards.
this modifies m_cluncount to advise callers when we're in such a
situation, and makes them responsible for freeing up the cluster
for allocation by MCLGETI later.
fixes an awesome lockup with sis(4) henning has been experiencing.
this is not the best fix, but it is better than the current situation.
yep deraadt@ tested by henning@
|
|
|
|
ok naddy@
|
|
their baud rate multipliers.
|
|
these cases the xxstop function is a bit more complicated and has a flag of
some sort, but the use of that flag does not matter; DMA is already ceased
ok dlg
|
|
we now know the interface has already been stopped
|
|
xge_shutdown was just calling stop again
ok dlg
|
|
|
|
change two error messages while i'm here.
|
|
reducing the amount of splnet/splx dancing required.. especially in the
worst case (of m_cldrop)
ok dlg kettenis damien
|
|
|
|
provided.
ok dlg@, krw@
|
|
The handling of the IFF_ALLMULTI flag is wrong and the bcmp based range
checking shouldn't be there.
From Brad
|
|
|
|
this driver was written by Pyun YongHyeon from FreeBSD.
"go ahead" deraadt@
|