OpenCloudOS-Kernel/drivers/net/ethernet/sfc
Ben Hutchings 06e63c57ac sfc: Use a more sensible cast in efx_rx_buf_offset()
This function returns the page offset of the buffer, which can be
calculated based on either its DMA address or its virtual address.  It
used to use the virtual address and we would cast that to unsigned
long, as anything smaller would result in a compiler warning.  Now
that it's using the DMA address we should use unsigned int, matching
the return type.  It is also unnecessary to use __force.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2012-01-30 16:58:45 +00:00
..
Kconfig sfc: Update the description of SFC_MTD 2012-01-27 00:10:54 +00:00
Makefile sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
bitfield.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
efx.c sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
efx.h sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
enum.h
ethtool.c sfc: Make all MAC statistics consistently 64 bits wide 2012-01-27 00:10:59 +00:00
falcon.c sfc: Clean up test interrupt handling 2012-01-27 00:10:52 +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 Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
mcdi.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mcdi.h sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mcdi_mac.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
mcdi_mon.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +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: MTD: Leave the DEBUG macro alone 2012-01-30 16:53:37 +00:00
net_driver.h sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
nic.c sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
nic.h sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +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: Use a more sensible cast in efx_rx_buf_offset() 2012-01-30 16:58:45 +00:00
selftest.c sfc: Remove remnants of on-load self-test 2012-01-27 00:10:55 +00:00
selftest.h sfc: Remove dependence on NAPI polling in efx_test_eventq_irq() 2012-01-27 00:10:51 +00:00
siena.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +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: Remove remnants of on-load self-test 2012-01-27 00:10:55 +00: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 Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00