Date: Tue, 09 Oct 2001 10:34:50 +0100 From: Brian Somers <brian@freebsd-services.com> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/sys/i386/isa pcaudio.c Message-ID: <200110090934.f999Yo489935@hak.lan.Awfulhak.org> In-Reply-To: Message from John Baldwin <jhb@FreeBSD.org> of "Mon, 08 Oct 2001 16:35:40 PDT." <200110082335.f98NZev19461@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110090934.f999Yo489935>
