Re: Invoking e100_open from userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 3, 2010 at 4:34 AM, Prabhu nath <gprabhunath@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux