2005-12-22 13:16:16

by Conio sandiago

[permalink] [raw]
Subject: ethtool integration

Hi all
I need some help regarding handling ethtool.
i have developed a ethernet driver for my linux kernel.
i want to run the ethtool on the kernel.
Now i want to know which command do i have to implement in my driver ?
please help
conio


2005-12-22 20:02:00

by Jeff Garzik

[permalink] [raw]
Subject: Re: ethtool integration

Conio sandiago wrote:
> Hi all
> I need some help regarding handling ethtool.
> i have developed a ethernet driver for my linux kernel.
> i want to run the ethtool on the kernel.
> Now i want to know which command do i have to implement in my driver ?

Take a look at tons of existing ethernet drivers in the Linux kernel,
for examples.

You need to implement one or more functions of struct ethtool_ops.

Jeff