OpenCloudOS-Kernel/drivers/net/sfc
Ben Hutchings d42a8f464b sfc: Get port number from CS_PORT_NUM, not PCI function number
A single shared memory region used to communicate with firmware is
mapped into both PCI PFs of the SFC9020 and SFL9021.  Drivers must be
able to identify which port they are addressing in order to use the
correct sub-region.  Currently we use the PCI function number, but the
PCI address may be virtualised.  Use the CS_PORT_NUM register field
defined for just this purpose.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-03 03:27:56 -07:00
..
Kconfig sfc: Add support for SFC9000 family (2) 2009-11-29 17:23:57 -08:00
Makefile sfc: Add support for SFC9000 family (2) 2009-11-29 17:23:57 -08:00
bitfield.h sfc: Update version, copyright dates, authors 2009-11-29 17:23:58 -08:00
efx.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-02 22:02:06 -07:00
efx.h sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
enum.h sfc: Update version, copyright dates, authors 2009-11-29 17:23:58 -08:00
ethtool.c sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
falcon.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-02 22:02:06 -07:00
falcon_boards.c sfc: Change falcon_probe_board() to fail for unsupported boards 2010-04-28 12:18:27 -07:00
falcon_gmac.c sfc: Update version, copyright dates, authors 2009-11-29 17:23:58 -08:00
falcon_xmac.c sfc: Reconfigure the XAUI serdes after an EM reset 2010-04-28 12:44:34 -07:00
io.h sfc: Rename register I/O header and functions used by both Falcon and Siena 2009-10-24 04:27:04 -07:00
mac.h sfc: Update version, copyright dates, authors 2009-11-29 17:23:58 -08:00
mcdi.c sfc: Log specific message for failure of NVRAM self-test 2010-04-28 12:44:36 -07:00
mcdi.h sfc: Implement NVRAM selftest for SFC9000 family 2010-02-03 19:12:45 -08:00
mcdi_mac.c sfc: Set PERIODIC_NOEVENT flag for MC_CMD_MAC_STATS 2010-04-28 12:44:38 -07:00
mcdi_pcol.h sfc: Update MCDI protocol definitions 2010-04-28 12:44:37 -07:00
mcdi_phy.c sfc: Add Siena PHY BIST and cable diagnostic support 2010-04-28 12:44:42 -07:00
mdio_10g.c sfc: Replace PHY MDIO test with an 'alive' test 2010-02-03 19:12:44 -08:00
mdio_10g.h sfc: Replace PHY MDIO test with an 'alive' test 2010-02-03 19:12:44 -08:00
mtd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
net_driver.h sfc: Get port number from CS_PORT_NUM, not PCI function number 2010-06-03 03:27:56 -07:00
nic.c sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
nic.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-02 22:02:06 -07:00
phy.h sfc: Update version, copyright dates, authors 2009-11-29 17:23:58 -08:00
qt202x_phy.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
regs.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
selftest.c sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
selftest.h sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
siena.c sfc: Get port number from CS_PORT_NUM, not PCI function number 2010-06-03 03:27:56 -07:00
spi.h sfc: Extend MTD driver for use with new NICs 2009-11-29 17:23:54 -08:00
tenxpress.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tx.c sfc: Create multiple TX queues 2010-04-28 12:44:44 -07:00
workarounds.h sfc: Extend the legacy interrupt workarounds 2010-04-28 12:44:35 -07:00