mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
MIPS: Octeon: Remove unused SLI types and macros.
Remove all unused bitfields and macros. Convert the remaining bitfields to use __BITFIELD_FIELD instead of #ifdef. [ralf@linux-mips.org: Add inclusions of <uapi/asm/bitfield.h> as necessary.] Signed-off-by: Steven J. Hill <steven.hill@cavium.com> Acked-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/15405/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
15f6847923
commit
930cbb73ee
2 changed files with 76 additions and 3469 deletions
File diff suppressed because it is too large
Load diff
|
@ -679,7 +679,7 @@ static void __cvmx_increment_ba(union cvmx_sli_mem_access_subidx *pmas)
|
|||
if (OCTEON_IS_MODEL(OCTEON_CN68XX))
|
||||
pmas->cn68xx.ba++;
|
||||
else
|
||||
pmas->cn63xx.ba++;
|
||||
pmas->s.ba++;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1351,7 +1351,7 @@ static int __cvmx_pcie_rc_initialize_gen2(int pcie_port)
|
|||
if (OCTEON_IS_MODEL(OCTEON_CN68XX))
|
||||
mem_access_subid.cn68xx.ba = 0;
|
||||
else
|
||||
mem_access_subid.cn63xx.ba = 0;
|
||||
mem_access_subid.s.ba = 0;
|
||||
|
||||
/*
|
||||
* Setup mem access 12-15 for port 0, 16-19 for port 1,
|
||||
|
|
Loading…
Reference in a new issue