From owner-cvs-sys Sun Nov 23 00:01:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA26823 for cvs-sys-outgoing; Sun, 23 Nov 1997 00:01:47 -0800 (PST) (envelope-from owner-cvs-sys) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA26806; Sun, 23 Nov 1997 00:01:41 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id AAA04041; Sun, 23 Nov 1997 00:01:30 -0800 (PST) Message-Id: <199711230801.AAA04041@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mark Murray cc: John-Mark Gurney , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h In-reply-to: Your message of "Sun, 23 Nov 1997 09:43:55 +0200." <199711230743.JAA00848@greenpeace.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 00:01:29 -0800 From: Amancio Hasty Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sure if their soundcard.h has been tested with the voxware sound driver. Cheers, Amancio > John-Mark Gurney wrote: > > jmg 1997/11/22 23:03:23 PST > > > > Modified files: > > sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c > > sbcard.h sound.c sound.h soundcard.h > ^^^^^^^^^^^ > Any differences to this file from sys/i386/include/soundcard.h should > be merged into there as well. > > M > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > From owner-cvs-sys Sun Nov 23 00:09:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA27266 for cvs-sys-outgoing; Sun, 23 Nov 1997 00:09:30 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA27131; Sun, 23 Nov 1997 00:07:24 -0800 (PST) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (B44b+Y5z48KswkPE1JnQMe+EmpXLUZ+u@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.8) with ESMTP id KAA01262; Sun, 23 Nov 1997 10:07:36 +0200 (SAT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (sQVoZ0qsAuJmGnDplQ3oOchK1f0FW4oC@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.8/8.8.8) with ESMTP id KAA01005; Sun, 23 Nov 1997 10:07:20 +0200 (SAST) (envelope-from mark@greenpeace.grondar.za) Message-Id: <199711230807.KAA01005@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: Mark Murray , John-Mark Gurney , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 10:07:20 +0200 From: Mark Murray Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty wrote: > Sure if their soundcard.h has been tested with the voxware sound driver. According to Luigi, this is the case. Luigi's solution is just to make sys/i386/include/soundcard.h a symlink. I pointed out that this was evil, and that proper merging was better. Luigi reckoned that was OK, as his code is compatible with the Voxware model. M > > John-Mark Gurney wrote: > > > jmg 1997/11/22 23:03:23 PST > > > > > > Modified files: > > > sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c > > > sbcard.h sound.c sound.h soundcard.h > > ^^^^^^^^^^^ > > Any differences to this file from sys/i386/include/soundcard.h should > > be merged into there as well. > > > > M > > -- > > Mark Murray > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-cvs-sys Sun Nov 23 00:19:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA27847 for cvs-sys-outgoing; Sun, 23 Nov 1997 00:19:37 -0800 (PST) (envelope-from owner-cvs-sys) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA27839; Sun, 23 Nov 1997 00:19:33 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id AAA04213; Sun, 23 Nov 1997 00:19:22 -0800 (PST) Message-Id: <199711230819.AAA04213@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mark Murray cc: John-Mark Gurney , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h In-reply-to: Your message of "Sun, 23 Nov 1997 10:07:20 +0200." <199711230807.KAA01005@greenpeace.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 00:19:22 -0800 From: Amancio Hasty Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Fine, has he or anyone tested it with the voxware driver? Tnks, Amancio > Amancio Hasty wrote: > > Sure if their soundcard.h has been tested with the voxware sound driver. > > According to Luigi, this is the case. Luigi's solution is just to make > sys/i386/include/soundcard.h a symlink. I pointed out that this was > evil, and that proper merging was better. Luigi reckoned that was OK, > as his code is compatible with the Voxware model. > > M > > > > > John-Mark Gurney wrote: > > > > jmg 1997/11/22 23:03:23 PST > > > > > > > > Modified files: > > > > sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c > > > > sbcard.h sound.c sound.h soundcard.h > > > ^^^^^^^^^^^ > > > Any differences to this file from sys/i386/include/soundcard.h should > > > be merged into there as well. > > > > > > M > > > -- > > > Mark Murray > > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > > > > > > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > From owner-cvs-sys Sun Nov 23 01:26:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA00763 for cvs-sys-outgoing; Sun, 23 Nov 1997 01:26:01 -0800 (PST) (envelope-from owner-cvs-sys) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA00758; Sun, 23 Nov 1997 01:25:53 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA00735; Sun, 23 Nov 1997 09:20:05 +0100 From: Luigi Rizzo Message-Id: <199711230820.JAA00735@labinfo.iet.unipi.it> Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sun, 23 Nov 1997 09:20:04 +0100 (MET) Cc: mark@grondar.za, jmg@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG In-Reply-To: <199711230819.AAA04213@rah.star-gate.com> from "Amancio Hasty" at Nov 23, 97 00:19:03 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Fine, has he or anyone tested it with the voxware driver? unfortunately I haven't done such test myself... in any case the commit seems to be related to sys/i386/isa/snd/soundcard.h so this should not affect the other audio driver. If someone using guspnp can test it with my soundcard.h and see if there are problems I'd be glad to fix them (hint hint...) unfortunately I am not running -current Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-cvs-sys Sun Nov 23 02:34:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA03370 for cvs-sys-outgoing; Sun, 23 Nov 1997 02:34:45 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA03258; Sun, 23 Nov 1997 02:31:25 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA08232; Sun, 23 Nov 1997 02:30:52 -0800 (PST) Date: Sun, 23 Nov 1997 02:30:52 -0800 (PST) Message-Id: <199711231030.CAA08232@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern sys_generic.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/23 02:30:52 PST Modified files: sys/kern sys_generic.c Log: Fixed some style bugs in the poll() code. Removed dead code to "Avoid inadvertently sleeping forever". hzto() never returns 0. Revision Changes Path 1.33 +8 -18 src/sys/kern/sys_generic.c From owner-cvs-sys Sun Nov 23 02:46:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA03644 for cvs-sys-outgoing; Sun, 23 Nov 1997 02:46:09 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA03590; Sun, 23 Nov 1997 02:44:24 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA08303; Sun, 23 Nov 1997 02:43:51 -0800 (PST) Date: Sun, 23 Nov 1997 02:43:51 -0800 (PST) Message-Id: <199711231043.CAA08303@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys file.h src/sys/kern kern_descrip.c uipc_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/23 02:43:51 PST Modified files: sys/sys file.h sys/kern kern_descrip.c uipc_usrreq.c Log: Fixed duplicate definitions of M_FILE (one static). Revision Changes Path 1.15 +5 -1 src/sys/sys/file.h 1.44 +2 -2 src/sys/kern/kern_descrip.c 1.30 +2 -4 src/sys/kern/uipc_usrreq.c From owner-cvs-sys Sun Nov 23 03:29:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA04706 for cvs-sys-outgoing; Sun, 23 Nov 1997 03:29:04 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA04630; Sun, 23 Nov 1997 03:26:50 -0800 (PST) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (re53L4dHCz2FNus9KcKk0qYSaW1XLz5v@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.8) with ESMTP id NAA01465; Sun, 23 Nov 1997 13:27:01 +0200 (SAT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (nUKYRX5lD2giPa8X9LhPHAT6xO7GyA2e@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.8/8.8.8) with ESMTP id NAA00710; Sun, 23 Nov 1997 13:26:44 +0200 (SAST) (envelope-from mark@greenpeace.grondar.za) Message-Id: <199711231126.NAA00710@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Luigi Rizzo cc: hasty@rah.star-gate.com (Amancio Hasty), mark@grondar.za, jmg@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 13:26:43 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo wrote: > If someone using guspnp can test it with my soundcard.h and see if > there are problems I'd be glad to fix them (hint hint...) I am about to do this - when My make world finishes, and I have finished DM'ing my Dnd sessionj :-) > unfortunately I am not running -current Fortunately, I am :-). M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-cvs-sys Sun Nov 23 03:33:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA04963 for cvs-sys-outgoing; Sun, 23 Nov 1997 03:33:11 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA04815; Sun, 23 Nov 1997 03:31:17 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA08499; Sun, 23 Nov 1997 03:30:45 -0800 (PST) Date: Sun, 23 Nov 1997 03:30:45 -0800 (PST) Message-Id: <199711231130.DAA08499@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi sd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/23 03:30:44 PST Modified files: sys/scsi sd.c Log: Fixed the sector size frobbing in sd_strategy() at least not to break for the usual sector size. dscheck() adjusts b_bcount to handle EOF, so we must scale it and not preserve it. i/o beyond the end of partitions has been broken since rev.1.96. Not fixed in: od driver Revision Changes Path 1.114 +7 -8 src/sys/scsi/sd.c From owner-cvs-sys Sun Nov 23 04:00:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA05587 for cvs-sys-outgoing; Sun, 23 Nov 1997 04:00:28 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA05461; Sun, 23 Nov 1997 03:56:54 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA08557; Sun, 23 Nov 1997 03:56:21 -0800 (PST) Date: Sun, 23 Nov 1997 03:56:21 -0800 (PST) Message-Id: <199711231156.DAA08557@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi st.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/23 03:56:21 PST Modified files: sys/scsi st.c Log: Fixed misuse of O_ACCMODE. Cosmetic. Not fixed in: sound driver Revision Changes Path 1.83 +2 -2 src/sys/scsi/st.c From owner-cvs-sys Sun Nov 23 04:27:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA06162 for cvs-sys-outgoing; Sun, 23 Nov 1997 04:27:20 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA06108; Sun, 23 Nov 1997 04:25:33 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA09102; Sun, 23 Nov 1997 04:25:00 -0800 (PST) Date: Sun, 23 Nov 1997 04:25:00 -0800 (PST) Message-Id: <199711231225.EAA09102@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_descrip.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/23 04:25:00 PST Modified files: sys/kern kern_descrip.c Log: Fixed a missing conversion of retval to p_retval in disabled code. Fixed overflow of FFLAGS() in fcntl(F_SETFL, ...). This was not a security hole, but gave wrong results for silly flags values. E.g., it make fcntl(F_SETFL, -1) equivalent to fcntl(F_SETFL, 0). POSIX requires ignoring the open mode bits in fcntl() (even if they would be invalid for open()). Revision Changes Path 1.45 +3 -3 src/sys/kern/kern_descrip.c From owner-cvs-sys Sun Nov 23 07:37:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA14782 for cvs-sys-outgoing; Sun, 23 Nov 1997 07:37:17 -0800 (PST) (envelope-from owner-cvs-sys) Received: from nagual.pp.ru (ache.relcom.ru [193.125.20.108]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA14777; Sun, 23 Nov 1997 07:37:06 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.8.8/8.8.8) id SAA00711; Sun, 23 Nov 1997 18:36:33 +0300 (MSK) (envelope-from ache) Date: Sun, 23 Nov 1997 18:36:30 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: John-Mark Gurney cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h In-Reply-To: <199711230703.XAA07801@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk soundcard.h must be removed from here and moved to /sys/i386/include instead. It was commited here by mistake. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-sys Sun Nov 23 10:46:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA23698 for cvs-sys-outgoing; Sun, 23 Nov 1997 10:46:38 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA23578; Sun, 23 Nov 1997 10:44:11 -0800 (PST) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (MXeqCsBz0K7Xm3ZyP4/uiJrP45P0JzUk@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.8) with ESMTP id UAA01947; Sun, 23 Nov 1997 20:44:24 +0200 (SAT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (k2mKzxW6cqqZPCFrkk1GaGTRSeeje68J@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.8/8.8.8) with ESMTP id UAA13397; Sun, 23 Nov 1997 20:44:14 +0200 (SAST) (envelope-from mark@greenpeace.grondar.za) Message-Id: <199711231844.UAA13397@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: John-Mark Gurney , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 20:44:14 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > > soundcard.h must be removed from here and moved to /sys/i386/include > instead. It was commited here by mistake. Yup! I'm working on it. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-cvs-sys Sun Nov 23 11:07:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA24931 for cvs-sys-outgoing; Sun, 23 Nov 1997 11:07:47 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA24858; Sun, 23 Nov 1997 11:05:40 -0800 (PST) (envelope-from ahasty@FreeBSD.org) From: Amancio Hasty Received: (from ahasty@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA27443; Sun, 23 Nov 1997 11:05:05 -0800 (PST) Date: Sun, 23 Nov 1997 11:05:05 -0800 (PST) Message-Id: <199711231905.LAA27443@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa/sound dev_table.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ahasty 1997/11/23 11:05:04 PST Modified files: sys/i386/isa/sound dev_table.h Log: Missing part of my last sb_dsp.c sb16_dsp.c commit. Revision Changes Path 1.22 +1 -0 src/sys/i386/isa/sound/dev_table.h From owner-cvs-sys Sun Nov 23 11:23:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25735 for cvs-sys-outgoing; Sun, 23 Nov 1997 11:23:51 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25671; Sun, 23 Nov 1997 11:21:58 -0800 (PST) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (OQeQ5xvAHfB0lpsoj7sCgdoba1x8ncb+@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.8) with ESMTP id VAA02013; Sun, 23 Nov 1997 21:22:11 +0200 (SAT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (1HDCm3/woXipwLFXyubo2QTDuvlzwOdH@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.8/8.8.8) with ESMTP id VAA13656; Sun, 23 Nov 1997 21:22:02 +0200 (SAST) (envelope-from mark@greenpeace.grondar.za) Message-Id: <199711231922.VAA13656@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: Mark Murray , John-Mark Gurney , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 21:22:01 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Report back: In theory: Luigi's sound driver and Amancio's sound driver have the same soundcard.h. In practice, each developer worked independantly on this file. We are now in the untenable situation where the different soundcard.h's are very different. When I committed Amancio's driver to the tree, I put his driver in The Right Place (tm). Luigi's driver, however has been put in the same place as the rest of his code, which is The Wrong Place (tm). We now need to either 1) break these two files _way_ apart and rename them to different names, or 2) merge them properly. IMHO, #2 should be done. Please could you sound developers merge your changes and requirements into The Right Place (tm) being sys/i386/includes/soundcard.h, and remove sys/i386/isa/snd/soundcard.h? This will have the added benefit of not requiring evil symlinks to make Luigi's code work. Thanks! M Amancio Hasty wrote: > Fine, has he or anyone tested it with the voxware driver? > > Tnks, > Amancio > > > Amancio Hasty wrote: > > > Sure if their soundcard.h has been tested with the voxware sound driver. > > > > According to Luigi, this is the case. Luigi's solution is just to make > > sys/i386/include/soundcard.h a symlink. I pointed out that this was > > evil, and that proper merging was better. Luigi reckoned that was OK, > > as his code is compatible with the Voxware model. > > > > M > > > > > > > > John-Mark Gurney wrote: > > > > > jmg 1997/11/22 23:03:23 PST > > > > > > > > > > Modified files: > > > > > sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c > > > > > sbcard.h sound.c sound.h soundcard.h > > > > ^^^^^^^^^^^ > > > > Any differences to this file from sys/i386/include/soundcard.h should > > > > be merged into there as well. > > > > > > > > M > > > > -- > > > > Mark Murray > > > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > > > > > > > > > > > -- > > Mark Murray > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-cvs-sys Sun Nov 23 11:26:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25975 for cvs-sys-outgoing; Sun, 23 Nov 1997 11:26:40 -0800 (PST) (envelope-from owner-cvs-sys) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25966; Sun, 23 Nov 1997 11:26:35 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id LAA06158; Sun, 23 Nov 1997 11:26:18 -0800 (PST) Message-Id: <199711231926.LAA06158@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mark Murray cc: John-Mark Gurney , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h In-reply-to: Your message of "Sun, 23 Nov 1997 21:22:01 +0200." <199711231922.VAA13656@greenpeace.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Nov 1997 11:26:18 -0800 From: Amancio Hasty Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk For now leave Luigi's soundcard.h in /sys/i386/snd/soundcard.h. Amancio > Report back: > > In theory: Luigi's sound driver and Amancio's sound driver have the > same soundcard.h. In practice, each developer worked independantly on > this file. We are now in the untenable situation where the different > soundcard.h's are very different. When I committed Amancio's driver to > the tree, I put his driver in The Right Place (tm). Luigi's driver, > however has been put in the same place as the rest of his code, > which is The Wrong Place (tm). We now need to either > > 1) break these two files _way_ apart and rename them to different > names, or > 2) merge them properly. > > IMHO, #2 should be done. > > Please could you sound developers merge your changes and requirements > into The Right Place (tm) being sys/i386/includes/soundcard.h, and > remove sys/i386/isa/snd/soundcard.h? This will have the added benefit > of not requiring evil symlinks to make Luigi's code work. > > Thanks! > > M > > Amancio Hasty wrote: > > Fine, has he or anyone tested it with the voxware driver? > > > > Tnks, > > Amancio > > > > > Amancio Hasty wrote: > > > > Sure if their soundcard.h has been tested with the voxware sound driver. > > > > > > According to Luigi, this is the case. Luigi's solution is just to make > > > sys/i386/include/soundcard.h a symlink. I pointed out that this was > > > evil, and that proper merging was better. Luigi reckoned that was OK, > > > as his code is compatible with the Voxware model. > > > > > > M > > > > > > > > > > > John-Mark Gurney wrote: > > > > > > jmg 1997/11/22 23:03:23 PST > > > > > > > > > > > > Modified files: > > > > > > sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c > > > > > > sbcard.h sound.c sound.h soundcard.h > > > > > ^^^^^^^^^^^ > > > > > Any differences to this file from sys/i386/include/soundcard.h should > > > > > be merged into there as well. > > > > > > > > > > M > > > > > -- > > > > > Mark Murray > > > > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > > > > > > > > > > > > > > > > -- > > > Mark Murray > > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > > > > > > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > From owner-cvs-sys Sun Nov 23 11:30:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA26303 for cvs-sys-outgoing; Sun, 23 Nov 1997 11:30:41 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA26138; Sun, 23 Nov 1997 11:28:51 -0800 (PST) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (qJo6w1l//UtrZxCkKHuqFuOPfEUmSGq2@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.8) with ESMTP id VAA02029; Sun, 23 Nov 1997 21:29:04 +0200 (SAT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (bY12j3KriKsuMN7eqENvoguXU4BqXkpK@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.8/8.8.8) with ESMTP id VAA13709; Sun, 23 Nov 1997 21:28:55 +0200 (SAST) (envelope-from mark@greenpeace.grondar.za) Message-Id: <199711231928.VAA13709@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Mark Murray cc: Amancio Hasty , John-Mark Gurney , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c sb_dsp.c sbcard.h sound.c sound.h soundcard.h Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-16957282400" Date: Sun, 23 Nov 1997 21:28:55 +0200 From: Mark Murray Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is a multipart MIME message. --==_Exmh_-16957282400 Content-Type: text/plain; charset=us-ascii Mark Murray wrote: > Please could you sound developers merge your changes and requirements > into The Right Place (tm) being sys/i386/includes/soundcard.h, and > remove sys/i386/isa/snd/soundcard.h? This will have the added benefit > of not requiring evil symlinks to make Luigi's code work. Sorry - I forgot to add the diffs. Attached. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org --==_Exmh_-16957282400 Content-Type: text/plain; name="soundcard.h.diff"; charset=us-ascii Content-Description: soundcard.h.diff Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="soundcard.h.diff" --- soundcard.h Sat Oct 25 21:45:53 1997 +++ ../isa/snd/soundcard.h Thu Oct 30 21:17:07 1997 @@ -1,32 +1,35 @@ -#ifndef SOUNDCARD_H -#define SOUNDCARD_H /* + * soundcard.h + * * Copyright by Hannu Savolainen 1993 + * Modified for the new FreeBSD sound driver by Luigi Rizzo, 1997 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in th= e - * documentation and/or other materials provided with the distributio= n. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AN= D - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE= - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PU= RPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIAB= LE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUE= NTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOO= DS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)= - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, S= TRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY= WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O= F - * SUCH DAMAGE. - * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. * = + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR + * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ = +#ifndef SOUNDCARD_H +#define SOUNDCARD_H /* = * If you make modifications to this file, please contact me before * distributing the modified version. There is already enough = @@ -46,50 +49,165 @@ **********************************************************************= */ = -#define SOUND_VERSION 301 +#include +#ifndef _IOWR +#include +#endif /* !_IOWR */ = /* - * Supported card ID numbers (Should be somewhere else?) + * The first part of this file contains the new FreeBSD sound ioctl + * interface. Tries to minimize the number of different ioctls, and + * to be reasonably general. + * + * 970821: some of the new calls have not been implemented yet. */ = -#define SNDCARD_ADLIB 1 -#define SNDCARD_SB 2 -#define SNDCARD_PAS 3 -#define SNDCARD_GUS 4 -#define SNDCARD_MPU401 5 -#define SNDCARD_SB16 6 -#define SNDCARD_SB16MIDI 7 -#define SNDCARD_UART6850 8 -#define SNDCARD_GUS16 9 -#define SNDCARD_MSS 10 -#define SNDCARD_PSS 11 -#define SNDCARD_SSCAPE 12 -#define SNDCARD_PSS_MPU 13 -#define SNDCARD_PSS_MSS 14 -#define SNDCARD_SSCAPE_MSS 15 -#define SNDCARD_TRXPRO 16 -#define SNDCARD_TRXPRO_SB 17 -#define SNDCARD_TRXPRO_MPU 18 -#define SNDCARD_MAD16 19 -#define SNDCARD_MAD16_MPU 20 -#define SNDCARD_CS4232 21 -#define SNDCARD_CS4232_MPU 22 -#define SNDCARD_MAUI 23 -#define SNDCARD_PSEUDO_MSS 24 -#define SNDCARD_AWE32 25 +/* + * the following three calls extend the generic file descriptor + * interface. AIONWRITE is the dual of FIONREAD, i.e. returns the max + * number of bytes for a write operation to be non-blocking. + * + * AIOGSIZE/AIOSSIZE are used to change the behaviour of the device, + * from a character device (default) to a block device. In block mode, + * (not to be confused with blocking mode) the main difference for the + * application is that select() will return only when a complete + * block can be read/written to the device, whereas in character mode + * select will return true when one byte can be exchanged. For audio + * devices, character mode makes select almost useless since one byte + * will always be ready by the next sample time (which is often only a + * handful of microseconds away). = + * Use a size of 0 or 1 to return to character mode. + */ +#define AIONWRITE _IOR('A', 10, int) /* get # bytes to write */ +struct snd_size { + int play_size; + int rec_size; +}; +#define AIOGSIZE _IOR('A', 11, struct snd_size)/* read current blocks= ize */ +#define AIOSSIZE _IOWR('A', 11, struct snd_size) /* sets blocksize *= / = /* - * IOCTL Commands for /dev/sequencer + * The following constants define supported audio formats. The + * encoding follows voxware conventions, i.e. 1 bit for each supported + * format. We extend it by using bit 31 (RO) to indicate full-duplex + * capability, and bit 29 (RO) to indicate that the card supports/ + * needs different formats on capture & playback channels. + * Bit 29 (RW) is used to indicate/ask stereo. */ = -#ifndef _IOWR -#include -#endif /* !_IOWR */ +# define AFMT_QUERY 0x00000000 /* Return current fmt */ +# define AFMT_MU_LAW 0x00000001 +# define AFMT_A_LAW 0x00000002 +# define AFMT_IMA_ADPCM 0x00000004 +# define AFMT_U8 0x00000008 +# define AFMT_S16_LE 0x00000010 /* Little endian signed 16*/ +# define AFMT_S16_BE 0x00000020 /* Big endian signed 16 */ +# define AFMT_S8 0x00000040 +# define AFMT_U16_LE 0x00000080 /* Little endian U16 */ +# define AFMT_U16_BE 0x00000100 /* Big endian U16 */ +# define AFMT_MPEG 0x00000200 /* MPEG (2) audio */ + +# define AFMT_STEREO 0x10000000 /* can do/want stereo */ + +/* + * the following are really capabilities + */ +# define AFMT_WEIRD 0x20000000 /* weird hardware... */ + /* + * AFMT_WEIRD reports that the hardware might need to operate + * with different formats in the playback and capture + * channels when operating in full duplex. + * As an example, SoundBlaster16 cards only support U8 in one + * direction and S16 in the other one, and applications should + * be aware of this limitation. + */ +# define AFMT_FULLDUPLEX 0x80000000 /* can do full duplex */ + +/* + * The following structure is used to get/set format and sampling rate. + * While it would be better to have things such as stereo, bits per + * sample, endiannes, etc split in different variables, it turns out + * that formats are not that many, and not all combinations are possible= =2E + * So we followed the Voxware approach of associating one bit to each + * format. + */ + +typedef struct _snd_chan_param { + u_long play_rate; /* sampling rate */ + u_long rec_rate; /* sampling rate */ + u_long play_format; /* everything describing the format */ + u_long rec_format; /* everything describing the format */ +} snd_chan_param; +#define AIOGFMT _IOR('f', 12, snd_chan_param) /* get format */ +#define AIOSFMT _IOWR('f', 12, snd_chan_param) /* sets format */ + +/* + * The following structure is used to get/set the mixer setting. + * Up to 32 mixers are supported, each one with up to 32 channels. + */ +typedef struct _snd_mix_param { + u_char subdev; /* which output */ + u_char line; /* which input */ + u_char left,right; /* volumes, 0..255, 0 =3D mute */ +} snd_mix_param ; + +/* XXX AIOGMIX, AIOSMIX not implemented yet */ +#define AIOGMIX _IOWR('A', 13, snd_mix_param) /* return mixer status */ +#define AIOSMIX _IOWR('A', 14, snd_mix_param) /* sets mixer status */ + +/* + * channel specifiers used in AIOSTOP and AIOSYNC + */ +#define AIOSYNC_PLAY 0x1 /* play chan */ +#define AIOSYNC_CAPTURE 0x2 /* capture chan */ +/* AIOSTOP stop & flush a channel, returns the residual count */ +#define AIOSTOP _IOWR ('A', 15, int) + +/* alternate method used to notify the sync condition */ +#define AIOSYNC_SIGNAL 0x100 +#define AIOSYNC_SELECT 0x200 + +/* what the 'pos' field refers to */ +#define AIOSYNC_READY 0x400 +#define AIOSYNC_FREE 0x800 + +typedef struct _snd_sync_parm { + long chan ; /* play or capture channel, plus modifier */ + long pos; +} snd_sync_parm; +#define AIOSYNC _IOWR ('A', 15, snd_sync_parm) /* misc. synchronization = */ + +/* + * The following is used to return device capabilities. If the structure= + * passed to the ioctl is zeroed, default values are returned for rate + * and formats, a bitmap of available mixers is returned, and values + * (inputs, different levels) for the first one are returned. + * + * If formats, mixers, inputs are instantiated, then detailed info + * are returned depending on the call. + */ +typedef struct _snd_capabilities { + u_long rate_min, rate_max; /* min-max sampling rate */ + u_long formats; + u_long bufsize; /* DMA buffer size */ + u_long mixers; /* bitmap of available mixers */ + u_long inputs; /* bitmap of available inputs (per mixer) */ + u_short left, right; /* how many levels are supported */ +} snd_capabilities; +#define AIOGCAP _IOWR('A', 15, snd_capabilities) /* get capabilities */ + +/* + * here is the old (Voxware) ioctl interface + */ + +/* + * IOCTL Commands for /dev/sequencer + */ = #define SNDCTL_SEQ_RESET _IO ('Q', 0) #define SNDCTL_SEQ_SYNC _IO ('Q', 1) #define SNDCTL_SYNTH_INFO _IOWR('Q', 2, struct synth_info) -#define SNDCTL_SEQ_CTRLRATE _IOWR('Q', 3, int) /* Set/get timer resolut= ion (hz) */ +#define SNDCTL_SEQ_CTRLRATE _IOWR('Q', 3, int) /* Set/get timer res.(hz)= */ #define SNDCTL_SEQ_GETOUTCOUNT _IOR ('Q', 4, int) #define SNDCTL_SEQ_GETINCOUNT _IOR ('Q', 5, int) #define SNDCTL_SEQ_PERCMODE _IOW ('Q', 6, int) @@ -353,16 +471,15 @@ #define SEQ_AFTERTOUCH 9 #define SEQ_CONTROLLER 10 = -/******************************************* +/* * Midi controller numbers - ******************************************* - * Controllers 0 to 31 (0x00 to 0x1f) and - * 32 to 63 (0x20 to 0x3f) are continuous - * controllers. - * In the MIDI 1.0 these controllers are sent using - * two messages. Controller numbers 0 to 31 are used - * to send the MSB and the controller numbers 32 to 63 - * are for the LSB. Note that just 7 bits are used in MIDI bytes. + * + * Controllers 0 to 31 (0x00 to 0x1f) and 32 to 63 (0x20 to 0x3f) + * are continuous controllers. + * In the MIDI 1.0 these controllers are sent using two messages. + * Controller numbers 0 to 31 are used to send the MSB and the + * controller numbers 32 to 63 are for the LSB. Note that just 7 bits + * are used in MIDI bytes. */ = #define CTL_BANK_SELECT 0x00 @@ -377,10 +494,7 @@ /* undefined 0x09 */ #define CTL_PAN 0x0a #define CTL_EXPRESSION 0x0b -/* undefined 0x0c */ -/* undefined 0x0d */ -/* undefined 0x0e */ -/* undefined 0x0f */ +/* undefined 0x0c - 0x0f */ #define CTL_GENERAL_PURPOSE1 0x10 #define CTL_GENERAL_PURPOSE2 0x11 #define CTL_GENERAL_PURPOSE3 0x12 @@ -388,15 +502,18 @@ /* undefined 0x14 - 0x1f */ = /* undefined 0x20 */ -/* The controller numbers 0x21 to 0x3f are reserved for the */ -/* least significant bytes of the controllers 0x00 to 0x1f. */ -/* These controllers are not recognised by the driver. */ = -/* Controllers 64 to 69 (0x40 to 0x45) are on/off switches. */ -/* 0=3DOFF and 127=3DON (intermediate values are possible) */ +/* + * The controller numbers 0x21 to 0x3f are reserved for the + * least significant bytes of the controllers 0x00 to 0x1f. + * These controllers are not recognised by the driver. + * + * Controllers 64 to 69 (0x40 to 0x45) are on/off switches. + * 0=3DOFF and 127=3DON (intermediate values are possible) + */ #define CTL_DAMPER_PEDAL 0x40 -#define CTL_SUSTAIN 0x40 /* Alias */ -#define CTL_HOLD 0x40 /* Alias */ +#define CTL_SUSTAIN CTL_DAMPER_PEDAL /* Alias */ +#define CTL_HOLD CTL_DAMPER_PEDAL /* Alias */ #define CTL_PORTAMENTO 0x41 #define CTL_SOSTENUTO 0x42 #define CTL_SOFT_PEDAL 0x43 @@ -413,7 +530,7 @@ #define CTL_TREMOLO_DEPTH 0x5c #define CTL_CHORUS_DEPTH 0x5d #define CTL_DETUNE_DEPTH 0x5e -#define CTL_CELESTE_DEPTH 0x5e /* Alias for the above one */ +#define CTL_CELESTE_DEPTH CTL_DETUNE_DEPTH /* Alias for the above one */= #define CTL_PHASER_DEPTH 0x5f #define CTL_DATA_INCREMENT 0x60 #define CTL_DATA_DECREMENT 0x61 @@ -461,10 +579,11 @@ * be written using exactly one write() call. Other events cannot * be mixed to the same write. * = - * For FM synths (YM3812/OPL3) use struct sbi_instrument and write it to= the = - * /dev/sequencer. Don't write other data together with the instrument s= tructure - * Set the key field of the structure to FM_PATCH. The device field is u= sed to - * route the patch to the corresponding device. + * For FM synths (YM3812/OPL3) use struct sbi_instrument and write + * it to the /dev/sequencer. Don't write other data together with + * the instrument structure Set the key field of the structure to + * FM_PATCH. The device field is used to route the patch to the + * corresponding device. * * For Gravis UltraSound use struct patch_info. Initialize the key field= * to GUS_PATCH. @@ -528,7 +647,7 @@ int dummies[18]; /* Reserve space */ }; = -/******************************************** +/* * ioctl commands for the /dev/midi## */ typedef struct { @@ -541,7 +660,7 @@ #define SNDCTL_MIDI_MPUMODE _IOWR('m', 1, int) #define SNDCTL_MIDI_MPUCMD _IOWR('m', 2, mpu_command_rec) = -/******************************************** +/* * IOCTL commands for /dev/dsp and /dev/audio */ = @@ -551,64 +670,63 @@ #define SNDCTL_DSP_STEREO _IOWR('P', 3, int) #define SNDCTL_DSP_GETBLKSIZE _IOR('P', 4, int) #define SNDCTL_DSP_SETBLKSIZE _IOW('P', 4, int) -#define SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT +#define SNDCTL_DSP_SETFMT _IOWR('P',5, int) /* Selects ONE fmt*/ + +/* + * SOUND_PCM_WRITE_CHANNELS is not that different + * from SNDCTL_DSP_STEREO + */ #define SOUND_PCM_WRITE_CHANNELS _IOWR('P', 6, int) #define SOUND_PCM_WRITE_FILTER _IOWR('P', 7, int) #define SNDCTL_DSP_POST _IO ('P', 8) + +/* + * SNDCTL_DSP_SETBLKSIZE and the following two calls mostly do + * the same thing, i.e. set the block size used in DMA transfers. + */ #define SNDCTL_DSP_SUBDIVIDE _IOWR('P', 9, int) #define SNDCTL_DSP_SETFRAGMENT _IOWR('P',10, int) = = -/* Audio data formats (Note! U8=3D8 and S16_LE=3D16 for compatibility) *= / #define SNDCTL_DSP_GETFMTS _IOR ('P',11, int) /* Returns a mask */ -#define SNDCTL_DSP_SETFMT _IOWR('P',5, int) /* Selects ONE fmt*/ -# define AFMT_QUERY 0x00000000 /* Return current fmt */ -# define AFMT_MU_LAW 0x00000001 -# define AFMT_A_LAW 0x00000002 -# define AFMT_IMA_ADPCM 0x00000004 -# define AFMT_U8 0x00000008 -# define AFMT_S16_LE 0x00000010 /* Little endian signed 16*/ -# define AFMT_S16_BE 0x00000020 /* Big endian signed 16 */ -# define AFMT_S8 0x00000040 -# define AFMT_U16_LE 0x00000080 /* Little endian U16 */ -# define AFMT_U16_BE 0x00000100 /* Big endian U16 */ -# define AFMT_MPEG 0x00000200 /* MPEG (2) audio */ - /* * Buffer status queries. */ typedef struct audio_buf_info { - int fragments; /* # of available fragments (partially used - * ones not counted) */ + int fragments; /* # of avail. frags (partly used ones not counted) *= / int fragstotal; /* Total # of fragments allocated */ int fragsize; /* Size of a fragment in bytes */ = - int bytes; /* Available space in bytes (includes - * partially used fragments) */ + int bytes; /* Avail. space in bytes (includes partly used fragments)= */ /* Note! 'bytes' could be more than fragments*fragsize */ } audio_buf_info; = #define SNDCTL_DSP_GETOSPACE _IOR ('P',12, audio_buf_info) #define SNDCTL_DSP_GETISPACE _IOR ('P',13, audio_buf_info) + +/* + * SNDCTL_DSP_NONBLOCK is the same (but less powerful, since the + * action cannot be undone) of FIONBIO. The same can be achieved + * by opening the device with O_NDELAY + */ #define SNDCTL_DSP_NONBLOCK _IO ('P',14) + #define SNDCTL_DSP_GETCAPS _IOR ('P',15, int) -#define DSP_CAP_REVISION 0x000000ff /* Bits for revision level (0 to 255= ) */ +#define DSP_CAP_REVISION 0x000000ff /* revision level (0 to 255) */ #define DSP_CAP_DUPLEX 0x00000100 /* Full duplex record/playback */ #define DSP_CAP_REALTIME 0x00000200 /* Real time capability */ -#define DSP_CAP_BATCH 0x00000400 /* Device has some kind of */ - -/* internal buffers which may */ -/* cause some delays and */ -/* decrease precision of timing */ -# define DSP_CAP_COPROC 0x00000800 /* Has a coprocessor */ -/* Sometimes it's a DSP */ -/* but usually not */ -# define DSP_CAP_TRIGGER 0x00001000 /* Supports SETTRIGGER */ -# define DSP_CAP_MMAP 0x00002000 /* Supports mmap() */ - - +#define DSP_CAP_BATCH 0x00000400 + /* + * Device has some kind of internal buffers which may + * cause some delays and decrease precision of timing + */ +#define DSP_CAP_COPROC 0x00000800 + /* Has a coprocessor, sometimes it's a DSP but usually not */ +#define DSP_CAP_TRIGGER 0x00001000 /* Supports SETTRIGGER */ = -#define SNDCTL_DSP_GETCAPS _IOR ('P',15, int) +/* + * What do these function do ? + */ #define SNDCTL_DSP_GETTRIGGER _IOR ('P',16, int) #define SNDCTL_DSP_SETTRIGGER _IOW ('P',16, int) #define PCM_ENABLE_INPUT 0x00000001 @@ -620,6 +738,9 @@ int ptr; /* Current DMA pointer value */ } count_info; = +/* + * GETIPTR and GETISPACE are not that different... same for out. + */ #define SNDCTL_DSP_GETIPTR _IOR ('P',17, count_info) #define SNDCTL_DSP_GETOPTR _IOR ('P',18, count_info) = @@ -632,33 +753,15 @@ #define SNDCTL_DSP_MAPOUTBUF _IOR ('P', 20, buffmem_desc) #define SNDCTL_DSP_SETSYNCRO _IO ('P', 21) = +/* + * I guess these are the readonly version of the same + * functions that exist above as SNDCTL_DSP_... + */ #define SOUND_PCM_READ_RATE _IOR ('P', 2, int) #define SOUND_PCM_READ_CHANNELS _IOR ('P', 6, int) #define SOUND_PCM_READ_BITS _IOR ('P', 5, int) #define SOUND_PCM_READ_FILTER _IOR ('P', 7, int) = -/* Some alias names */ -#define SOUND_PCM_WRITE_BITS SNDCTL_DSP_SETFMT -#define SOUND_PCM_WRITE_RATE SNDCTL_DSP_SPEED -#define SOUND_PCM_POST SNDCTL_DSP_POST -#define SOUND_PCM_RESET SNDCTL_DSP_RESET -#define SOUND_PCM_SYNC SNDCTL_DSP_SYNC -#define SOUND_PCM_SUBDIVIDE SNDCTL_DSP_SUBDIVIDE -#define SOUND_PCM_SETFRAGMENT SNDCTL_DSP_SETFRAGMENT -#define SOUND_PCM_GETFMTS SNDCTL_DSP_GETFMTS -#define SOUND_PCM_SETFMT SNDCTL_DSP_SETFMT -#define SOUND_PCM_GETOSPACE SNDCTL_DSP_GETOSPACE -#define SOUND_PCM_GETISPACE SNDCTL_DSP_GETISPACE -#define SOUND_PCM_NONBLOCK SNDCTL_DSP_NONBLOCK -#define SOUND_PCM_GETCAPS SNDCTL_DSP_GETCAPS -#define SOUND_PCM_GETTRIGGER SNDCTL_DSP_GETTRIGGER -#define SOUND_PCM_SETTRIGGER SNDCTL_DSP_SETTRIGGER -#define SOUND_PCM_SETSYNCRO SNDCTL_DSP_SETSYNCRO -#define SOUND_PCM_GETIPTR SNDCTL_DSP_GETIPTR -#define SOUND_PCM_GETOPTR SNDCTL_DSP_GETOPTR -#define SOUND_PCM_MAPINBUF SNDCTL_DSP_MAPINBUF -#define SOUND_PCM_MAPOUTBUF SNDCTL_DSP_MAPOUTBUF - /* * ioctl calls to be used in communication with coprocessors and * DSP chips. @@ -700,7 +803,7 @@ #define SNDCTL_COPR_SENDMSG _IOW ('C', 8, copr_msg) #define SNDCTL_COPR_RCVMSG _IOR ('C', 9, copr_msg) = -/********************************************* +/* * IOCTL commands for /dev/mixer */ = @@ -738,8 +841,10 @@ #define SOUND_MIXER_LINE2 15 /* Input source 2 (aux2) */ #define SOUND_MIXER_LINE3 16 /* Input source 3 (line) */ = -/* Some on/off settings (SOUND_SPECIAL_MIN - SOUND_SPECIAL_MAX) */ -/* Not counted to SOUND_MIXER_NRDEVICES, but use the same number space *= / +/* + * Some on/off settings (SOUND_SPECIAL_MIN - SOUND_SPECIAL_MAX) + * Not counted to SOUND_MIXER_NRDEVICES, but use the same number space + */ #define SOUND_ONOFF_MIN 28 #define SOUND_ONOFF_MAX 30 #define SOUND_MIXER_MUTE 28 /* 0 or 1 */ @@ -843,6 +948,9 @@ = #define SOUND_MIXER_WRITE_RECSRC MIXER_WRITE(SOUND_MIXER_RECSRC) = +#define LEFT_CHN 0 +#define RIGHT_CHN 1 + /* * Level 2 event types for /dev/sequencer */ @@ -1158,4 +1266,32 @@ ( seqbuf_dump(), write(seqfd, (char*)(patchx), len) ) = #endif -#endif + +/* + * Here I have moved all the aliases for ioctl names. + */ + +#define SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT +#define SOUND_PCM_WRITE_BITS SNDCTL_DSP_SETFMT +#define SOUND_PCM_SETFMT SNDCTL_DSP_SETFMT + +#define SOUND_PCM_WRITE_RATE SNDCTL_DSP_SPEED +#define SOUND_PCM_POST SNDCTL_DSP_POST +#define SOUND_PCM_RESET SNDCTL_DSP_RESET +#define SOUND_PCM_SYNC SNDCTL_DSP_SYNC +#define SOUND_PCM_SUBDIVIDE SNDCTL_DSP_SUBDIVIDE +#define SOUND_PCM_SETFRAGMENT SNDCTL_DSP_SETFRAGMENT +#define SOUND_PCM_GETFMTS SNDCTL_DSP_GETFMTS +#define SOUND_PCM_GETOSPACE SNDCTL_DSP_GETOSPACE +#define SOUND_PCM_GETISPACE SNDCTL_DSP_GETISPACE +#define SOUND_PCM_NONBLOCK SNDCTL_DSP_NONBLOCK +#define SOUND_PCM_GETCAPS SNDCTL_DSP_GETCAPS +#define SOUND_PCM_GETTRIGGER SNDCTL_DSP_GETTRIGGER +#define SOUND_PCM_SETTRIGGER SNDCTL_DSP_SETTRIGGER +#define SOUND_PCM_SETSYNCRO SNDCTL_DSP_SETSYNCRO +#define SOUND_PCM_GETIPTR SNDCTL_DSP_GETIPTR +#define SOUND_PCM_GETOPTR SNDCTL_DSP_GETOPTR +#define SOUND_PCM_MAPINBUF SNDCTL_DSP_MAPINBUF +#define SOUND_PCM_MAPOUTBUF SNDCTL_DSP_MAPOUTBUF + +#endif /* SOUNDCARD_H */ --==_Exmh_-16957282400-- From owner-cvs-sys Sun Nov 23 12:33:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA29763 for cvs-sys-outgoing; Sun, 23 Nov 1997 12:33:48 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA29640; Sun, 23 Nov 1997 12:31:58 -0800 (PST) (envelope-from ahasty@FreeBSD.org) From: Amancio Hasty Received: (from ahasty@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA28149; Sun, 23 Nov 1997 12:31:22 -0800 (PST) Date: Sun, 23 Nov 1997 12:31:22 -0800 (PST) Message-Id: <199711232031.MAA28149@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa/sound sb_dsp.c uart6850.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ahasty 1997/11/23 12:31:22 PST Modified files: sys/i386/isa/sound sb_dsp.c uart6850.c Log: minor code clean up to sb_dsp.c and fix compile error with uart6850.c Revision Changes Path 1.34 +1 -0 src/sys/i386/isa/sound/sb_dsp.c 1.11 +4 -3 src/sys/i386/isa/sound/uart6850.c From owner-cvs-sys Sun Nov 23 13:51:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA04107 for cvs-sys-outgoing; Sun, 23 Nov 1997 13:51:50 -0800 (PST) (envelope-from owner-cvs-sys) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA04102; Sun, 23 Nov 1997 13:51:38 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA01278; Sun, 23 Nov 1997 21:45:51 +0100 From: Luigi Rizzo Message-Id: <199711232045.VAA01278@labinfo.iet.unipi.it> Subject: Re: cvs commit: src/sys/i386/isa/snd ad1848.c clones.c dmabuf.c To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sun, 23 Nov 1997 21:45:51 +0100 (MET) Cc: mark@grondar.za, jmg@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG In-Reply-To: <199711231926.LAA06158@rah.star-gate.com> from "Amancio Hasty" at Nov 23, 97 11:25:59 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > For now leave Luigi's soundcard.h in /sys/i386/snd/soundcard.h. > > Amancio > > > Report back: > > > > In theory: Luigi's sound driver and Amancio's sound driver have the > > same soundcard.h. In practice, each developer worked independantly on ... > > which is The Wrong Place (tm). We now need to either > > > > 1) break these two files _way_ apart and rename them to different > > names, or > > 2) merge them properly. > > > > IMHO, #2 should be done. I guess everybody agrees on #2, also because #1 cannot work since soundcard.h also defines ioctl names and application programs need to know the right names. However I agree with amancio to keep things as they are until we have produces a merged version which works with both guspnp and my driver. On top of this, for the time being, it is easier forthose who install my snapshots to have everithing in the same ( Wrong(TM) ) place. Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-cvs-sys Sun Nov 23 14:52:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA08123 for cvs-sys-outgoing; Sun, 23 Nov 1997 14:52:30 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA07999; Sun, 23 Nov 1997 14:50:29 -0800 (PST) (envelope-from ahasty@FreeBSD.org) From: Amancio Hasty Received: (from ahasty@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA28466; Sun, 23 Nov 1997 14:49:53 -0800 (PST) Date: Sun, 23 Nov 1997 14:49:53 -0800 (PST) Message-Id: <199711232249.OAA28466@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa/sound dmabuf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ahasty 1997/11/23 14:49:52 PST Modified files: sys/i386/isa/sound dmabuf.c Log: Fixed an acquired dma problem with respect to sb cards only. Revision Changes Path 1.30 +2 -2 src/sys/i386/isa/sound/dmabuf.c From owner-cvs-sys Sun Nov 23 20:18:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA01402 for cvs-sys-outgoing; Sun, 23 Nov 1997 20:18:10 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA01197; Sun, 23 Nov 1997 20:15:00 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA29945; Sun, 23 Nov 1997 20:14:22 -0800 (PST) Date: Sun, 23 Nov 1997 20:14:22 -0800 (PST) Message-Id: <199711240414.UAA29945@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern subr_dkbad.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/11/23 20:14:21 PST Modified files: sys/kern subr_dkbad.c Log: Fix the buffer flag frobbing. Note: It is invalid to gratuitiously modify b_flags, and this patch removes unneeded modifications. Only the needed b_flags bits are modified now. (Specifically, it is usually wrong to zero b_flags.) Submitted by: bde@freebsd.org Revision Changes Path 1.7 +3 -2 src/sys/kern/subr_dkbad.c From owner-cvs-sys Sun Nov 23 22:22:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA08065 for cvs-sys-outgoing; Sun, 23 Nov 1997 22:22:36 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA07885; Sun, 23 Nov 1997 22:19:07 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id WAA00722; Sun, 23 Nov 1997 22:18:28 -0800 (PST) Date: Sun, 23 Nov 1997 22:18:28 -0800 (PST) Message-Id: <199711240618.WAA00722@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/11/23 22:18:28 PST Modified files: sys/kern vfs_bio.c Log: Avoid manipulating the buffer map at interrupt time by deferring bfreekva to getnewbuf, and remove from brelse. Reviewed by: dg@root.com Revision Changes Path 1.135 +1 -5 src/sys/kern/vfs_bio.c From owner-cvs-sys Sun Nov 23 23:33:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11737 for cvs-sys-outgoing; Sun, 23 Nov 1997 23:33:51 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA11615; Sun, 23 Nov 1997 23:32:00 -0800 (PST) (envelope-from ahasty@FreeBSD.org) From: Amancio Hasty Received: (from ahasty@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA01248; Sun, 23 Nov 1997 23:31:21 -0800 (PST) Date: Sun, 23 Nov 1997 23:31:21 -0800 (PST) Message-Id: <199711240731.XAA01248@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa/sound audio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ahasty 1997/11/23 23:31:21 PST Modified files: sys/i386/isa/sound audio.c Log: Fixed poll related problem which was exhibited by running amp (audio mpeg player) and with cards such as SB. Revision Changes Path 1.16 +2 -4 src/sys/i386/isa/sound/audio.c From owner-cvs-sys Mon Nov 24 05:28:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA02446 for cvs-sys-outgoing; Mon, 24 Nov 1997 05:28:46 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA02241; Mon, 24 Nov 1997 05:26:21 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA03452; Mon, 24 Nov 1997 05:25:39 -0800 (PST) Date: Mon, 24 Nov 1997 05:25:39 -0800 (PST) Message-Id: <199711241325.FAA03452@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 trap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 05:25:39 PST Modified files: sys/i386/i386 trap.c Log: Fixed some #include messes. Hid the check of the user %cs in syscall() under `#ifdef DIAGNOSTIC'. Revision Changes Path 1.115 +11 -7 src/sys/i386/i386/trap.c From owner-cvs-sys Mon Nov 24 06:20:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA05365 for cvs-sys-outgoing; Mon, 24 Nov 1997 06:20:23 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA05245; Mon, 24 Nov 1997 06:18:43 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA03611; Mon, 24 Nov 1997 06:18:01 -0800 (PST) Date: Mon, 24 Nov 1997 06:18:01 -0800 (PST) Message-Id: <199711241418.GAA03611@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 06:18:01 PST Modified files: sys/nfs nfs_syscalls.c Log: Don't call malloc(..., M_WAITOK) at splnet(). Doing so is often a mistake (since softnet interrupts may occur if malloc() waits), and doing it harmlessly but unnecessarily here interfered with detection of the mistaken cases. Revision Changes Path 1.33 +7 -4 src/sys/nfs/nfs_syscalls.c From owner-cvs-sys Mon Nov 24 07:05:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA08180 for cvs-sys-outgoing; Mon, 24 Nov 1997 07:05:50 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA08042; Mon, 24 Nov 1997 07:03:58 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA03976; Mon, 24 Nov 1997 07:03:17 -0800 (PST) Date: Mon, 24 Nov 1997 07:03:17 -0800 (PST) Message-Id: <199711241503.HAA03976@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 07:03:16 PST Modified files: sys/vm vm_map.c Log: Don't #define max() to get a version that works with vm_ooffset's. Just use qmax(). This should be fixed more generally using overloaded functions. Revision Changes Path 1.98 +2 -4 src/sys/vm/vm_map.c From owner-cvs-sys Mon Nov 24 07:17:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA08911 for cvs-sys-outgoing; Mon, 24 Nov 1997 07:17:59 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA08842; Mon, 24 Nov 1997 07:16:16 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA04291; Mon, 24 Nov 1997 07:15:34 -0800 (PST) Date: Mon, 24 Nov 1997 07:15:34 -0800 (PST) Message-Id: <199711241515.HAA04291@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys proc.h src/sys/kern kern_clock.c src/sys/vm vm_meter.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 07:15:34 PST Modified files: sys/sys proc.h sys/kern kern_clock.c sys/vm vm_meter.c Log: Removed all traces of P_IDLEPROC. It was tested but never set. Revision Changes Path 1.48 +1 -2 src/sys/sys/proc.h 1.45 +2 -2 src/sys/kern/kern_clock.c 1.23 +1 -3 src/sys/vm/vm_meter.c From owner-cvs-sys Mon Nov 24 08:37:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA13662 for cvs-sys-outgoing; Mon, 24 Nov 1997 08:37:33 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA13418; Mon, 24 Nov 1997 08:33:47 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA21767; Mon, 24 Nov 1997 08:33:05 -0800 (PST) Date: Mon, 24 Nov 1997 08:33:05 -0800 (PST) Message-Id: <199711241633.IAA21767@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/ufs/ufs ufs_bmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 08:33:04 PST Modified files: sys/ufs/ufs ufs_bmap.c Log: Fixed overflow in ufs_getblns(). For ufs on systems with 32-bit ints, triple indirect blocks only worked for block sizes of 4K, since MNINDIR(ump)**3 overflows for larger block sizes (e.g., (8192/4)**3 = 2**33 > INT_MAX). This fix is not the obvious one of changing some types to 64 bits. It rearranges the code to avoid some unnecessary 64-bit calculations. Reviewed by: Kirk McKusick Revision Changes Path 1.17 +14 -7 src/sys/ufs/ufs/ufs_bmap.c From owner-cvs-sys Mon Nov 24 10:19:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA21392 for cvs-sys-outgoing; Mon, 24 Nov 1997 10:19:21 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA21051; Mon, 24 Nov 1997 10:17:09 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA22049; Mon, 24 Nov 1997 10:16:26 -0800 (PST) Date: Mon, 24 Nov 1997 10:16:26 -0800 (PST) Message-Id: <199711241816.KAA22049@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa prof_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 10:16:26 PST Modified files: sys/i386/isa prof_machdep.c Log: Added a sysctl (machdep.cputime_clock) to select the clock used by "high resolution" profiling. The available clocks are: - the i8254 clock - on non-SMP i586's and i686's: the TSC - on systems with I586_PMC_GUPROF configured, and PERFMON configured and available: all the performance counters. This is unfinshed (there are problems with locking out the PERFMON device driver, and with losing calibration after switching the clock), but better than static configuration or writing to kmem. Changed ifdefs to avoid generating code for non-working option combinations. Revision Changes Path 1.7 +55 -11 src/sys/i386/isa/prof_machdep.c From owner-cvs-sys Mon Nov 24 10:37:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA22639 for cvs-sys-outgoing; Mon, 24 Nov 1997 10:37:32 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA22482; Mon, 24 Nov 1997 10:35:55 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA22118; Mon, 24 Nov 1997 10:35:12 -0800 (PST) Date: Mon, 24 Nov 1997 10:35:12 -0800 (PST) Message-Id: <199711241835.KAA22118@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_main.c src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 10:35:11 PST Modified files: sys/kern init_main.c Log: Fixed multiple definitions of boothowto. Fixed bitrot in the read-only access to kern.boottime. Revision Changes Path 1.75 +3 -5 src/sys/kern/init_main.c Modified files: sys/i386/i386 machdep.c Log: Fixed multiple definitions of boothowto. Revision Changes Path 1.274 +2 -2 src/sys/i386/i386/machdep.c From owner-cvs-sys Mon Nov 24 11:28:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA26514 for cvs-sys-outgoing; Mon, 24 Nov 1997 11:28:25 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA26313; Mon, 24 Nov 1997 11:26:09 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA22746; Mon, 24 Nov 1997 11:25:26 -0800 (PST) Date: Mon, 24 Nov 1997 11:25:26 -0800 (PST) Message-Id: <199711241925.LAA22746@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/gnu/ext2fs ext2_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/24 11:25:25 PST Modified files: sys/gnu/ext2fs ext2_vnops.c Log: Fixed missing #include of "opt_quota.h". Sorted the functions into the same order as in ufs_vnops.c so that this can be compared with the latter without getting 2627 lines of diffs. Now we get only 1920 lines of diffs. Revision Changes Path 1.26 +632 -635 src/sys/gnu/ext2fs/ext2_vnops.c From owner-cvs-sys Mon Nov 24 23:10:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA19164 for cvs-sys-outgoing; Mon, 24 Nov 1997 23:10:22 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA19004; Mon, 24 Nov 1997 23:08:37 -0800 (PST) (envelope-from julian@FreeBSD.org) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA26424; Mon, 24 Nov 1997 23:07:50 -0800 (PST) Date: Mon, 24 Nov 1997 23:07:50 -0800 (PST) Message-Id: <199711250707.XAA26424@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_main.c kern_shutdown.c kern_synch.c vfs_conf.c src/sys/sys mount.h proc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1997/11/24 23:07:49 PST Modified files: sys/kern init_main.c kern_shutdown.c kern_synch.c vfs_conf.c sys/sys mount.h proc.h Log: Shift a few SYSINT() calls around. this results in a few functions becoming static, and the SYSINITs being close to the code they are related to. setting up the dump device is with dumpsys() and kicking off the scheduler is with the scheduler. Mounting root is with the code that does it. Reviewed by: phk Revision Changes Path 1.76 +1 -42 src/sys/kern/init_main.c 1.27 +11 -1 src/sys/kern/kern_shutdown.c 1.42 +16 -3 src/sys/kern/kern_synch.c 1.18 +24 -2 src/sys/kern/vfs_conf.c 1.52 +1 -2 src/sys/sys/mount.h 1.49 +1 -3 src/sys/sys/proc.h From owner-cvs-sys Tue Nov 25 00:58:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA27167 for cvs-sys-outgoing; Tue, 25 Nov 1997 00:58:26 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA27159; Tue, 25 Nov 1997 00:58:18 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id JAA09463; Tue, 25 Nov 1997 09:58:15 +0100 (MET) From: Guido van Rooij Message-Id: <199711250858.JAA09463@gvr.gvr.org> Subject: Re: cvs commit: src/sys/ufs/ufs ufs_bmap.c In-Reply-To: <199711241633.IAA21767@freefall.freebsd.org> from Bruce Evans at "Nov 24, 97 08:33:05 am" To: bde@freebsd.org (Bruce Evans) Date: Tue, 25 Nov 1997 09:58:15 +0100 (MET) Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > bde 1997/11/24 08:33:04 PST > > Modified files: > sys/ufs/ufs ufs_bmap.c > Log: > Fixed overflow in ufs_getblns(). For ufs on systems with 32-bit ints, > triple indirect blocks only worked for block sizes of 4K, since > MNINDIR(ump)**3 overflows for larger block sizes (e.g., > (8192/4)**3 = 2**33 > INT_MAX). This fix is not the obvious one of > changing some types to 64 bits. It rearranges the code to avoid some > unnecessary 64-bit calculations. > Will you put this in 2.2? -Guido From owner-cvs-sys Tue Nov 25 01:41:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA29884 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:41:26 -0800 (PST) (envelope-from owner-cvs-sys) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA29872; Tue, 25 Nov 1997 01:41:16 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id UAA30324; Tue, 25 Nov 1997 20:38:49 +1100 Date: Tue, 25 Nov 1997 20:38:49 +1100 From: Bruce Evans Message-Id: <199711250938.UAA30324@godzilla.zeta.org.au> To: bde@freebsd.org, guido@gvr.org Subject: Re: cvs commit: src/sys/ufs/ufs ufs_bmap.c Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org, cvs-sys@freebsd.org Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> Fixed overflow in ufs_getblns(). For ufs on systems with 32-bit ints, >> triple indirect blocks only worked for block sizes of 4K, since >Will you put this in 2.2? Probably not. Someone who needs files larger than 32GB should do it. Bruce From owner-cvs-sys Tue Nov 25 01:45:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA00268 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:45:11 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA29992; Tue, 25 Nov 1997 01:43:16 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA29245; Tue, 25 Nov 1997 01:42:28 -0800 (PST) Date: Tue, 25 Nov 1997 01:42:28 -0800 (PST) Message-Id: <199711250942.BAA29245@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 if_ed.c if_fe.c sio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/25 01:42:28 PST Modified files: sys/pc98/pc98 if_ed.c if_fe.c sio.c Log: Sync with sys/i386/isa/if_ed.c, if_fe.c and sio.c revisions 1.129, 1.35 and 1.189, respectively. Revision Changes Path 1.36 +2 -2 src/sys/pc98/pc98/if_ed.c 1.27 +2 -2 src/sys/pc98/pc98/if_fe.c 1.43 +2 -2 src/sys/pc98/pc98/sio.c From owner-cvs-sys Tue Nov 25 01:54:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA00986 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:54:29 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA00882; Tue, 25 Nov 1997 01:52:36 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA29352; Tue, 25 Nov 1997 01:51:48 -0800 (PST) Date: Tue, 25 Nov 1997 01:51:48 -0800 (PST) Message-Id: <199711250951.BAA29352@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 syscons.c syscons.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/25 01:51:48 PST Modified files: sys/pc98/pc98 syscons.c syscons.h Log: Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.229 and 1.36, respectively. Revision Changes Path 1.63 +231 -145 src/sys/pc98/pc98/syscons.c 1.20 +2 -1 src/sys/pc98/pc98/syscons.h From owner-cvs-sys Tue Nov 25 01:55:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA01040 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:55:13 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA00916; Tue, 25 Nov 1997 01:53:19 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA29383; Tue, 25 Nov 1997 01:52:31 -0800 (PST) Date: Tue, 25 Nov 1997 01:52:31 -0800 (PST) Message-Id: <199711250952.BAA29383@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 pc98.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/25 01:52:30 PST Modified files: sys/pc98/pc98 pc98.c Log: Sync with sys/i386/isa/isa.c revision 1.107. Revision Changes Path 1.44 +1 -3 src/sys/pc98/pc98/pc98.c From owner-cvs-sys Tue Nov 25 01:56:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA01116 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:56:16 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA00992; Tue, 25 Nov 1997 01:54:35 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA29413; Tue, 25 Nov 1997 01:53:47 -0800 (PST) Date: Tue, 25 Nov 1997 01:53:47 -0800 (PST) Message-Id: <199711250953.BAA29413@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/i386 trap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/25 01:53:47 PST Modified files: sys/pc98/i386 trap.c Log: Sync with sys/i386/i386/trap.c revision 1.115. Revision Changes Path 1.39 +11 -7 src/sys/pc98/i386/trap.c From owner-cvs-sys Tue Nov 25 01:57:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA01233 for cvs-sys-outgoing; Tue, 25 Nov 1997 01:57:17 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA01055; Tue, 25 Nov 1997 01:55:28 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA29443; Tue, 25 Nov 1997 01:54:40 -0800 (PST) Date: Tue, 25 Nov 1997 01:54:40 -0800 (PST) Message-Id: <199711250954.BAA29443@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/25 01:54:39 PST Modified files: sys/pc98/i386 machdep.c Log: Sync with sys/i386/i386/machdep.c revision up to 1.274. Revision Changes Path 1.62 +10 -7 src/sys/pc98/i386/machdep.c From owner-cvs-sys Tue Nov 25 04:37:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA09497 for cvs-sys-outgoing; Tue, 25 Nov 1997 04:37:56 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA09415; Tue, 25 Nov 1997 04:35:16 -0800 (PST) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA02191; Tue, 25 Nov 1997 04:34:27 -0800 (PST) Date: Tue, 25 Nov 1997 04:34:27 -0800 (PST) Message-Id: <199711251234.EAA02191@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa psm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/11/25 04:34:26 PST Modified files: (Branch: RELENG_2_2) sys/i386/isa psm.c Log: YAMFC: MouseSystems PS/2 mouse kludge (1.46). Revision Changes Path 1.25.2.10 +5 -1 src/sys/i386/isa/psm.c From owner-cvs-sys Tue Nov 25 04:47:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA09963 for cvs-sys-outgoing; Tue, 25 Nov 1997 04:47:29 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA09843; Tue, 25 Nov 1997 04:45:36 -0800 (PST) (envelope-from sos@FreeBSD.org) From: Søren Schmidt Received: (from sos@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA02254; Tue, 25 Nov 1997 04:44:47 -0800 (PST) Date: Tue, 25 Nov 1997 04:44:47 -0800 (PST) Message-Id: <199711251244.EAA02254@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 1997/11/25 04:44:47 PST Modified files: sys/i386/isa syscons.c Log: Move the hardware currsor off screen when getting back from an unknown mode. Fix warning on uninitialized var. Revision Changes Path 1.240 +9 -2 src/sys/i386/isa/syscons.c From owner-cvs-sys Tue Nov 25 05:08:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA10951 for cvs-sys-outgoing; Tue, 25 Nov 1997 05:08:06 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA10878; Tue, 25 Nov 1997 05:06:11 -0800 (PST) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA02340; Tue, 25 Nov 1997 05:05:22 -0800 (PST) Date: Tue, 25 Nov 1997 05:05:22 -0800 (PST) Message-Id: <199711251305.FAA02340@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c syscons.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/11/25 05:05:22 PST Modified files: (Branch: RELENG_2_2) sys/i386/isa syscons.c syscons.h Log: YAMFC: mouse cursor fix (1.230), iso 2022 support (1.233), remove unused vars (1.237), rename shadowed local vars (1.238), comp_vgaregs() fix (1.239). OKed by: sos, phk Revision Changes Path 1.182.2.28 +266 -166 src/sys/i386/isa/syscons.c 1.23.2.9 +2 -1 src/sys/i386/isa/syscons.h From owner-cvs-sys Tue Nov 25 11:33:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA12227 for cvs-sys-outgoing; Tue, 25 Nov 1997 11:33:41 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA11880; Tue, 25 Nov 1997 11:31:32 -0800 (PST) (envelope-from markm@FreeBSD.org) From: Mark Murray Received: (from markm@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA20065; Tue, 25 Nov 1997 11:30:41 -0800 (PST) Date: Tue, 25 Nov 1997 11:30:41 -0800 (PST) Message-Id: <199711251930.LAA20065@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT files.i386 src/sys/i386/i386 userconfig.c src/sys/i386/isa/sound ad1848.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk markm 1997/11/25 11:30:40 PST Modified files: sys/i386/conf LINT files.i386 sys/i386/i386 userconfig.c sys/i386/isa/sound ad1848.c Log: From the author: Here are the remanding changes required to support the Ensoniq Soundscape using FreeBSD 3.0-current. Notes: 1) ad1848_init already has code to detect if DMA_DUPLEX should be set so it is not necessary (and is in fact a mistake) to hard code setting it. Not all soundcards (i.e. the current sscape driver) are capable of using DMA_DUPLEX. 2) The other changes are hopefully self explanatory. Feel free to let me know if you need additional information. Submitted by: john@feith.com (John Wehle) Revision Changes Path 1.381 +5 -2 src/sys/i386/conf/LINT 1.179 +6 -1 src/sys/i386/conf/files.i386 1.97 +4 -2 src/sys/i386/i386/userconfig.c 1.18 +1 -1 src/sys/i386/isa/sound/ad1848.c From owner-cvs-sys Wed Nov 26 14:47:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA26236 for cvs-sys-outgoing; Wed, 26 Nov 1997 14:47:04 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA26190; Wed, 26 Nov 1997 14:46:49 -0800 (PST) (envelope-from joerg@FreeBSD.ORG) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA16614; Wed, 26 Nov 1997 14:45:49 -0800 (PST) Date: Wed, 26 Nov 1997 14:45:49 -0800 (PST) Message-Id: <199711262245.OAA16614@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 sys_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/11/26 14:45:49 PST Modified files: sys/i386/i386 sys_machdep.c Log: Removed an unused line of code, that caused an ``maybe used uninitialized'' warning. Found by: Simon Shapiro Revision Changes Path 1.30 +1 -2 src/sys/i386/i386/sys_machdep.c From owner-cvs-sys Thu Nov 27 02:19:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA14868 for cvs-sys-outgoing; Thu, 27 Nov 1997 02:19:44 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA14613; Thu, 27 Nov 1997 02:14:57 -0800 (PST) (envelope-from kato@FreeBSD.ORG) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA01232; Thu, 27 Nov 1997 02:14:55 -0800 (PST) Date: Thu, 27 Nov 1997 02:14:55 -0800 (PST) Message-Id: <199711271014.CAA01232@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/conf files.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/27 02:14:55 PST Modified files: sys/pc98/conf files.pc98 Log: Sync with sys/i386/conf/files.i386 revision 1.179. Revision Changes Path 1.42 +6 -1 src/sys/pc98/conf/files.pc98 From owner-cvs-sys Thu Nov 27 02:19:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA14839 for cvs-sys-outgoing; Thu, 27 Nov 1997 02:19:10 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA14579; Thu, 27 Nov 1997 02:14:14 -0800 (PST) (envelope-from kato@FreeBSD.ORG) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA01197; Thu, 27 Nov 1997 02:14:12 -0800 (PST) Date: Thu, 27 Nov 1997 02:14:12 -0800 (PST) Message-Id: <199711271014.CAA01197@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/27 02:14:11 PST Modified files: sys/pc98/pc98 syscons.c Log: Sync with sys/i386/isa/syscons.c revision 1.240. Revision Changes Path 1.64 +9 -2 src/sys/pc98/pc98/syscons.c From owner-cvs-sys Thu Nov 27 02:20:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA14974 for cvs-sys-outgoing; Thu, 27 Nov 1997 02:20:35 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA14656; Thu, 27 Nov 1997 02:15:52 -0800 (PST) (envelope-from kato@FreeBSD.ORG) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA01270; Thu, 27 Nov 1997 02:15:50 -0800 (PST) Date: Thu, 27 Nov 1997 02:15:50 -0800 (PST) Message-Id: <199711271015.CAA01270@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/27 02:15:50 PST Modified files: sys/pc98/i386 userconfig.c Log: Sync with sys/i386/i386/userconfig.c revision 1.97. Revision Changes Path 1.41 +4 -2 src/sys/pc98/i386/userconfig.c From owner-cvs-sys Thu Nov 27 05:03:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20965 for cvs-sys-outgoing; Thu, 27 Nov 1997 05:03:41 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA20808; Thu, 27 Nov 1997 04:59:53 -0800 (PST) (envelope-from kato@FreeBSD.ORG) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA03164; Thu, 27 Nov 1997 04:59:50 -0800 (PST) Date: Thu, 27 Nov 1997 04:59:50 -0800 (PST) Message-Id: <199711271259.EAA03164@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa if_ep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/27 04:59:50 PST Modified files: sys/i386/isa if_ep.c Log: Recognize 3C569 network interface when `PC98' is defined. Submitted by: HAMADA Naoki Revision Changes Path 1.68 +7 -2 src/sys/i386/isa/if_ep.c From owner-cvs-sys Fri Nov 28 17:36:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23654 for cvs-sys-outgoing; Fri, 28 Nov 1997 17:36:56 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA23333; Fri, 28 Nov 1997 17:33:28 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA02310; Fri, 28 Nov 1997 17:33:12 -0800 (PST) Date: Fri, 28 Nov 1997 17:33:12 -0800 (PST) Message-Id: <199711290133.RAA02310@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_descrip.c vfs_aio.c vfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/11/28 17:33:12 PST Modified files: sys/kern kern_descrip.c vfs_aio.c vfs_vnops.c Log: Fix and complete the AIO syscalls. There are some performance enhancements coming up soon, but the code is functional. Docs will be forthcoming. Revision Changes Path 1.46 +19 -1 src/sys/kern/kern_descrip.c 1.12 +781 -302 src/sys/kern/vfs_aio.c 1.42 +4 -3 src/sys/kern/vfs_vnops.c From owner-cvs-sys Fri Nov 28 18:59:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA27530 for cvs-sys-outgoing; Fri, 28 Nov 1997 18:59:52 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA27477; Fri, 28 Nov 1997 18:58:04 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA02699; Fri, 28 Nov 1997 18:57:48 -0800 (PST) Date: Fri, 28 Nov 1997 18:57:48 -0800 (PST) Message-Id: <199711290257.SAA02699@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_aio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/11/28 18:57:48 PST Modified files: sys/kern vfs_aio.c Log: Disable the VCHR optimization for AIO until I have implemented it. Just in case anyone wants to play with the POSIX AIO/LIO stuff. (As it is, it should work with ANY vnode, on UP systems only, for now.) Revision Changes Path 1.13 +2 -1 src/sys/kern/vfs_aio.c From owner-cvs-sys Fri Nov 28 20:48:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA02944 for cvs-sys-outgoing; Fri, 28 Nov 1997 20:48:01 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA02723; Fri, 28 Nov 1997 20:45:59 -0800 (PST) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA03028; Fri, 28 Nov 1997 20:45:43 -0800 (PST) Date: Fri, 28 Nov 1997 20:45:43 -0800 (PST) Message-Id: <199711290445.UAA03028@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa if_fe.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1997/11/28 20:45:43 PST Modified files: (Branch: RELENG_2_2) sys/i386/isa if_fe.c Log: Finish the work of changing NCRD to NCARD. PR: 5163 Submitted by: NAGAO Takaaki Revision Changes Path 1.20.2.4 +3 -3 src/sys/i386/isa/if_fe.c From owner-cvs-sys Sat Nov 29 00:15:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA16421 for cvs-sys-outgoing; Sat, 29 Nov 1997 00:15:25 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA16206; Sat, 29 Nov 1997 00:11:21 -0800 (PST) (envelope-from davidg@FreeBSD.org) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA03423; Sat, 29 Nov 1997 00:11:03 -0800 (PST) Date: Sat, 29 Nov 1997 00:11:03 -0800 (PST) Message-Id: <199711290811.AAA03423@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci if_fxpvar.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 1997/11/29 00:11:03 PST Modified files: sys/pci if_fxpvar.h Log: Shuffle things a bit for better cacheline behavior. Revision Changes Path 1.4 +6 -6 src/sys/pci/if_fxpvar.h From owner-cvs-sys Sat Nov 29 06:44:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA03990 for cvs-sys-outgoing; Sat, 29 Nov 1997 06:44:08 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA03904; Sat, 29 Nov 1997 06:42:11 -0800 (PST) (envelope-from kato@FreeBSD.org) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA08138; Sat, 29 Nov 1997 06:41:52 -0800 (PST) Date: Sat, 29 Nov 1997 06:41:52 -0800 (PST) Message-Id: <199711291441.GAA08138@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa if_ep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/11/29 06:41:51 PST Modified files: (Branch: RELENG_2_2) sys/i386/isa if_ep.c Log: MFC (recognize 3C569 NIC on PC98; revision 1.68). Revision Changes Path 1.53.2.4 +7 -2 src/sys/i386/isa/if_ep.c From owner-cvs-sys Sat Nov 29 20:39:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA15283 for cvs-sys-outgoing; Sat, 29 Nov 1997 20:39:33 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA15205; Sat, 29 Nov 1997 20:36:57 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA27916; Sat, 29 Nov 1997 20:36:32 -0800 (PST) Date: Sat, 29 Nov 1997 20:36:32 -0800 (PST) Message-Id: <199711300436.UAA27916@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_aio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/11/29 20:36:32 PST Modified files: sys/kern vfs_aio.c Log: Finish up the vast majority of the AIO/LIO functionality. Proper signal support was missing in the previous version of the AIO code. More tunables added, and very efficient support for VCHR files has been added. Kernel threads are not used for VCHR files, all work for such files is done for the requesting process directly. Some attempt has been made to charge the requesting process for resource utilization, but more work is needed. aio_fsync is still missing (but the original fsync system call can be used for now.) aio_cancel is essentially a noop, but that is okay per POSIX. More aio_cancel functionality can be added later, if it is found to be needed. The functions implemented include: aio_read, aio_write, lio_listio, aio_error, aio_return, aio_cancel, aio_suspend. The code has been implemented to support the POSIX spec 1003.1b (formerly known as POSIX 1003.4 spec) features of the above. The async I/O features are truly async, with the VCHR mode of operation being essentially the same as physio (for appropriate files) for maximum efficiency. This code also supports the signal capability, is highly tunable, allowing management of resource usage, and has been written to allow a per process usage quota. Both the O'Reilly POSIX.4 book and the actual POSIX 1003.1b document were the reference specs used. Any filedescriptor can be used with these new system calls. I know of no exceptions where these system calls will not work. (TTY's will also probably work.) Revision Changes Path 1.14 +552 -106 src/sys/kern/vfs_aio.c