Commit 5e605d2e authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Paul Burton

MIPS: OCTEON: cvmx-gmxx-defs.h: delete unused union fields

When register definition is identical on all OCTEONs, we can trivially
delete the model specific union fields.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21203/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
parent 453022b4
...@@ -733,16 +733,6 @@ union cvmx_gmxx_hg2_control { ...@@ -733,16 +733,6 @@ union cvmx_gmxx_hg2_control {
uint64_t reserved_19_63:45; uint64_t reserved_19_63:45;
#endif #endif
} s; } s;
struct cvmx_gmxx_hg2_control_s cn52xx;
struct cvmx_gmxx_hg2_control_s cn52xxp1;
struct cvmx_gmxx_hg2_control_s cn56xx;
struct cvmx_gmxx_hg2_control_s cn61xx;
struct cvmx_gmxx_hg2_control_s cn63xx;
struct cvmx_gmxx_hg2_control_s cn63xxp1;
struct cvmx_gmxx_hg2_control_s cn66xx;
struct cvmx_gmxx_hg2_control_s cn68xx;
struct cvmx_gmxx_hg2_control_s cn68xxp1;
struct cvmx_gmxx_hg2_control_s cnf71xx;
}; };
union cvmx_gmxx_inf_mode { union cvmx_gmxx_inf_mode {
...@@ -994,24 +984,6 @@ union cvmx_gmxx_rxx_adr_ctl { ...@@ -994,24 +984,6 @@ union cvmx_gmxx_rxx_adr_ctl {
uint64_t reserved_4_63:60; uint64_t reserved_4_63:60;
#endif #endif
} s; } s;
struct cvmx_gmxx_rxx_adr_ctl_s cn30xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn31xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn38xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn38xxp2;
struct cvmx_gmxx_rxx_adr_ctl_s cn50xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn52xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn52xxp1;
struct cvmx_gmxx_rxx_adr_ctl_s cn56xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn56xxp1;
struct cvmx_gmxx_rxx_adr_ctl_s cn58xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn58xxp1;
struct cvmx_gmxx_rxx_adr_ctl_s cn61xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn63xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn63xxp1;
struct cvmx_gmxx_rxx_adr_ctl_s cn66xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn68xx;
struct cvmx_gmxx_rxx_adr_ctl_s cn68xxp1;
struct cvmx_gmxx_rxx_adr_ctl_s cnf71xx;
}; };
union cvmx_gmxx_rxx_frm_ctl { union cvmx_gmxx_rxx_frm_ctl {
...@@ -1234,12 +1206,6 @@ union cvmx_gmxx_rxx_frm_max { ...@@ -1234,12 +1206,6 @@ union cvmx_gmxx_rxx_frm_max {
uint64_t reserved_16_63:48; uint64_t reserved_16_63:48;
#endif #endif
} s; } s;
struct cvmx_gmxx_rxx_frm_max_s cn30xx;
struct cvmx_gmxx_rxx_frm_max_s cn31xx;
struct cvmx_gmxx_rxx_frm_max_s cn38xx;
struct cvmx_gmxx_rxx_frm_max_s cn38xxp2;
struct cvmx_gmxx_rxx_frm_max_s cn58xx;
struct cvmx_gmxx_rxx_frm_max_s cn58xxp1;
}; };
union cvmx_gmxx_rxx_frm_min { union cvmx_gmxx_rxx_frm_min {
...@@ -1253,12 +1219,6 @@ union cvmx_gmxx_rxx_frm_min { ...@@ -1253,12 +1219,6 @@ union cvmx_gmxx_rxx_frm_min {
uint64_t reserved_16_63:48; uint64_t reserved_16_63:48;
#endif #endif
} s; } s;
struct cvmx_gmxx_rxx_frm_min_s cn30xx;
struct cvmx_gmxx_rxx_frm_min_s cn31xx;
struct cvmx_gmxx_rxx_frm_min_s cn38xx;
struct cvmx_gmxx_rxx_frm_min_s cn38xxp2;
struct cvmx_gmxx_rxx_frm_min_s cn58xx;
struct cvmx_gmxx_rxx_frm_min_s cn58xxp1;
}; };
union cvmx_gmxx_rxx_int_en { union cvmx_gmxx_rxx_int_en {
...@@ -2058,24 +2018,6 @@ union cvmx_gmxx_rxx_jabber { ...@@ -2058,24 +2018,6 @@ union cvmx_gmxx_rxx_jabber {
uint64_t reserved_16_63:48; uint64_t reserved_16_63:48;
#endif #endif
} s; } s;
struct cvmx_gmxx_rxx_jabber_s cn30xx;
struct cvmx_gmxx_rxx_jabber_s cn31xx;
struct cvmx_gmxx_rxx_jabber_s cn38xx;
struct cvmx_gmxx_rxx_jabber_s cn38xxp2;
struct cvmx_gmxx_rxx_jabber_s cn50xx;
struct cvmx_gmxx_rxx_jabber_s cn52xx;
struct cvmx_gmxx_rxx_jabber_s cn52xxp1;
struct cvmx_gmxx_rxx_jabber_s cn56xx;
struct cvmx_gmxx_rxx_jabber_s cn56xxp1;
struct cvmx_gmxx_rxx_jabber_s cn58xx;
struct cvmx_gmxx_rxx_jabber_s cn58xxp1;
struct cvmx_gmxx_rxx_jabber_s cn61xx;
struct cvmx_gmxx_rxx_jabber_s cn63xx;
struct cvmx_gmxx_rxx_jabber_s cn63xxp1;
struct cvmx_gmxx_rxx_jabber_s cn66xx;
struct cvmx_gmxx_rxx_jabber_s cn68xx;
struct cvmx_gmxx_rxx_jabber_s cn68xxp1;
struct cvmx_gmxx_rxx_jabber_s cnf71xx;
}; };
union cvmx_gmxx_rxx_rx_inbnd { union cvmx_gmxx_rxx_rx_inbnd {
...@@ -2093,13 +2035,6 @@ union cvmx_gmxx_rxx_rx_inbnd { ...@@ -2093,13 +2035,6 @@ union cvmx_gmxx_rxx_rx_inbnd {
uint64_t reserved_4_63:60; uint64_t reserved_4_63:60;
#endif #endif
} s; } s;
struct cvmx_gmxx_rxx_rx_inbnd_s cn30xx;
struct cvmx_gmxx_rxx_rx_inbnd_s cn31xx;
struct cvmx_gmxx_rxx_rx_inbnd_s cn38xx;
struct cvmx_gmxx_rxx_rx_inbnd_s cn38xxp2;
struct cvmx_gmxx_rxx_rx_inbnd_s cn50xx;
struct cvmx_gmxx_rxx_rx_inbnd_s cn58xx;
struct cvmx_gmxx_rxx_rx_inbnd_s cn58xxp1;
}; };
union cvmx_gmxx_rx_prts { union cvmx_gmxx_rx_prts {
...@@ -2113,24 +2048,6 @@ union cvmx_gmxx_rx_prts { ...@@ -2113,24 +2048,6 @@ union cvmx_gmxx_rx_prts {
uint64_t reserved_3_63:61; uint64_t reserved_3_63:61;
#endif #endif
} s; } s;
struct cvmx_gmxx_rx_prts_s cn30xx;
struct cvmx_gmxx_rx_prts_s cn31xx;
struct cvmx_gmxx_rx_prts_s cn38xx;
struct cvmx_gmxx_rx_prts_s cn38xxp2;
struct cvmx_gmxx_rx_prts_s cn50xx;
struct cvmx_gmxx_rx_prts_s cn52xx;
struct cvmx_gmxx_rx_prts_s cn52xxp1;
struct cvmx_gmxx_rx_prts_s cn56xx;
struct cvmx_gmxx_rx_prts_s cn56xxp1;
struct cvmx_gmxx_rx_prts_s cn58xx;
struct cvmx_gmxx_rx_prts_s cn58xxp1;
struct cvmx_gmxx_rx_prts_s cn61xx;
struct cvmx_gmxx_rx_prts_s cn63xx;
struct cvmx_gmxx_rx_prts_s cn63xxp1;
struct cvmx_gmxx_rx_prts_s cn66xx;
struct cvmx_gmxx_rx_prts_s cn68xx;
struct cvmx_gmxx_rx_prts_s cn68xxp1;
struct cvmx_gmxx_rx_prts_s cnf71xx;
}; };
union cvmx_gmxx_rx_xaui_ctl { union cvmx_gmxx_rx_xaui_ctl {
...@@ -2144,17 +2061,6 @@ union cvmx_gmxx_rx_xaui_ctl { ...@@ -2144,17 +2061,6 @@ union cvmx_gmxx_rx_xaui_ctl {
uint64_t reserved_2_63:62; uint64_t reserved_2_63:62;
#endif #endif
} s; } s;
struct cvmx_gmxx_rx_xaui_ctl_s cn52xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn52xxp1;
struct cvmx_gmxx_rx_xaui_ctl_s cn56xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn56xxp1;
struct cvmx_gmxx_rx_xaui_ctl_s cn61xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn63xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn63xxp1;
struct cvmx_gmxx_rx_xaui_ctl_s cn66xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn68xx;
struct cvmx_gmxx_rx_xaui_ctl_s cn68xxp1;
struct cvmx_gmxx_rx_xaui_ctl_s cnf71xx;
}; };
union cvmx_gmxx_txx_thresh { union cvmx_gmxx_txx_thresh {
...@@ -2756,24 +2662,6 @@ union cvmx_gmxx_tx_prts { ...@@ -2756,24 +2662,6 @@ union cvmx_gmxx_tx_prts {
uint64_t reserved_5_63:59; uint64_t reserved_5_63:59;
#endif #endif
} s; } s;
struct cvmx_gmxx_tx_prts_s cn30xx;
struct cvmx_gmxx_tx_prts_s cn31xx;
struct cvmx_gmxx_tx_prts_s cn38xx;
struct cvmx_gmxx_tx_prts_s cn38xxp2;
struct cvmx_gmxx_tx_prts_s cn50xx;
struct cvmx_gmxx_tx_prts_s cn52xx;
struct cvmx_gmxx_tx_prts_s cn52xxp1;
struct cvmx_gmxx_tx_prts_s cn56xx;
struct cvmx_gmxx_tx_prts_s cn56xxp1;
struct cvmx_gmxx_tx_prts_s cn58xx;
struct cvmx_gmxx_tx_prts_s cn58xxp1;
struct cvmx_gmxx_tx_prts_s cn61xx;
struct cvmx_gmxx_tx_prts_s cn63xx;
struct cvmx_gmxx_tx_prts_s cn63xxp1;
struct cvmx_gmxx_tx_prts_s cn66xx;
struct cvmx_gmxx_tx_prts_s cn68xx;
struct cvmx_gmxx_tx_prts_s cn68xxp1;
struct cvmx_gmxx_tx_prts_s cnf71xx;
}; };
union cvmx_gmxx_tx_spi_ctl { union cvmx_gmxx_tx_spi_ctl {
...@@ -2789,10 +2677,6 @@ union cvmx_gmxx_tx_spi_ctl { ...@@ -2789,10 +2677,6 @@ union cvmx_gmxx_tx_spi_ctl {
uint64_t reserved_2_63:62; uint64_t reserved_2_63:62;
#endif #endif
} s; } s;
struct cvmx_gmxx_tx_spi_ctl_s cn38xx;
struct cvmx_gmxx_tx_spi_ctl_s cn38xxp2;
struct cvmx_gmxx_tx_spi_ctl_s cn58xx;
struct cvmx_gmxx_tx_spi_ctl_s cn58xxp1;
}; };
union cvmx_gmxx_tx_spi_max { union cvmx_gmxx_tx_spi_max {
...@@ -2837,10 +2721,6 @@ union cvmx_gmxx_tx_spi_thresh { ...@@ -2837,10 +2721,6 @@ union cvmx_gmxx_tx_spi_thresh {
uint64_t reserved_6_63:58; uint64_t reserved_6_63:58;
#endif #endif
} s; } s;
struct cvmx_gmxx_tx_spi_thresh_s cn38xx;
struct cvmx_gmxx_tx_spi_thresh_s cn38xxp2;
struct cvmx_gmxx_tx_spi_thresh_s cn58xx;
struct cvmx_gmxx_tx_spi_thresh_s cn58xxp1;
}; };
union cvmx_gmxx_tx_xaui_ctl { union cvmx_gmxx_tx_xaui_ctl {
...@@ -2868,17 +2748,6 @@ union cvmx_gmxx_tx_xaui_ctl { ...@@ -2868,17 +2748,6 @@ union cvmx_gmxx_tx_xaui_ctl {
uint64_t reserved_11_63:53; uint64_t reserved_11_63:53;
#endif #endif
} s; } s;
struct cvmx_gmxx_tx_xaui_ctl_s cn52xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn52xxp1;
struct cvmx_gmxx_tx_xaui_ctl_s cn56xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn56xxp1;
struct cvmx_gmxx_tx_xaui_ctl_s cn61xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn63xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn63xxp1;
struct cvmx_gmxx_tx_xaui_ctl_s cn66xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn68xx;
struct cvmx_gmxx_tx_xaui_ctl_s cn68xxp1;
struct cvmx_gmxx_tx_xaui_ctl_s cnf71xx;
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment