Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 10:17:55 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Luoqi Chen <luoqi@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/aic aic_isa.c 
Message-ID:  <19991027021755.CF6281CC6@overcee.netplex.com.au>
In-Reply-To: Your message of "Mon, 25 Oct 1999 12:11:45 MST." <199910251911.MAA83311@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au


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?19991027021755.CF6281CC6>