1
linux/drivers/net
Ramkrishna Vepa d26078fe72 Neterion: New driver: Ethtool related
This patch implements all ethtool related entry point functions for the driver.

- Changes in this submission -
        - Removed redundant #include statements

- Changes in previous submissions -
        - Removed unused statistics.
        - General clean up - removed unused variables and macros.
 - Incorporated following comments from Ben Hutchings
        - No need to restart the interface in vxge_ethtool_sset
        - Do not use #ifdef ADVERTISED_XX
        - Remove unnecessart intermediate copy in vxge_ethtool_gdrvinfo
        - Use strlcpy() to ensure null-termination.
        - Use ethtool_op_get_tso, ethtool_op_set_tx_hw_csum instead
          of redefining the same code.
        - Implement get_strings_count instead of deprecated get_stats_count.
        - Don't report reporting the EEPROM length as we don't supprt
          get/set eeprom.
        - Don't set self_test_count as we don't support any self tests.

Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Signed-off-by: Rastapur Santosh <santosh.rastapur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-02 00:33:44 -07:00
..
appletalk appletalk: convert LTPC to net_device_ops 2009-03-27 00:46:42 -07:00
arcnet drivers/net/arcnet: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:26:05 -08:00
arm Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
atl1c atl1c: remove duplicated #include 2009-03-23 01:18:58 -07:00
atl1e drivers/net/atl1e: fix sparse warnings: fix signedness 2009-02-17 17:26:06 -08:00
atlx drivers/net/atlx: fix sparse warnings: fix signedness 2009-02-17 17:26:07 -08:00
benet benet: use do_div() for 64 bit divide 2009-03-27 00:25:24 -07:00
bonding bonding: select current active slave when enslaving device for mode tlb and alb 2009-03-25 17:23:38 -07:00
can
chelsio chelsio: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:38 -08:00
cris
cxgb3 cxgb3: map entire Rx page, feed map+offset to Rx ring. 2009-03-27 00:46:59 -07:00
e1000 e1000: fix close race with interrupt 2009-03-26 01:00:55 -07:00
e1000e e1000e: update version number 2009-03-26 01:10:00 -07:00
ehea net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
enic enic: Add api for link down count and to get firmware notification status. 2009-02-09 23:25:33 -08:00
fs_enet
hamradio Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/net-next-2.6 2009-03-31 14:43:54 -07:00
ibm_newemac powerpc 4xx EMAC driver: device name reported on timeout is not correct 2009-03-21 16:50:20 -07:00
igb igb: cleanup tx dma so map & unmap use matching calls 2009-03-21 16:57:03 -07:00
irda Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
ixgb ixgb: refactor tx path to use skb_dma_map/unmap 2009-03-20 01:17:24 -07:00
ixgbe ixgbe: Allow Priority Flow Control settings to survive a device reset 2009-03-26 01:13:51 -07:00
ixp2000
mlx4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-03-26 15:54:36 -07:00
myri10ge myri10ge: update firmware headers to 1.4.41 2009-03-24 16:32:13 -07:00
netxen Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-17 15:01:30 -07:00
pcmcia smc91c92_cs: use request_firmware 2009-03-30 20:25:13 +05:30
phy Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-26 01:22:01 -07:00
qlge Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-17 15:01:30 -07:00
sfc sfc: Call netif_napi_add() before registering our interrupt handler 2009-03-31 15:07:21 -07:00
skfp drivers/net/skfp: fix sparse warning: Should it be static? 2009-02-17 17:37:59 -08:00
tokenring Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/net-next-2.6 2009-03-31 14:43:54 -07:00
tulip Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-20 02:27:41 -07:00
usb usbnet: convert rndis driver to net_device_ops 2009-03-21 19:55:35 -07:00
vxge Neterion: New driver: Ethtool related 2009-04-02 00:33:44 -07:00
wan wan: convert sdla driver to net_device_ops 2009-03-27 00:46:44 -07:00
wimax wimax: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:23 -07:00
wireless wireless: remove duplicated .ndo_set_mac_address 2009-03-29 13:52:21 -07:00
3c59x.c 3c59x: get rid of non-const printk warnings 2009-02-26 22:21:54 -08:00
3c501.c
3c501.h
3c503.c 3c503, smc-ultra: netdev_ops bugs 2009-03-27 00:46:38 -07:00
3c503.h
3c505.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-14 23:12:00 -08:00
3c505.h
3c507.c
3c509.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-02-07 02:52:44 -08:00
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c 8139cp: allow to set mac address on running device 2009-03-13 11:47:48 -07:00
8139too.c 8139too: allow to set mac address on running device 2009-03-13 11:48:18 -07:00
8390.c
8390.h
8390p.c
82596.c
a2065.c a2065: skb_padto cleanups 2009-03-18 18:17:48 -07:00
a2065.h
ac3200.c netdev: convert ac3200 to net_device_ops 2009-03-27 00:46:54 -07:00
acenic.c acenic: fix non-constant printk warnings 2009-02-26 22:21:58 -08:00
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c netdev: convert at1700 to net_device_ops 2009-03-27 00:46:51 -07:00
atarilance.c
atp.c
atp.h
au1000_eth.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
au1000_eth.h
ax88796.c ax88796: Add method to take MAC from platform data 2009-03-24 23:32:03 -07:00
b44.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-01 21:35:16 -08:00
b44.h
bfin_mac.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
bfin_mac.h
bmac.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
bmac.h
bnx2_fw2.h bnx2: Update 5709 firmware. 2009-02-12 16:53:48 -08:00
bnx2_fw.h bnx2: Update 5706/5708 firmware. 2009-02-12 16:53:22 -08:00
bnx2.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-20 02:27:41 -07:00
bnx2.h bnx2: Update version to 1.9.2 and copyright. 2009-02-12 16:54:48 -08:00
bnx2x_dump.h bnx2x: Register dump 2009-03-02 22:32:48 -08:00
bnx2x_fw_defs.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_hsi.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_init_values.h bnx2x: Adding licensing to bnx2x_init_values.h 2009-03-22 21:24:19 -07:00
bnx2x_init.h bnx2x: Using DMAE to initialize the chip 2009-03-10 04:52:03 -07:00
bnx2x_link.c bnx2x: Loopback support at external PHY 2009-03-02 22:32:45 -08:00
bnx2x_link.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_main.c bnx2x: Using DMAE to initialize the chip 2009-03-10 04:52:03 -07:00
bnx2x_reg.h bnx2x: Supporting new BCM8726 FW 2009-03-02 22:32:43 -08:00
bnx2x.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-10 05:04:16 -07:00
bsd_comp.c
cassini.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-02-03 00:15:35 -08:00
cassini.h
cpmac.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
cs89x0.c netdev: convert cs89x0 to net_device_ops 2009-03-27 00:46:55 -07:00
cs89x0.h
de600.c
de600.h
de620.c
de620.h
declance.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
defxx.c netdev: Use __netdev_alloc_skb() instead of __dev_alloc_skb(). 2009-02-10 01:56:45 -08:00
defxx.h
depca.c netdev: convert depca to net_device_ops 2009-03-27 00:46:52 -07:00
depca.h
dl2k.c
dl2k.h
dm9000.c dm9000: locking bugfix 2009-03-22 21:28:39 -07:00
dm9000.h
dnet.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-26 01:22:01 -07:00
dnet.h dnet: Dave DNET ethernet controller driver (updated) 2009-03-11 23:26:02 -07:00
dummy.c
e100.c e100: add support for 82552 10/100 adapter 2009-03-21 13:25:25 -07:00
e2100.c drivers/net/e2100.c: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:21:08 -08:00
eepro.c netdev: convert eexpro to net_device_ops 2009-03-27 00:46:51 -07:00
eexpress.c netdev: convert eexpress to net_device_ops 2009-03-27 00:46:50 -07:00
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c eql: fix non-constant printk warning 2009-03-21 19:06:53 -07:00
es3210.c
eth16i.c netdev: convert eth16i to net_device_ops 2009-03-27 00:46:55 -07:00
ethoc.c net: Add support for the OpenCores 10/100 Mbps Ethernet MAC. 2009-03-27 00:16:21 -07:00
ewrk3.c netdev: convert ewrk3 to net_device_ops 2009-03-27 00:46:52 -07:00
ewrk3.h
fealnx.c fealnx: fix non-constant printk warnings 2009-02-26 22:21:59 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c m68knommu: remove ColdFire specific setup code from FEC driver 2009-02-26 22:42:51 -08:00
fec.h fec: Add support for Freescale MX27 2009-02-01 00:58:26 -08:00
forcedeth.c forcedeth: version bump to 64 2009-03-10 05:29:52 -07:00
fsl_pq_mdio.c fsl_pq_mdio: Use proper address translation 2009-03-23 15:37:09 -07:00
fsl_pq_mdio.h netdev: Merge UCC and gianfar MDIO bus drivers 2009-02-04 16:42:35 -08:00
gianfar_ethtool.c gianfar: Implement proper, per netdevice wakeup management 2009-02-01 00:52:34 -08:00
gianfar_sysfs.c gianfar: Fix stashing support 2009-02-04 16:43:44 -08:00
gianfar.c gianfar: Fix use-after-of_node_put() in gfar_of_init(). 2009-03-29 01:19:37 -07:00
gianfar.h gianfar: pass the proper dev to DMA ops 2009-03-18 23:28:22 -07:00
hamachi.c hamachi: fix non-constant printk warnings 2009-02-26 22:22:02 -08:00
hp100.c
hp100.h
hp-plus.c net: fix hp-plus build error 2009-02-26 21:02:19 -08:00
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c netdev: ibmlana convert to net_device_ops 2009-03-27 00:46:49 -07:00
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
isa-skeleton.c
iseries_veth.c
jazzsonic.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
jme.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
jme.h jme: Advance version number after previous changes 2009-03-02 01:55:15 -08:00
Kconfig ETHOC: fix build breakage on s390 2009-03-31 14:42:46 -07:00
korina.c
lance.c lance: convert to net_device_ops 2009-03-27 00:46:48 -07:00
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c netdev: convert lp486e to net_device_ops 2009-03-27 00:46:54 -07:00
mac89x0.c
mac8390.c
macb.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
macvlan.c macvlan: Deterministic ingress packet delivery 2009-03-13 13:16:13 -07:00
Makefile net: Add support for the OpenCores 10/100 Mbps Ethernet MAC. 2009-03-27 00:16:21 -07:00
meth.c
meth.h
mii.c
mipsnet.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
mv643xx_eth.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
mvme147.c
myri_code.h
myri_sbus.c myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries. 2009-03-23 14:29:24 -07:00
myri_sbus.h
natsemi.c natsemi: fix non-constant printk warnings 2009-02-26 22:21:58 -08:00
ne2.c
ne2k-pci.c ne2k-pci: fix non-constant printk warnings 2009-02-26 22:21:55 -08:00
ne3210.c ne3210.c fix compilation warning for phys_addr_t 2009-02-11 21:01:33 +01:00
ne-h8300.c
ne.c
netconsole.c netpoll: store local and remote ip in net-endian 2009-03-28 23:55:58 -07:00
netx-eth.c
ni52.c netdev: convert ni52 to net_device_ops 2009-03-27 00:46:53 -07:00
ni52.h
ni65.c netdev: convert ni65 to net_device_ops 2009-03-27 00:46:53 -07:00
ni65.h
ni5010.c ni5010: convert to net_device_ops 2009-03-28 23:37:27 -07:00
ni5010.h
niu.c niu: Add GRO support. 2009-03-29 01:39:41 -07:00
niu.h niu: Add TCAM classification configuration 2009-02-20 00:58:45 -08:00
ns83820.c ns83820: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:39 -08:00
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c ppp: ppp_mp_explode() redesign 2009-03-13 16:09:12 -07:00
ppp_deflate.c
ppp_generic.c ppp: ppp_mp_explode() redesign 2009-03-13 16:09:12 -07:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c ppp: ppp_mp_explode() redesign 2009-03-13 16:09:12 -07:00
pppoe.c net: convert usage of packet_type to read_mostly 2009-03-10 05:22:43 -07:00
pppol2tp.c drivers/net/ppp*.c: fix sparse warnings: fix signedness 2009-02-17 17:21:12 -08:00
pppox.c
ps3_gelic_net.c net: replace uses of __constant_{endian} 2009-02-01 00:45:17 -08:00
ps3_gelic_net.h
ps3_gelic_wireless.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-02-03 00:15:35 -08:00
ps3_gelic_wireless.h
qla3xxx.c
qla3xxx.h
r6040.c Bump release date to 25Mar2009 and version to 0.22 2009-03-25 17:19:34 -07:00
r8169.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-17 15:01:30 -07:00
rionet.c drivers/net/rionet.c: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:31 -08:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net/s2io.c: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:21:14 -08:00
s2io.h
sb1000.c
sb1250-mac.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
sc92031.c
seeq8005.c netdev: seeq8005 convert to net_device_ops 2009-03-27 00:46:46 -07:00
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c sh_eth: Change handling of IRQ 2009-03-18 23:31:49 -07:00
sh_eth.h sh_eth: Fix mistake of the address of SH7763 2009-03-18 23:31:50 -07:00
sis190.c
sis900.c sis900: fix non-constant printk warnings 2009-02-26 22:21:55 -08:00
sis900.h
skge.c
skge.h
sky2.c sky2: set VPD size 2009-02-03 15:08:36 -08:00
sky2.h
slhc.c
slip.c
slip.h
smc91x.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
smc91x.h Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
smc911x.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
smc911x.h Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel 2009-03-13 21:44:51 +00:00
smc9194.c netdev: smc9194 convert to net_device_ops 2009-03-27 00:46:47 -07:00
smc9194.h
smc-mca.c
smc-ultra32.c netdev: smc-ultra32 convert to net_device_ops 2009-03-27 00:46:47 -07:00
smc-ultra.c netdev: smc-ultra fix netpoll 2009-03-27 00:46:48 -07:00
smsc911x.c smsc911x: enforce read-after-write timing restriction on eeprom access 2009-03-27 00:46:38 -07:00
smsc911x.h smsc911x: define status word positions as constants 2009-03-19 23:59:27 -07:00
smsc9420.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
smsc9420.h smsc9420: handle magic field of ethtool_eeprom 2009-02-20 00:38:51 -08:00
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c spider_net: Add missing .ndo_validate_addr 2009-03-23 14:42:09 -07:00
spider_net.h
starfire.c starfire: fix non-constant printk warnings 2009-02-26 22:22:00 -08:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c sun3: print when lance_open() fails 2009-02-12 16:40:20 -08:00
sunbmac.c myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries. 2009-03-23 14:29:24 -07:00
sunbmac.h
sundance.c sundance: fix non-constant printk warnings 2009-02-26 22:22:00 -08:00
sungem_phy.c cassini/sungem: limit reaches -1, but 0 tested 2009-02-02 23:19:50 -08:00
sungem_phy.h
sungem.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-23 13:35:04 -07:00
sungem.h
sunhme.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2009-03-12 09:27:53 -07:00
sunhme.h
sunlance.c myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries. 2009-03-23 14:29:24 -07:00
sunqe.c myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries. 2009-03-23 14:29:24 -07:00
sunqe.h
sunvnet.c sunvnet: Convert to net_device_ops. 2009-03-20 00:51:22 -07:00
sunvnet.h
tc35815.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
tehuti.c tehuti: Use request_firmware() 2009-02-26 23:20:56 -08:00
tehuti.h tehuti: Use request_firmware() 2009-02-26 23:20:56 -08:00
tg3.c tg3: Add GRO support. 2009-03-29 01:39:49 -07:00
tg3.h tg3: Add version reporting for hardware selfboot 2009-02-26 23:16:40 -08:00
tlan.c
tlan.h
tsi108_eth.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-02-03 00:15:35 -08:00
tsi108_eth.h
tun.c tun: Fix merge error 2009-02-14 20:46:39 -08:00
typhoon.c typhoon: repair firmware loading 2009-03-02 22:15:09 -08:00
typhoon.h
ucc_geth_ethtool.c netdev: Merge UCC and gianfar MDIO bus drivers 2009-02-04 16:42:35 -08:00
ucc_geth.c ucc_geth: Fix use-after-of_node_put() in ucc_geth_probe(). 2009-03-29 01:20:18 -07:00
ucc_geth.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-23 13:35:04 -07:00
veth.c veth: Allow setting the L3 MTU 2009-03-03 23:36:04 -08:00
via-rhine.c via-rhine: fix non-constant printk warnings 2009-02-26 22:21:59 -08:00
via-velocity.c via-velocity: Fix DMA mapping length errors on transmit. 2009-03-13 13:37:46 -07:00
via-velocity.h net: replace uses of __constant_{endian} 2009-02-01 00:45:17 -08:00
virtio_net.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-20 02:27:41 -07:00
wd.c
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2009-03-28 13:30:43 -07:00
xtsonic.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:22 -07:00
yellowfin.c yellowfin: fix non-constant printk warnings 2009-02-26 22:21:57 -08:00
znet.c
zorro8390.c