There is als so a cards parameter in the drivers option : cards=0,1 will
bind the rt_e1000e module to the second interface


On 1 January 2013 14:04, Wolfgang Grandegger <w...@grandegger.com> wrote:

> On 12/29/2012 09:42 PM, Wim Meeussen wrote:
> > Hi,
> >
> > I have a host with two identical ethernet devices (Intel 82573L).
> > Both devices work great with the e1000e module, and with the rt_e1000e
> > module.  I would like to use the first ethernet device with the e1000e
> > module to connect to the LAN, and the second ethernet device with the
> > rt_e1000e module to communicate with an EtherCAT slave.
> >
> > The problem I run into is that when I load the e1000e module, the
> > kernel logs show that it detects and registers both ethernet devices.
> > But when I load the rt_e1000e module after that, the kernel logs show
> > that it does not detect any devices any more.   When I swap the order,
> > and first load the rt_e1000e module, it detects and registers both
> > ethernet devices, but then the e1000e module can't find any devices
> > any more.  So pretty much, whichever module I load first claims both
> > devices.  This behavior is confirmed by both the kernel logs and by
> > running (rt_)ifconfig.
> >
> > Is there a way to limit a module to a single device at load time, so
> > it would not claim both devices at once? Or should I be looking at a
> > different type of solution? Any help is appreciated!
>
> You can bind a device to or unbind from a driver using the  SysFS "bind"
> and "unbind" files. e.g.:
>
>  # echo "0000:04:00.0" > /sys/class/net/eth0/device/driver/unbind
>
> Then insmod "rt_e1000e.ko" and it will probe that device.
>
> Wolfgang.
>
>
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> RTnet-users mailing list
> RTnet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rtnet-users
>



-- 
Frederik Bayart | Senior software engineer
Triphase NV | Research Park Zone 1719 | Romeinse straat 18 | B-3001 Heverlee
T  +32 2 669 06 05 | E frederik.bay...@triphase.com | W www.triphase.com
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to