summaryrefslogtreecommitdiff
path: root/sys/dev/pci/cs4281.c
AgeCommit message (Collapse)Author
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-10-31Change the audio_hm_if->mappage interface to return paddr_t and take off_tArtur Grabowski
as the mmap offset.
2001-10-03fix data sheet link. ok deraadt@Kevin Lo
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-07-27Back out. This is more complicated than I thought.Artur Grabowski
2001-07-27Allow mmap. Not really working correctly yet, but almost.Artur Grabowski
2001-06-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
2001-02-09Tickle D0 power state so the cs4281 works after reboots from Windows 2000.Aaron Campbell
From NetBSD, tested on a dual-boot IBM ThinkPad X20.
2001-01-13Driver for Cirrus Logic CS4281 sound chips. Originally written for NetBSD byAaron Campbell
Tatoku Ogaito, banged into shape for OpenBSD by me. Recording has not been tested yet, but mpg123 works fine. Sound still works after suspend/resume. XXX: On the IBM ThinkPad X20, must disable pcibios else the cs4281 won't generate interrupts. Cause yet unknown but probably not the driver's fault. YMMV on other laptops with this chip.