Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm unbreak the previous change.
details: https://anonhg.NetBSD.org/src/rev/52abe7106d59
branches: trunk
changeset: 376455:52abe7106d59
user: nisimura <nisimura%NetBSD.org@localhost>
date: Mon Jun 19 03:52:50 2023 +0000
description:
unbreak the previous change.
diffstat:
sys/arch/evbarm/lubbock/lubbock_machdep.c | 28 ++++++++++++++--------------
sys/arch/evbarm/mini2440/mini2440_machdep.c | 14 +++++++-------
2 files changed, 21 insertions(+), 21 deletions(-)
diffs (111 lines):
diff -r d464403d4874 -r 52abe7106d59 sys/arch/evbarm/lubbock/lubbock_machdep.c
--- a/sys/arch/evbarm/lubbock/lubbock_machdep.c Mon Jun 19 03:21:14 2023 +0000
+++ b/sys/arch/evbarm/lubbock/lubbock_machdep.c Mon Jun 19 03:52:50 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lubbock_machdep.c,v 1.43 2023/04/20 08:28:05 skrll Exp $ */
+/* $NetBSD: lubbock_machdep.c,v 1.44 2023/06/19 03:59:24 nisimura Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.43 2023/04/20 08:28:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.44 2023/06/19 03:59:24 nisimura Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -348,36 +348,36 @@ read_ttb(void)
*/
static const struct pmap_devmap lubbock_devmap[] = {
- DEVMAP_ENTRY{
+ DEVMAP_ENTRY(
LUBBOCK_OBIO_VBASE,
LUBBOCK_OBIO_PBASE,
LUBBOCK_OBIO_SIZE
- },
- DEVMAP_ENTRY{
+ ),
+ DEVMAP_ENTRY(
LUBBOCK_GPIO_VBASE,
PXA2X0_GPIO_BASE,
PXA250_GPIO_SIZE
- },
- DEVMAP_ENTRY{
+ ),
+ DEVMAP_ENTRY(
LUBBOCK_CLKMAN_VBASE,
PXA2X0_CLKMAN_BASE,
PXA2X0_CLKMAN_SIZE
- },
- DEVMAP_ENTRY{
+ ),
+ DEVMAP_ENTRY(
LUBBOCK_INTCTL_VBASE,
PXA2X0_INTCTL_BASE,
PXA2X0_INTCTL_SIZE
- },
- DEVMAP_ENTRY{
+ ),
+ DEVMAP_ENTRY(
LUBBOCK_FFUART_VBASE,
PXA2X0_FFUART_BASE,
4 * COM_NPORTS
- },
- DEVMAP_ENTRY{
+ ),
+ DEVMAP_ENTRY(
LUBBOCK_BTUART_VBASE,
PXA2X0_BTUART_BASE,
4 * COM_NPORTS
- },
+ ),
DEVMAP_ENTRY_END
};
diff -r d464403d4874 -r 52abe7106d59 sys/arch/evbarm/mini2440/mini2440_machdep.c
--- a/sys/arch/evbarm/mini2440/mini2440_machdep.c Mon Jun 19 03:21:14 2023 +0000
+++ b/sys/arch/evbarm/mini2440/mini2440_machdep.c Mon Jun 19 03:52:50 2023 +0000
@@ -131,7 +131,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.20 2023/04/20 08:28:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.21 2023/06/19 03:52:50 nisimura Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -371,25 +371,25 @@ cpu_reboot(int howto, char *bootstr)
static const struct pmap_devmap mini2440_devmap[] = {
/* GPIO registers */
- DEVMAP_ENTRY{
+ DEVMAP_ENTRY(
GPIO_VBASE,
S3C2440_GPIO_BASE,
S3C2440_GPIO_SIZE
),
- DEVMAP_ENTRY({
+ DEVMAP_ENTRY(
INTCTL_VBASE,
S3C2440_INTCTL_BASE,
S3C2440_INTCTL_SIZE
),
- DEVMAP_ENTRY({
+ DEVMAP_ENTRY(
CLKMAN_VBASE,
- S3C2440_CLKMAN_BASE),
+ S3C2440_CLKMAN_BASE,
S3C24X0_CLKMAN_SIZE
),
/* UART registers for UART0, 1, 2. */
- DEVMAP_ENTRY({
+ DEVMAP_ENTRY(
UART_VBASE,
- S3C2440_UART0_BASE),
+ S3C2440_UART0_BASE,
S3C2440_UART_BASE(3) - S3C2440_UART0_BASE
),
DEVMAP_ENTRY_END
Home |
Main Index |
Thread Index |
Old Index