From owner-freebsd-hackers Tue Apr 4 04:05:07 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA10099 for hackers-outgoing; Tue, 4 Apr 1995 04:05:07 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA10090 for ; Tue, 4 Apr 1995 04:04:51 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id UAA18359; Tue, 4 Apr 1995 20:58:42 +1000 Date: Tue, 4 Apr 1995 20:58:42 +1000 From: Bruce Evans Message-Id: <199504041058.UAA18359@godzilla.zeta.org.au> To: smpatel@wam.umd.edu, swallace@ece.uci.edu Subject: Re: Whee - I've got my MBONE feed.. Cc: hackers@FreeBSD.org Sender: hackers-owner@FreeBSD.org Precedence: bulk >> 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