Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 20:49:18 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Matt Jacob <mjacob@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/isp isp_pci.c 
Message-ID:  <200103010449.f214nI746879@mobile.wemm.org>
In-Reply-To: <200103010221.f212LbH72135@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Jacob wrote:
> mjacob      2001/02/28 18:21:37 PST
> 
>   Modified files:
>     sys/dev/isp          isp_pci.c 
>   Log:
>   Eliminate the use of the getenv_int stuff we'd been using (with a bitmap
>   for selecting unit). Instead, use the resource hints mechanism.
>   
>   One unfortunate situation here is that there is no resource_quad_value
>   function- which is what I needed for WWN boot time replacement. Worse-
>   you can't store the hint as just plain
>   
>   hint.isp.0.nodewwn="0x50000000aaaa0001"
>   
>   because this gets interpreted as an int- incorrectly because it can't
>   be converted to an int. I can't even get this as a string.

I have got a drastically overhauled version of this stuff kicking
around somewhere.. one of the key changes was to hang onto the ascii
and defer typing until it was requested by the caller.  Ie: if you asked
for an int, you would get an int represenation.  Ask for a string and it
would give you the string (even if it looked like an int to the resource
functions).  Adding a quad form to that would be trivial.

I will see if I can find it again..

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


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?200103010449.f214nI746879>