kernel-ark/drivers/net/sfc
Ben Hutchings 56241ceb9e sfc: Remove versioned bitfield macros
These macros are not extensible to more than two NIC types without
repetition of register definitions, and they are only used to deal
with a few fields in RX_CFG_REG and global events which moved between
Falcon rev A1 and B0.

Therefore:
- Move RX_CFG_REG initialisation into its own function which tests the
  NIC revision just once
- Explicitly test the NIC revision when checking the RX_RECOVERY flag in
  global events
- Merge definitions of RX_XOFF_MAC_EN flag, which did not move
- Remove the macro definitions

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-24 04:26:56 -07:00
..
bitfield.h sfc: Remove versioned bitfield macros 2009-10-24 04:26:56 -07:00
efx.c cpumask: use zalloc_cpumask_var() where possible 2009-09-24 09:34:24 +09:30
efx.h netdev: convert bulk of drivers to netdev_tx_t 2009-09-01 01:14:07 -07:00
enum.h
ethtool.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
ethtool.h netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
falcon_boards.c sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
falcon_gmac.c sfc: Remove redundant header gmii.h 2009-10-24 04:26:50 -07:00
falcon_hwdefs.h sfc: Remove versioned bitfield macros 2009-10-24 04:26:56 -07:00
falcon_io.h
falcon_xmac.c sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
falcon.c sfc: Remove versioned bitfield macros 2009-10-24 04:26:56 -07:00
falcon.h sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
Kconfig sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
mac.h
Makefile sfc: Merge sfe4001.c into falcon_boards.c 2009-10-24 04:26:55 -07:00
mdio_10g.c sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
mdio_10g.h sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
mtd.c
net_driver.h sfc: Work around XMAC bug causing packet loss with some peers 2009-08-26 17:38:56 -07:00
phy.h
rx.c gro: New frags interface to avoid copying shinfo 2009-04-16 02:02:07 -07:00
rx.h
selftest.c sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
selftest.h sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
spi.h
tenxpress.c sfc: Remove boards.h, moving last remaining declaration to falcon.h 2009-10-24 04:26:56 -07:00
tx.c netdev: convert bulk of drivers to netdev_tx_t 2009-09-01 01:14:07 -07:00
tx.h netdev: convert bulk of drivers to netdev_tx_t 2009-09-01 01:14:07 -07:00
workarounds.h
xfp_phy.c sfc: QT2025C: Use hard reset only 2009-08-26 17:38:54 -07:00