Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 15:12:14 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        hackers@freebsd.org
Subject:   Re: snd driver attach routine
Message-ID:  <199707141312.PAA10835@labinfo.iet.unipi.it>
In-Reply-To: <199707141156.VAA05457@godzilla.zeta.org.au> from "Bruce Evans" at Jul 14, 97 09:56:12 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >The reality (i.e. isa and pci) suggest that the attach routine should
> >not report failures to the calling routine.
> 
> Failure is possible, so it should be reported and tested for.  This is
> more important for LKM'ed drivers.  Even malloc() failures are not
> unlikely after the the system has been running for a while.

this is an issue for the core team I guess... as well as defining a
standard for reporting errors in the attach routine.
The changes would have to go in i386/isa/isa.c and pci/pci.c and
perhaps in other places as well.

	Cheers
	Luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________



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