From owner-freebsd-stable Fri Mar 20 14:30:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA11410 for freebsd-stable-outgoing; Fri, 20 Mar 1998 14:30:35 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pacer.nlc.net.au (pacer.nlc.net.au [203.24.133.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11311 for ; Fri, 20 Mar 1998 14:30:01 -0800 (PST) (envelope-from john@pacer.nlc.net.au) Received: from localhost (john@localhost) by pacer.nlc.net.au (8.8.8/8.8.8) with SMTP id JAA00641 for ; Sat, 21 Mar 1998 09:30:34 +1100 (EST) (envelope-from john@pacer.nlc.net.au) Date: Sat, 21 Mar 1998 09:30:34 +1100 (EST) From: John Saunders To: freebsd-stable@FreeBSD.ORG Subject: Cosmetic sound driver patch for stable Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk 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: "); +#else printk (" "); +#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