summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 13:04:50 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 13:04:50 +0000
commit9677cd160068c81899802ad8c77c0879d451b880 (patch)
tree5cddb69b1b72c888c26085e12b2d6cfd4c026daf /sys/arch/armv7
parent22d14bd3c139dd25c22669e4e75a1ac94d35f79e (diff)
Unifdef KGDB.
It doesn't compile und hasn't been working during the last decade. ok kettenis@, deraadt@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r--sys/arch/armv7/dev/pluart.c3
-rw-r--r--sys/arch/armv7/exynos/exuart.c3
-rw-r--r--sys/arch/armv7/imx/imxuart.c3
-rw-r--r--sys/arch/armv7/include/machine_reg.h4
4 files changed, 5 insertions, 8 deletions
diff --git a/sys/arch/armv7/dev/pluart.c b/sys/arch/armv7/dev/pluart.c
index 5374438c2c6..af078552f2f 100644
--- a/sys/arch/armv7/dev/pluart.c
+++ b/sys/arch/armv7/dev/pluart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pluart.c,v 1.2 2017/04/11 15:16:14 kettenis Exp $ */
+/* $OpenBSD: pluart.c,v 1.3 2017/04/30 13:04:49 mpi Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -146,7 +146,6 @@ struct pluart_softc {
#define COM_HW_FIFO 0x02
#define COM_HW_SIR 0x20
#define COM_HW_CONSOLE 0x40
-#define COM_HW_KGDB 0x80
u_int8_t sc_swflags;
#define COM_SW_SOFTCAR 0x01
#define COM_SW_CLOCAL 0x02
diff --git a/sys/arch/armv7/exynos/exuart.c b/sys/arch/armv7/exynos/exuart.c
index fc66293a774..aaea9a7cca3 100644
--- a/sys/arch/armv7/exynos/exuart.c
+++ b/sys/arch/armv7/exynos/exuart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exuart.c,v 1.10 2017/03/07 20:14:20 kettenis Exp $ */
+/* $OpenBSD: exuart.c,v 1.11 2017/04/30 13:04:49 mpi Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
@@ -74,7 +74,6 @@ struct exuart_softc {
#define COM_HW_FIFO 0x02
#define COM_HW_SIR 0x20
#define COM_HW_CONSOLE 0x40
-#define COM_HW_KGDB 0x80
u_int8_t sc_swflags;
#define COM_SW_SOFTCAR 0x01
#define COM_SW_CLOCAL 0x02
diff --git a/sys/arch/armv7/imx/imxuart.c b/sys/arch/armv7/imx/imxuart.c
index e4e0b1d2cae..1b460568b06 100644
--- a/sys/arch/armv7/imx/imxuart.c
+++ b/sys/arch/armv7/imx/imxuart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxuart.c,v 1.13 2016/12/28 22:45:24 kettenis Exp $ */
+/* $OpenBSD: imxuart.c,v 1.14 2017/04/30 13:04:49 mpi Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
@@ -74,7 +74,6 @@ struct imxuart_softc {
#define COM_HW_FIFO 0x02
#define COM_HW_SIR 0x20
#define COM_HW_CONSOLE 0x40
-#define COM_HW_KGDB 0x80
u_int8_t sc_swflags;
#define COM_SW_SOFTCAR 0x01
#define COM_SW_CLOCAL 0x02
diff --git a/sys/arch/armv7/include/machine_reg.h b/sys/arch/armv7/include/machine_reg.h
index 5b0fd83d8b9..645c045091b 100644
--- a/sys/arch/armv7/include/machine_reg.h
+++ b/sys/arch/armv7/include/machine_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine_reg.h,v 1.1 2013/09/04 14:38:28 patrick Exp $ */
+/* $OpenBSD: machine_reg.h,v 1.2 2017/04/30 13:04:49 mpi Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved.
@@ -43,7 +43,7 @@
#define MACHINE_AGPIO_VBASE 0xfd300000
#define MACHINE_VBASE_FREE 0xfd400000
/* FFUART and/or BTUART are mapped to this area when
- used for console or kgdb port */
+ used for console */
#define ioreg_read(a) (*(volatile unsigned *)(a))
#define ioreg_write(a,v) (*(volatile unsigned *)(a)=(v))