automatic NIC driver selection.

Joel Sherrill joel.sherrill at
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 Ltd. 
> 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