* [PATCH] m68k: remove unused <asm/quicc_simple.h> header
@ 2026-09-18 3:42 Ethan Nelson-Moore
2026-09-23 11:56 ` Greg Ungerer
0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-09-18 3:42 UTC (permalink / raw)
To: linux-m68k; +Cc: Ethan Nelson-Moore, Geert Uytterhoeven
arch/m68k/include/asm/quicc_simple.h has been unused since
commit a3595962d824 ("m68knommu: remove obsolete 68360 support").
Remove it.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/m68k/include/asm/quicc_simple.h | 53 ----------------------------
1 file changed, 53 deletions(-)
delete mode 100644 arch/m68k/include/asm/quicc_simple.h
diff --git a/arch/m68k/include/asm/quicc_simple.h b/arch/m68k/include/asm/quicc_simple.h
deleted file mode 100644
index b9e2808b44ac..000000000000
--- a/arch/m68k/include/asm/quicc_simple.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/***********************************
- * $Id: quicc_simple.h,v 1.1 2002/03/02 15:01:10 gerg Exp $
- ***********************************
- *
- ***************************************
- * Simple drivers common header
- ***************************************
- */
-
-#ifndef __SIMPLE_H
-#define __SIMPLE_H
-
-/* #include "quicc.h" */
-
-#define GLB_SCC_0 0
-#define GLB_SCC_1 1
-#define GLB_SCC_2 2
-#define GLB_SCC_3 3
-
-typedef void (int_routine)(unsigned short interrupt_event);
-typedef int_routine *int_routine_ptr;
-typedef void *(alloc_routine)(int length);
-typedef void (free_routine)(int scc_num, int channel_num, void *buf);
-typedef void (store_rx_buffer_routine)(int scc_num, int channel_num, void *buff, int length);
-typedef int (handle_tx_error_routine)(int scc_num, int channel_num, QUICC_BD *tbd);
-typedef void (handle_rx_error_routine)(int scc_num, int channel_num, QUICC_BD *rbd);
-typedef void (handle_lost_error_routine)(int scc_num, int channel_num);
-
-/* user defined functions for global errors */
-typedef void (handle_glob_overrun_routine)(int scc_number);
-typedef void (handle_glob_underrun_routine)(int scc_number);
-typedef void (glob_intr_q_overflow_routine)(int scc_number);
-
-/*
- * General initialization and command routines
- */
-void quicc_issue_cmd (unsigned short cmd, int scc_num);
-void quicc_init(void);
-void quicc_scc_init(int scc_number, int number_of_rx_buf, int number_of_tx_buf);
-void quicc_smc_init(int smc_number, int number_of_rx_buf, int number_of_tx_buf);
-void quicc_scc_start(int scc_num);
-void quicc_scc_loopback(int scc_num);
-
-/* Interrupt enable/disable routines for critical pieces of code*/
-unsigned short IntrDis(void);
-void IntrEna(unsigned short old_sr);
-
-/* For debugging */
-void print_rbd(int scc_num);
-void print_tbd(int scc_num);
-
-#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] m68k: remove unused <asm/quicc_simple.h> header
2026-09-18 3:42 [PATCH] m68k: remove unused <asm/quicc_simple.h> header Ethan Nelson-Moore
@ 2026-09-23 11:56 ` Greg Ungerer
0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2026-09-23 11:56 UTC (permalink / raw)
To: Ethan Nelson-Moore, linux-m68k; +Cc: Geert Uytterhoeven
Hi Ethan,
On 18/9/26 13:42, Ethan Nelson-Moore wrote:
> arch/m68k/include/asm/quicc_simple.h has been unused since
> commit a3595962d824 ("m68knommu: remove obsolete 68360 support").
> Remove it.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Looks good, and since this is related to m68knommu I will push this into
the m68knommu git tree for-next branch.
Thanks
Greg
> ---
> arch/m68k/include/asm/quicc_simple.h | 53 ----------------------------
> 1 file changed, 53 deletions(-)
> delete mode 100644 arch/m68k/include/asm/quicc_simple.h
>
> diff --git a/arch/m68k/include/asm/quicc_simple.h b/arch/m68k/include/asm/quicc_simple.h
> deleted file mode 100644
> index b9e2808b44ac..000000000000
> --- a/arch/m68k/include/asm/quicc_simple.h
> +++ /dev/null
> @@ -1,53 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> -/***********************************
> - * $Id: quicc_simple.h,v 1.1 2002/03/02 15:01:10 gerg Exp $
> - ***********************************
> - *
> - ***************************************
> - * Simple drivers common header
> - ***************************************
> - */
> -
> -#ifndef __SIMPLE_H
> -#define __SIMPLE_H
> -
> -/* #include "quicc.h" */
> -
> -#define GLB_SCC_0 0
> -#define GLB_SCC_1 1
> -#define GLB_SCC_2 2
> -#define GLB_SCC_3 3
> -
> -typedef void (int_routine)(unsigned short interrupt_event);
> -typedef int_routine *int_routine_ptr;
> -typedef void *(alloc_routine)(int length);
> -typedef void (free_routine)(int scc_num, int channel_num, void *buf);
> -typedef void (store_rx_buffer_routine)(int scc_num, int channel_num, void *buff, int length);
> -typedef int (handle_tx_error_routine)(int scc_num, int channel_num, QUICC_BD *tbd);
> -typedef void (handle_rx_error_routine)(int scc_num, int channel_num, QUICC_BD *rbd);
> -typedef void (handle_lost_error_routine)(int scc_num, int channel_num);
> -
> -/* user defined functions for global errors */
> -typedef void (handle_glob_overrun_routine)(int scc_number);
> -typedef void (handle_glob_underrun_routine)(int scc_number);
> -typedef void (glob_intr_q_overflow_routine)(int scc_number);
> -
> -/*
> - * General initialization and command routines
> - */
> -void quicc_issue_cmd (unsigned short cmd, int scc_num);
> -void quicc_init(void);
> -void quicc_scc_init(int scc_number, int number_of_rx_buf, int number_of_tx_buf);
> -void quicc_smc_init(int smc_number, int number_of_rx_buf, int number_of_tx_buf);
> -void quicc_scc_start(int scc_num);
> -void quicc_scc_loopback(int scc_num);
> -
> -/* Interrupt enable/disable routines for critical pieces of code*/
> -unsigned short IntrDis(void);
> -void IntrEna(unsigned short old_sr);
> -
> -/* For debugging */
> -void print_rbd(int scc_num);
> -void print_tbd(int scc_num);
> -
> -#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-23 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18 3:42 [PATCH] m68k: remove unused <asm/quicc_simple.h> header Ethan Nelson-Moore
2026-09-23 11:56 ` Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox