summaryrefslogtreecommitdiff
path: root/sys/dev/pci/esa.c
AgeCommit message (Collapse)Author
2008-05-29use ac97 default parameters for these ac97 based drivers.Jacob Meuser
this makes the emulation expansion factor 1 by default since there's no emulation. previously the factor was 2 because these drivers emulate 8-bit ulaw playback with 16-bit linear encodings. having a factor other than 1 by default creates block size and hiwat/lowat issues with applications that set the block size and hiwat before other parameters. ok ratchov@
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2007-10-22Use pci_set_powerstate(), shrinking the code and unifying the differentFederico G. Schwindt
versions. ok by many.
2007-09-17Some bzero() -> M_ZERO. ok jakemsr@Kenneth R Westerback
2006-01-25Wow, this is clearly wrong (found in esa_set_params):Brad Smith
if (p->channels < 1 && p->channels > 2) return EINVAL; Change the 'and' to an 'or' so the check actually does something. From jmcneill NetBSD ok krw@
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-08-09do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵Michael Shalayeff
pcisubmatch(); kettenis@ testing; brad@ ok
2003-10-07use PCI_PMCSR instead of some magic value.Federico G. Schwindt
ok krw@ henning@
2003-08-11make dmesg prints closer to the rest of the driversMichael Shalayeff
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2002-11-19Add a simplistic table driven lookup routine and use it where appropriate.Jason Wright
2002-10-04free resources on failures in attach, kill some spaces; from ↵Michael Shalayeff
grendel@zeitbombe.org
2002-08-08Use & to test if bits are set, not &&; art@ ok.Aaron Campbell
2002-04-08tag repairTheo de Raadt
2002-04-08Allegro-1 and Maestro 3 driver ported from netbsdMike Frantzen
ok deraadt@