Subject: Re: Proposed change to sys/dev/midi_if.h
To: Bill Studenmund <wrstuden@zembu.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 07/06/2000 20:36:32
Bill Studenmund wrote:
> Obviously I can just add macppc to the list, but that strikes me as still
> wrong. So does this look ok?
>
> Index: midi_if.h
> ===================================================================
> RCS file: /cvsroot/syssrc/sys/dev/midi_if.h,v
> retrieving revision 1.8
> diff -u -r1.8 midi_if.h
> --- midi_if.h 2000/03/21 18:05:55 1.8
> +++ midi_if.h 2000/07/06 18:04:18
> @@ -67,7 +67,7 @@
> void midi_getinfo __P((dev_t, struct midi_info *));
> int midi_writebytes __P((int, u_char *, int));
>
> -#if !defined(__i386__) && !defined(__arm32__) && !defined(prep)
> +#if !defined(IPL_AUDIO)
> #define splaudio splbio /* XXX */
> #define IPL_AUDIO IPL_BIO /* XXX */
> #endif
The looks reasonable to me.
--
-- Lennart