linux/drivers/net/ethernet/sfc
Ben Hutchings cc180b69c0 sfc: Correct interrupt timer quantum for Siena (normal and turbo mode)
We currently assume that the timer quantum for Siena is 5 us, the same
as for Falcon.  This is not correct; timer ticks are generated on a
rota which takes a minimum of 768 cycles (each event delivery or other
timer change will delay it by 3 cycles).  The timer quantum should be
6.144 or 3.072 us depending on whether turbo mode is active.

Replace EFX_IRQ_MOD_RESOLUTION with a timer_quantum_ns field in struct
efx_nic, initialised by the efx_nic_type::probe function.

While we're at it, replace EFX_IRQ_MOD_MAX with a timer_period_max
field in struct efx_nic_type.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2012-01-27 00:10:50 +00:00
..
Kconfig
Makefile
bitfield.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
efx.c sfc: Correct interrupt timer quantum for Siena (normal and turbo mode) 2012-01-27 00:10:50 +00:00
efx.h sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
enum.h
ethtool.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon.c sfc: Correct interrupt timer quantum for Siena (normal and turbo mode) 2012-01-27 00:10:50 +00:00
falcon_boards.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
falcon_xmac.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
filter.c sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
filter.h sfc: Add support for retrieving and removing filters by ID 2012-01-04 14:10:00 -05:00
io.h
mcdi.c sfc: Support extraction of CAPABILITIES from GET_BOARD_CFG response. 2012-01-27 00:10:49 +00:00
mcdi.h sfc: Support extraction of CAPABILITIES from GET_BOARD_CFG response. 2012-01-27 00:10:49 +00:00
mcdi_mac.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
mcdi_pcol.h sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi_phy.c sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mdio_10g.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
mdio_10g.h
mtd.c sfc: Support extraction of CAPABILITIES from GET_BOARD_CFG response. 2012-01-27 00:10:49 +00:00
net_driver.h sfc: Correct interrupt timer quantum for Siena (normal and turbo mode) 2012-01-27 00:10:50 +00:00
nic.c sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
nic.h sfc: Correct interrupt timer quantum for Siena (normal and turbo mode) 2012-01-27 00:10:50 +00:00
phy.h
qt202x_phy.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
regs.h
rx.c sfc: Remove parentheses around return expressions, reported by checkpatch 2012-01-05 18:54:04 +00:00
selftest.c sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
selftest.h
siena.c sfc: Correct interrupt timer quantum for Siena (normal and turbo mode) 2012-01-27 00:10:50 +00:00
spi.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tenxpress.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
workarounds.h