From owner-cvs-all Tue Oct 9 2:35: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 3708C37B401; Tue, 9 Oct 2001 02:34:59 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id f999YtX29123; Tue, 9 Oct 2001 10:34:56 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id f999Yo489935; Tue, 9 Oct 2001 10:34:50 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200110090934.f999Yo489935@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/sys/i386/isa pcaudio.c In-Reply-To: Message from John Baldwin of "Mon, 08 Oct 2001 16:35:40 PDT." <200110082335.f98NZev19461@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 09 Oct 2001 10:34:50 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > jhb 2001/10/08 16:35:40 PDT > > Modified files: > sys/i386/isa pcaudio.c > Log: > Don't attempt to initialize the pcaudio device on open. The attach routine > already does the initialization (though it didn't set pca_initialized, so > we always initialized twice) and since attach calls make_dev(), there's no > way that pcaopen() can be called before pcaattach(). > > Revision Changes Path > 1.63 +1 -7 src/sys/i386/isa/pcaudio.c Surely pcaopen() can be called before pcaattach() on a non-devfs system (or does something else head the call off with an ENXIO) ? -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message