From owner-freebsd-hackers Fri Jul 18 11:37:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA08706 for hackers-outgoing; Fri, 18 Jul 1997 11:37:19 -0700 (PDT) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA08679; Fri, 18 Jul 1997 11:37:05 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr2-43.slip.Uni-Koeln.DE) by Octopussy.MI.Uni-Koeln.DE with SMTP id AA17421 (5.67b/IDA-1.5); Fri, 18 Jul 1997 20:36:55 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.6/8.6.9) id UAA09874; Fri, 18 Jul 1997 20:36:45 +0200 (CEST) X-Face: " Date: Fri, 18 Jul 1997 20:36:44 +0200 From: Stefan Esser To: Bruce Evans Cc: hasty@rah.star-gate.com, luigi@labinfo.iet.unipi.it, hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG, rhh@ct.picker.com, Stefan Esser Subject: Re: snd driver attach routine References: <199707141046.UAA02952@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199707141046.UAA02952@godzilla.zeta.org.au>; from Bruce Evans on Mon, Jul 14, 1997 at 08:46:14PM +1000 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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