patch-2.0.3 linux/drivers/sound/sb_common.c
Next file: linux/drivers/sound/sb_midi.c
Previous file: linux/drivers/sound/sb_card.c
Back to the patch index
Back to the overall index
- Lines: 122
- Date:
Sat Jul 6 11:31:42 1996
- Orig file:
v2.0.2/linux/drivers/sound/sb_common.c
- Orig date:
Wed Jul 3 22:05:15 1996
diff -u --recursive --new-file v2.0.2/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -1,7 +1,7 @@
/*
* sound/sb_common.c
*
- * Common routines for SoundBlaster compatible cards.
+ * Common routines for Sound Blaster compatible cards.
*/
/*
* Copyright (C) by Hannu Savolainen 1993-1996
@@ -25,7 +25,7 @@
#include "sb.h"
static sb_devc *detected_devc = NULL; /* For communication from probe to init */
-static sb_devc *last_devc = NULL; /* For MPU401 initalization */
+static sb_devc *last_devc = NULL; /* For MPU401 initialization */
static sb_devc *irq2devc[16] =
{NULL};
static unsigned char jazz_irq_bits[] =
@@ -34,14 +34,14 @@
{0, 1, 0, 2, 0, 3, 0, 4};
/*
- * Jazz16 chipset spesific control variables
+ * Jazz16 chipset specific control variables
*/
static int jazz16_base = 0; /* Not detected */
static unsigned char jazz16_bits = 0; /* I/O relocation bits */
/*
- * Logitech Soundman Wave spesific initialization code
+ * Logitech SoundMan Wave specific initialization code
*/
#ifdef SMW_MIDI0001_INCLUDED
@@ -59,7 +59,7 @@
unsigned long limit;
limit = jiffies + HZ / 10; /*
- * The timeout is 0.1 secods
+ * The timeout is 0.1 seconds
*/
/*
@@ -79,7 +79,7 @@
}
}
- printk ("SoundBlaster: DSP Command(%x) Timeout.\n", val);
+ printk ("Sound Blaster: DSP Command(%x) Timeout.\n", val);
return 0;
}
@@ -173,7 +173,7 @@
break;
default:
- printk ("SoundBlaster: Unexpected interrupt\n");
+ printk ("Sound Blaster: Unexpected interrupt\n");
}
/*
* Acknowledge interrupts
@@ -345,7 +345,7 @@
return 0;
/*
- * OK so far. Now configure the IRQ and DMA channel used by the acrd.
+ * OK so far. Now configure the IRQ and DMA channel used by the card.
*/
if (hw_config->irq < 1 || hw_config->irq > 15 ||
jazz_irq_bits[hw_config->irq] == 0)
@@ -501,7 +501,7 @@
* Set DMA configuration register
*/
- cfg = 0x50; /* Extended mode DMA ebable */
+ cfg = 0x50; /* Extended mode DMA enable */
if (devc->dma8 > 3 || devc->dma8 < 0 || devc->dma8 == 2)
{
@@ -649,7 +649,7 @@
devc->caps = hw_config->driver_use_1;
if (snd_set_irq_handler (hw_config->irq,
- sbintr, "soundblaster", devc->osp) < 0)
+ sbintr, "sound blaster", devc->osp) < 0)
{
printk ("SB: Can't allocate IRQ%d\n", hw_config->irq);
return;
@@ -696,7 +696,7 @@
DDB (printk ("IRQ test OK (IRQ%d)\n", devc->irq));
}
- request_region (hw_config->io_base, 16, "soundblaster");
+ request_region (hw_config->io_base, 16, "sound blaster");
switch (devc->major)
{
@@ -758,12 +758,12 @@
if (!(devc->caps & SB_NO_AUDIO))
{
- if (sound_alloc_dma (devc->dma8, "SoundBlaster8"))
+ if (sound_alloc_dma (devc->dma8, "Sound Blaster8"))
{
printk ("SB: Can't allocate 8 bit DMA channel %d\n", devc->dma8);
}
if (devc->dma16 >= 0 && devc->dma16 != devc->dma8)
- if (sound_alloc_dma (devc->dma16, "SoundBlaster16"))
+ if (sound_alloc_dma (devc->dma16, "Sound Blaster16"))
{
printk ("SB: Can't allocate 16 bit DMA channel %d\n", devc->dma16);
}
@@ -958,7 +958,7 @@
* Set the SCSI interrupt (IRQ2/9, IRQ3 or IRQ10). The SCSI interrupt
* is disabled by default.
*
- * Btw the Zilog 5380 SCSI controller is located at MPU base + 0x10.
+ * BTW the Zilog 5380 SCSI controller is located at MPU base + 0x10.
*/
{
static unsigned char scsi_irq_bits[] =
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov