thorpej
7ec10e2d99
Use aprint_*().
2003-01-31 00:07:39 +00:00
tsutsui
238efe4697
Replace magic numbers for power management control with PCI_PMCSR* macros.
...
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
2002-12-23 02:58:36 +00:00
thorpej
9b2c2ec24d
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:50:59 +00:00
thorpej
387fc6dc87
Use CFATTACH_DECL().
2002-09-30 20:37:04 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
augustss
22023c8988
Some casts in printf().
2002-05-31 10:54:34 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
tacha
109656b0a7
rewrite suspend/resume routine. If you suspend while playing audio,
...
clcs and clct continue playing when resume.
2001-04-18 01:35:06 +00:00
tacha
08cc996106
Check and set PCI power management register. clcs now works when
...
warm boot from Windows.
2001-02-13 04:11:11 +00:00
tacha
d95cfe7d68
Split out common code to cs428x.c and cosmetic change to introduce
...
higher symmetry between cs4280.c and cs4281.c.
Also fix the problem rebooting from Windows. Relevant patch is contributed
from Shingo WATANABE <nabe@nabechan.org>.
2001-02-07 14:41:10 +00:00
augustss
d13e6a84f2
Sleep a little when closing the midi device to allow the UART to drain.
2001-01-27 18:37:01 +00:00
jdolecek
34c8ae80da
constify
2001-01-18 20:28:15 +00:00
perry
674a20f8fb
powerhook fixes, from thorpej, tested by me. Thinkpad T20 sound now perfect.
2001-01-15 23:25:39 +00:00
perry
3bb7b7df87
Fixes from OpenBSD via chopps. Audio now works on my Thinkpad T20
...
provided I don't suspend the thing...
2001-01-15 22:28:20 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
takemura
3c9d9276dc
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
...
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
augustss
236deb1acc
Apply a patch from the driver author (originally from OpenBSD).
2000-09-20 14:33:48 +00:00
augustss
00cafd0569
Add MIDI support. From Tatoku Ogaito.
2000-07-19 09:58:45 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej
a4b298224a
Use <dev/ic/ac97reg.h>
2000-05-15 01:35:29 +00:00
thorpej
1838aef29c
ac97.h -> ac97var.h
2000-05-15 01:27:44 +00:00
augustss
a30f6c8ad9
Apply patches from Tatoku Ogaito (the author of the code).
2000-01-14 14:39:13 +00:00
augustss
3c1b8138f7
Add a device driver for the Cirrus Logic CS4280 sound chip.
...
The code has been contributed by Tatoku Ogaito.
1999-12-13 20:19:23 +00:00