kernel_optimize_test/drivers/net
Manfred Rudigier 97553f7f3e gianfar: Fix setup of RX time stamping
Previously the RCTRL_TS_ENABLE bit was set unconditionally. However, if
the RCTRL_TS_ENABLE is set without TMR_CTRL[TE], the driver does not work
properly on some boards (Anton had problems with the MPC8313ERDB and
MPC8568EMDS).

With this patch the bit will only be set if requested from user space
with the SIOCSHWTSTAMP ioctl command, meaning that time stamping is
disabled during normal operation. Users who are not interested in time
stamps will not experience problems with buggy CPU revisions or
performance drops any more.

The setting of TMR_CTRL[TE] is still up to the user. This is considered
safe because users wanting HW timestamps must initialize the eTSEC clock
first anyway, e.g. with the recently submitted PTP clock driver.

Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
Reviewed-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-16 14:40:02 -07:00
..
appletalk drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
arcnet ARCNET: Limit com20020 PCI ID matches for SOHARD cards 2010-05-17 23:23:15 -07:00
arm
atl1c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atl1e drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atlx drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
benet be2net: convert hdr.timeout in be_cmd_loopback_test() to le32 2010-06-01 00:19:33 -07:00
bonding
caif
can can: mpc5xxx_can.c: Fix build failure 2010-06-01 00:09:22 -07:00
chelsio
cris
cxgb3 drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
cxgb4 cxgb4: notify upper drivers if the device is already up when they load 2010-05-18 15:16:46 -07:00
e1000 e1000: Fix message logging defect 2010-06-13 18:20:53 -07:00
e1000e e1000e: change logical negate to bitwise 2010-06-03 03:28:21 -07:00
ehea Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
enic enic: fix pci_alloc_consistent argument 2010-06-12 15:23:45 -07:00
fs_enet Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-05-31 05:46:45 -07:00
hamradio drivers/net/hamradio: Eliminate a NULL pointer dereference 2010-05-28 01:57:18 -07:00
ibm_newemac Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
igb drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
igbvf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
irda net/irda: bfin_sir: IRDA is not affected by anomaly 05000230 2010-05-23 23:57:45 -07:00
ixgb ixgb and e1000: Use new function for copybreak tests 2010-05-14 03:06:19 -07:00
ixgbe ixgbe: fix automatic LRO/RSC settings for low latency 2010-06-13 18:20:53 -07:00
ixgbevf drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixp2000
mlx4 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2010-05-25 12:05:17 -07:00
myri10ge
netxen netxen: fix caching window register 2010-06-15 18:15:27 -07:00
octeon drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
pcmcia pcmcia: dev_node removal bugfix 2010-06-15 14:55:31 -07:00
phy phylib: Add support for the LXT973 phy. 2010-06-09 16:17:02 -07:00
qlcnic sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
qlge drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sfc sfc: Store port number in net_device::dev_id 2010-06-03 03:28:26 -07:00
skfp drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
stmmac drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
tokenring drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
tulip drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
usb asix: check packet size against mtu+ETH_HLEN instead of ETH_FRAME_LEN 2010-06-07 00:56:27 -07:00
vmxnet3 drivers/net/vmxnet3: Use kzalloc 2010-05-17 22:55:10 -07:00
vxge drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
wan X25: remove duplicated #include 2010-06-04 16:14:48 -07:00
wimax Merge branch 'wimax-2.6.35.y' of git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax 2010-06-11 12:38:23 -07:00
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-06-16 13:41:55 -07:00
3c59x.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
3c501.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
3c501.h
3c503.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
3c503.h
3c505.c
3c505.h
3c507.c drivers/net: Eliminate a NULL pointer dereference 2010-05-28 01:57:18 -07:00
3c509.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
3c515.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
3c523.c
3c523.h
3c527.c
3c527.h
7990.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
7990.h
8139cp.c net8139: fix a race at the end of NAPI 2010-06-10 23:14:08 -07:00
8139too.c net8139: fix a race at the end of NAPI 2010-06-10 23:14:08 -07:00
8390.c
8390.h
8390p.c
82596.c
a2065.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-05-18 23:01:55 -07:00
a2065.h
ac3200.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
acenic.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
acenic.h
amd8111e.c
amd8111e.h
apne.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ariadne.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-05-18 23:01:55 -07:00
ariadne.h
at1700.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atarilance.c
atp.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c bfin_mac: fix memleak in mii_bus{probe|remove} 2010-05-23 23:18:32 -07:00
bfin_mac.h netdev: bfin_mac: add support for wake-on-lan magic packets 2010-05-17 17:20:59 -07:00
bmac.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
bmac.h
bnx2_fw.h
bnx2.c bnx2: Fix hang during rmmod bnx2. 2010-06-02 02:26:40 -07:00
bnx2.h bnx2: Fix register printouts during NETEV_WATCHDOG. 2010-05-17 17:32:56 -07:00
bnx2x_dump.h
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c
bnx2x_link.h
bnx2x_main.c bnx2x: avoid TX timeout when stopping device 2010-05-17 17:35:38 -07:00
bnx2x_reg.h
bnx2x.h
bsd_comp.c
cassini.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
cassini.h
cnic_defs.h
cnic_if.h cnic: Fix context memory init. on 5709. 2010-05-28 01:57:19 -07:00
cnic.c cnic: Fix context memory init. on 5709. 2010-05-28 01:57:19 -07:00
cnic.h cnic: Return SPQ credit to bnx2x after ring setup and shutdown. 2010-05-18 15:16:44 -07:00
cpmac.c
cs89x0.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
cs89x0.h
davinci_emac.c
de600.c
de600.h
de620.c
de620.h
declance.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
defxx.c
defxx.h
depca.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
depca.h
dl2k.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
dl2k.h
dm9000.c dm9000: fix "BUG: spinlock recursion" 2010-05-17 17:45:48 -07:00
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
eepro.c
eexpress.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c epic100: Test __BIG_ENDIAN instead of (non-existent) CONFIG_BIG_ENDIAN 2010-06-03 03:28:24 -07:00
eql.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
es3210.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
eth16i.c
ethoc.c ethoc: fix null dereference in ethoc_probe 2010-05-23 23:11:09 -07:00
ewrk3.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
fec_mpc52xx.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
fec_mpc52xx.h
fec.c net/fec: fix pm to survive to suspend/resume 2010-06-02 06:13:34 -07:00
fec.h fec: add support for PHY interface platform data 2010-05-24 00:36:13 -07:00
forcedeth.c
fsl_pq_mdio.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
fsl_pq_mdio.h
gianfar_ethtool.c
gianfar_sysfs.c
gianfar.c gianfar: Fix setup of RX time stamping 2010-06-16 14:40:02 -07:00
gianfar.h
greth.c greth: Fix build after OF device conversions. 2010-05-31 05:47:32 -07:00
greth.h
hamachi.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
hp-plus.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
hp.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c m68k: amiga - Zorro bus modalias support 2010-05-17 21:37:41 +02:00
ibmlana.c
ibmlana.h
ibmveth.c drivers/net: Use kcalloc or kzalloc 2010-05-17 22:55:10 -07:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
iseries_veth.c
jazzsonic.c
jme.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
jme.h
Kconfig netdev: bfin_mac: add support for IEEE 1588 PTP 2010-05-17 17:19:40 -07:00
korina.c korina: count RX DMA OVR as rx_fifo_error 2010-06-02 06:12:19 -07:00
ks8842.c
ks8851_mll.c
ks8851.c
ks8851.h
ksz884x.c ksz884x: Add missing validate_addr hook 2010-06-01 00:24:32 -07:00
lance.c
lasi_82596.c
lib8390.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
lib82596.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
LICENSE.SRC
ll_temac_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-28 10:18:40 -07:00
ll_temac_mdio.c
ll_temac.h net: ll_temac: fix checksum offload logic 2010-05-26 20:44:30 -07:00
lne390.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
loopback.c
lp486e.c
mac89x0.c
mac8390.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c macvlan: do proper cleanup in macvlan_common_newlink() V2 2010-05-24 18:42:12 -07:00
macvtap.c
Makefile
mdio.c
meth.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
meth.h
mii.c
mipsnet.c
mv643xx_eth.c drivers/net: Use kzalloc 2010-05-17 22:55:08 -07:00
mvme147.c
myri_sbus.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
myri_sbus.h
natsemi.c
ne-h8300.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ne.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ne2.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ne2k-pci.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ne3210.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ni5010.h
niu.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
pasemi_mac.h
pci-skeleton.c
pcnet32.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
plip.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ppp_async.c
ppp_deflate.c
ppp_generic.c ppp_generic: fix multilink fragment sizes 2010-06-04 15:56:01 -07:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c pppoe: uninitialized variable in pppoe_flush_dev() 2010-05-23 23:57:43 -07:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
ps3_gelic_wireless.h
qla3xxx.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
qla3xxx.h
r6040.c r6040: fix link checking with switches 2010-05-17 17:44:36 -07:00
r8169.c r8169: fix mdio_read and update mdio_write according to hw specs 2010-06-09 17:31:48 -07:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
s2io.h
s6gmac.c
sb1000.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sb1250-mac.c
sc92031.c
seeq8005.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c sh_eth: Fix memleak in sh_mdio_release 2010-05-20 23:13:45 -07:00
sh_eth.h
sis190.c
sis900.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sis900.h
skge.c skge: use the DMA state API instead of the pci equivalents 2010-05-15 23:29:31 -07:00
skge.h skge: use the DMA state API instead of the pci equivalents 2010-05-15 23:29:31 -07:00
sky2.c sky2: version 1.28 2010-05-14 03:06:22 -07:00
sky2.h
slhc.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
slip.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
slip.h
smc-mca.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
smc-ultra.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
smc-ultra32.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
smc9194.h
smsc911x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
spider_net.h
starfire.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
stnic.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
sunbmac.h
sundance.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sungem_phy.c
sungem_phy.h
sungem.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sungem.h
sunhme.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
sunhme.h
sunlance.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
sunqe.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c tehuti: return -EFAULT on copy_to_user errors 2010-06-03 03:28:23 -07:00
tehuti.h
tg3.c
tg3.h
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-25 16:59:51 -07:00
typhoon.c
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
ucc_geth.h
veth.c
via-rhine.c
via-velocity.c
via-velocity.h
virtio_net.c virtio-net: pass gfp to add_buf 2010-06-01 00:21:20 -07:00
wd.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
xen-netfront.c
xilinx_emaclite.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
xtsonic.c
yellowfin.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
znet.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
zorro8390.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-05-18 23:01:55 -07:00