]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sfc: Rename Falcon-architecture register definitions
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 18 Sep 2012 00:57:07 +0000 (01:57 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 18:44:20 +0000 (19:44 +0100)
The EF10 architecture has a very different register layout from
previous controllers, so we'll use separate files for the two sets of
register definitions.  Use 'farch' as an abbreviation for
Falcon-architecture.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/farch_regs.h [moved from drivers/net/ethernet/sfc/regs.h with 99% similarity]
drivers/net/ethernet/sfc/filter.c
drivers/net/ethernet/sfc/mcdi.c
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/ptp.c
drivers/net/ethernet/sfc/siena.c
drivers/net/ethernet/sfc/siena_sriov.c

index 395d89d3963e58cdf313c96e733cdac5995f8d17..f87710e9f8cd2f5f29f82d893c8f3dc8779a7e9c 100644 (file)
@@ -21,7 +21,7 @@
 #include "efx.h"
 #include "spi.h"
 #include "nic.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "io.h"
 #include "phy.h"
 #include "workarounds.h"
similarity index 99%
rename from drivers/net/ethernet/sfc/regs.h
rename to drivers/net/ethernet/sfc/farch_regs.h
index 27ad348d5c01aeab3c318774eaa45e6ad7aa706e..00ef17a59187d2e21fad12264ac422f12fe6962b 100644 (file)
@@ -8,8 +8,8 @@
  * by the Free Software Foundation, incorporated herein by reference.
  */
 
-#ifndef EFX_REGS_H
-#define EFX_REGS_H
+#ifndef EFX_FARCH_REGS_H
+#define EFX_FARCH_REGS_H
 
 /*
  * Falcon hardware architecture definitions have a name prefix following
 #define FSF_AZ_DRV_GEN_EV_MAGIC_LBN 0
 #define FSF_AZ_DRV_GEN_EV_MAGIC_WIDTH 32
 
-#endif /* EFX_REGS_H */
+#endif /* EFX_FARCH_REGS_H */
index 30d744235d276bc0bf10c56d7ea821692a5de811..fb01fdbce90bcc70db2e63f14e5634568bfb02ea 100644 (file)
@@ -13,7 +13,7 @@
 #include "filter.h"
 #include "io.h"
 #include "nic.h"
-#include "regs.h"
+#include "farch_regs.h"
 
 /* "Fudge factors" - difference between programmed value and actual depth.
  * Due to pipelined implementation we need to program H/W with a value that
index d7d3a8a9cd15c6dba2086713ffa717bda4671e06..dffadb24b364fde224335103b50ac844bcb374d3 100644 (file)
@@ -11,7 +11,7 @@
 #include "net_driver.h"
 #include "nic.h"
 #include "io.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "mcdi_pcol.h"
 #include "phy.h"
 
index 372891c5f846062c319b7fcff232902324c90944..f758333b4d856e1d1f3dc593297f742e6f700481 100644 (file)
@@ -19,7 +19,7 @@
 #include "bitfield.h"
 #include "efx.h"
 #include "nic.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "io.h"
 #include "workarounds.h"
 
index 56a8b8898c4700dc923d3780e80fe9761f9e4e6c..59e09e1840d303689c59b8972a62975e9b0e401f 100644 (file)
@@ -46,7 +46,7 @@
 #include "mcdi.h"
 #include "mcdi_pcol.h"
 #include "io.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "nic.h"
 
 /* Maximum number of events expected to make up a PTP event */
index f0ae262b91ab2b05a52953f301f10da3878e0064..d0eeb03a9bb7fa294507e7257721ae45e04659ce 100644 (file)
@@ -19,7 +19,7 @@
 #include "efx.h"
 #include "nic.h"
 #include "spi.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "io.h"
 #include "phy.h"
 #include "workarounds.h"
index 6258e7f934e418faebbc3554f5c8f9131d5d4d4f..4d214bce896946ef66ac87cbf5f85e36858b6d51 100644 (file)
@@ -15,7 +15,7 @@
 #include "mcdi.h"
 #include "filter.h"
 #include "mcdi_pcol.h"
-#include "regs.h"
+#include "farch_regs.h"
 #include "vfdi.h"
 
 /* Number of longs required to track all the VIs in a VF */