Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 23:22:01 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hackers@FreeBSD.ORG, luigi@labinfo.iet.unipi.it, multimedia@FreeBSD.ORG, rhh@ct.picker.com
Subject:   Re: snd driver attach routine
Message-ID:  <19970722232201.55387@mi.uni-koeln.de>
In-Reply-To: <199707211133.VAA10007@godzilla.zeta.org.au>; from Bruce Evans on Mon, Jul 21, 1997 at 09:33:47PM %2B1000
References:  <199707211133.VAA10007@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 21, Bruce Evans <bde@zeta.org.au> wrote:
> >I could easily change the return type of 
> >the PCI attach function. Should I ???
> 
> If anything is attached above the driver level, then you need a status
> from the driver attach to decide whether to clean up or attach more.
> For ISA, only interrupts are attached at a high level, but they shouldn't
> be, so ISA attach function shouldn't need to return status (but they
> should clean up if they fail).  I'm not sure about PCI.

Ok. I'll make the PCI code in -current expect the
drivers' attach() functions to return a success
indication, but will for now leave the code in 2.2 
alone ...

Don't know when I'll get around to adding the new
PCI probe/attach framework, so don't hold your your
breath :)

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970722232201.55387>