linux/drivers/staging
Aaro Koskinen 710086dbbb staging: octeon: refactor rgmii 10 mbps preamble error checking
Refactor RGMII 10 Mbps preamble error checking. The current implementation
does not work correctly in phydev mode since only the link status changes
trigger the callback, and if we stay on 10 Mbps operation the periodic
checks for error counters are never done.

Provide a periodic worker also during the phydev operation, and notify
the link status changes through the phydev instead of the inband
status change interrupt. This also has the benefit that we don't need
to use legacy CVMX MDIO calls to check the PHY state, and we can avoid
races that trigger bogus "Using 10Mbps with software preamble removal"
logs when interfaces are being bringed up. It also avoids some corner-case
crashes when the in-band interrupt triggers while the interface is
being taken down.

Tested on EdgeRouter Lite & D-Link DSR-1000N.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-11 19:40:02 -08:00
..
android ion:synchronize debugfs callback and ion_client_destroy 2016-02-07 17:34:58 -08:00
board Staging: board: Blank lines aren't necessary before a close brace 2016-02-07 19:57:22 -08:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi STAGING: COMEDI: Wrap line over 80 characters 2016-02-07 18:38:37 -08:00
dgnc staging: dgnc: dgnc_cls.c: Replaced udelay by usleep_range 2015-12-21 15:52:34 -08:00
emxx_udc staging: emxx_udc: Alligned to match '(' 2016-02-07 20:17:18 -08:00
fbtft Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
fsl-mc staging: fsl-mc: Added MSI support to the MC bus driver 2016-02-07 19:10:12 -08:00
fwserial staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data" 2016-02-07 19:36:14 -08:00
gdm72xx Staging: gdm72xx: Prefer using the BIT macro 2016-02-07 20:10:47 -08:00
gdm724x staging: gdm724x: constify tty_port_operations structs 2015-12-26 17:13:33 -08:00
goldfish staging: goldfish: Change form of NULL comparisons 2016-02-09 17:48:01 -08:00
gs_fpgaboot Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c 2016-02-07 20:07:29 -08:00
iio staging: iio: Remove parentheses on the right hand side of assignment 2016-02-11 19:37:15 -08:00
lustre staging/lustre: Remove unused LUSTRE_VERSION_ALLOWED_OFFSET define 2016-02-11 19:29:55 -08:00
media media updates for v4.5-rc1 2016-01-13 11:46:37 -08:00
most staging: most: return proper error 2016-02-11 19:40:02 -08:00
mt29f_spinand staging: mt29f: clean up existing kernel-doc 2016-02-07 20:12:11 -08:00
netlogic staging: netlogic: Fix build error due to missed API change 2016-01-10 22:06:58 -05:00
nvec staging: nvec: Remove unneeded comment 2016-02-09 17:51:30 -08:00
octeon staging: octeon: refactor rgmii 10 mbps preamble error checking 2016-02-11 19:40:02 -08:00
octeon-usb staging: octeon: Remove unneeded parentheses in assignment 2016-02-11 19:40:02 -08:00
rdma staging: rdma: Use kcalloc instead of kzalloc 2016-02-09 17:43:09 -08:00
rtl8188eu staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00
rtl8192e staging: rtl8192e: use to_delayed_work 2016-02-07 20:01:45 -08:00
rtl8192u staging: r8192U: Fix check pointer after usage problem 2016-02-07 20:17:18 -08:00
rtl8712 staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl8723au staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00
rts5208 Staging: rts5208: remove unnecessary parantheses 2016-02-09 17:43:09 -08:00
skein skein: fix coding style 2015-10-24 19:30:12 -07:00
slicoss staging/slicoss: Use ethtool_ops instead of module_param. 2016-02-06 21:45:59 -08:00
sm750fb staging: sm750fb, fix typos 2016-02-07 18:53:35 -08:00
speakup Staging:speakup:add space around '|' 2016-02-07 19:07:38 -08:00
ste_rmi4 staging: ste_rmi4: avoid unused function warnings 2016-02-07 20:03:50 -08:00
unisys staging: unisys: Modify boolean assignment 2016-02-11 19:37:15 -08:00
vme drivers: staging: vme: Deleted casting to (void *) 2015-11-24 15:30:50 -08:00
vt6655 staging: vt6655: mac.c replace void __iomem * with struct vnt_private 2016-02-07 19:02:03 -08:00
vt6656 Staging: vt6656: Fixed multiple commenting codig style issues. 2016-02-07 19:03:24 -08:00
wilc1000 staging: wilc1000: spelling corrections 2016-02-11 19:31:50 -08:00
wlan-ng Staging:wlan-ng:Merged two lines into one 2016-02-09 17:43:09 -08:00
xgifb drivers: staging: xgifb: vgatypes.h: fixed coding style warnings 2016-02-07 20:14:12 -08:00
Kconfig misc: Move panel driver out of staging 2016-02-03 14:14:22 -08:00
Makefile staging: drop kbuild workaround dummy module from top dir 2016-02-07 18:40:03 -08:00