summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2009-09-13ATI SB700 can be handled in ahci mode like SB600. suggested byMatthieu Herrb
and ok kettenis@
2009-09-12GPIO quirk for Dell Inspiron 1400Jacob Meuser
2009-09-12there are machines that have more than one fixed speaker. useJacob Meuser
the one with the lowest association.
2009-09-12move code for getting controller capabilities out of azalia_init()Jacob Meuser
and into it's own function, azalia_get_ctrlr_caps()
2009-09-10better to wait for codecs to finish resetting in azalia_reset()Jacob Meuser
rather than in it's user(s)
2009-09-09reorganize attach/initialization into more task specific functions.Jacob Meuser
2009-09-09move code to reset the controller from the attach function to it'sJacob Meuser
own function
2009-09-09add a few more members to stream_t and use it as a coherent sourceJacob Meuser
of information about a stream
2009-09-09move code to enable widget unsolicited event generation into it'sJacob Meuser
own function
2009-09-09handle mixer get/set requests for class type mixer items in the underlyingJacob Meuser
mixer get/set routines instead of in the MI audio routines.
2009-09-09make sure node id for stream mode mixer items is validJacob Meuser
2009-09-09azalia.h:Jacob Meuser
* 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
2009-09-08cleanup/fix RIRB processing:Jacob Meuser
* 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.
2009-09-08Something i should have commited months ago.Owain Ainsworth
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@
2009-09-05u_int32_t not u_int32_ts in debug code.Claudio Jeker
2009-09-05Change the wsdisplay_emulops return types from void to int; emulops will nowMiod Vallat
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
2009-09-05Remove unnecessary assignments in sii311[24]_chip_map().Miod Vallat
2009-09-04Bring back support for iCH10 based chips. This time support for fiber cardsDariusz Swiderski
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@
2009-09-04Make sure the MAC address is correct on big-endian platforms if it isn't readMark Kettenis
from the EEPROM. ok miod@
2009-08-29Split the ti(4) driver into mostly bus-agnostic code and PCI-specificMark Kettenis
attachment. Add SBus support to the bus-agnostic code.
2009-08-28Writing 0 to the PCI_LEGACY register *is* the proper way to disable theMark Kettenis
legacy register mapping. So remove comments and #ifdef 0'ed code that questions this. ok miod@
2009-08-27syncJolan Luff
2009-08-27Radeon HD 4350Jolan Luff
2009-08-27syncDavid Hill
2009-08-27nVidia Geforce Go 7950 GTXDavid Hill
ok deraadt@
2009-08-25We can treat BARs initialized to 0 as invalid now on socppc.Mark Kettenis
2009-08-21Back-out support for iCH10 chips from em(4).Dariusz Swiderski
It seems that new phy detection code breaks some of the newer fiber cards. found by Brad, ok by claudio@
2009-08-19syncMatthieu Herrb
2009-08-19Trident Cyberblade XP2 as found in VTBook PCCard. ok marco@.Matthieu Herrb
2009-08-17All callers of qli_get_fw_state() bzero the mbox memory, no need to do itMiod Vallat
again with a wrong size. ok marco@
2009-08-13add a shutdown hook to stop unsolicited responses and the CORB andJacob Meuser
RIRB DMA engines
2009-08-13- consistify cfdriver for the ethernet drivers (0 -> NULL)Jasper Lievisse Adriaanse
ok dlg@
2009-08-13set ITSDONE on the xs before calling scsi_done()David Gwynne
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
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
2009-08-12ix currently relies on a gcc extension that removes a commaJonathan Gray
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@
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne
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@
2009-08-12fix unused widgets to contain the actual ids; ok jakemsr@Martynas Venckus
2009-08-11don't take chip revision as a pointer to the string; swap it with xnameMartynas Venckus
ok naddy@
2009-08-11More exact matching for Sunix 40XX 4 and 8 port units so that we can fixTheo de Raadt
their baud rate multipliers.
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
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
2009-08-10A few more simple cases of shutdown hooks which only call xxstop, whenTheo de Raadt
we now know the interface has already been stopped
2009-08-10xge_shutdown is not needed now that interface is stopped, sinceTheo de Raadt
xge_shutdown was just calling stop again ok dlg
2009-08-10delete xxshutdown handlers that are never even hooked upTheo de Raadt
2009-08-10i prefer (m == NULL) over (!m)Damien Bergamini
change two error messages while i'm here.
2009-08-09MCLGETI() will now allocate a mbuf header if it is not provided, thusTheo de Raadt
reducing the amount of splnet/splx dancing required.. especially in the worst case (of m_cldrop) ok dlg kettenis damien
2009-08-09spelling errorTheo de Raadt
2009-08-09Get node and port WWN's from the Open Firmware tree on sparc64 if they areMark Kettenis
provided. ok dlg@, krw@
2009-08-09Rewrite bits of the multicast handling code as it should be.Kevin Lo
The handling of the IFF_ALLMULTI flag is wrong and the bcmp based range checking shouldn't be there. From Brad
2009-08-08bring comments in line with reality; from BradChristian Weisgerber
2009-08-08alc(4) is a driver for the Atheros AR8131/AR8132 ethernet chip.Kevin Lo
this driver was written by Pyun YongHyeon from FreeBSD. "go ahead" deraadt@