[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
automatic NIC driver selection.
- Date: Mon, 30 Jan 2006 18:58:17 -0800
- From: strauman at slac.stanford.edu (Till Straumann)
- Subject: automatic NIC driver selection.
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