augustss
8727da130b
In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
...
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics. A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
augustss
526ef2f618
Change the interface between the high and low level audio drivers
...
so that all audio encoding parameters are set at once. This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
mark
b28684079f
Fix broken vidcaudio_set_format() prototype.
1997-03-25 05:09:01 +00:00
mycroft
7a55cafeeb
Implement set_format.
1997-03-20 16:51:38 +00:00
mycroft
ac3b8b13b7
Don't share the silence block between devices. Make silence filling work for
...
more encodings, and make it device-independent. From Lennart Augustsson, in
PR kern/3305.
1997-03-13 02:19:32 +00:00
mark
b371b8a271
Prototype main().
1997-01-28 05:02:30 +00:00
mark
a497e39048
Fix the declarations of the interrupt handlers to accept void * pointers
...
as the only argument and cast this as appropriate now that the function
pointers to the interrupt registration functions are fully prototyped.
Use <machine/conf.h> for the declarations of the device driver entry
points.
1997-01-28 04:55:15 +00:00
mark
ed854d0d12
Fix the declarations of the interrupt handlers to accept void * pointers
...
as the only argument and cast this as appropriate now that the function
pointers to the interrupt registration functions are fully prototyped.
1997-01-28 04:20:58 +00:00
mark
00e9f2af37
inline -> __inline
1997-01-12 20:28:04 +00:00
mark
37f3875ce4
Use the IOMD_ID macro to check the IOMD ID number rather than direct reads
...
from the IOMD.
1996-11-23 03:37:35 +00:00
mark
535518ceed
Added support for the A7000 and more generally for ARM7500 based machines
...
that are not RC7500 boards.
Fixed vidcaudio_sw_encode() and vidcaudio_sw_decode() functions.
1996-10-15 21:33:51 +00:00
mark
46ee6bf856
Added support for the RC7500 and the lmc1982.
...
Added support for the A7000.
1996-10-15 21:20:15 +00:00
mark
c69e8d2559
Initial commit of the lmc audio driver for the lmc1982 found on RC7500
...
motherboards.
1996-10-15 21:10:24 +00:00
mark
cbf4892982
Find the mode with the closest frame rate to the one requested if an
...
exact match cannot be found rather than picking the lowest frame rate.
1996-10-15 02:33:28 +00:00
mark
804b62c479
Major code clean up.
...
Removed a load of old debugging code that has served it purpose.
1996-10-15 01:20:48 +00:00
mark
695e09b29a
Added generic support for the ARM7500 cpu rather than just the RC7500
...
motherboard.
Cleaned up a lot of code to match KNF.
When the device is attach the vidc refclk frequency is reported along
with the amount of video memory and the type.
1996-10-15 01:15:24 +00:00
mark
7cfe42e258
Overhauled and fixed teh console blanking code. Things no longer
...
go wrong when console blanking occurs while X is running.
The blanktime ioctl now allows blanking times to be set, force
immediate blanking or diable blanking on a per virtual console basis.
Updated the console version number to revision D.
1996-10-15 01:10:06 +00:00
mark
be9a8e231a
Removed the function vidc_col() as this has been guarded with #if 0
...
for a long time now as the function was replaced with a macro.
1996-10-15 01:05:04 +00:00
mark
a2a2b693c8
Removed a load on unused code that has been hiding here.
...
The functions vidcconsolemc_render() and vidcconsolemc_cls()
will call mcount if GPROF and PROFILE_ASM are both defined.
1996-10-15 00:55:26 +00:00
mark
c90d8612e7
General code cnd formatting clean up.
1996-10-15 00:52:21 +00:00
christos
ca36ac9ef4
backout previous kprintf change
1996-10-13 03:05:43 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
mark
f5ee3d4ce6
Make sure all routes through vt_curadr() range check the x and y coordinates.
...
This fixes a nasty bug that could kill the kernel without ever reporting
a panic.
1996-07-05 19:07:55 +00:00
mark
3ed835cae8
Only attach 1 VSYNC interrupt handler instead of a interrupt handler per
...
virtual console.
1996-06-12 19:12:57 +00:00
mark
59e4127d96
Use the sync information in the mode definition to set the VIDC sync
...
polarity.
1996-06-03 22:14:56 +00:00
mark
d4b96c659d
Fixed -Wall compiler warnings introduced when fixing the vt220 printing
...
bug.
1996-06-03 22:08:37 +00:00
mark
6da55f03ee
RCS Id police.
1996-06-03 21:35:10 +00:00
mark
169f7f2a06
Fixed the vt220 printing bug.
...
Fixed the 'loss of console output while X is switched in' bug.
1996-05-12 21:42:44 +00:00
mark
8a3097c984
Fixed panic strings with %i in them where it should have been %s.
1996-05-12 21:40:21 +00:00
mark
dbf4689e65
Fixed -Wall compiler warnings.
...
Implemented ESC [g sequence.
1996-05-06 00:47:20 +00:00
mark
2dd637939f
Fixed VIDC register setup for RC7500 boards.
1996-05-06 00:45:09 +00:00
mark
6417430844
Fixed -Wall compiler warnings.
1996-05-06 00:37:13 +00:00
mark
aa46efbc0e
Fixed compiler warnings obtained with -Wall.
1996-04-26 20:59:07 +00:00
mark
8b4332315d
Fixed buffering of console output. While cold or while polling,
...
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark
7bbb222f40
Raise the spl level to spltty while manipulating the virtual console
...
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark
4b10d39797
Added support for RC7500 motherboards and non VRAM video systems.
...
Use frequency lookup table for RC7500 systems.
1996-03-28 21:18:40 +00:00
mark
395f0fd59c
Define name for the interrupt handler for use with vmstat -i.
1996-03-27 22:08:25 +00:00
mark
30fe804249
Define a name for the vsync interrupt handler.
1996-03-27 21:47:29 +00:00
mark
4973a32e6d
RCS Id police.
1996-03-18 19:54:53 +00:00
mark
3689687703
RCS Id police.
1996-03-18 19:33:04 +00:00
thorpej
5c67e5fad9
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
thorpej
58a3d4e742
RCS id police.
1996-03-16 00:17:52 +00:00
thorpej
0bbcd292a1
RCS id police.
1996-03-16 00:07:07 +00:00
mark
a2ff705689
Added code to handle indents in monitor definition files.
1996-03-13 21:47:15 +00:00
mark
e766702f7e
Fixed IOMD identification during device probing.
1996-03-06 23:26:20 +00:00
mark
bdb7e8955c
Reformatted code to suit style guide.
...
Fixed IOMD identification during driver probing.
1996-03-06 23:24:52 +00:00
mark
7e883ebf5b
Fixed kernel panic when the debugger called cngetc().
1996-02-15 22:54:45 +00:00
mark
b92a2f676a
patch from rob black to fix support for 1bpp Xservers.
1996-02-07 19:11:02 +00:00