Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 1995 20:58:42 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        smpatel@wam.umd.edu, swallace@ece.uci.edu
Cc:        hackers@FreeBSD.org
Subject:   Re: Whee - I've got my MBONE feed..
Message-ID:  <199504041058.UAA18359@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> On Linux (same VoxWare drivers), this code fragment runs through ok.  On 
>> FreeBSD, the GETBLKSIZE returns 0 causing the Error.
>> 
>Take a look:
>*** /usr/src-2.0/sys/i386/include/soundcard.h   Mon Nov 14 06:13:13 1994
>--- /sys/i386/include/soundcard.h       Wed Mar  8 13:19:01 1995
>...
old>! #define SNDCTL_DSP_GETBLKSIZE         _IOWR('P', 4, int)
new>! #define SNDCTL_DSP_GETBLKSIZE         _IOR('P', 4, int)

This was broken on 1995/02/13.

>Perhaps in the kernel sound code, we should have SNDCTL_DSP_GETBLKSIZE
>accept both _IOWR and _IOR types for backwards broken compatability.
>What do you guys think?

The old, broken ioctl must be preserved until you are sure that there
are no applications using it, i.e., "forever".

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504041058.UAA18359>