On Fri, Dec 3, 2010 at 4:34 AM, Prabhu nath <gprabhun...@gmail.com> wrote:
> Dear All,
>
>             I am trying to analyse ethernet and rionet driver. Both the
> drives are registered with the kernel through
>    register_netdev().
>    Each driver has their own functions registered such as e100_open(),
> rionet_open(). How to trigger this functions from the user space.

If I remember correctly
"ifconfig eth0 up" will call open
and
"ifconfig eth0 down" will call close

This was when I made some changes to the natsemi driver though, but I
think e100 does the same

--
John

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to