From owner-freebsd-multimedia Fri Jul 18 17:18:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA25593 for multimedia-outgoing; Fri, 18 Jul 1997 17:18:40 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA25587; Fri, 18 Jul 1997 17:18:33 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id RAA07293; Fri, 18 Jul 1997 17:18:20 -0700 (PDT) Message-Id: <199707190018.RAA07293@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Stefan Esser cc: Bruce Evans , luigi@labinfo.iet.unipi.it, hackers@freebsd.org, multimedia@freebsd.org, rhh@ct.picker.com Subject: Re: snd driver attach routine In-reply-to: Your message of "Fri, 18 Jul 1997 20:36:44 +0200." <19970718203644.04289@mi.uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Jul 1997 17:18:19 -0700 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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