Fix enough of the recently introduced brokenness for LINT to compile.

The U6850* changes in sound_config.h are probably wrong.

Recent commits lost:
- include paths.
- copyrights.
- cvs Ids.
- infamous whitespace changes.
- other cosmetic changes.
This commit is contained in:
Bruce Evans 1995-07-29 14:20:54 +00:00
parent 267513a942
commit d49c99ba9c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9764
6 changed files with 16 additions and 5 deletions

View File

@ -28,7 +28,7 @@
*/
#include "sound_config.h"
#include "ultrasound.h"
#include <machine/ultrasound.h>
#include "gus_hw.h"
#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_GUS)

View File

@ -30,7 +30,7 @@
#include "sound_config.h"
#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_GUS)
#include "ultrasound.h"
#include <machine/ultrasound.h>
#include "gus_hw.h"
#define MIX_DEVS (SOUND_MASK_MIC|SOUND_MASK_LINE| \

View File

@ -57,7 +57,7 @@
#define SHORT_BANNERS
/* The soundcard.h could be in a nonstandard place so inclyde it here. */
#include "soundcard.h"
#include <machine/soundcard.h>
/*
* Here is the first portability problem. Every OS has it's own way to

View File

@ -78,7 +78,6 @@ static void sb16_dsp_halt (int dev);
static int dsp_set_speed (int);
static int dsp_set_stereo (int);
static void dsp_cleanup (void);
int sb_reset_dsp (void);
static struct audio_operations sb16_dsp_operations =
{

View File

@ -211,6 +211,18 @@ If your card has nonstandard I/O address or IRQ number, change defines
#define TRIX_DMA 1
#endif
#ifndef U6850_BASE
#define U6850_BASE 0x330
#endif
#ifndef U6850_IRQ
#define U6850_IRQ 5
#endif
#ifndef U6850_DMA
#define U6850_DMA 1
#endif
#ifndef MAX_REALTIME_FACTOR
#define MAX_REALTIME_FACTOR 4
#endif

View File

@ -93,7 +93,7 @@ uart6850_input_loop (void)
}
void
m6850intr (INTR_HANDLER_PARMS (irq, dummy))
m6850intr (int unit)
{
if (input_avail ())
uart6850_input_loop ();