Background:

Steven Stallion and myself have decided to create a clean room version
of the ce driver.  The goals are to both fully support all the
relevant APIs in Nevada (nemo, brussels, etc.) as well as to fully
support all the hardware features.

To facilitate testing, it would seem to be nice to be able to switch
between the current closed driver and ours.  Our thinking is to
perhaps call the driver 'cge' (which seems to be more in line with the
current naming scheme), and just use add_drv / rem_drv to switch
between the two.  The first question, is does this seem like a
reasonable approach, or might someone suggest any better techniques?

The other issue is that we don't want to paint ourselves into a
corner.  I have seen mention of some nightmares around network driver
renames in the past.  The second question is would the vanity naming
support (once integrated of course) eliminate this issue?

An alternative we thought of is to use #defines to control the driver
name, keeping the prefix for all the functions and structures as
'cge', but essentially allowing it to be built as both 'ce' and 'cge'
(assuming the technique described for the first question is sound).

One related note (though I don't think it's appropriate to get into it
too deeply here), we are aware that for it's own reasons (which aren't
relevant to  _Opensolaris_ IMO) Sun is very unlikely to have interest
in using this in _Solaris_.  However, that doesn't mean that
_Opensolaris_ or any distros derived from it cannot benefit from it.
I only mention this because if some distrios decide to use it, then
the second question becomes relevant.
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to