Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 12:17:37 +0800
From:      Peter Wemm <peter@overcee.netplex.com.au>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        peter@netplex.com.au, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/aic aic_isa.c
Message-ID:  <19991101121737.J51160@overcee.netplex.com.au>
In-Reply-To: <199910270319.XAA25545@lor.watermarkgroup.com>; from luoqi@watermarkgroup.com on Tue, Oct 26, 1999 at 11:19:31PM -0400
References:  <199910270319.XAA25545@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 26, 1999 at 11:19:31PM -0400, Luoqi Chen wrote:
> > > luoqi       1999/10/25 12:11:45 PDT
> > > 
> > >   Modified files:        (Branch: RELENG_3)
> > >     sys/dev/aic          aic_isa.c 
> > >   Log:
> > >   Negate return of aic_isa_attach(): isa device's attach method returns 0
> > >   for failure and 1 for success.
> > 
> > As I recall, it's something along the lines of:
> > 0 = failure
> > >0 = number of ports at iobase consumed..
> > -1 = success but with unknown number of ports
> > 
> > ie: 4 ports consumed at 0x300 (0x300-303) would return 4, not 1.
> > 
> I understand this is the case for the probe method. Are you saying it is the
> same for attach? I checked the code, in fact, the return from attach is
> completely ignored, so there's no way to tell for sure. But I looked at
> a couple of other drivers, they seem to return only 0 or 1.

Heh, brain parse error.. I read it as "probe" not "attach"..  Sorry. :-)

-Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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