Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 1997 20:36:44 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hasty@rah.star-gate.com, luigi@labinfo.iet.unipi.it, hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG, rhh@ct.picker.com, Stefan Esser <se@FreeBSD.ORG>
Subject:   Re: snd driver attach routine
Message-ID:  <19970718203644.04289@mi.uni-koeln.de>
In-Reply-To: <199707141046.UAA02952@godzilla.zeta.org.au>; from Bruce Evans on Mon, Jul 14, 1997 at 08:46:14PM %2B1000
References:  <199707141046.UAA02952@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 14, Bruce Evans <bde@zeta.org.au> wrote:
> >Problem: what should be the return type of *attach() routines ?
> 
> Perhaps it should be void to match reality, but it currently must be
> int for isa drivers to match the prototype in `struct isa_driver'.
> 
> >The drivers in /sys/pci all return void for the attach routine.
> 
> They have to, to match the prototype in `strcuct pci_driver'.

I could easily change the return type of 
the PCI attach function. Should I ???

Regards, STefan



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