Date: Fri, 18 Jul 1997 17:18:19 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> To: Stefan Esser <se@freebsd.org> Cc: Bruce Evans <bde@zeta.org.au>, luigi@labinfo.iet.unipi.it, hackers@freebsd.org, multimedia@freebsd.org, rhh@ct.picker.com Subject: Re: snd driver attach routine Message-ID: <199707190018.RAA07293@rah.star-gate.com> In-Reply-To: Your message of "Fri, 18 Jul 1997 20:36:44 %2B0200." <19970718203644.04289@mi.uni-koeln.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, we should be able to detect device specific failure and not allow access to the device driver that way our drivers don't have to handle a fatal low level device configuration . Amancio >From The Desk Of Stefan Esser : > 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?199707190018.RAA07293>