automatic NIC driver selection.

Till Straumann strauman at slac.stanford.edu
Tue Jan 31 02:58:17 UTC 2006


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'.


Till




More information about the users mailing list