Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung G/C
details: https://anonhg.NetBSD.org/src/rev/f68787c39e4f
branches: trunk
changeset: 1008346:f68787c39e4f
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Mar 20 06:35:59 2020 +0000
description:
G/C
diffstat:
sys/arch/arm/samsung/exynos_gpio.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (41 lines):
diff -r dc0807be5ddd -r f68787c39e4f sys/arch/arm/samsung/exynos_gpio.c
--- a/sys/arch/arm/samsung/exynos_gpio.c Fri Mar 20 06:33:00 2020 +0000
+++ b/sys/arch/arm/samsung/exynos_gpio.c Fri Mar 20 06:35:59 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_gpio.c,v 1.27 2020/03/20 06:33:00 skrll Exp $ */
+/* $NetBSD: exynos_gpio.c,v 1.28 2020/03/20 06:35:59 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include "gpio.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.27 2020/03/20 06:33:00 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.28 2020/03/20 06:35:59 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -63,11 +63,7 @@
const bus_addr_t bank_core_offset;
const uint8_t bank_bits;
- uint8_t bank_pin_mask;
- uint8_t bank_pin_inuse_mask;
- bus_space_handle_t bank_bsh;
struct exynos_gpio_pin_cfg bank_cfg;
- struct exynos_gpio_bank * bank_next;
};
struct exynos_gpio_pin {
@@ -311,10 +307,6 @@
bank->bank_dev = config_found_ia(parent->sc_dev, "gpiobus", &gba,
exynos_gpio_cfprint);
- bank->bank_pin_mask = __BIT(bank->bank_bits) - 1;
- bank->bank_pin_inuse_mask = 0;
-
-
/* read in our initial settings */
bank->bank_cfg.cfg = GPIO_READ(bank, EXYNOS_GPIO_CON);
bank->bank_cfg.pud = GPIO_READ(bank, EXYNOS_GPIO_PUD);
Home |
Main Index |
Thread Index |
Old Index