automatic NIC driver selection.
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Jan 31 12:04:13 UTC 2006
Till Straumann wrote:
> Karel Gardas wrote:
>
>>
>> Hello,
>>
>> has anybody here already hacked RTEMS to support some kind of
>> automatic NIC driver selection? The purpose is to compile once
>> net-enabled binaries and runs on two (or more) machines (pc386 BSP)
>> with different NIC.
>>
>> Thanks,
>> Karel
>> --
>> Karel Gardas kgardas at objectsecurity.com
>> ObjectSecurity Ltd. http://www.objectsecurity.com
>
>
> Yes.
>
> Hacked is the appropriate word.
>
> I write a wrapper 'attach' method which does the driver selection
> (the MVME6100 BSP I recently wrote also does link detection
> there), modifies the 'ifcfg->attach' and 'ifcfg->name' fields and
> vectors to the real 'attach'.
>
Would it be feasible to add another NIC driver entry to the network
initialization table for a probe function? When the probe function is
NULL, it is assumed that the driver exists?
>
> Till
>
More information about the users
mailing list