Commit 8b8a95a1 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Rename Falcon-architecture register definitions



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: default avatarBen Hutchings <bhutchings@solarflare.com>
parent caa75586
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
+3 −3
Original line number Diff line number Diff line
@@ -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
@@ -2925,4 +2925,4 @@
#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 */
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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"

+1 −1
Original line number Diff line number Diff line
@@ -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"

Loading