Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 1998 09:30:34 +1100 (EST)
From:      John Saunders <john@pacer.nlc.net.au>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Cosmetic sound driver patch for stable
Message-ID:  <Pine.BSF.3.96.980321092641.635A-100000@pacer.nlc.net.au>

next in thread | raw e-mail | index | archive | help

I have a cosmetic patch for the sound driver in stable. Anyone care to
commit it? The other sb16_*.c files use the same code for displaying the
device name with the #if around it (I cut and pasted). I also have another
cosmetic patch for the optical disc driver. It simply changes the wording
(to be more inderstandable) when a disc isn't present in the drive.

Please feel free to commit 1 or the other or both :)

Cheers.

--- /sys/i386/isa/sound/sb16_midi.c.ctm	Sun Mar 15 01:39:18 1998
+++ /sys/i386/isa/sound/sb16_midi.c	Sun Mar 15 01:41:22 1998
@@ -233,7 +233,11 @@
       return mem_start;
     }
 
+#if defined(__FreeBSD__)
+  printk ("sbmidi0: <SoundBlaster MPU-401>");
+#else
   printk (" <SoundBlaster MPU-401>");
+#endif
 
   std_midi_synth.midi_dev = my_dev = num_midis;
   midi_devs[num_midis++] = &sb16midi_operations;
--- /sys/scsi/od.c.ctm	Mon Mar  9 23:30:33 1998
+++ /sys/scsi/od.c	Sun Mar 15 01:48:27 1998
@@ -239,7 +239,7 @@
 		    dp->disksize,
 		    dp->secsiz);
 	} else {
-		printf("od not present");
+		printf("disc not present");
 	}
 
 #ifndef SCSI_REPORT_GEOMETRY

--          +----------------------------------------------------------+
       .    | John Saunders  - john@pacer.nlc.net.au            (Home) |
   ,--_|\   |                - johns@rd.scitec.com.au           (Work) |
  /  Oz  \  |                - http://www.nlc.net.au/~john/      (WWW) |
  \_,--\_/  | "Better to keep your mouth closed and be thought a fool, |
        v   | than to open it and remove any doubt" - Homer Simpson.   |
            +----------------------------------------------------------+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980321092641.635A-100000>