summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auich.c
AgeCommit message (Collapse)Author
2007-10-23- use endian-specific conversions, instead of relying onJacob Meuser
machine-dependent #defines - use the correct conversions for slinear_le:16 -> ulinear_be:16 - fix mono recording by using various stereo -> mono conversions
2007-10-20replace auich's DMA and interrupt handling with code from NetBSD'sJacob Meuser
auich. fixes recording from the microphone input as well as full-duplex operation. tested by brad@, sthen@, deanna@ and ckuethe@. thanks.
2007-09-17Some bzero() -> M_ZERO. ok jakemsr@Kenneth R Westerback
2007-08-02add proper recording encodings to auich(4).Jacob Meuser
tested by brad@
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-08-19add the Intel 6300ESB and 6321ESB AC97 controllers.Brad Smith
2006-08-01attach to the NVIDIA MCP51 AC97 controller as well.Brad Smith
From bsh@NetBSD
2006-05-29NVIDIA nForce MCP04 (some kind of nForce4) AC97 should work hereJonathan Gray
as well going by the Linux driver. "fine by me" jason@
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
2006-02-13nVidia/nvidia -> NVIDIABrad Smith
2005-11-26Add some missing 'break;'s in auich and auixp that lint spotted. WhileKenneth R Westerback
here, use FALLTHRU or FALLTHROUGH to make lint even happier. ok marco@ miod@
2005-08-10Some additional ICH7 bits which aren't strictly necessary to workJonathan Gray
but are desireable. Tested by Mark Peoples, ok mickey@
2005-08-09do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵Michael Shalayeff
pcisubmatch(); kettenis@ testing; brad@ ok
2005-08-04Support for ICH7 audio tested by Mark.Peoples at asu.eduJonathan Gray
2005-05-31bus_dma-ify. needs bus_dmamap_sync's, but works on coherent arch's now.Jason Wright
NOW: someone remove vtophys from the amd64 port before someone else gets the silly idea that it somehow "works" on that port.
2005-04-14make sure round_blocksize does not produce 0 after alignmentMichael Shalayeff
2005-04-05Don't clobber the returned sample rate when the AC97 changes it.Marco S Hyman
This lets an application know, should it bother testing, that a requested bit rate is not available. 'looks ok to me' mickey@
2005-04-05match on nforce4 and nforce2-400 ac97 as well; form netbsdMichael Shalayeff
2005-04-05from netbsd:Michael Shalayeff
Some SiS 7012 chips come muted by default, so un-mute all SiS 7012 chips at attach time the way Linux does it. Reported and tested by Jonathan Schleifer, I checked it didn't break my own 7012 device which doesn't need that manipulation.
2005-04-05ich6 support from freebsd via [Bjorn] Sandell <biorn@dce.chalmers.se>Michael Shalayeff
2005-04-02mixer can endup mapped w/ a different tag and so give it one of its own; ↵Michael Shalayeff
from 71@becile.com pr4162
2005-03-22fix probable pasto that calculated a control register value forMarco S Hyman
reset then ignored the calculated value. Also, move the underrun and overrun printfs to AUICH_DEBUG. As it was, you'd get at least one underrun per play reported to the console. Changes OK mickey@
2005-01-17try memory-mapped bars first that exist on ich4/ich5 and fall bak to ↵Michael Shalayeff
io-mapped if that fails; from Lars Heidieke via Michael van der Westhuizen
2005-01-17typo; from Michael van der Westhuizen <michael@skanky.homeunix.net>Michael Shalayeff
2004-11-30EB is just like DB does not set PCR; reported and tested by Jan Johansson ↵Michael Shalayeff
<janj+openbsd@wenf.org>auich.c
2004-09-20Add nvidia nforce3 250 audio. From FreeBSD via deraadt@.Alexander Yurchenko
``go for it'' deraadt@
2004-07-21calibrate after opening. helps if cpu speed is changing and microtime can'tTed Unangst
be trusted. ok deraadt, several testers. solves pr3814. while here, art says use microuptime.
2004-07-08nforce3; downsjTheo de Raadt
2004-05-10ugly hackery for auich support on amd64.Marco S Hyman
Will not work on machine with > 4G phys memory. OK deraadt@
2004-04-09Warn the user if we don't attach the ac97 codec.Miod Vallat
2003-10-10Calibration code from FreeBSD/NetBSD. Some of the auich's are clocked tooJason Wright
high and sound particularly awful on playback. Thanks to millert and marc for testing (and frantzen for giving me a broken machine).
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-06-12several lusers suggested it should work none capable of definately answering ↵Michael Shalayeff
the question does it play the damn music. see if anybody report problems w/ it now
2003-06-02kill the caluses three and four on some of my codeMichael Shalayeff
2003-05-20add flags support for reversing stereo.Ted Unangst
ok mickey@
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-03-19match on nvidia nforce2; from netbsd@ via wayne@epipe.com.au; miod@ okMichael Shalayeff
2003-01-21do not need explicit match on intel; from alexander.guy@andern.orgMichael Shalayeff
2003-01-16add support for a few more devices (sis7012, nforce, amd768, amd8111), from ↵Michael Shalayeff
netbsd
2002-09-17match on ich4; from hunter@dg.net.uaMichael Shalayeff
2002-07-04repair a dmesg cleanupMichael Shalayeff
2002-03-24after codec reset wait for 1/2 sec; from mark@mcs.vuw.ac.nz ↵Michael Shalayeff
(http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html)
2002-03-19fix the ich3 ac97 audio idMichael Shalayeff
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-20make all audio drivers use the new allocm and round_buffersize decl's.Eric Jackson
will ease porting, and generally cleans up a bit
2001-12-31support playing mono; from Kazuhiko Fukuhara <zaa83571@oak.zero.ad.jp>Michael Shalayeff
2001-12-19unbreak mickey commit; make vra work after resume. previous commitNiels Provos
was based on jcs@openbsd yds changed btw.
2001-12-18correctly deal w/ ext_ctrl in powerhookMichael Shalayeff
2001-12-18powerhook for auich; based on jason's changed for yds; okay mickey@Niels Provos