Subject: Re: CVS commit: src/sys/arch/evbmips/conf
To: Simon Burge <simonb@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: source-changes
Date: 10/07/2006 06:44:29
Simon Burge wrote:
> Hi Garrett,
>
> Garrett D'Amore wrote:
>
>   
>> Module Name:	src
>> Committed By:	gdamore
>> Date:		Sat Oct  7 07:22:36 UTC 2006
>>
>> Modified Files:
>>
>> 	src/sys/arch/evbmips/conf: majors.evbmips
>>
>> Log Message:
>>
>> Add major for spiflash.  Note that this major should probably be moved out
>> to device-independent space, but we might well choose to wait to do that
>> until _after_ we have a full MI flash framework.
>>     
>
> I think it's a good idea to just jump in and use an MI major now.
> Otherwise you'll need some flag day down the track when it's renumbered
> for evbmips, or need some ugly compatibility hack.
>
> Simon.
>   

You might be right.  I expect that it is quite possible that we will
have an MI generic flash framework in the nearly immediate future, and
it is likely that my spiflash driver will be converted to it.  (Provided
that the framework, which has been created by Jared, is extended in
certain necessary ways -- namely it needs to support asynchronous
strategy() and it needs to grow support for RedBoot partitioning.)

If we have to revoke a major number to adapt to the common flash
framework, I'd rather revoke one that is only used for one small port
(Meraki Mini), rather than an MI one.

I'll know more in a week or so --once Jared is back from Ottawa and he
and I have discussed it further.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191