From mat@hak.cnd.mcgill.ca  Wed Nov 12 14:06:48 2003
Return-Path: <mat@hak.cnd.mcgill.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B9F9616A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 14:06:48 -0800 (PST)
Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 149CD43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 14:06:47 -0800 (PST)
	(envelope-from mat@hak.cnd.mcgill.ca)
Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1])
	by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id hACM4Rk4041619
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 17:04:27 -0500 (EST)
	(envelope-from mat@hak.cnd.mcgill.ca)
Received: (from mat@localhost)
	by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id hACM4QOv041618;
	Wed, 12 Nov 2003 17:04:26 -0500 (EST)
Message-Id: <200311122204.hACM4QOv041618@hak.cnd.mcgill.ca>
Date: Wed, 12 Nov 2003 17:04:26 -0500 (EST)
From: Mathew Kanner <mat@hak.cnd.mcgill.ca>
Reply-To: Mathew Kanner <mat@hak.cnd.mcgill.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: patch to soundcard.h to include an ioctl and a constant for midi
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         59233
>Category:       kern
>Synopsis:       patch to soundcard.h to include an ioctl and a constant for midi
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    matk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 14:10:12 PST 2003
>Closed-Date:    Tue Jul 20 13:51:32 GMT 2004
>Last-Modified:  Tue Jul 20 13:51:32 GMT 2004
>Originator:     Mathew Kanner
>Release:        FreeBSD 5.x
>Organization:
>Environment:
System: FreeBSD tube.mine.nu 5.1-CURRENT-20031021-JPSNAP FreeBSD 5.1-CURRENT-20031021-JPSNAP #0: Tue Oct 21 01:07:08 GMT 2003     root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386


	
>Description:
	Current software requires the ioctl and mpu401 constant
	
>How-To-Repeat:
	
>Fix:


--- soundcard.h.orig	Wed Nov 12 16:31:24 2003
+++ soundcard.h	Wed Nov 12 16:38:12 2003
@@ -296,6 +296,7 @@
 #define SNDCTL_PMGR_ACCESS	_IOWR('Q',16, struct patmgr_info)
 #define SNDCTL_SEQ_PANIC	_IO  ('Q',17)
 #define SNDCTL_SEQ_OUTOFBAND	_IOW ('Q',18, struct seq_event_rec)
+#define SNDCTL_SEQ_GETTIME	_IOR ('Q',19, int)
 
 struct seq_event_rec {
 	u_char arr[8];
@@ -690,6 +691,7 @@
 	int	synth_subtype;
 #define FM_TYPE_ADLIB			0x00
 #define FM_TYPE_OPL3			0x01
+#define MIDI_TYPE_MPU401		0x401
 
 #define SAMPLE_TYPE_BASIC		0x10
 #define SAMPLE_TYPE_GUS			SAMPLE_TYPE_BASIC
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Nov 15 13:30:40 PST 2003 
Responsible-Changed-Why:  
Assign to sound maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59233 
Responsible-Changed-From-To: sos->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Nov 15 15:02:21 PST 2003 
Responsible-Changed-Why:  
Blame another typo on the solar flares and assign to the real sound maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59233 
State-Changed-From-To: open->patched 
State-Changed-By: matk 
State-Changed-When: Fri Nov 21 22:11:42 PST 2003 
State-Changed-Why:  
Take this PR.  Wait for MFC. 



Responsible-Changed-From-To: sound->matk 
Responsible-Changed-By: matk 
Responsible-Changed-When: Fri Nov 21 22:11:42 PST 2003 
Responsible-Changed-Why:  
Take PR. Wait for MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59233 

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, mat@hak.cnd.mcgill.ca
Cc:  
Subject: Re: kern/59233: patch to soundcard.h to include an ioctl and a constant for midi
Date: Thu, 27 May 2004 20:02:29 +0200

 Do you still plan to eventually do the MFC? I am currently overhauling PR 
 59239 and 59243 to get them commitable and I'm making good progress.
 
 The commit message to sys/sys/soundcard.h said "MFC after: Three weeks", but 
 that commit was six months ago. Now that FreeBSD-4.10 is out the door would 
 be a good time to get this done.
 
 If the MFC is not on your agenda anymore please tell me, I can still commit 
 the ports (but BROKEN for 4.x).
State-Changed-From-To: patched->closed 
State-Changed-By: netchild 
State-Changed-When: Tue Jul 20 13:51:16 GMT 2004 
State-Changed-Why:  
MFCed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59233 
>Unformatted:
