patch-2.1.6 linux/drivers/sound/aedsp16.c

Next file: linux/drivers/sound/audio.c
Previous file: linux/drivers/sound/adlib_card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.5/linux/drivers/sound/aedsp16.c linux/drivers/sound/aedsp16.c
@@ -349,7 +349,7 @@
 };
 
 /*
- * Buffers to store audio card information
+ * Buffers to store audio card informations
  */
 static char     AudioExcelName[CARDNAMELEN + 1];
 static char     AudioExcelVersion[CARDVERLEN + 1];
@@ -403,9 +403,9 @@
   /*
      * Reset DSP
    */
-  outb (1, (port + DSP_RESET));
+  outb ((1), (port + DSP_RESET));
   tenmicrosec ();
-  outb (0, (port + DSP_RESET));
+  outb ((0), (port + DSP_RESET));
   tenmicrosec ();
   tenmicrosec ();
   return CheckDSPOkay (port);
@@ -425,7 +425,7 @@
        */
       if (!(ret & 0x80))
 	{
-	  outb (cmd, port + DSP_COMMAND);
+	  outb ((cmd), port + DSP_COMMAND);
 	  return 0;
 	}
     }
@@ -706,7 +706,7 @@
      * can allow me to release the requested region.
    */
   if (!(ae_init & INIT_MPU401))
-    request_region (hw_config->io_base, 0x0f, "AEDSP16 (SBPro)");
+    request_region (hw_config->io_base, 0x0f, "aedsp16 (sbpro)");
 #endif
 
   ae_init |= INIT_SBPRO;
@@ -774,11 +774,11 @@
      * can allow me to release the requested region. So when unloading
      * and then reloading it, we are going to have some nice Oops!
    */
-  request_region (hw_config->io_base, 0x08, "AEDSP16 (MSS)");
+  request_region (hw_config->io_base, 0x08, "aedsp16 (mss)");
 #endif
 
   if (!(ae_init & INIT_MPU401))
-    request_region (AEDSP16_BASE, 0x0f, "AEDSP16 (SBPro)");
+    request_region (AEDSP16_BASE, 0x0f, "aedsp16 (sbpro)");
 
   ae_init |= INIT_MSS;
   return 0;
@@ -837,11 +837,11 @@
      * request any region because there is not a uninit routine that
      * can allow me to release the requested region.
    */
-  request_region (hw_config->io_base, 0x02, "AEDSP16 (mpu401)");
+  request_region (hw_config->io_base, 0x02, "aedsp16 (mpu401)");
 #endif
 
   if (!(ae_init & (INIT_MSS | INIT_SBPRO)))
-    request_region (AEDSP16_BASE, 0x0f, "AEDSP16 (SBPro)");
+    request_region (AEDSP16_BASE, 0x0f, "aedsp16 (sbpro)");
 
   ae_init |= INIT_MPU401;
   return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov